:root {
  --primary: #2fb584;
  --primary-dark: #23946a;
  --secondary: #fff8e1;
  --accent: #ffbe0b;
  --accent-alt: #fdd85d;
  --bg-color: #ffffff;
  --text-dark: #2b2b2b;
  --text-muted: #5e7b68;
  --white: #ffffff;
  --radius: 30px;
  --radius-card: 25px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 15px 40px rgba(47, 181, 132, 0.2);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Nunito', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-dark);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* --- Container & Layout --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
  font-size: 2.2rem;
  color: var(--primary-dark);
}

.section-title span {
  color: var(--accent);
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 800;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--accent);
  color: var(--text-dark);
  box-shadow: 0 6px 15px rgba(255, 190, 11, 0.3);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
}

.btn-outline:hover {
  background-color: var(--accent);
  color: var(--white);
}

/* --- Navbar --- */
.navbar {
  background-color: var(--primary);
  padding: 15px 0;
  box-shadow: none;
  position: sticky;
  top: 0;
  z-index: 1000;
  color: var(--white);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 15px;
}

.nav-brand img {
  height: 50px;
  object-fit: cover;
  border-radius: 8px; /* Assuming logo might be a square image */
}

.nav-brand h1 {
  font-size: 1.2rem;
  color: var(--white);
  line-height: 1.2;
}

.nav-links {
  display: flex;
  gap: 25px;
  align-items: center;
}

.nav-links a:not(.btn) {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  transition: var(--transition);
  padding: 8px 0;
}

.nav-links a:not(.btn):hover,
.nav-links a:not(.btn).active {
  color: var(--white);
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--white);
  cursor: pointer;
}

/* --- Hero Section --- */
.hero {
  background-color: var(--primary);
  padding: 80px 0 160px;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.hero h1 {
  font-size: 3.5rem;
  color: var(--white);
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.2;
}

.hero p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 0 30px;
}

/* --- Grid Systems --- */
.grid {
  display: grid;
  gap: 30px;
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
}

/* --- Cards --- */
.card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 30px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-top-color: var(--primary);
}

.card-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--primary-dark);
}

/* --- Doctor Cards --- */
.doctor-card {
  background: var(--white);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.doctor-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.doctor-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: top;
}

.doctor-info {
  padding: 25px;
  text-align: center;
}

.doctor-info h3 {
  color: var(--primary-dark);
  margin-bottom: 5px;
}

.doctor-badge {
  display: inline-block;
  background-color: var(--secondary);
  color: var(--text-dark);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-top: 10px;
}

/* --- FAQ Accordion --- */
.faq-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  align-items: start;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-question {
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 800;
  color: var(--primary-dark);
}

.faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-muted);
}

.faq-item.active .faq-answer {
  padding: 0 25px 25px;
  max-height: 500px;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

/* --- Wavy Dividers & Blobs --- */
.wavy-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.wavy-bottom svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: auto;
}

.wavy-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
}

.wavy-top svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: auto;
}

.blob-decoration {
  position: absolute;
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  z-index: 1;
  animation: morph 8s ease-in-out infinite alternate;
}

@keyframes morph {
  0% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
  100% { border-radius: 60% 40% 30% 70% / 60% 40% 50% 50%; }
}

/* --- Footer --- */
.footer {
  background-color: var(--primary-dark);
  color: var(--white);
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: var(--accent);
  margin-bottom: 20px;
  font-size: 1.2rem;
  font-weight: 800;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.85);
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--accent);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

/* --- Floating WA Button --- */
.floating-wa {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25D366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 30px;
  z-index: 1000;
  transition: transform 0.3s;
}

.floating-wa:hover {
  transform: scale(1.1);
  color: white;
}

/* --- New Graphic Decoration --- */
.hero-new-graphic {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    min-width: 1200px;
    height: auto;
    z-index: 1;
    opacity: 0.4;
    pointer-events: none;
}

@keyframes floatBlobs {
    0% { transform: translateY(0px) rotate(0deg); }
    100% { transform: translateY(-30px) rotate(2deg); }
}

@keyframes waveSmiley {
    0% { transform: translateY(0px) rotate(-10deg); }
    100% { transform: translateY(-20px) rotate(-15deg); }
}


/* --- Responsive --- */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  
  .nav-links {
    position: fixed;
    top: 75px;
    left: -100%;
    width: 250px;
    height: calc(100vh - 75px);
    background-color: var(--white);
    flex-direction: column;
    padding: 30px 20px;
    box-shadow: 5px 0 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    align-items: flex-start;
  }
  
  .nav-links a:not(.btn) {
    color: var(--text-dark);
    width: 100%;
    padding: 10px 0;
    display: block;
  }
  
  .nav-links a:not(.btn):hover,
  .nav-links a:not(.btn).active {
    color: var(--primary);
  }

  .nav-links .btn {
    text-align: center;
    width: 100%;
    margin-top: 10px;
  }
  
  .nav-links.show {
    left: 0;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
}
