/* =========================================================
   CSS RESET & BASE TYPOGRAPHY
   ========================================================= */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, caption, tbody, tfoot, thead, tr, th, td, main, section, article, aside, footer, header, nav, figure, figcaption {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  height: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', serif;
  color: #232b3d;
  background: #F7FAFC;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *:before, *:after {
  box-sizing: inherit;
}
a {
  color: #1A2236;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #2FC8E0;
  outline: none;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 16px;
}
img {
  max-width: 100%;
  display: block;
  border: none;
}

/* =========================================================
   TYPOGRAPHY HIERARCHY (ELEGANT CLASSIC)
   ========================================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Exo', 'Roboto Slab', serif;
  color: #1A2236;
  font-weight: 600;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 24px;
  line-height: 1.2;
}
h2 {
  font-size: 1.75rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 14px;
  font-weight: 500;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}
p, ul, ol, blockquote {
  margin-bottom: 16px;
}
strong {
  font-weight: 600;
  color: #1A2236;
}
blockquote {
  border-left: 3px solid #2FC8E0;
  padding-left: 20px;
  color: #232b3d;
  font-style: italic;
  background: #F7FAFC;
  margin-bottom: 16px;
}
cite {
  font-size: 1rem;
  color: #1A2236;
  opacity: 0.75;
  display: block;
  margin-top: 8px;
}
caption, th {
  font-family: 'Exo', serif;
  font-weight: 500;
}

/* =========================================================
   LAYOUT: CONTAINER
   ========================================================= */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

/* =========================================================
   SPACING & SECTIONS (MANDATORY TO STYLE)
   ========================================================= */
section, .section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(26,34,54,0.04);
}
@media (max-width: 768px) {
  section, .section {
    padding: 28px 10px;
    margin-bottom: 36px;
    border-radius: 0;
  }
}

/* =========================================================
   FLEXBOX LAYOUT CONTAINERS
   ========================================================= */
.feature-grid,
.values-grid,
.gadget-grid,
.service-cards,
.service-list,
.post-grid,
.team-bios {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 20px;
}
.feature-grid > div,
.values-grid > div,
.gadget-grid > div,
.service-cards > div,
.service-list > div,
.post-grid > div,
.team-bios > div {
  flex: 1 1 220px;
  background: #F7FAFC;
  border-radius: 12px;
  padding: 24px 20px;
  min-width: 220px;
  max-width: 100%;
  box-shadow: 0 4px 16px 0 rgba(26,34,54,0.05);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  transition: box-shadow 0.2s, transform 0.2s;
  margin-bottom: 20px;
}
.feature-grid > div:hover,
.values-grid > div:hover,
.gadget-grid > div:hover,
.service-cards > div:hover,
.service-list > div:hover,
.team-bios > div:hover,
.post-grid > div:hover {
  box-shadow: 0 8px 28px 0 rgba(26,34,54,0.09);
  transform: translateY(-4px) scale(1.012);
}

/* Cards (generic utility) */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(26,34,54,0.045);
  padding: 32px 24px;
  flex: 1 1 320px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 8px 32px 0 rgba(26,34,54,0.11);
  transform: scale(1.015);
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #F7FAFC;
  border-left: 5px solid #2FC8E0;
  border-radius: 12px;
  box-shadow: 0 2px 8px 0 rgba(26,34,54,0.06);
  margin-bottom: 24px;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 24px 0 rgba(26,34,54,0.15);
  border-left-color: #1A2236;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Responsive flex adjustment */
@media (max-width: 940px) {
  .feature-grid > div,
  .values-grid > div,
  .gadget-grid > div,
  .service-cards > div,
  .service-list > div,
  .team-bios > div,
  .post-grid > div,
  .card {
    flex: 1 1 100%;
    min-width: 90%;
    max-width: 100%;
  }
}
@media (max-width: 768px) {
  .feature-grid,
  .values-grid,
  .gadget-grid,
  .service-cards,
  .service-list,
  .team-bios,
  .post-grid {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 22px;
  }
  .content-grid {
    flex-direction: column;
    gap: 16px;
  }
}

/* Spacing between cards and sections */
.card + .card, .feature-grid > div + div, .testimonials .testimonial-card + .testimonial-card {
  margin-top: 20px;
}
.section + .section, section + section {
  margin-top: 60px;
}

/* --- HERO section --- */
.hero {
  background: #F7FAFC;
  border-radius: 14px;
  box-shadow: 0 4px 20px 0 rgba(26,34,54,0.06);
  text-align: left;
}
.hero h1 {
  font-size: 2.75rem;
  font-weight: 700;
  margin-bottom: 14px;
}
.hero p {
  font-size: 1.25rem;
  color: #232b3d;
  margin-bottom: 28px;
}
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
}

/* =========================================================
   HEADER & NAVIGATION
   ========================================================= */
header {
  background: #fff;
  box-shadow: 0 2px 10px 0 rgba(26,34,54,0.04);
  position: sticky;
  top: 0;
  z-index: 40;
}
.container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.logo {
  height: 46px;
  display: flex;
  align-items: center;
  margin-right: 24px;
}
.logo img {
  height: 42px;
  width: auto;
}
.main-nav {
  display: flex;
  gap: 26px;
  align-items: center;
}
.main-nav a {
  font-family: 'Exo', serif;
  font-size: 1.1rem;
  color: #1A2236;
  padding: 8px 0px;
  letter-spacing: 0.03em;
  transition: color 0.18s, border-color 0.2s;
  border-bottom: 2px solid transparent;
  font-weight: 500;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  color: #2FC8E0;
  border-bottom: 2px solid #2FC8E0;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Exo', serif;
  font-size: 1.08rem;
  font-weight: 600;
  color: #fff;
  background: #1A2236;
  border-radius: 999px;
  border: none;
  padding: 12px 32px;
  box-shadow: 0 2px 10px rgba(26,34,54,.04);
  cursor: pointer;
  transition: background 0.18s, transform 0.17s, box-shadow 0.15s;
  margin-left: 24px;
  letter-spacing: 0.02em;
  outline: none;
  text-align: center;
}
.cta-btn:hover, .cta-btn:focus {
  background: #2FC8E0;
  color: #1A2236;
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 8px 32px 0 rgba(47,200,224,0.10);
}

/* ====== Mobile Header & Nav ====== */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #1A2236;
  margin-left: 22px;
  cursor: pointer;
  padding: 7px 12px;
  line-height: 1;
  z-index: 55;
  border-radius: 8px;
  transition: background 0.16s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #2FC8E0;
  color: #fff;
}
@media (max-width: 1024px) {
  .main-nav {
    gap: 16px;
  }
  .cta-btn {
    padding: 10px 18px;
  }
}
@media (max-width: 800px) {
  .main-nav, .cta-btn {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(26,34,54,0.90);
  backdrop-filter: blur(2px);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0;
  transform: translateX(-100vw);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.83,0.01,0.33,1), opacity 0.25s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  color: #fff;
  border: none;
  font-size: 2.2rem;
  cursor: pointer;
  margin: 18px 16px 12px 20px;
  align-self: flex-end;
  z-index: 1101;
  transition: color 0.17s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #2FC8E0;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  width: 100%;
  margin-top: 30px;
  align-items: flex-start;
  padding: 0 32px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Exo', serif;
  font-size: 1.3rem;
  font-weight: 600;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.09);
  width: 100%;
  transition: color 0.18s, background 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #2FC8E0;
  background: rgba(247,250,252,0.06);
}

/* Hide Mobile nav on desktop */
@media (min-width: 801px) {
  .mobile-menu, .mobile-menu-toggle, .mobile-nav, .mobile-menu-close {
    display: none !important;
  }
}

/* Overlay animation fallback */
@media (max-width: 800px) {
  .mobile-menu {
    display: flex;
  }
}

/* =========================================================
   FOOTER
   ========================================================= */
footer {
  width: 100%;
  background: #ffffff;
  border-top: 1px solid #E5EAF3;
  margin-top: 48px;
  font-size: 1rem;
  padding-top: 28px;
  padding-bottom: 22px;
}
.footer-top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid #ECEEF2;
}
.footer-top nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-top a {
  color: #1A2236;
  font-size: 1rem;
  font-family: 'Exo', serif;
  transition: color 0.16s;
}
.footer-top a:hover {
  color: #2FC8E0;
}
.footer-top img {
  height: 36px;
  margin-bottom: 0;
}
.footer-bottom {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  margin-top: 16px;
  color: #7a849d;
  font-size: 0.97rem;
  flex-wrap: wrap;
}
@media (max-width: 900px) {
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    margin-top: 12px;
  }
}

/* =========================================================
   PRICING TABLE (elegant classic)
   ========================================================= */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: #FCFDFE;
  margin-top: 24px;
  border-radius: 11px;
  overflow: hidden;
  box-shadow: 0 1px 6px 0 rgba(26,34,54,0.07);
  font-size: 1rem;
}
.pricing-table caption {
  font-family: 'Exo', serif;
  font-size: 1.08rem;
  color: #1A2236;
  font-weight: 600;
  margin-bottom: 6px;
  padding-top: 8px;
}
.pricing-table th, .pricing-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #E5EAF3;
  text-align: left;
}
.pricing-table th {
  background: #F7FAFC;
  font-weight: 600;
  color: #1A2236;
}
.pricing-table tr:last-child td {
  border-bottom: none;
}

/* =========================================================
   MISC SECTIONS, BANNERS, & ELEMENTS
   ========================================================= */
.cta-banner, .advice-banner, .about-teaser {
  background: #2FC8E0;
  color: #fff;
  border-radius: 14px;
  margin-bottom: 24px;
  box-shadow: 0 2px 10px 0 rgba(47,200,224,0.05);
  text-align: left;
  padding: 36px 22px 36px 32px;
}
.cta-banner h2,
.advice-banner h2,
.about-teaser h2 {
  color: #fff;
}
.cta-banner .cta-btn, .advice-banner .cta-btn, .about-teaser .cta-btn {
  background: #fff;
  color: #1A2236;
  box-shadow: none;
}
.cta-banner .cta-btn:hover,
.advice-banner .cta-btn:hover,
.about-teaser .cta-btn:hover {
  background: #1A2236;
  color: #fff;
}
@media (max-width: 768px) {
  .cta-banner, .advice-banner, .about-teaser {
    padding: 20px 10px 24px 10px;
    border-radius: 0;
  }
}

/* =========================================================
   ICONS IN LISTS/INFO
   ========================================================= */
ul li, .contact ul li {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 1.08rem;
}
ul li img {
  height: 22px;
  width: 22px;
  flex-shrink: 0;
}

/* Trust signs in About page */
.trust-signs {
  display: flex;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 12px;
}
.trust-signs span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Exo', serif;
  background: #F7FAFC;
  padding: 8px 18px;
  border-radius: 24px;
  font-size: 1.01rem;
  color: #1A2236;
}

/* Map/directions section in Contact */
.map-and-directions {
  margin-top: 19px;
  background: #F7FAFC;
  padding: 18px 15px;
  border-radius: 11px;
  font-size: 1.07rem;
}

/* Thank You Page */
.thank-you ul {
  margin-bottom: 18px;
}

/* =========================================================
   TESTIMONIAL & REVIEW CARDS (HIGH CONTRAST)
   ========================================================= */
.testimonials {
  margin-top: 40px;
}
.testimonial-card {
  background: #F7FAFC;
  border-left: 5px solid #2FC8E0;
  color: #1A2236;
  box-shadow: 0 2px 8px 0 rgba(26,34,54,0.06);
  font-size: 1.22rem;
  font-style: normal;
  border-radius: 12px;
  transition: border-color .2s;
}
.testimonial-card:hover {
  border-left: 5px solid #1A2236;
}
.testimonial-card blockquote {
  font-size: 1.13rem;
  color: #1A2236;
  padding: 0;
  margin: 0;
  background: transparent;
  border: none;
}
.testimonial-card cite {
  color: #232b3d;
  font-size: 1.02rem;
  opacity: 0.80;
  margin-top: 6px;
}

/* =========================================================
   LEGAL TEXT PAGES
   ========================================================= */
.legal-text {
  font-size: 1.07rem;
  line-height: 1.7;
  color: #1A2236;
  background: #fff;
  box-shadow: 0 1px 5px 0 rgba(26,34,54,0.04);
  border-radius: 12px;
  padding: 36px 21px;
}
.legal-text h1, .legal-text h2, .legal-text h3 {
  margin-top: 20px;
}
.legal-text ul {
  margin-bottom: 14px;
  margin-left: 22px;
}

/* =========================================================
   COOKIE CONSENT BANNER & MODAL
   ========================================================= */
#cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #1A2236;
  color: #fff;
  font-family: 'Roboto', serif;
  padding: 28px 24px 22px 24px;
  box-shadow: 0 -2px 16px 0 rgba(26,34,54,.11);
  z-index: 1500;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
}
#cookie-consent-banner.active {
  opacity: 1;
  pointer-events: auto;
}
#cookie-consent-banner p {
  font-size: 1.01rem;
  color: #fff;
  margin: 0;
  flex: 1 1 260px;
}
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-left: 22px;
}
.cookie-btn {
  appearance: none;
  border: none;
  border-radius: 9px;
  padding: 8px 23px;
  font-size: 1rem;
  font-family: 'Exo', serif;
  font-weight: 600;
  cursor: pointer;
  margin-right: 7px;
  transition: background 0.19s, color 0.13s, box-shadow 0.14s;
  margin-bottom: 7px;
  box-shadow: 0 1.5px 6px 0 rgba(47,200,224,0.08);
}
.cookie-btn.accept {
  background: #2FC8E0;
  color: #fff;
}
.cookie-btn.reject {
  background: #fff;
  color: #1A2236;
  border: 1px solid #E5EAF3;
}
.cookie-btn.settings {
  background: transparent;
  color: #fff;
  border: 1.5px solid #2FC8E0;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #1A2236;
  color: #2FC8E0;
}
@media (max-width: 650px) {
  #cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 20px 8px 16px 8px;
  }
  .cookie-actions {
    margin-left: 0;
    gap: 10px;
  }
}

/* === Cookie Modal === */
#cookie-modal {
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(34,38,62,0.63);
  z-index: 1501;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.29s;
}
#cookie-modal.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-content {
  background: #fff;
  border-radius: 20px;
  max-width: 430px;
  width: 94vw;
  padding: 38px 24px 30px 24px;
  box-shadow: 0 4px 28px 0 rgba(47,200,224,0.12);
  color: #1A2236;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  font-family: 'Roboto', serif;
}
.cookie-modal-title {
  font-family: 'Exo', serif;
  font-size: 1.33rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: #1A2236;
}
.cookie-modal-close {
  position: absolute;
  top: 16px; right: 18px;
  background: none;
  border: none;
  color: #1A2236;
  font-size: 2rem;
  cursor: pointer;
  padding: 6px;
  z-index: 10;
  border-radius: 7px;
  transition: background 0.18s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #F7FAFC;
}
.cookie-toggle-group {
  margin-top: 12px;
  margin-bottom: 6px;
}
.cookie-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 9px;
}
.cookie-toggle label {
  font-family: 'Exo', serif;
  font-size: 1.04rem;
  color: #1A2236;
}
.cookie-switch {
  position: relative;
  display: inline-block;
  width: 36px;
  height: 20px;
}
.cookie-switch input {
  opacity: 0;
  width: 0; height: 0;
}
.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #E5EAF3;
  border-radius: 20px;
  transition: background 0.19s;
}
.cookie-switch input:checked + .cookie-slider {
  background: #2FC8E0;
}
.cookie-slider:before {
  position: absolute;
  content: '';
  height: 14px;
  width: 14px;
  left: 3px;
  bottom: 3px;
  background-color: #fff;
  border-radius: 50%;
  transition: transform 0.21s;
  box-shadow: 0 .5px 2px 0 rgba(26,34,54,0.17);
}
.cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(16px);
}
.cookie-modal-footer {
  display: flex;
  gap: 11px;
  margin-top: 18px;
  justify-content: flex-end;
}
@media (max-width: 500px) {
  .cookie-modal-content {
    padding: 22px 5vw 17px 5vw;
  }
}

/* =========================================================
   BASIC ANIMATIONS & TRANSITIONS
   ========================================================= */
.card, .feature-grid > div, .values-grid > div, .gadget-grid > div, .service-cards > div, .service-list > div, .team-bios > div, .post-grid > div, .cta-btn, .testimonial-card, .mobile-menu {
  transition: box-shadow 0.18s, transform 0.13s, background 0.15s, color 0.15s;
}

/* =========================================================
   UTILITY CLASSES FOR SPACING & TEXT
   ========================================================= */
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.pt-2 { padding-top: 16px; }
.pb-2 { padding-bottom: 16px; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-muted { color: #9CA3AF; }

/* =========================================================
   RESPONSIVE: TYPOGRAPHY & SPACING
   ========================================================= */
@media (max-width: 550px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.22rem; }
  h3 { font-size: 1.1rem; }
  .hero h1 { font-size: 1.2rem; }
  .main-nav a, .footer-top a { font-size: 1rem; }
}

/* =========================================================
   ACCESSIBILITY
   ========================================================= */
a:focus {
  outline: 2px solid #2FC8E0;
  outline-offset: 2px;
}
button:focus, .cta-btn:focus, .mobile-menu-toggle:focus {
  outline: 2px solid #2FC8E0;
  outline-offset: 2px;
}

/* END ZenithTech Elegant Classic Styles */