/* ==== CSS RESET & NORMALIZATION ==== */
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,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background-color: #F4F8FB;
  color: #20303D;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a {
  color: #204E65;
  text-decoration: none;
  transition: color 0.18s;
}
a:hover, a:focus {
  color: #0f2334;
  text-decoration: underline;
}
img {
  max-width: 100%;
  display: block;
}
ul, ol {
  margin-left: 20px;
}
ul li, ol li {
  margin-bottom: 8px;
}
button, input[type="button"], input[type="submit"] {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
}


/* ==== BRAND COLORS ==== */
:root {
  --primary: #204E65;
  --secondary: #8FD6E1;
  --accent: #F4F8FB;
  --gray-light: #e2e8f0;
  --gray-dark: #20303D;
  --white: #fff;
  --shadow-card: 0 2px 8px rgba(32, 78, 101, 0.08);
  --radius: 14px;
  --focus: #14415a;
}


/* ==== TYPOGRAPHY ==== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
  line-height: 1.12;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 1.65rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 16px;
}
h4, h5, h6 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}
p, li, blockquote {
  font-size: 1rem;
  color: #222e38;
}
.text-center {
  text-align: center;
}


/* ==== CONTAINERS & LAYOUT ==== */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* ==== SECTIONS & SPACING ==== */
.section, .features, .testimonials, .cta, .our-services, .pricing, .services, .about-story, .policy-section, .thank-you-section, .contact-block {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

/* Remove extra background and border for sections that should be transparent */
.hero,
.cta {
  background: var(--secondary);
  color: var(--primary);
  box-shadow: none;
}

/* ==== FLEXBOX PATTERNS ==== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  position: relative;
  flex: 1 1 310px;
  min-width: 260px;
  padding: 24px 20px 20px 20px;
}
.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;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: var(--accent);
  border-left: 5px solid var(--secondary);
  box-shadow: 0 1px 4px rgba(32,78,101,0.04);
  border-radius: var(--radius);
  color: var(--gray-dark);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.features ul, .our-services ul, .services ul  {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.features ul li, .our-services ul li, .services ul li {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 250px;
  background: var(--white);
  box-shadow: var(--shadow-card);
  border-radius: 10px;
  padding: 14px 18px;
  font-weight: 500;
  color: var(--primary);
}
.features ul li img, .our-services ul li img, .services ul li img {
  width: 36px;
  height: 36px;
}

/* ==== NAVIGATION MENU ==== */
header {
  width: 100%;
  background: var(--white);
  box-shadow: 0 2px 10px rgba(32,78,101,0.08);
  z-index: 100;
  position: relative;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
}
.main-nav a {
  color: var(--primary);
  padding: 8px 12px;
  border-radius: 6px;
  position: relative;
  transition: background 0.15s, color 0.15s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--secondary);
  color: var(--gray-dark);
}
.main-nav img {
  height: 38px;
  width: auto;
  margin-right: 12px;
}
.btn-primary, .main-nav .btn-primary {
  background: var(--primary);
  color: var(--white) !important;
  border-radius: 7px;
  padding: 9px 22px;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-left: 12px;
  box-shadow: 0 1.5px 8px rgba(32,78,101,0.06);
  letter-spacing: 0.05em;
  outline: none;
  transition: background 0.17s, box-shadow 0.17s;
}
.btn-primary:hover, .btn-primary:focus {
  background: #18384b;
  box-shadow: 0 5px 24px rgba(32,78,101,0.13);
}
.btn-secondary {
  background: var(--secondary);
  color: var(--primary);
  border-radius: 7px;
  padding: 8px 19px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  margin-left: 8px;
  outline: none;
  border: 2px solid var(--primary);
  box-shadow: 0 1px 4px rgba(32,78,101,0.04);
  transition: background 0.16s, color 0.16s, border 0.16s;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--primary);
  color: var(--white);
  border-color: var(--secondary);
}


/* ==== MOBILE BURGER MENU ==== */
.mobile-menu-toggle {
  display: none;
  background: var(--primary);
  color: var(--white);
  padding: 6px 12px;
  font-size: 2rem;
  border-radius: 7px;
  transition: background 0.16s;
  margin-left: auto;
  z-index: 201;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #18384b;
}
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;
  width: 100vw;
  background: var(--white);
  z-index: 200;
  transition: transform 0.38s cubic-bezier(.77,0,.18,1);
  transform: translateX(-100vw);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 0 3px 35px rgba(32,78,101,0.13);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 16px;
  right: 22px;
  font-size: 2.3rem;
  background: none;
  color: var(--primary);
  border: none;
  z-index: 202;
  cursor: pointer;
  padding: 2px 12px;
  border-radius: 5px;
  transition: background 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding-top: 70px;
  gap: 12px;
  margin-top: 18px;
}
.mobile-nav a {
  padding: 16px 32px;
  font-size: 1.18rem;
  color: var(--primary);
  border-radius: 6px;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: background 0.15s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--secondary);
  color: var(--white);
}
/* Hamburger only on mobile */
@media (max-width: 1000px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1001px) {
  .mobile-menu {
    display: none !important;
  }
}


/* ==== HERO ==== */
.hero {
  background: var(--secondary);
  padding: 60px 0 60px 0;
  margin-bottom: 60px;
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 2px 18px rgba(32,78,101,0.06);
}
.hero .content-wrapper {
  align-items: flex-start;
}
.hero h1, .hero p {
  color: var(--primary);
}
.hero .btn-primary {
  margin-top: 18px;
}

/* ==== CTA SECTION ==== */
.cta {
  background: var(--secondary);
  box-shadow: 0 1px 6px rgba(32,78,101,0.04);
  padding: 40px 20px;
  margin-bottom: 60px;
}
.cta h2, .cta p {
  color: var(--primary);
}

/* ==== FEATURES LIST ==== */
.features {
  background: var(--accent);
  border-radius: var(--radius);
}
.features .content-wrapper {
  gap: 22px;
}
.features ul {
  gap: 24px;
}

/* ==== TESTIMONIALS ==== */
.testimonials {
  background: var(--accent);
  border-radius: var(--radius);
}
.testimonials .testimonial-card {
  color: #0d222b;
  background: #f9fbfd;
  box-shadow: 0 1px 5px rgba(32, 78, 101,0.07);
  border: 1.5px solid var(--secondary);
  font-size: 1.08rem;
}
.testimonial-card blockquote {
  quotes: "\201C" "\201D";
  font-style: italic;
  color: #193548;
  margin-bottom: 8px;
  position: relative;
  font-size: 1.12rem;
  line-height: 1.4;
}
.testimonial-card p strong {
  color: var(--primary);
}

/* ==== TABLE STYLES ==== */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 32px;
  background-color: var(--white);
  font-family: 'Roboto', Arial, sans-serif;
  border-radius: var(--radius);
  box-shadow: 0 1px 7px rgba(0,0,0,0.04);
  overflow: hidden;
  font-size: 1rem;
}
thead tr {
  background: var(--primary);
  color: var(--white);
}
table th, table td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--gray-light);
}
table th {
  font-weight: 700;
}
tr:last-child td {
  border-bottom: none;
}

/* ==== GENERAL UTILITY CLASSES ==== */
.text-section {
  margin-bottom: 20px;
}
.note {
  color: #466f86;
  font-size: 0.97em;
}

/* ==== FOOTER ==== */
footer {
  background: var(--primary);
  color: var(--white);
  padding: 42px 0 0 0;
  border-radius: var(--radius) var(--radius) 0 0;
  margin-top: 50px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 38px;
  justify-content: space-between;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 22px;
  margin-bottom: 22px;
}
.footer-nav a {
  color: var(--white);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 3px 0;
  transition: text-decoration 0.1s, color 0.17s;
  opacity: 0.89;
}
.footer-nav a:hover {
  color: var(--secondary);
  opacity: 1;
  text-decoration: underline;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 13px;
  align-items: flex-end;
  font-size: 1em;
  letter-spacing: 0.01em;
  margin-bottom: 22px;
}
.footer-brand img {
  height: 34px;
  margin-bottom: 6px;
}
.footer-brand p {
  color: #eafeff;
  opacity: 0.88;
  font-size: 0.97em;
}

/* ==== POLICY SECTIONS ==== */
.policy-section {
  background: var(--accent);
  padding: 40px 20px;
  border-radius: var(--radius);
  box-shadow: 0 1.5px 8px rgba(32,78,101,0.08);
}

/* ==== CONTACT INFO SECTION ==== */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-info img {
  width: 22px;
  height: 22px;
  vertical-align: middle;
  margin-right: 7px;
}
.map-location {
  margin: 18px 0 0 0;
  color: var(--primary);
  font-weight: 500;
}
.map-location img {
  vertical-align: middle;
  margin-right: 7px;
}

/* ==== THANK YOU PAGE ==== */
.thank-you-section ul {
  margin: 18px 0 18px 0;
}
.thank-you-section ul li {
  margin-bottom: 8px;
}

/* ==== COOKIE CONSENT BANNER ==== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 300;
  background: var(--white);
  border-top: 3px solid var(--secondary);
  box-shadow: 0 -5px 16px rgba(32,78,101,0.13);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  padding: 18px 30px;
  font-size: 1rem;
  justify-content: center;
  animation: bannerIn 0.35s cubic-bezier(.47,.99,.01,1.01);
}
@keyframes bannerIn {
  0% { transform: translateY(60px); opacity: 0; }
  97% { opacity: 1; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  color: var(--primary);
  flex: 1 1 220px;
  margin-bottom: 0;
}
.cookie-banner .cookie-btn {
  margin-right: 12px;
}
.cookie-btn {
  background: var(--primary);
  color: var(--white);
  border-radius: 7px;
  padding: 8px 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border: none;
  outline: none;
  box-shadow: 0 1px 6px rgba(32,78,101,0.08);
  transition: background 0.15s, color 0.15s;
  margin-left: 8px;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-btn.secondary {
  background: var(--secondary);
  color: var(--primary);
  border: 2px solid var(--primary);
}
.cookie-btn.secondary:hover, .cookie-btn.secondary:focus {
  background: var(--primary);
  color: var(--white);
}

/* ==== COOKIE PREFERENCES MODAL ==== */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  width: 96vw;
  max-width: 425px;
  background: var(--white);
  box-shadow: 0 10px 32px rgba(32,78,101,0.14), 0 0 0 100vw rgba(10,33,50,.35);
  border-radius: 17px;
  z-index: 410;
  padding: 33px 28px 24px 28px;
  transform: translate(-50%, -55%) scale(1.03);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.21s, transform 0.23s cubic-bezier(.39,1.17,.29,1.01);
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -51%) scale(1.0);
}
.cookie-modal h3 {
  color: var(--primary);
  font-size: 1.18rem;
  margin-bottom: 10px;
  letter-spacing: 0.01em;
}
.cookie-modal .modal-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
  font-size: 1rem;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  color: var(--primary);
}
.cookie-modal input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--primary);
}
.cookie-modal .modal-actions {
  margin-top: 16px;
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}
.cookie-modal .cookie-btn {
  padding-left: 13px;
  padding-right: 13px;
  min-width: 90px;
}
.cookie-modal .modal-close-btn {
  position: absolute;
  top: 13px;
  right: 17px;
  background: none;
  font-size: 1.25rem;
  color: #758590;
  border: none;
  cursor: pointer;
  z-index: 421;
}
.cookie-modal .modal-close-btn:hover, .cookie-modal .modal-close-btn:focus {
  color: var(--primary);
}

/* === RESPONSIVE DESIGN (mobile-first) === */
@media (max-width: 1000px) {
  .footer-brand {
    align-items: flex-start;
  }
  footer .container {
    flex-direction: column;
    gap: 22px;
    padding-left: 24px;
  }
}
@media (max-width: 890px) {
  .container {
    padding-left: 12px; padding-right: 12px;
  }
  .main-nav {
    gap: 10px;
    padding: 11px 0;
  }
  .footer-nav {
    gap: 10px 9px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 1.53rem; }
  h2 { font-size: 1.22rem; }
  .footer-brand, footer .container {
    align-items: flex-start;
  }
  .section, .about-story, .our-services, .features, .testimonials, .policy-section, .cta, .services, .contact-block, .pricing, .thank-you-section {
    padding: 26px 4px;
    margin-bottom: 35px !important;
  }
  .hero {
    padding: 38px 4px 30px 4px;
    margin-bottom: 25px;
  }
  .cta {
    padding: 26px 8px;
    margin-bottom: 30px;
  }
  .features ul, .our-services ul, .services ul {
    flex-direction: column;
    gap: 12px;
  }
  .features ul li, .our-services ul li, .services ul li {
    min-width: 0;
    font-size: 0.98rem;
    padding: 10px 10px;
  }
  .testimonial-card {
    padding: 14px;
  }
  .content-wrapper {
    gap: 13px;
  }
  .footer-brand {
    margin-bottom: 10px;
  }
  .cookie-modal {
    padding: 18px 3vw;
    max-width: 98vw;
  }
  .testimonials .testimonial-card {
    font-size: 0.97rem;
    padding: 13px 7px;
  }
  .content-grid {
    gap: 10px;
  }
}
@media (max-width: 600px) {
  .container {
    padding-left: 4px;
    padding-right: 4px;
  }
  .footer-brand {
    gap: 7px;
  }
}

/* FLEX DIRECTION COLUMN FOR WRAPPED SECTIONS ON MOBILE */
@media (max-width: 900px) {
  .content-grid, .text-image-section, .footer-nav, .features ul, .our-services ul, .services ul {
    flex-direction: column !important;
    gap: 15px !important;
  }
}
.text-image-section {
  flex-direction: row;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: stretch !important;
  }
}

/* ==== FOCUS STATES ==== */
:focus {
  outline: 2px solid var(--secondary);
  outline-offset: 1.5px;
}

/* ==== UTILITY CLASSES ==== */
.mb-0 { margin-bottom: 0 !important; }
.mt-0 { margin-top: 0 !important; }
.mb-12 { margin-bottom: 12px !important; }
.mb-20 { margin-bottom: 20px !important; }
.mt-24 { margin-top: 24px !important; }

/* Subtle animation for cards/buttons */
.btn-primary, .btn-secondary, .card, .testimonial-card, .features ul li {
  transition: box-shadow 0.18s cubic-bezier(.41, 0, .59, 1),
              transform 0.10s cubic-bezier(.48, 0, .52, 1),
              background 0.18s, color 0.14s;
}
.btn-primary:hover, .btn-secondary:hover, .features ul li:hover,
.card:hover, .testimonial-card:hover {
  box-shadow: 0 4px 24px rgba(32,78,101,0.15);
  transform: translateY(-1.5px) scale(1.012);
}

/* ==== FORM ELEMENTS (if any) ==== */
input, textarea, select {
  border: 1.5px solid var(--gray-light);
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  transition: border 0.14s;
  background: #fff;
  outline: none;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--secondary);
}
label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: var(--primary);
}

/* ==== MODAL OVERLAY (for cookie modal) ==== */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(32,78,101,0.18);
  z-index: 400;
  animation: cookieOverlayFadeIn 0.2s;
}
@keyframes cookieOverlayFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ==== OVERLOGINFORMATION ==== */
/* Ensure no element overlaps: margin-bottom, flex gap, no absolute on content cards */
.card, .testimonial-card, .features ul li, .section, .container, .cta, .pricing, .policy-section, .contact-block, .thank-you-section {
  margin-bottom: 24px;
}

/* Hide scrollbar for mobile menu */
.mobile-menu {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.mobile-menu::-webkit-scrollbar {
  display: none;
}

/* ==== BRAND FONTS LOADING ==== */
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,600,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');
