/* -----------------------------
   CSS RESET & BASE NORMALIZATION
-------------------------------*/
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #F7F5F0;
  color: #28566B;
  min-height: 100vh;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 1rem;
}
img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s;
}
ul, ol {
  list-style: none;
}

/* --------------------------
   TYPOGRAPHY
---------------------------*/
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #28566B;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.18rem;
}

p {
  margin-bottom: 18px;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
}

strong {
  font-weight: 700;
  color: #28566B;
}

blockquote {
  font-style: italic;
  padding-left: 16px;
  border-left: 3px solid #62B67A;
  color: #334E5E;
  margin-bottom: 16px;
}

/* Accessibility: high-contrast and readable testimonial */
.testimonial-card blockquote, .testimonial-card p, .testimonial-card strong {
  color: #28566B;
}

/* -----------------------------
   CONTAINER, SECTION, WRAPPERS
-------------------------------*/
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 18px;
  width: 100%;
}
.section,
main > section {
  background: #fff;
  border-radius: 16px;
  margin-bottom: 60px;
  padding: 40px 20px;
  box-shadow: 0 2px 12px rgba(40,86,107,0.04),
              0 1.5px 5px rgba(98,182,122,0.04);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

@media (max-width: 768px) {
  .section, main > section {
    margin-bottom: 38px;
    padding: 26px 8px;
    border-radius: 0.5rem;
  }
}

/* ----------------------------------
   HEADER, NAVIGATION, LOGO, CTA
-----------------------------------*/
header {
  background: #fff;
  border-bottom: 1.5px solid #E3E9ED;
  box-shadow: 0 1px 10px rgba(40,86,107,0.03);
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
}
header img {
  height: 42px;
}
header nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.01em;
  padding: 6px 2px;
  color: #28566B;
  position: relative;
  transition: color 0.17s;
}
header nav a:after {
  content: '';
  display: block;
  margin: 0 auto;
  width: 0;
  height: 2px;
  background: #62B67A;
  transition: width .18s;
}
header nav a:hover, header nav a:focus {
  color: #62B67A;
}
header nav a:hover:after {
  width: 85%;
}
.button-primary, .button-secondary {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 11px 32px;
  border-radius: 32px;
  border: none;
  display: inline-block;
  transition: background .15s, color .15s, box-shadow .15s, border .15s;
  cursor: pointer;
  font-size: 1.08rem;
  text-align: center;
  outline: none;
  box-shadow: 0 2px 16px rgba(40,86,107,.02);
}
.button-primary {
  background: #28566B;
  color: #fff;
  border: 1.5px solid #28566B;
}
.button-primary:hover, .button-primary:focus {
  background: #62B67A;
  color: #fff;
  border-color: #62B67A;
  box-shadow: 0 4px 22px rgba(98,182,122, .05);
}
.button-secondary {
  background: #fff;
  color: #28566B;
  border: 1.5px solid #62B67A;
}
.button-secondary:hover, .button-secondary:focus {
  background: #62B67A;
  color: #fff;
  border-color: #62B67A;
}

@media (max-width: 950px) {
  header .container nav {
    display: none;
  }
  header .button-primary {
    display: none;
  }
}

/* Mobile Menu toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #28566B;
  cursor: pointer;
  margin-left: 8px;
}
@media (max-width: 950px) {
  .mobile-menu-toggle {
    display: block;
    z-index: 510;
    position: relative;
  }
}

/* MOBILE MENU DRAWER */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(40,86,107,0.96);
  color: #fff;
  z-index: 999;
  transform: translateX(100%);
  opacity: 0;
  transition: transform 0.33s cubic-bezier(.77,.2,.05,1), opacity 0.2s;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  padding: 0;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  cursor: pointer;
  margin: 24px 32px 16px 0;
  align-self: flex-end;
  transition: color 0.13s;
  z-index: 1003;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #62B67A;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 24px 0 0 38px;
  gap: 18px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.13rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  padding: 8px 0;
  border-radius: 10px;
  width: 100%;
  transition: background .14s, color .14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #62B67A;
  color: #fff;
}

@media (min-width: 951px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* ----------------------------------
   FLEXBOX UTILITY LAYOUTS / SPACING
-----------------------------------*/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(40,86,107,0.07);
  margin-bottom: 20px;
  position: relative;
  padding: 24px;
  flex: 1 1 280px;
  transition: box-shadow 0.14s, transform 0.14s;
}
.card:hover {
  transform: translateY(-3px) scale(1.015);
  box-shadow: 0 8px 28px rgba(40,86,107,0.08);
}
.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: 20px;
  }
}
.testimonial-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 18px rgba(40,86,107,0.07);
  border: 1.5px solid #E3E9ED;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 24px;
  max-width: 600px;
  transition: box-shadow .13s, border .13s;
}
.testimonial-card:hover {
  border-color: #62B67A;
  box-shadow: 0 8px 26px rgba(98,182,122,.10);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ----------------------------------
   HOMEPAGE & GENERAL LAYOUT GRIDS
-----------------------------------*/
.hero-section {
  align-items: center;
  text-align: center;
  gap: 14px;
  padding-top: 26px;
}
.features-section ul, .feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
.feature-grid li {
  background: #F7F5F0;
  border-radius: 11px;
  padding: 22px 18px;
  font-size: 1rem;
  box-shadow: 0 0.5px 6px rgba(40,86,107,0.025);
  flex: 1 0 225px;
  min-width: 205px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 14px;
}
.service-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 11px rgba(40,86,107,.08);
  padding: 24px;
  flex: 1 1 260px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 11px;
  text-align: center;
  transition: box-shadow .15s, transform .12s;
  margin-bottom: 20px;
}
.service-card:hover {
  box-shadow: 0 9px 30px rgba(98,182,122,0.09);
  transform: translateY(-3px);
}

.about-highlight ul, .about-section ul, .team-section ul, .why-choose-us ul, .tips-section ul, .benefits-section ul, .faq-section ul, .contact-brief ul, .contact-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Contact section */
.contact-brief ul li, .contact-details li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
}
.contact-details span {
  font-weight: 500;
}

@media (max-width: 1024px) {
  .service-cards, .feature-grid, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 8px;
  }
  .feature-grid, .service-cards, .card-container, .content-grid {
    flex-direction: column;
    gap: 10px;
  }
  .hero-section {
    padding-top: 10px;
  }
}

/* ----------------------------
   FAQ section: readable contrast
-----------------------------*/
.faq-section ul li {
  font-size: 1rem;
  background: #F7F5F0;
  padding: 16px 20px;
  border-radius: 9px;
  color: #28566B;
  margin-bottom: 12px;
  box-shadow: 0 1px 4px rgba(40,86,107,0.04);
}
.faq-section ul li strong {
  color: #28566B;
}

/* ----------------------------
   FOOTER
-----------------------------*/
footer {
  background: #fff;
  border-top: 1.5px solid #E3E9ED;
  margin-top: 88px;
  padding: 31px 0 16px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 11px;
  text-align: center;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.97rem;
  color: #8B98A7;
}
footer nav a {
  color: #28566B;
  opacity: 0.8;
  padding: 2px 4px;
  border-radius: 4px;
  transition: background .14s, color .14s;
}
footer nav a:hover {
  color: #62B67A;
  background: #F7F5F0;
  opacity: 1;
}
footer p {
  font-size: 0.95rem;
  color: #8B98A7;
  margin-bottom: 0;
}

/* ----------------------------
   ANIMATIONS / TRANSITIONS
-----------------------------*/
.section, .card, .service-card, .testimonial-card, .button-primary, .button-secondary {
  transition: box-shadow 0.14s, transform 0.14s, background 0.13s, color 0.13s, border-color 0.13s;
}

/* subtle fade in */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeInUp .7s both;
}
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ----------------------------
   COOKIE CONSENT BANNER
-----------------------------*/
#cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #28566B;
  color: #fff;
  z-index: 2001;
  padding: 22px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  box-shadow: 0 -2px 24px rgba(40,86,107,0.10);
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.28s, transform 0.36s;
}
#cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(125%);
}
#cookie-banner .cookie-actions {
  display: flex;
  gap: 13px;
  margin-top: 7px;
}
#cookie-banner button, #cookie-banner .cookie-settings-btn {
  min-width: 110px;
  border-radius: 22px;
  padding: 8px 22px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  margin: 0;
  cursor: pointer;
  transition: background .13s, color .12s;
  outline: none;
}
#cookie-banner .accept {
  background: #62B67A;
  color: #fff;
}
#cookie-banner .accept:hover, #cookie-banner .accept:focus {
  background: #47A563;
}
#cookie-banner .reject {
  background: #fff;
  color: #28566B;
  border: 1.5px solid #E3E9ED;
}
#cookie-banner .reject:hover, #cookie-banner .reject:focus {
  background: #E3E9ED;
  color: #28566B;
}
#cookie-banner .cookie-settings-btn {
  background: none;
  color: #fff;
  border: 1.5px solid #62B67A;
}
#cookie-banner .cookie-settings-btn:hover, #cookie-banner .cookie-settings-btn:focus {
  color: #62B67A;
  background: #fff;
}

/* Cookie modal popup */
#cookie-modal {
  position: fixed;
  z-index: 2100;
  left: 50%;
  top: 50%;
  width: 96vw;
  max-width: 410px;
  background: #fff;
  box-shadow: 0 5px 38px rgba(40,86,107,0.18);
  border-radius: 19px;
  transform: translate(-50%,-50%) scale(1);
  opacity: 1;
  pointer-events: auto;
  transition: opacity .23s, transform .23s;
  display: flex;
  flex-direction: column;
  padding: 34px 30px 22px 30px;
  gap: 20px;
}
#cookie-modal.hide {
  opacity: 0;
  transform: translate(-50%, -40%) scale(.98);
  pointer-events: none;
}
#cookie-modal h3 {
  font-size: 1.28rem;
  margin-bottom: 15px;
}
#cookie-modal .cookie-modal-close {
  position: absolute;
  right: 18px; top: 13px;
  font-size: 1.6rem;
  background: none;
  border: none;
  color: #28566B;
  cursor: pointer;
  transition: color .13s;
}
#cookie-modal .cookie-modal-close:hover {
  color: #62B67A;
}
.cookie-modal-categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 14px;
}
.cookie-modal-categories label {
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}
.cookie-modal-categories input[type="checkbox"] {
  accent-color: #62B67A;
  width: 18px;
  height: 18px;
  margin-right: 2px;
}
.cookie-modal-actions {
  display: flex;
  gap: 13px;
  justify-content: flex-end;
  margin-top: 7px;
}
#cookie-modal .save {
  background: #62B67A;
  color: #fff;
  border: none;
}
#cookie-modal .save:hover, #cookie-modal .save:focus {
  background: #28566B;
}
#cookie-modal .cancel {
  background: #fff;
  color: #28566B;
  border: 1.5px solid #E3E9ED;
}
#cookie-modal .cancel:hover, #cookie-modal .cancel:focus {
  background: #F7F5F0;
}

@media (max-width:500px) {
  #cookie-modal {
    padding: 18px 4vw 12px 4vw;
    min-width: unset;
  }
}

/* ----------------------------
   ADDITIONAL UTILITIES
-----------------------------*/
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-2 { margin-top: 16px !important; }
.mb-2 { margin-bottom: 16px !important; }
.mb-3 { margin-bottom: 24px !important; }
.text-center { text-align: center !important; }

/* Visually hidden: for accessibility */
.sr-only {
  border: 0 !important;
  clip: rect(1px,1px,1px,1px) !important;
  height: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  width: 1px !important;
}

/* ----------------------------------
   FORM ELEMENTS (if any)
-----------------------------------*/
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 6px;
  border: 1.2px solid #E3E9ED;
  padding: 9px 14px;
  outline: none;
  margin-bottom: 16px;
  background: #fff;
  color: #28566B;
  transition: border-color .13s;
}
input:focus, textarea:focus, select:focus {
  border-color: #62B67A;
}

label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #28566B;
  margin-bottom: 6px;
}

textarea {
  resize: vertical;
}

/* ----------------------------------
   RESPONSIVE TYPE & SPACING
-----------------------------------*/
@media (max-width: 600px) {
  h1 { font-size: 1.25rem; }
  h2 { font-size: 1.07rem; }
  h3 { font-size: 1rem; }
  .section, main > section { padding: 13px 1.5vw; }
  .feature-grid li, .service-card, .card {
    padding: 13px 8px;
    border-radius: 9px;
  }
}

/* ----------------------------------
   PRINT & MISC
-----------------------------------*/
@media print {
  * {
    background: #fff !important;
    color: #000 !important;
    box-shadow: none !important;
  }
  header, footer, #cookie-banner, #cookie-modal {
    display: none !important;
  }
}
