/* Zephyr Stream CSS – gradient_modern style, Flexbox only, responsive, mobile nav & cookie banner */

/* === 1. CSS RESET === */
html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background-color: #F5F3E7;
  color: #1E4D66;
  line-height: 1.55;
  scroll-behavior: smooth;
  overflow-x: hidden;
}
img, svg {
  display: inline-block;
  max-width: 100%;
  height: auto;
}
a {
  color: #1E4D66;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #70A288;
  outline-offset: 2px;
}

/* === 2. BRAND TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto Slab', Georgia, serif;
  line-height: 1.16;
  color: #1E4D66;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
h1 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 24px;
}
h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}
p, ul, ol {
  margin-bottom: 16px;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
ul, ol {
  padding-left: 20px;
}
small {
  font-size: 0.9375rem;
  color: #38586d;
}
strong {
  color: #1E4D66;
}

/* === 3. LAYOUT BASICS & RESPONSIVE CONTAINERS === */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media (min-width: 800px) {
  .content-wrapper {
    gap: 32px;
  }
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}

/* === 4. FLEXBOX PATTERNS === */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  position: relative;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(30,77,102,0.08);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.2s, transform 0.15s;
}
.card:hover {
  box-shadow: 0 6px 32px rgba(30,77,102,0.14);
  transform: translateY(-3px) 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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  margin-bottom: 24px;
  background: #F5F3E7;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(30,77,102,0.07);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* === 5. HEADER & NAVIGATION === */
header {
  width: 100%;
  background: linear-gradient(90deg,#1E4D66 60%,#70A288 100%);
  box-shadow: 0 0 10px rgba(30,77,102,0.06);
  padding: 0 0;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 20;
}
header > a img {
  height: 44px;
  margin: 16px 0 10px 18px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 1.05rem;
  margin: 0 0 0 18px;
}
.main-nav a {
  color: #F5F3E7;
  padding: 12px 6px;
  border-radius: 6px;
  font-weight: 500;
  transition: background 0.22s, color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #70A288;
  background: #F5F3E7;
}
.cta-btn {
  margin-left: auto;
  margin-right: 24px;
  background: linear-gradient(90deg, #70A288 20%, #1E4D66 100%);
  color: #fff;
  font-family: 'Roboto Slab', serif;
  font-size: 1.06rem;
  font-weight: 700;
  border: none;
  border-radius: 100px;
  padding: 10px 32px;
  box-shadow: 0 2px 12px rgba(30,77,102,0.06);
  transition: background 0.18s, transform 0.18s, box-shadow 0.18s;
  cursor: pointer;
  display: inline-block;
  text-align: center;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg, #1E4D66 10%, #70A288 100%);
  color: #F5F3E7;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 4px 20px rgba(30,77,102,0.13);
  outline: none;
}
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #F5F3E7;
  margin: 0 18px 0 12px;
  cursor: pointer;
  transition: color 0.18s;
  z-index: 45;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #70A288;
}
@media (max-width: 980px) {
  .main-nav {
    display: none;
  }
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    align-self: flex-end;
  }
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(135deg, #1E4D66 90%, #70A288 100%);
  transform: translateX(-100vw);
  transition: transform 0.36s cubic-bezier(0.73,0.22,0.15,1.05);
  z-index: 100;
  display: flex;
  flex-direction: column;
  padding: 0;
  gap: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  color: #F5F3E7;
  border: none;
  font-size: 2.1rem;
  margin: 23px 25px 0 0;
  cursor: pointer;
  transition: color 0.18s;
  z-index: 110;
}
.mobile-menu-close:focus {
  outline: 2px solid #70A288;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 40px 32px;
  margin-top: 22px;
}
.mobile-nav a {
  color: #F5F3E7;
  font-size: 1.25rem;
  padding: 15px 12px;
  border-radius: 6px;
  width: 100%;
  font-weight: 500;
  transition: background 0.15s, color 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #70A288;
  color: #fff;
}

/* === 6. HERO & SECTION BACKGROUNDS === */
.hero {
  background: linear-gradient(100deg, #70A288 0%, #F5F3E7 100%);
  min-height: 340px;
  display: flex;
  align-items: center;
  padding: 40px 0 36px 0;
}
.hero .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 22px;
}
@media (min-width: 800px) {
  .hero {
    min-height: 360px;
  }
}

.features {
  background: #fff;
}
.features h2 {
  margin-bottom: 20px;
}
.features .feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: space-between;
  margin-top: 14px;
}
.features .feature {
  flex: 1 1 210px;
  min-width: 210px;
  max-width: 290px;
  background: #F5F3E7;
  border-radius: 13px;
  box-shadow: 0 0 10px rgba(30,77,102,0.06);
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, transform 0.15s;
}
.features .feature:hover {
  box-shadow: 0 8px 26px rgba(112,162,136,0.13);
  transform: translateY(-3px) scale(1.014);
}
.features .feature img {
  height: 44px;
  width: 44px;
  filter: saturate(1.2);
  margin-bottom: 10px;
}

.about-intro, .about-team, .services-preview, .services-overview, .contact-details, .faq, .cta-banner, .content {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 3px 12px rgba(30,77,102,0.04);
}
.cta-banner {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 0;
  background: linear-gradient(90deg, #70A288 0%, #1E4D66 80%, #F5F3E7 100%);
  border-radius: 22px;
  margin-bottom: 60px;
  color: #fff;
}
.cta-banner h2 {
  color: #fff;
  margin-bottom: 13px;
}
.cta-banner .content-wrapper {
  align-items: center;
}

.text-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

/* === 7. TESTIMONIALS === */
.testimonials, .testimonials-short {
  background: #F5F3E7;
  border-radius: 13px;
  box-shadow: 0 3px 14px rgba(30,77,102,0.06);
  padding: 32px 0;
}
.testimonials h2, .testimonials-short h2 {
  margin-bottom: 8px;
}
.testimonials .content-wrapper, .testimonials-short .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.testimonial-card {
  background: #fff;
  color: #23485c;
  border-radius: 13px;
  box-shadow: 0 2px 10px rgba(30,77,102,0.07);
  padding: 22px 26px;
  margin-bottom: 20px;
  font-size: 1rem;
  transition: box-shadow 0.17s;
}
@media (min-width: 750px) {
  .testimonials .content-wrapper, .testimonials-short .content-wrapper {
    flex-direction: row;
    gap: 24px;
    justify-content: flex-start;
  }
  .testimonial-card {
    min-width: 260px;
    flex: 1 1 260px;
    margin-bottom: 0;
  }
}
.testimonial-card a {
  color: #70A288;
  font-weight: 600;
  word-break: break-word;
  transition: color 0.18s;
}
.testimonial-card a:hover {
  color: #1E4D66;
  text-decoration: underline;
}

/* === 8. BUTTONS & LINKS === */
button, .cta-btn {
  font-family: 'Roboto Slab', serif;
  border: none;
  cursor: pointer;
  transition: background 0.16s, color 0.16s, box-shadow 0.2s, transform 0.16s;
}
button:focus, .cta-btn:focus {
  outline: 2px solid #70A288;
  outline-offset: 2px;
}

/* === 9. FOOTER === */
footer {
  background: linear-gradient(90deg,#1E4D66 80%,#70A288 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 0 24px 0;
  gap: 18px;
  color: #F5F3E7;
  position: relative;
  box-shadow: 0 0 12px rgba(30,77,102,0.05);
  margin-top: 32px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-bottom: 6px;
}
footer nav a {
  color: #F5F3E7;
  font-size: 1rem;
  opacity: 0.92;
  font-weight: 500;
  transition: color 0.16s;
  border-radius: 4px;
  padding: 5px 9px;
}
footer nav a:hover, footer nav a:focus {
  color: #70A288;
  background: #fff;
  outline: none;
}
footer .text-section {
  color: #fff;
  font-size: 0.96rem;
}

/* === 10. RESPONSIVENESS === */
@media (max-width: 700px) {
  h1 {
    font-size: 1.44rem;
  }
  h2 {
    font-size: 1.17rem;
  }
  .features .feature {
    min-width: 100%;
    max-width: 100%;
    padding: 26px 11px;
  }
  .card {
    padding: 18px 10px;
  }
  .container {
    padding: 0 6px;
  }
  .section {
    padding: 26px 8px;
    margin-bottom: 36px;
  }
  .cta-banner {
    padding: 25px 0;
  }
}
@media (max-width: 480px) {
  body {
    font-size: 0.98rem;
  }
  footer {
    padding: 18px 0 13px 0;
    gap: 14px;
  }
  .mobile-nav {
    padding: 24px 11px;
  }
}

/* === 11. COOKIE CONSENT BANNER & MODAL === */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  border-top: 3px solid #70A288;
  box-shadow: 0 -4px 18px rgba(30,77,102,0.13);
  padding: 25px 12px 19px 12px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  z-index: 9999;
  animation: fadeInCookie 0.42s ease;
}
@keyframes fadeInCookie {
  0% { opacity: 0; transform: translateY(50px); }
  100% { opacity: 1; transform: none; }
}
.cookie-banner p {
  color: #1E4D66;
  font-size: 1rem;
  text-align: center;
  max-width: 600px;
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.cookie-btn, .cookie-settings-btn {
  background: #1E4D66;
  color: #fff;
  border-radius: 7px;
  padding: 9px 22px;
  font-size: 1rem;
  font-weight: 700;
  margin: 0 2px;
  transition: background 0.15s, color 0.14s;
  box-shadow: 0 2px 10px rgba(30,77,102,0.08);
}
.cookie-btn.accept {
  background: #70A288;
  color: #fff;
}
.cookie-btn.reject {
  background: #E1575B;
  color: #fff;
}
.cookie-btn:hover, .cookie-btn:focus, .cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: #38586d;
  color: #F5F3E7;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #1E4D66;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #ce373c;
}

/* Modal overlay */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; right:0; bottom:0;
  background: rgba(30,77,102,0.34);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInModal 0.33s;
}
@keyframes fadeInModal {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 55px rgba(30,77,102,0.17);
  max-width: 410px;
  width: 92vw;
  padding: 38px 22px 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  animation: modalPop 0.24s;
  position: relative;
}
@keyframes modalPop {
  0% { opacity: 0; transform: scale(0.94); }
  100% { opacity: 1; transform: none; }
}
.cookie-modal h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: #1E4D66;
}
.cookie-modal-close {
  position: absolute;
  top: 14px; right: 16px;
  background: none;
  border: none;
  color: #38586d;
  font-size: 1.62rem;
  cursor: pointer;
  padding: 0 5px;
  transition: color 0.15s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #70A288;
}
.cookie-option-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 1rem;
  color: #1E4D66;
  margin-bottom: 13px;
}
.cookie-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
}
.cookie-option label {
  font-weight: 500;
}
.cookie-switch {
  display: inline-flex;
  align-items: center;
}
/* Switch Style */
.cookie-switch input[type="checkbox"] {
  display: none;
}
.cookie-switch .slider {
  width: 40px; height: 20px;
  background: #eee;
  border-radius: 20px;
  position: relative;
  cursor: pointer;
  margin-left: 10px;
  transition: background 0.17s;
}
.cookie-switch .slider:before {
  content: '';
  display: block;
  position: absolute;
  left: 2px; top: 2px;
  width: 16px; height: 16px;
  background: #70A288;
  border-radius: 50%;
  transition: left 0.18s, background 0.18s;
}
.cookie-switch input[type="checkbox"]:checked + .slider {
  background: #70A288;
}
.cookie-switch input[type="checkbox"]:checked + .slider:before {
  left: 22px;
  background: #1E4D66;
}
.cookie-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}
.cookie-modal-actions .cookie-btn {
  min-width: 108px;
}

/* Essential always enabled styling */
.cookie-option.essential .slider {
  background: #aaa;
  cursor: not-allowed;
}
.cookie-option.essential .slider:before {
  background: #bebebe;
}
.cookie-option.essential label {
  color: #b5b5b5;
  font-weight: 400;
}

/* === 12. DETAILS & MICRO-INTERACTIONS === */
.section ul li, .features ul li, .services-overview ul li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 15px;
}
.section ul li:before, .features ul li:before, .services-overview ul li:before {
  content: '';
  position: absolute;
  left: 0; top: 10px;
  width: 7px; height: 7px;
  background: #70A288;
  border-radius: 50%;
}

/* Helper: visually hide but remain accessible */
.sr-only {
  position: absolute;
  left: -10000px;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* Section Headings with accent bar */
.container > h2, .container > h1 {
  position: relative;
  padding-left: 17px;
}
.container > h2:before, .container > h1:before {
  content: '';
  position: absolute;
  left: 0; top: 10px;
  width: 6px; height: 22px;
  background: #70A288;
  border-radius: 4px;
}

/* === 13. UTILITY === */
.text-section a {
  color: #70A288;
  transition: color 0.18s;
}
.text-section a:hover {
  color: #1E4D66;
  text-decoration: underline;
}

/* === 14. PRINT STYLES === */
@media print {
  header, .mobile-menu, .cookie-banner, .cookie-modal-overlay, footer {
    display: none !important;
  }
  body {
    color: #000;
  }
  .container {
    padding: 0;
  }
}