/* =======================================================
   CSS RESET & BASE STYLES
   ======================================================= */
html { box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; margin: 0; padding: 0; }
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #F6F7FA;
  color: #143A52;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #16A085; text-decoration: none; transition: color 0.2s; }
a:hover, a:focus { color: #143A52; text-decoration: underline; outline: none; }
section, main, footer, header { width: 100%; }
ul, ol { padding-left: 1.3em; }
ul { list-style: disc inside; }
ol { list-style: decimal inside; }
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #143A52;
  font-weight: 700;
  margin-bottom: 18px;
}
h1 { font-size: 2.5rem; margin-bottom: 18px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.25rem; margin-bottom: 12px; }

.subheadline {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1.125rem;
  color: #378eb8;
  margin-bottom: 18px;
  font-weight: 400;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}


/* =======================================================
   COLOR PALETTE: SOFT PASTEL
   ======================================================= */
:root {
  --icey-primary: #143A52;
  --icey-secondary: #16A085;
  --icey-accent: #F6F7FA;
  --icey-blue-100: #EAF4FB;
  --icey-blue-200: #D2ECF6;
  --icey-blue-300: #B6DFF0;
  --icey-sage-100: #E3F8F4;
  --icey-mint-100: #DFF7F1;
  --icey-mint-200: #C3EEE3;
  --icey-yellow-100: #FFF9EB;
  --icey-pink-100: #FAE9F7;
  --icey-soft-grey: #F6F7FA;
  --icey-font-light: #3C5368;
  --icey-font-dark: #143A52;
  --icey-card-shadow: 0 4px 16px rgba(20,58,82,0.08);
  --icey-border-radius: 18px;
}


/* =======================================================
   HEADER & NAVIGATION
   ======================================================= */
header {
  background: var(--icey-soft-grey);
  box-shadow: 0 2px 12px rgba(20,58,82,0.05);
  position: sticky;
  top: 0;
  z-index: 40;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 20px;
  position: relative;
}
header img { max-height: 40px; border-radius: 6px; }

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.main-nav a {
  padding: 7px 14px;
  border-radius: 8px;
  color: var(--icey-font-dark);
  font-size: 1rem;
  font-weight: 500;
  transition: background 0.23s, color 0.2s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: var(--icey-blue-100);
  color: var(--icey-secondary);
}

.cta-btn {
  background: linear-gradient(90deg, #C3EEE3 0%, #EAF4FB 100%);
  color: var(--icey-primary);
  border: none;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 12px 30px;
  border-radius: 25px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(20,58,82,0.06);
  transition: background 0.25s, color 0.19s, box-shadow 0.18s;
  margin-left: 12px;
  text-align: center;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg, #B6DFF0 0%, #E3F8F4 100%);
  color: var(--icey-secondary);
  box-shadow: 0 4px 16px rgba(22,160,133,0.09);
  outline: none;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  line-height: 1;
  color: var(--icey-secondary);
  padding: 6px 14px;
  border-radius: 9px;
  margin-left: 10px;
  transition: background 0.18s;
}
.mobile-menu-toggle:focus {
  background: var(--icey-blue-100);
  outline: 2px solid var(--icey-secondary);
}

/* ------------------------
   MOBILE NAV
------------------------ */
.mobile-menu {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(246,247,250,0.99);
  z-index: 1200;
  padding: 36px 20px 20px 20px;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.77,0,.175,1);
}
.mobile-menu.active {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.2rem;
  background: none;
  border: none;
  color: var(--icey-primary);
  padding: 8px 14px;
  border-radius: 9px;
  margin-bottom: 26px;
  cursor: pointer;
  transition: background 0.17s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  background: var(--icey-blue-100);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: stretch;
  margin-top: 16px;
}
.mobile-nav a {
  background: linear-gradient(90deg, #EAF4FB 0%, #DFF7F1 100%);
  color: var(--icey-font-dark);
  padding: 14px 20px;
  border-radius: 13px;
  font-size: 1.13rem;
  font-weight: 600;
  margin-bottom: 3px;
  box-shadow: var(--icey-card-shadow);
  transition: color 0.17s, background 0.19s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #C3EEE3;
  color: var(--icey-secondary);
  outline: none;
}


/* =======================================================
   FLEXBOX: LAYOUTS, SPACING, ALIGNMENT
   ======================================================= */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}


/* =======================================================
   HERO SECTION
   ======================================================= */
.hero {
  background: linear-gradient(95deg,#EAF4FB 60%, #E3F8F4 100%);
  border-radius: var(--icey-border-radius);
  margin-top: 18px;
  box-shadow: 0 3px 24px rgba(120,200,230,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero h1 {
  color: var(--icey-primary);
  font-size: 2.2rem;
  margin-bottom: 7px;
  letter-spacing: -0.012em;
}
.hero .subheadline {
  color: #16A085;
}


/* =======================================================
   FEATURES / GRID / CARD SECTIONS
   ======================================================= */
.feature-grid, .team-grid, .testimonials-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
  justify-content: flex-start;
}

.feature-card, .team-card {
  background: linear-gradient(120deg,#F6F7FA 60%, #EAF4FB 100%);
  border-radius: var(--icey-border-radius);
  padding: 26px 22px 20px 22px;
  box-shadow: var(--icey-card-shadow);
  flex: 1 1 260px;
  min-width: 240px;
  max-width: 325px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  transition: box-shadow 0.22s, background 0.19s, transform 0.22s;
  margin-bottom: 20px;
}
.feature-card:hover, .team-card:hover {
  background: #E3F8F4;
  box-shadow: 0 8px 30px rgba(20,58,82,0.14);
  transform: translateY(-3px) scale(1.01);
}
.feature-card img,
.team-card img {
  width: 54px;
  height: 54px;
  margin-bottom: 4px;
  border-radius: 12px;
  background: var(--icey-sage-100);
}
.feature-card h3, .team-card h3 {
  margin-bottom: 5px;
  color: var(--icey-secondary);
}


/* =======================================================
   TESTIMONIALS
   ======================================================= */
.testimonials {
  background: #F6F7FA;
  border-radius: var(--icey-border-radius);
  box-shadow: 0 2px 14px rgba(105, 207, 188, 0.051);
}
.testimonials-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.testimonial-card {
  background: linear-gradient(90deg, #FFF9EB 70%, #EAF4FB 100%);
  border-radius: var(--icey-border-radius);
  box-shadow: var(--icey-card-shadow);
  padding: 26px 22px 20px 22px;
  max-width: 380px;
  min-width: 275px;
  flex: 1 1 260px;
  margin-bottom: 20px;
  display: flex;
  gap: 16px;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.18s, background 0.18s, transform 0.2s;
  border: 1.5px solid #E9E6FE;
}
.testimonial-card:hover {
  background: #FFF9EB;
  box-shadow: 0 8px 30px rgba(240,185,180,0.10);
  transform: translateY(-2px) scale(1.02);
}
.testimonial-card p {
  color: #23272a;
  font-style: italic;
  font-size: 1.05rem;
  margin-bottom: 12px;
}
.testimonial-author {
  color: #16A085;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.004em;
  margin-left: 3px;
}

/* Ensure testimonials always have good contrast */
.testimonial-card p,
.testimonial-author { text-shadow: 0 1px 1.5px rgba(255,255,255,0.68); }


/* =======================================================
   ABOUT VALUES / MISSION
   ======================================================= */
.about ul, .about-mission ul, .features ul, .services-list ul, .service-steps ol {
  margin-top: 10px;
  margin-bottom: 12px;
  padding-left: 18px;
}
.about ul li,
.about-mission ul li,
.services-list ul li,
.service-steps ol li,
.features ul li {
  margin-bottom: 8px;
  color: #388ba8;
  font-size: 1.01rem;
  font-weight: 400;
}

.about-mission h2, .about h2 { color: var(--icey-secondary); }


/* =======================================================
   CTA SECTION
   ======================================================= */
.cta {
  background: linear-gradient(90deg, #E3F8F4 60%, #FAE9F7 100%);
  border-radius: var(--icey-border-radius);
  box-shadow: 0 2px 12px rgba(105, 207, 188, 0.07);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cta h2 { color: var(--icey-primary); margin-bottom: 10px; }
.cta p { color: var(--icey-secondary); margin-bottom: 18px; font-size: 1.07rem; }
.cta .cta-btn {
  margin-left: 0;
  margin-top: 7px;
}

/* Extra CTA wrapper alignment for thank you/contact */
.cta-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-top: 18px;
}


/* =======================================================
   CONTACT DETAILS
   ======================================================= */
.contact-details ul {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 24px;
}
.contact-details ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #377c8a;
  font-size: 1.06rem;
}
.contact-details ul img {
  width: 26px;
  height: 26px;
}
.info-text p {
  font-size: 1rem;
  color: var(--icey-font-dark);
  margin-bottom: 6px;
}


/* =======================================================
   LISTS (LEGAL, SERVICES)
   ======================================================= */
.legal-section {
  background: linear-gradient(96deg, #FAE9F7 60%, #F6F7FA 100%);
  border-radius: var(--icey-border-radius);
  box-shadow: 0 3px 16px rgba(240,185,220,0.05);
}
.legal-section h1, .legal-section h2 {
  color: var(--icey-secondary);
}


/* =======================================================
   FOOTER
   ======================================================= */
footer {
  background: #E3F8F4;
  padding: 18px 0 7px 0;
  box-shadow: 0 -2px 15px rgba(120, 200, 230, 0.07);
  margin-top: 40px;
}
footer .container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 30px;
  align-items: flex-start;
  min-height: 90px;
  justify-content: space-between;
}
.footer-logo {
  flex: 0 0 80px;
  display: flex;
  align-items: flex-start;
  margin-right: 15px;
}
.footer-logo img {
  max-width: 65px;
  border-radius: 12px;
}
.footer-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  flex: 1 1 180px;
  min-width: 180px;
}
.footer-info span {
  color: #138084;
  font-weight: 500;
  margin-bottom: 4px;
  font-size: 0.97rem;
}
footer address {
  color: #2a5a67;
  font-style: normal;
  font-size: 0.92rem;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
}
.footer-menu a {
  color: #16a085;
  font-size: 0.98rem;
  transition: color 0.19s;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: #143A52;
  text-decoration: underline;
}
.footer-copy {
  width: 100%;
  margin-top: 9px;
  text-align: right;
  color: #93b9bd;
  font-size: 0.91rem;
}

/* =======================================================
   COOKIE CONSENT BANNER & MODAL
   ======================================================= */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #FFF9EB;
  color: #143A52;
  box-shadow: 0 -4px 24px rgba(120, 200, 230, 0.15);
  padding: 26px 18px 18px 18px;
  z-index: 1300;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  animation: bannerin 0.52s cubic-bezier(.77,0,.175,1);
}
@keyframes bannerin {
  from { transform: translateY(110%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  font-size: 1.05rem;
  text-align: center;
  margin-bottom: 7px;
}
.cookie-btn-row {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 9px;
}
.cookie-btn, .cookie-banner button {
  background: #EAF4FB;
  color: #143A52;
  border: none;
  border-radius: 19px;
  padding: 10px 24px;
  font-size: 1.02rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(20,58,82,0.07);
  transition: background 0.18s, color 0.15s, box-shadow 0.16s;
}
.cookie-btn.accept {
  background: #DFF7F1;
  color: #16A085;
}
.cookie-btn.reject {
  background: #FAE9F7;
  color: #BF387C;
}
.cookie-btn.settings {
  background: #FFF9EB;
  color: #86838f;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #C3EEE3;
  color: #143A52;
  box-shadow: 0 3px 14px rgba(20,58,82,0.12);
  outline: none;
}

/* Cookie Modal */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 1500;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(36,52,85,0.33);
  justify-content: center;
  align-items: center;
  animation: fadeinmodal 0.23s;
}
.cookie-modal-overlay.active {
  display: flex;
}
@keyframes fadeinmodal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #F6F7FA;
  border-radius: 20px;
  box-shadow: 0 8px 36px rgba(20,58,82,0.16);
  padding: 36px 22px 28px 22px;
  max-width: 370px;
  width: 92vw;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 17px;
  animation: modalslidein 0.27s;
}
@keyframes modalslidein {
  from { transform: translateY(80px) scale(0.92); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  top: 11px; right: 17px;
  font-size: 1.6rem;
  background: none;
  border: none;
  color: #16A085;
  cursor: pointer;
  border-radius: 8px;
  padding: 6px 10px;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #EAF4FB;
}
.cookie-modal h3 {
  color: #16A085;
  font-size: 1.15rem;
  margin-bottom: 7px;
  margin-top: 9px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  font-size: 1rem;
}
.cookie-category input[type=checkbox] {
  accent-color: #16A085;
  width: 20px;
  height: 20px;
}
.cookie-toggle-switch {
  width: 36px;
  height: 20px;
  appearance: none;
  background: #EAF4FB;
  border-radius: 13px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.16s;
  margin-right: 8px;
}
.cookie-toggle-switch:checked {
  background: #16A085;
}
.cookie-toggle-switch::after {
  content: '';
  display: block;
  width: 15px;
  height: 15px;
  background: #FFF;
  border-radius: 50%;
  position: absolute;
  top: 2.5px;
  left: 4px;
  transition: left 0.15s;
}
.cookie-toggle-switch:checked::after {
  left: 17px;
}
.cookie-category label {
  cursor: pointer;
  color: #178e8c;
}
.cookie-category .category-desc {
  color: #7a8089;
  font-size: 0.97rem;
}
.cookie-modal-actions {
  display: flex;
  gap: 13px;
  justify-content: flex-end;
  margin-top: 8px;
}


/* =======================================================
   THANK YOU SECTION
   ======================================================= */
.thank-you-section {
  background: linear-gradient(94deg, #EAF4FB 70%, #FAE9F7 100%);
  border-radius: var(--icey-border-radius);
  box-shadow: 0 3px 24px rgba(240,185,220,0.08);
  text-align: center;
  padding-top: 60px;
  padding-bottom: 60px;
}
.thank-you-section h1 {
  color: var(--icey-secondary);
}
.thank-you-section .cta-wrapper {
  justify-content: center;
  align-items: center;
  margin-top: 25px;
}


/* =======================================================
   MEDIA QUERIES: RESPONSIVE DESIGN
   ======================================================= */
@media (max-width: 1020px) {
  .container { max-width: 98vw; }
  .content-grid, .feature-grid, .team-grid, .testimonials-grid {
    gap: 16px;
  }
  .feature-card {
    min-width: 180px;
    max-width: 100vw;
    padding: 18px 14px;
  }
  .team-card { min-width: 180px; }
}

@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 10px 12px 10px;
  }
  .main-nav {
    display: none !important;
  }
  .cta-btn {
    padding: 11px 16px;
    font-size: 0.97rem;
  }
  .mobile-menu-toggle {
    display: block;
    z-index: 999;
  }
  .feature-grid, .team-grid, .testimonials-grid, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .feature-card, .team-card, .testimonial-card {
    min-width: 0;
    max-width: 100vw;
    width: 100%;
    padding: 15px 11px 17px 16px;
    box-sizing: border-box;
  }
  .section, section {
    margin-bottom: 36px;
    padding: 28px 7px;
  }
  .content-wrapper {
    gap: 15px;
  }
  .footer-logo img { max-width: 55px; }
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
    padding: 0 12px;
    min-height: unset;
  }
  .footer-info { min-width: unset; }
  .footer-copy { text-align: left; }
  .thank-you-section { padding-top: 32px; padding-bottom: 36px; }
  .cta {
    padding: 30px 7px;
  }
  .text-image-section {
    flex-direction: column !important;
    align-items: flex-start;
    gap: 16px;
  }
}

@media (max-width: 530px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.35rem; }
  .hero h1 { font-size: 1.32rem; }
  .container { padding-left: 7px; padding-right: 7px; }
  .footer-logo img { max-width: 45px; }
  .cta-btn { font-size: 0.93rem; }
  .cookie-banner { padding: 17px 3px 9px 3px; }
}


/* =======================================================
   TRANSITIONS & INTERACTIONS
   ======================================================= */
button, .cta-btn, .cookie-btn {
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.18s;
}
button:active, .cta-btn:active, .cookie-btn:active {
  transform: scale(0.97);
}

/* =======================================================
   UTILITIES
   ======================================================= */
.hide { display: none !important; }
.show { display: block !important; }

/* Prevent card overlap, always use gap or margin */
.card, .feature-card, .testimonial-card, .team-card {
  margin-bottom: 20px;
}

/* Spacing around images */
.feature-card img, .team-card img {
  margin-bottom: 5px;
  background: #FAE9F7;
}

/* Accessibility: Outline for focusable elements */
:focus-visible {
  outline: 2px dashed #16A085;
  outline-offset: 2px;
}
