/* ===================================================
   CSS RESET & NORMALIZE (MOBILE FIRST) 
=================================================== */
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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #fff;
  color: #16425B;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 400;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  background: none;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
button {
  font: inherit;
  background: transparent;
  border: none;
  appearance: none;
  cursor: pointer;
}
:focus {
  outline: 2px solid #198C71;
  outline-offset: 2px;
}
/* Typography Hierarchy */
h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #16425B;
  letter-spacing: -1px;
  line-height: 1.2;
  margin-bottom: 16px;
}
h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 600;
  color: #16425B;
  margin-bottom: 12px;
  line-height: 1.25;
}
h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: #198C71;
  margin-bottom: 8px;
}
.subheadline {
  font-family: 'Roboto', Arial, sans-serif;
  color: #557086;
  font-size: 1.07rem;
  margin-bottom: 20px;
  line-height: 1.6;
}
p, li, .footer-contact, .footer-brand {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #3F5866;
  line-height: 1.7;
}
strong {
  font-weight: 600;
}
/* Container and Section Spacing */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}
/* Section Pattern */
section {
  margin-bottom: 60px;
  padding: 40px 0 0 0;
  background: none;
}
section:last-child {
  margin-bottom: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  background: none;
}
/* Hero - CTA Button Styles */
.cta-btn {
  background: #198C71;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 12px 32px;
  border-radius: 32px;
  font-size: 1.12rem;
  font-weight: 600;
  box-shadow: 0 2px 12px rgba(22,66,91,0.04);
  transition: background 0.2s, box-shadow 0.2s, color 0.2s, transform 0.1s;
  border: none;
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.cta-btn:hover, .cta-btn:focus {
  background: #16425B;
  color: #fff;
  box-shadow: 0 4px 22px rgba(22,66,91,0.08);
  transform: translateY(-2px) scale(1.01);
}
/* Navigation Patterns */
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #fff;
  height: 68px;
  padding: 0 24px;
  border-bottom: 1px solid #E1E6EF;
  z-index: 80;
  position: relative;
}
.main-nav img {
  height: 44px;
  width: auto;
}
.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
.nav-links a {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #16425B;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
}
.nav-links a:hover, .nav-links a:focus {
  background: #F6F7FB;
  color: #198C71;
}
.main-nav .cta-btn {
  margin: 0;
  margin-left: 8px;
  padding: 10px 20px;
  font-size: 1rem;
}
/* Header: mobile menu toggle */
.mobile-menu-toggle {
  background: #F6F7FB;
  color: #16425B;
  border-radius: 50%;
  border: 1px solid #E1E6EF;
  font-size: 2rem;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 18px;
  top: 11px;
  z-index: 101;
  transition: background 0.2s;
  box-shadow: none;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #e7edea;
}
/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #fff;
  box-shadow: 0 4px 32px rgba(22,66,91,0.12);
  z-index: 200;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(.67,.1,.31,.94);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: #F6F7FB;
  border-radius: 50%;
  color: #16425B;
  border: 1px solid #E1E6EF;
  font-size: 2rem;
  width: 46px;
  height: 46px;
  z-index: 210;
  transition: background 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #e7edea;
}
.mobile-nav {
  margin-top: 90px;
  padding: 36px 24px 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1 1 auto;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  color: #16425B;
  padding: 12px 0;
  border-bottom: 1px solid #F6F7FB;
  transition: background 0.18s, color 0.18s;
  border-radius: 4px;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #F6F7FB;
  color: #198C71;
}
header {
  position: sticky;
  top: 0;
  background: #fff;
  box-shadow: 0 1px 12px rgba(22,66,91,.03);
  z-index: 70;
}
/* Hide mobile menu on desktop */
.mobile-menu, .mobile-menu-toggle {
  display: none;
}
/* Footer Styles */
footer {
  background: #F6F7FB;
  padding: 40px 20px 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  border-top: 1px solid #E1E6EF;
  font-size: 0.95rem;
  color: #3F5866;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 8px;
}
.footer-links a {
  color: #16425B;
  opacity: 0.87;
  font-weight: 500;
  transition: color 0.18s;
}
.footer-links a:hover, .footer-links a:focus {
  color: #198C71;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 8px;
  color: #3F5866;
  opacity: 0.95;
}
.footer-brand {
  color: #98A5B3;
  font-size: 0.92rem;
  margin-top: 4px;
}
/* ========== Content Patterns ==========*/
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 20px 0 0 0;
}
.features-grid .feature {
  flex: 1 1 190px;
  min-width: 200px;
  max-width: 265px;
  background: #fff;
  border-radius: 16px;
  padding: 25px 22px 20px 22px;
  box-shadow: 0 2px 18px rgba(22,66,91,0.06);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  transition: box-shadow 0.21s, transform 0.13s;
  margin-bottom: 20px;
}
.features-grid .feature:hover {
  box-shadow: 0 4px 28px rgba(25,140,113,0.09);
  transform: translateY(-2px) scale(1.012);
}
.features-grid .feature img {
  width: 42px;
  margin-bottom: 6px;
}
.steps {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 18px 0 0 0;
}
.step {
  flex: 1 1 210px;
  min-width: 200px;
  max-width: 240px;
  border-radius: 14px;
  background: #F6F7FB;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px 16px;
  gap: 11px;
  box-shadow: 0 2px 8px rgba(22,66,91,0.03);
  transition: box-shadow 0.2s;
  margin-bottom: 20px;
}
.step img {
  width: 36px;
  margin-bottom: 4px;
}
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 18px 0 0 0;
}
.testimonial-card {
  background: #fff;
  border-radius: 14px;
  padding: 20px 22px;
  box-shadow: 0 2px 18px rgba(22,66,91,0.06);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
  flex: 1 1 220px;
  min-width: 200px;
  max-width: 320px;
}
.testimonial-card p {
  color: #16425B;
  font-size: 1.1rem;
  margin: 0;
}
.testimonial-user {
  font-size: 0.96rem;
  color: #198C71;
  font-style: italic;
  opacity: 0.92;
}
.doctor-listings {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.doctor-profile {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(22,66,91,0.06);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 21px 20px 16px 20px;
  gap: 7px;
  min-width: 220px;
  max-width: 290px;
  margin-bottom: 20px;
  transition: box-shadow 0.21s, transform 0.13s;
}
.doctor-profile:hover {
  box-shadow: 0 4px 28px rgba(25,140,113,0.09);
  transform: translateY(-2px) scale(1.011);
}
.doctor-profile img {
  width: 36px;
  margin-bottom: 6px;
}
.doctor-profile h3 {
  font-size: 1.09rem;
  font-weight: 700;
  color: #16425B;
  margin-bottom: 2px;
}
.doctor-profile div {
  font-size: 0.98rem;
  color: #3e5665;
}
.info-note {
  color: #198C71;
  font-size: 0.96rem;
  background: #F6F7FB;
  border-radius: 7px;
  padding: 10px 18px;
  margin-top: 15px;
  font-style: italic;
}
.tips {
  background: #F6F7FB;
  border-radius: 10px;
  padding: 18px 20px;
  margin: 14px 0 0 0;
  font-size: 1rem;
  color: #198C71;
}
.faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
.faq {
  flex: 1 1 280px;
  min-width: 230px;
  max-width: 420px;
  padding: 19px 22px 15px 22px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(22,66,91,0.06);
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: box-shadow 0.2s;
}
.faq:hover {
  box-shadow: 0 4px 22px rgba(25,140,113,.09);
}
.faq h3 {
  font-size: 1.08rem;
  color: #16425B;
  margin-bottom: 2px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(22,66,91,0.06);
  padding: 22px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 4px 22px rgba(25,140,113,.09);
}
.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;
}
/* Table, OL, UL Styling */
table {
  border-collapse: collapse;
  width: 100%;
  margin: 14px 0;
}
th, td {
  padding: 12px 16px;
  border-bottom: 1px solid #E1E6EF;
  text-align: left;
  font-size: 1rem;
}
ul, ol {
  margin: 10px 0 10px 20px;
  padding-left: 24px;
  color: #3F5866;
  line-height: 1.75;
}
ul li, ol li {
  margin-bottom: 8px;
}
/* ========== Cookie Consent Banner ==========*/
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1200;
  width: 100%;
  background: #fff;
  box-shadow: 0 -4px 24px rgba(22,66,91,0.09);
  border-top: 1px solid #E1E6EF;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 12px 18px 12px;
  gap: 16px;
  transition: transform 0.34s cubic-bezier(.77,.2,.29,.91), opacity 0.18s;
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.cookie-banner .cookie-text {
  color: #16425B;
  font-size: 0.98rem;
  text-align: center;
  margin-bottom: 4px;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  padding: 9px 24px;
  background: #198C71;
  color: #fff;
  transition: background 0.2s, color 0.2s;
  margin: 0 2px;
}
.cookie-btn.reject {
  background: #16425B;
}
.cookie-btn.cookie-settings {
  background: #F6F7FB;
  color: #16425B;
  border: 1px solid #E1E6EF;
}
.cookie-btn:hover, .cookie-btn:focus {
  filter: brightness(0.95);
  background: #15735c;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #143952;
}
.cookie-btn.cookie-settings:hover, .cookie-btn.cookie-settings:focus {
  background: #edf0f7;
}
/* Cookie Modal */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  backdrop-filter: blur(4px);
  background: rgba(22,66,91,0.10);
  z-index: 1300;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.23s;
}
.cookie-modal.visible {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-content {
  background: #fff;
  padding: 32px 26px 28px 26px;
  border-radius: 14px;
  max-width: 360px;
  min-width: 290px;
  box-shadow: 0 8px 36px rgba(22,66,91,0.14);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 19px;
  position: relative;
}
.cookie-modal-content h2 {
  color: #16425B;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 7px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 8px;
}
.cookie-category label {
  font-size: 1rem;
  color: #198C71;
  font-weight: 500;
  cursor: pointer;
}
.cookie-category input[type=checkbox] {
  width: 19px;
  height: 19px;
  accent-color: #198C71;
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 8px;
}
.cookie-modal-close {
  position: absolute;
  top: 13px;
  right: 14px;
  background: #F6F7FB;
  border-radius: 50%;
  color: #16425B;
  border: 1px solid #E1E6EF;
  font-size: 1.2rem;
  width: 32px;
  height: 32px;
  z-index: 10;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #e7edea;
}
/* ========== Responsive Styles ========== */
@media (max-width: 1120px) {
  .container {
    max-width: 100%;
  }
}
@media (max-width: 920px) {
  .features-grid, .steps, .testimonials, .faq-list, .doctor-listings, .card-container, .content-grid {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  body {
    font-size: 15px;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.36rem;
  }
  section, .section {
    padding: 28px 0 0 0;
    margin-bottom: 36px;
  }
  .main-nav, .nav-links {
    display: none;
  }
  .mobile-menu,
  .mobile-menu-toggle {
    display: flex !important;
  }
  .mobile-menu {
    flex-direction: column;
  }
  .content-wrapper {
    padding-left: 0;
    padding-right: 0;
  }
  .features-grid, .steps, .testimonials, .doctor-listings, .faq-list, .card-container, .content-grid {
    flex-direction: column;
    gap: 12px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .card, .feature, .doctor-profile, .testimonial-card, .step, .faq {
    max-width: 100%;
    width: 100%;
  }
  .cookie-modal-content {
    min-width: 85vw;
    padding: 20px 12px 18px 12px;
  }
  footer {
    padding: 21px 12px 12px 12px;
    font-size: 0.95rem;
  }
  .footer-links {
    gap: 11px;
    margin-bottom: 7px;
  }
}
@media (max-width: 480px) {
  .container {
    padding: 0 6px;
  }
  .cta-btn, .cookie-btn {
    font-size: 0.98rem;
    padding: 8px 12px;
  }
}
/* ========== Micro-animations & Interactions ========== */
.cta-btn, .cookie-btn, .feature, .doctor-profile, .step, .testimonial-card, .faq {
  transition: box-shadow 0.21s, transform 0.12s, background 0.2s, color 0.2s;
}
.cta-btn:active, .cookie-btn:active {
  filter: brightness(0.93);
  transform: scale(0.97);
}
/* Scrollbars for overlay/mobile
   -- minimalist subtle style */
.mobile-menu,
.cookie-modal-content {
  scrollbar-width: thin;
  scrollbar-color: #198C71 #F6F7FB;
}
.mobile-menu::-webkit-scrollbar,
.cookie-modal-content::-webkit-scrollbar {
  width: 6px;
  background: #F6F7FB;
}
.mobile-menu::-webkit-scrollbar-thumb,
.cookie-modal-content::-webkit-scrollbar-thumb {
  background: #198C71;
  border-radius: 4px;
}
/* Utility: visually-hidden for accessibility */
.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}
/* Additional minimalist personality tweaks */
hr {
  border: 0; border-top: 1px solid #E1E6EF;
  margin: 23px 0;
}
::-webkit-input-placeholder { color:#B7BCC6; }
::-moz-placeholder { color:#B7BCC6; }
:-ms-input-placeholder { color:#B7BCC6; }
::placeholder { color:#B7BCC6; }
