/* 1. RESET / BASE STYLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  html {
    scroll-behavior: smooth;
  }
  body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
  }
  
  /* COLOR VARIABLES (Adjust as needed) */
  :root {
    --dark-purple: #3D0C45;
    --red: #D7263D;
    --pastel-red: #FFC3BD;
    --pastel-purple: #E2D0FF;
    --white: #ffffff;
    --light-gray: #f9f9f9;
  }
  
  /* CONTAINER */
  .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  /* 2. HEADER */
  .top-header {
    background-color: var(--dark-purple);
    color: var(--white);
  }
  .top-bar {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    font-size: 0.9rem;
  }
  .main-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
  }
  .logo {
    color: var(--white);
    font-size: 1.2rem;
    text-decoration: none;
    font-weight: bold;
  }
  .main-nav ul {
    list-style: none;
    display: flex;
    gap: 1rem;
  }
  .main-nav ul li a {
    color: var(--white);
    text-decoration: none;
    padding: 0.5rem;
    border-radius: 4px;
  }
  .main-nav ul li a:hover,
  .main-nav ul li a.active {
    background-color: var(--red);
    color: var(--white);
  }
  .btn-appointment {
    background-color: var(--red);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
  }
  .btn-appointment:hover {
    background-color: #b71e31;
  }
  
  /* 3. HERO SECTION */
  .hero-section {
    background-color: var(--dark-purple);
    color: var(--white);
    text-align: center;
    padding: 3rem 1rem;
  }
  .hero-content {
    max-width: 700px;
    margin: 0 auto;
  }
  .hero-section h1 {
    margin-bottom: 1rem;
    font-size: 2.2rem;
  }
  .hero-section p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
  }
  .btn-primary {
    background-color: var(--red);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 4px;
  }
  .btn-primary:hover {
    background-color: #b71e31;
  }

  .hero-container {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
  
  .hero-content {
    flex: 1;
  }
  
  .hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }
  
  /* 4. ABOUT SECTION */
  .about-section {
    padding: 2rem 0;
  }
  .about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
  }
  .about-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 6px;
  }
  .about-text {
    flex: 1;
  }
  .info-boxes {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
  }
  .info-boxes > div {
    background-color: var(--pastel-purple);
    padding: 1rem;
    border-radius: 4px;
  }
  
  /* 5. IMPACT SECTION */
  .impact-section {
    background-color: var(--light-gray);
    text-align: center;
    padding: 2rem 0;
  }
  .impact-section h2 {
    margin-bottom: 1rem;
  }
  .stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
  }
  .stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--red);
  }
  .stat-label {
    font-size: 1rem;
    color: #555;
  }
  
  /* 6. SERVICES PREVIEW */
  .services-preview {
    padding: 2rem 0;
    text-align: center;
  }
  .service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
  }
  .service-card {
    background-color: var(--pastel-red);
    padding: 1rem;
    border-radius: 6px;
    text-align: left;
  }
  .btn-secondary {
    display: inline-block;
    margin-top: 1rem;
    color: var(--dark-purple);
    background-color: var(--pastel-purple);
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 4px;
  }
  .btn-secondary:hover {
    background-color: var(--red);
    color: var(--white);
  }
  
  /* 7. DOCTOR INTRO SECTION */
  .doctor-intro-section {
    background-color: var(--light-gray);
    text-align: center;
    padding: 2rem 0;
  }
  .doctor-image img {
    max-width: 300px;
    width: 100%;
    border-radius: 6px;
    margin-top: 1rem;
  }
  
  /* 8. TESTIMONIALS */
  .testimonials-section {
    padding: 2rem 0;
    text-align: center;
  }
  .testimonials {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin-top: 2rem;
  }
  blockquote {
    background-color: var(--pastel-purple);
    padding: 1rem 1.5rem;
    border-radius: 6px;
    max-width: 400px;
  }
  blockquote p {
    font-style: italic;
    margin-bottom: 0.5rem;
  }
  blockquote cite {
    display: block;
    text-align: right;
    font-weight: bold;
  }
  
  /* 9. CTA SECTION */
  .cta-section {
    background-color: var(--dark-purple);
    color: var(--white);
    text-align: center;
    padding: 3rem 1rem;
  }
  .cta-boxes {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin-top: 2rem;
  }
  .cta-boxes > div {
    background-color: var(--red);
    color: var(--white);
    padding: 1rem;
    border-radius: 6px;
    max-width: 300px;
    flex: 1 1 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .cta-boxes h3 {
    margin-bottom: 1rem;
  }
  .cta-boxes p {
    margin-bottom: 1rem;
  }
  
  /* 10. FOOTER */
  .main-footer {
    background-color: var(--dark-purple);
    color: var(--white);
    padding: 2rem 0;
  }
  .footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
  }
  .footer-logo {
    flex: 1;
  }
  .footer-nav,
  .footer-resources {
    flex: 1;
  }
  .footer-nav ul,
  .footer-resources ul {
    list-style: none;
    padding-left: 0;
  }
  .footer-nav ul li,
  .footer-resources ul li {
    margin-bottom: 0.5rem;
  }
  .footer-nav a,
  .footer-resources a {
    color: var(--white);
    text-decoration: none;
  }
  .footer-nav a:hover,
  .footer-resources a:hover {
    text-decoration: underline;
  }
  .footer-bottom {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.9rem;
  }
  .footer-bottom a {
    color: var(--white);
    text-decoration: underline;
  }
  .footer-bottom a:hover {
    color: var(--pastel-purple);
  }
  
  /* 11. MEDIA QUERIES (Responsive) */
  @media (max-width: 768px) {
    .top-bar {
      flex-direction: column;
      align-items: center;
    }
    .main-nav ul {
      flex-direction: column;
      margin-top: 1rem;
    }
    .about-content {
      flex-direction: column;
    }
    .info-boxes {
      flex-direction: column;
    }
    .stats {
      flex-direction: column;
      align-items: center;
    }
    .cta-boxes {
      flex-direction: column;
    }
    .footer-content {
      flex-direction: column;
      text-align: center;
    }

    .hero-container {
      flex-direction: column;
    }
    
    .hero-image {
      order: -1; /* Places image above text on mobile */
      margin-bottom: 1.5rem;
    }
  }

  /* Optional: You may want to adjust heading weights to match Inter's characteristics */
  h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
  }

  /* If you want to use different weights appropriately */
  .fw-light {
    font-weight: 300;
  }

  .fw-normal {
    font-weight: 400;
  }

  .fw-medium {
    font-weight: 500;
  }

  .fw-semibold {
    font-weight: 600;
  }

  .fw-bold {
    font-weight: 700;
  }

  /* Override Bootstrap's bg-light class */
  .bg-light {
    background-color: #361C3B !important; 
    color: #ffffff !important; /* Adding white text for better contrast */
  }

  /* Add text color overrides for elements in bg-light sections */
  .bg-light h1, 
  .bg-light h2, 
  .bg-light h3, 
  .bg-light p, 
  .bg-light .lead,
  .bg-light .text-muted {
    color: #ffffff !important;
  }

  /* For any primary text that might be inside */
  .bg-light .text-primary {
    color: #ffffff !important;
  }

  .bg-medium {
    background-color: #F9F3FA !important; 
    color: #010C0D !important;
  }

  .text-secondary {
    color: #ff6962;
  }  

  .text-red {
    color: #E6353B;
  }

  /* WhatsApp Floating Button Styles */
  .whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .whatsapp-float i {
    margin: 0;
  }