/* -------------------------------------
   GLOBAL RESET & BASE STYLES
-------------------------------------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, "Helvetica Neue", Arial, sans-serif;
  scroll-behavior: smooth;
}

body {
  background-color: #1c1f23;
  color: #fff;
  width: 100%;
  min-height: 100vh;
  position: relative;
  line-height: 1.5;
}

/* -------------------------------------
   NAVIGATION / HEADER
-------------------------------------- */
.nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #242628;
  padding: 1rem 2rem;
  border-bottom: 1px solid #333;
}

/* Ensure the entire link is inline-flex,
   so the logo and text remain in one row. */
.logo a {
  display: inline-flex;
  align-items: center;     /* vertically center both */
  white-space: nowrap;     /* prevents wrapping of text to a new line */
  text-decoration: none;   /* optional: remove underline on hover, etc. */
}

/* Fix the shield's height so it's consistent.
    If your shield is large, pick a bigger number. */
.logo a img {
  height: 100px;           /* or 70, 80, whatever suits your design */
  width: auto;
  display: block;         /* avoid baseline alignment issues */
  margin-right: 0.5rem;   /* spacing between shield & text */
}

/* Match the text's line-height to the shield's height
    to keep them on the same baseline. */
.logo a .logo-text {
  font-size: 1.8rem;      /* ~28.8px text size, adjust as needed */
  line-height: 64px;      /* same as shield's height */
  color: #fff;
  font-weight: 700;       /* bold or semi-bold */
  margin: 0;
  /* If you still need to nudge it slightly:
      margin-top: -2px; or +2px
  */
}


.nav-links ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
}

.nav-links a:hover {
  text-decoration: underline;
}

.nav-links a.active {
  border-bottom: 2px solid #9a5bd4; /* accent purple */
}

/* -------------------------------------
   BUTTONS
-------------------------------------- */
.btn-primary,
.btn-contact,
.btn-secondary {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background-color: #6633c6; /* primary purple */
  color: #fff;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  margin-top: 0.75rem; /* spacing so not too close to preceding text */
  transition: background-color 0.2s ease-in-out;
}

.btn-primary:hover,
.btn-contact:hover,
.btn-secondary:hover {
  background-color: #9a5bd4; /* accent purple */
}

.btn-secondary {
  background-color: #228ee3; /* optional secondary color */
}

/* -------------------------------------
   INDEX PAGE (hero, services-preview, 
   why-chk, testimonials, cta)
-------------------------------------- */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-image: url("assets/chk-bg.svg");
  background-size: cover;
  background-position: center;
  min-height: 40vh;
  padding: 2rem;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(1px);
}

.hero-content {
  position: relative;
  max-width: 800px;
  z-index: 1;
  margin: 2rem auto;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.hero-content h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  font-weight: 400;
  color: #47a4eb;
}

.hero-content p {
  font-size: 1.5rem;
  line-height: 1.5;
  margin-bottom: 2rem;
}

.hero-content span {
  color: #9a5bd4;
  font-weight: 600;
}

.services-preview {
  padding: 3rem 1rem;
  text-align: center;
}

.services-preview h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #9a5bd4;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-top: 2rem;
}

.service-box {
  background-color: #242628;
  padding: 1.5rem;
  border-radius: 8px;
  max-width: 300px;
  text-align: left;
  border: 1px solid #333;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-box h3 {
  color: #228ee3;
  margin-bottom: 0.5rem;
}

.service-box p {
  flex: 1;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.why-chk {
  padding: 3rem 1rem;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.why-chk h2 {
  font-size: 2rem;
  color: #9a5bd4;
  margin-bottom: 1rem;
}

.why-chk ul {
  list-style: none;
  margin-top: 1.5rem;
  padding: 0;
  text-align: left;
}

.why-chk li {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.testimonials {
  padding: 3rem 1rem;
  text-align: center;
}

.testimonials h2 {
  color: #9a5bd4;
  margin-bottom: 1.5rem;
}

.testimonial-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  margin-bottom: 1.5rem;
}

.testimonial {
  background-color: #242628;
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid #333;
  font-style: italic;
}

.testimonial p {
  margin-bottom: 1rem;
}

.testimonial cite {
  font-style: normal;
  color: #999;
}

.cta {
  padding: 3rem 1rem;
  text-align: center;
  background-color: #242628;
  margin-top: 3rem;
}

.cta h2 {
  font-size: 2rem;
  color: #9a5bd4;
  margin-bottom: 1rem;
}

.cta p {
  max-width: 700px;
  margin: 0.5rem auto 1.5rem auto;
  font-size: 1rem;
  color: #ddd;
}

/* -------------------------------------
   SERVICES PAGE
-------------------------------------- */
.services-hero {
  position: relative;
  padding: 4rem 1rem 3rem;
  background: url("assets/chk-bg.svg") center/cover no-repeat;
  min-height: 60vh;
}

.services-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(1px);
  z-index: 0;
}

.services-hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  margin-bottom: 3rem;
}

.services-hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #9a5bd4;
}

.services-hero-content p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #ddd;
}

.services-hero .services-grid {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.services-card {
  background-color: #242628;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 1.5rem;
  flex: 1 1 300px;
  max-width: 400px;
  text-align: left;
  display: flex;
  flex-direction: column;
  min-height: 420px;
  justify-content: flex-start;
}

.services-card h2 {
  color: #9a5bd4;
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.services-card p {
  margin-bottom: 1rem;
  color: #ddd;
}

.services-card ul {
  list-style: disc;
  margin: 0.5rem 0 1rem 1.5rem;
  color: #ddd;
  flex: 1; 
}

.services-card a.btn-primary {
  align-self: flex-start;
  margin-top: auto;
}

.services-cta {
  padding: 3rem 1rem;
  text-align: center;
  background-color: #242628;
  margin-top: 2rem;
}

.services-cta h2 {
  font-size: 2rem;
  color: #9a5bd4;
  margin-bottom: 1rem;
}

.services-cta p {
  font-size: 1rem;
  max-width: 700px;
  margin: 0.5rem auto 1.5rem auto;
  color: #ddd;
}

/* -------------------------------------
   ABOUT PAGE
-------------------------------------- */
.about-hero {
  position: relative;
  padding: 4rem 1rem 3rem;
  background: url("assets/chk-bg.svg") center/cover no-repeat;
  min-height: 50vh;
}

.about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(1px);
  z-index: 0;
}

.about-hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  margin-bottom: 3rem;
}

.about-hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #9a5bd4;
}

.about-hero-content p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #ddd;
}

.about-hero .about-grid {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto 4rem;
  padding: 0 1rem;
}

.about-card {
  background-color: #242628;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 1.5rem;
  flex: 1 1 300px;
  max-width: 400px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.about-card h2,
.about-card h3 {
  color: #9a5bd4;
  margin-bottom: 0.5rem;
}

.about-card p {
  margin-bottom: 1rem;
  color: #ddd;
  line-height: 1.5;
}

.about-card ul {
  list-style: disc;
  margin-left: 1.5rem;
  color: #ddd;
}

.about-card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 0.5rem;
}

.about-cta {
  padding: 3rem 1rem;
  text-align: center;
  background-color: #242628;
  margin-top: 2rem;
}

.about-cta h2 {
  font-size: 2rem;
  color: #9a5bd4;
  margin-bottom: 1rem;
}

.about-cta p {
  font-size: 1rem;
  max-width: 700px;
  margin: 0.5rem auto 1.5rem auto;
  color: #ddd;
}

/* -------------------------------------
   CONTACT PAGE
-------------------------------------- */
.contact-hero {
  position: relative;
  padding: 4rem 1rem 3rem;
  background: url("assets/chk-bg.svg") center/cover no-repeat;
  min-height: 50vh;
}

.contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(1px);
  z-index: 0;
}

.contact-hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  margin-bottom: 3rem;
}

.contact-hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #9a5bd4;
}

.contact-hero-content p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #ddd;
}

/* .contact-grid for info + form side by side */
.contact-grid {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto 4rem;
  padding: 0 1rem;
}

.contact-card {
  background-color: #242628;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 1.5rem;
  flex: 1 1 300px;
  max-width: 400px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.contact-card h2 {
  color: #9a5bd4;
  margin-bottom: 0.5rem;
}

.contact-card p {
  margin-bottom: 1rem;
  color: #ddd;
  line-height: 1.5;
}

.contact-card a {
  color: #47a4eb;
  text-decoration: none;
}

.contact-card a:hover {
  text-decoration: underline;
}

.contact-card form {
  display: flex;
  flex-direction: column;
}

.contact-card form label {
  margin: 0.5rem 0 0.2rem;
  color: #ddd;
  font-weight: 500;
}

.contact-card form input,
.contact-card form textarea {
  padding: 0.5rem;
  margin-bottom: 1rem;
  border: 1px solid #333;
  border-radius: 4px;
  background-color: #2f3236;
  color: #fff;
  font: inherit;
}

.contact-card form button {
  align-self: start;
}

.contact-cta {
  padding: 3rem 1rem;
  text-align: center;
  background-color: #242628;
  margin-top: 2rem;
}

.contact-cta h2 {
  font-size: 2rem;
  color: #9a5bd4;
  margin-bottom: 1rem;
}

.contact-cta p {
  font-size: 1rem;
  max-width: 700px;
  margin: 0.5rem auto 1.5rem auto;
  color: #ddd;
}


/* ------ Privacy page hero tweaks ------ */
.privacy-hero {
  /* much shorter hero than About/Services pages */
  min-height: 25vh;      /* was 50vh - adjust as you like */
  padding: 2rem 1rem 1.5rem;
}

/* tighten gap between the heading/lead and main text */
.privacy-hero .about-hero-content {
  margin-bottom: 1.5rem; /* was 3rem */
}

/* -------------------------------------
   FOOTER
-------------------------------------- */
.footer {
  background-color: #242628;
  text-align: center;
  padding: 1rem 0;
  border-top: 1px solid #333;
}

.footer p {
  font-size: 0.9rem;
  color: #999;
}

.footer a {
  color: #47a4eb;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

a[href^="mailto:"] {
  color: #47a4eb;
  text-decoration: none;
}

a[href^="mailto:"]:hover {
  text-decoration: underline;
}

/* -------------------------------------
   RESPONSIVE QUERIES
-------------------------------------- */
@media screen and (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  .hero-content h2 {
    font-size: 1.2rem;
  }
  .nav-links ul {
    gap: 1rem;
  }

  /* Stack the 3 services, about, contact cards on smaller screens */
  .services-hero .services-grid,
  .about-hero .about-grid,
  .contact-hero .contact-grid {
    flex-direction: column;
    align-items: center;
  }
}

@media screen and (max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
}
