/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Screen Reader Only Content */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Skip to main content link for accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #000;
    color: #fff;
    padding: 8px;
    text-decoration: none;
    z-index: 1000;
}

.skip-link:focus {
    top: 6px;
}

/* Focus styles for better accessibility */
*:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* Performance optimizations */
img {
    max-width: 100%;
    height: auto;
    loading: lazy;
}

/* Preload critical fonts */
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Playfair Display', serif;
    line-height: 1.7;
    color: #333;
    background-color: #fff;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Bar */
.top-bar {
    background: #131211;
    color: white;
    padding: 0.5rem 0;
    font-size: 0.9rem;
    margin: 0;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.top-bar-left, .top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar-left {
    gap: 5rem;
    justify-content: flex-start;
}

.top-bar-right {
    gap: 1rem;
    justify-content: flex-end;
}

.top-bar-left span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Mobile responsive top bar */
@media (max-width: 768px) {
    .top-bar {
        padding: 0.3rem 0;
        font-size: 0.8rem;
    }
    
    .top-bar-left {
        gap: 1rem;
        flex-wrap: wrap;
    }
    
    .top-bar-left span {
        font-size: 0.75rem;
    }
    
    .top-bar-left span:first-child {
        display: none; /* Hide location on mobile */
    }
}

@media (max-width: 480px) {
    .top-bar {
        display: none; /* Hide entire top bar on very small screens */
    }
}


.social-links {
    display: flex;
    gap: 0.5rem;
}

.social-links a {
    color: white;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #D2B48C;
}

/* Header Styles */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8f9fa;
  padding: 0;
  margin: 0;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: none;
  margin-left: calc(-50vw + 50%);
  padding: 0.5rem 0;
}

.nav-brand {
  flex: 0 0 auto;   /* Logo stays left */
}

.nav-brand i {
    font-size: 3rem;
    color: #8B4513;
}

.brand-text h1 {
    font-size: 1.5rem;
    color: #8B4513;
    font-weight: 700;
    line-height: 1.2;
}

.brand-text p {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}




.header-actions {
  flex: 0 0 auto;   /* Actions stick to right */
}


.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #333;
}

/* Header Flex Layout */
.header-flex {
  display: grid;
  grid-template-columns: auto 1fr auto; /* logo | nav | search */
  align-items: center;
  width: 100%;
}

/* Logo and Brand */
.header-logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  min-width: 0;
  flex-shrink: 0;
  justify-self: start;
  padding-left: 10px; 
}

.header-logo-img {
  height: 48px;
  width: 48px;
  object-fit: contain;
  border: 2px solid #8bc34a;
  border-radius: 6px;
  background: #fff;
}

.header-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #333;
  letter-spacing: 1px;
  white-space: nowrap;
}

/* Navigation */
.main-nav {
  margin-left: auto;
  display: flex;
  justify-content: flex-end;
  flex: 1 1 auto;
  min-width: 0;
}

.main-nav-list {
  display: flex;
  gap: 32px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  justify-content: center;
  margin-right: 40px;
}

.main-nav-link {
  font-family: 'Poppins', sans-serif;
  font-size: 1.08rem;
  color: #333;
  text-decoration: none;
  font-weight: 400;
  transition: color 0.2s;
  padding: 4px 0;
  position: relative;
}

.main-nav-link:hover,
.main-nav-link.active {
  color: #0d4d4d;
  font-weight: 600;
}

.has-dropdown {
  position: relative;
}

.dropdown-arrow {
  font-size: 0.8em;
  margin-left: 4px;
}

.dropdown {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  border-radius: 6px;
  min-width: 220px;
  z-index: 100;
  padding: 10px 0;
  list-style: none; 
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  display: block;
}

.dropdown li {
  width: 100%;
  list-style: none;
}

.dropdown a {
  display: block;
  padding: 10px 24px;
  color: #333;
  text-decoration: none; /* already present */
  font-size: 1rem;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
  background: none;         
  box-shadow: none;         
  border: none;             
  outline: none;            
}

.dropdown a:hover {
  background: #f4f6f6;
  color: #0d4d4d;
  text-decoration: none;    
}

.appointment-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.08rem;
  padding: 12px 28px;
  border: none;
  border-radius: 30px;
  box-shadow: 0 4px 15px rgba(96, 165, 250, 0.25);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
}

.appointment-btn i {
  font-size: 1.2em;
}

.appointment-btn:hover,
.appointment-btn:focus {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  box-shadow: 0 6px 20px rgba(96, 165, 250, 0.35);
  transform: translateY(-2px) scale(1.02);
  color: #fff;
  text-decoration: none;
}




/* Responsive (optional) */
@media (max-width: 1100px) {
  .header-logo-text {
    font-size: 1.3rem;
  }
  .main-nav-list {
    gap: 18px;
  }
  .header-logo-img {
    height: 36px;
    width: 36px;
  }
}

@media (max-width: 900px) {
  .header-flex {
    gap: 18px;
  }
  .main-nav-list {
    gap: 10px;
  }
}

/* Remove conflicting mobile navigation rules */

/* === Mobile Navigation (Hamburger Menu) === */
.menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #333;
  padding: 0.5rem;
  z-index: 1001;
  position: relative;
}

.menu-btn:hover {
  color: #8B4513;
}

/* Mobile responsive header - show only logo and name */
@media (max-width: 768px) {
  .header {
    display: block !important; /* Show header */
    padding: 1rem 0; /* Reduced padding */
  }
  
  .header-flex {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .header-logo-link {
    display: flex !important; /* Show logo and name */
    align-items: center;
    gap: 0.5rem;
  }
  
  .menu-btn {
    display: none !important; /* Hide hamburger */
  }
  
  .main-nav {
    display: none !important; /* Hide navigation */
  }
}




/* Hero Section */
.hero {
    background: white;
    padding: 80px 0 40px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    font-family: 'Playfair Display', serif;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 2rem;
}

.hero-text h1 {
    font-size: 5rem;
    color: #000406;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.hero-text h2 {
    font-size: 2.5rem;
    color: #2e5a85;
    font-weight: 500;
    margin-bottom: 1rem;
    font-style: italic;
}

.hero-text p {
    font-size: 1.8rem;
    color: #276788;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;            
    gap: 1.5rem;              
    justify-content: center;  
    align-items: center;      
    flex-wrap: wrap;          
}

.cta-btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    text-align: center;
    justify-content: center;
    min-width: 150px;
}

.cta-btn.primary {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(96, 165, 250, 0.25);
}

.cta-btn.secondary {
    background: transparent;
    color: #3b82f6;
    border: 2px solid #3b82f6;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(96, 165, 250, 0.35);
}

.cta-btn.primary:hover {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.cta-btn.secondary:hover {
    background: #3b82f6;
    color: white;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.doctor-image {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #8B4513, #A0522D);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    color: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.hero-badge {
    background: #8B4513;
    color: white;
    padding: 0.5rem 2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: lowercase;
    margin-top: 2rem;
    display: inline-block;
}

/* Mobile responsive hero section */
@media (max-width: 768px) {
    .hero {
        padding: 40px 0 30px; /* Adjusted for header with logo */
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
        line-height: 1.1;
    }
    
    .hero-text h2 {
        font-size: 1.5rem;
    }
    
    .hero-text p {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        max-width: 300px;
    }
    
    .cta-btn {
        width: 100%;
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .doctor-image {
        width: 200px;
        height: 200px;
        font-size: 5rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 30px 0 20px; /* Adjusted for smaller screens with header */
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-text h2 {
        font-size: 1.2rem;
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    
    .cta-btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .doctor-image {
        width: 150px;
        height: 150px;
        font-size: 4rem;
    }
}

/* About Doctor Hero Section */
.about-doctor-hero {
    padding: 60px 0;
    background: white;
}

.about-content-hero {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: flex-start;
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Mobile responsive about doctor hero */
@media (max-width: 768px) {
    .about-content-hero {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 2rem;
        max-width: 800px;
        margin: 0 auto;
        padding: 0 20px !important;
    }
    
    .doctor-info-hero {
        padding: 0 15px !important;
        width: 100%;
    }
    
    .doctor-info-hero h1,
    .doctor-info-hero h2,
    .doctor-info-hero h3 {
        padding: 0 10px !important;
        margin: 15px 0 !important;
    }
    
    .doctor-info-hero p {
        padding: 0 10px !important;
        margin: 10px 0 !important;
        text-align: left !important;
    }
    
    .doctor-info-hero ul {
        padding: 0 30px !important;
        margin: 15px 0 !important;
        text-align: left !important;
    }
    
    .doctor-info-hero li {
        padding: 5px 0 !important;
        margin: 5px 0 !important;
    }
    
    .doctor-image-hero {
        width: 100%;
        margin-top: 1rem;
    }
    
    .doctor-photo {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .doctor-info-hero h1 {
        font-size: 2rem;
    }
    
    .doctor-info-hero h3 {
        font-size: 1.8rem;
    }
    
    .doctor-info-hero p {
        font-size: 12pt;
    }
}

.doctor-info-hero h1 {
    font-size: 3rem;
    color: #091b43;
    margin-bottom: 0.5rem;
    font-weight: 400;
    font-family: 'Playfair Display', serif;
}

.doctor-info-hero h3 {
    font-size: 2.5rem;
    color: #003242;
    margin-bottom: 2rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
}

.doctor-info-hero p {
    font-size: 15pt;
    color: #000000;
    margin-bottom: 12pt;
    line-height: 1.38;
    font-family: 'Playfair Display', serif;
}

.doctor-info-hero p strong {
    font-weight: 700;
}

.doctor-info-hero {
    flex: 1.2;
    padding-right: 0.5rem;
    margin: 0;
}

.doctor-image-hero {
    display: block;
    flex: 1;
    width: 100%;
    margin: 0;
    padding: 0;
    min-width: 0;
    overflow: hidden;
}

.doctor-info-hero ul{
    list-style: disc inside;
    margin-top: 1rem;
    font-size: 1.4rem;
    color: #666;
    line-height: 1.6;
}

.doctor-photo {
    width: 100%;
    max-width: 100%;
    height: 500px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    background: none;
    display: block;
    margin: 0;
    padding: 0;
    min-width: 0;
    position: relative;
}

.doctor-photo-appointment {
width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #4a7c59;
    background: #fff;
}

.doctor-photo img {
    width: 100%;              
    height: 100%;             
    object-fit: cover;        
    object-position: center;
    display: block;
    border-radius: 15px;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 0;
    left: 0;
}

.doctor-image-hero img,
.doctor-photo img {
    border: 2px solid #0a0101;   
    border-radius: 15px;         
    box-shadow: 0 4px 16px rgba(33,147,176,0.10); 
}

/* Specific fix for images with built-in white space */
.doctor-photo img[src*="thyroid"],
.doctor-photo img[src*="chronic"] {
    object-fit: cover;
    object-position: center;
    background: #f8f9fa;
    width: 100%;
    height: 300px;
}


/* About Doctor Section */
.about-doctor {
    display: flex;
    padding: 80px 0;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

/* Mobile responsive about doctor */
@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .doctor-info h2 {
        font-size: 2rem;
    }
    
    .doctor-info h3 {
        font-size: 1.1rem;
    }
    
    .doctor-info p {
        font-size: 1rem;
    }
}

.doctor-info h2 {
    font-size: 2.5rem;
    color: #8B4513;
    margin-bottom: 0.5rem;
}

.doctor-info h3 {
    font-size: 1.2rem;
    color: #A0522D;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.doctor-info p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.doctor-image {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, #f5f5dc, #D2B48C);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    color: #A0522D;
    margin: 0 auto;
}

.thyroid-image {
  flex: 1;   /* take smaller space */
}

.thyroid-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}


/* Treatments Section */
.treatments {
    padding: 80px 0;
    background: #f8f9fa;
}

.treatments h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #000000;
    margin-bottom: 3rem;
    font-weight: 700;
}

.treatments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    justify-items: center;
}

/* Mobile responsive treatments */
@media (max-width: 768px) {
    .treatments-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }
    
    .treatment-card {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .treatments-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .treatment-card {
        max-width: 100%;
    }
}
.treatment-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;  /* ✅ keeps items stacked from top */
  width: 250px;
  height: 100%;  /* ✅ make all cards same height in grid */
}

.treatment-img {
  width: 200px;
  height: 200px;   /* ✅ fixed height so all look same */
  object-fit: cover;  /* ✅ crop/zoom instead of stretching */
  display: block;
  margin: 0 auto 1rem auto;
  border-radius: 10%;
  background: #f8f8f8;    
}


.treatment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: #033e49;
}

.treatment-card i {
    font-size: 3rem;
    color: #537fa2;
    margin-bottom: 1rem;
}

.treatment-card h3 {
    font-size: 1.2rem;
    color: #03293e;
    font-weight: 600;
}

.treatments-cta {
    text-align: center;
}

/* Best Clinic Section */
.best-clinic {
    padding: 80px 0;
    background: white;
}

.clinic-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.clinic-content h2 {
    font-size: 2.5rem;
    color: #000000;
    margin-bottom: 2rem;
    font-weight: 700;
}

.clinic-content p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.clinic-features {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

/* Mobile responsive clinic features */
@media (max-width: 768px) {
    .clinic-features {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .feature {
        font-size: 1rem;
    }
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    color: #00233b;
    font-weight: 500;
}

.feature i {
    color: #023437;
    font-size: 1.2rem;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background: #f8f9fa;
}

.testimonials h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #000000;
    margin-bottom: 3rem;
    font-weight: 700;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Mobile responsive testimonials */
@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-size: 1.1rem;
    color: #012835;
    line-height: 1.6;
    font-style: italic;
}

.testimonial-author h4 {
    color: #012835;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.testimonial-author span {
    color: #61a02d;
    font-size: 0.9rem;
}

/* Appointment Section */
.appointment-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #00B4D8 0%, #0077B6 100%);
    color: white;
}

.appointment-content h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    font-weight: 700;
}

.doctor-card {
    background: rgba(255,255,255,0.1);
    padding: 3rem;
    border-radius: 15px;
    margin-bottom: 3rem;
    backdrop-filter: blur(10px);
}

.doctor-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #D2B48C;
}

.doctor-info p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.appointment-steps h4 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: #D2B48C;
}

.steps {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

/* Mobile responsive steps */
@media (max-width: 768px) {
    .steps {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .step {
        min-width: auto;
        width: 100%;
        max-width: 300px;
    }
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    min-width: 150px;
}

.step i {
    font-size: 2rem;
    color: #D2B48C;
}

.step span {
    font-size: 0.9rem;
    text-align: center;
}



.appointment-btn.large:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background: white;
}

.faq h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #000000;
    margin-bottom: 3rem;
    font-weight: 700;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Mobile responsive FAQ */
@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .faq-item {
        padding: 1.5rem;
    }
}

.faq-item {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid #07055e;
}

.faq-item h3 {
    color: #1859b4;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.faq-item p {
    color: #666;
    line-height: 1.6;
}

/* Gallery Section */
.gallery {
    padding: 80px 0;
    background: #f8f9fa;
}

.gallery h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #8B4513;
    margin-bottom: 3rem;
    font-weight: 700;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

/* Mobile responsive gallery */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.gallery-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: #00B4D8;
}

.gallery-item i {
    font-size: 3rem;
    color: #A0522D;
    margin-bottom: 1rem;
}

.gallery-item h3 {
    color: #8B4513;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: white;
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #000000;
    margin-bottom: 3rem;
    font-weight: 700;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* Mobile responsive contact */
@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 15px;
    border-left: 4px solid #14627e;
}

.contact-item i {
    font-size: 2rem;
    color: #14627e;
    width: 40px;
}

.contact-item h4 {
    color: #14627e;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.contact-item span {
    color: #666;
    font-size: 1rem;
}

.contact-form {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
}

.contact-form h3 {
    color: #14627e;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.3s ease;
    margin-bottom: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #14627e;
}

.contact-form button {
    width: 100%;
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(96, 165, 250, 0.25);
}

.contact-form button:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    box-shadow: 0 6px 20px rgba(96, 165, 250, 0.35);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #00B4D8 0%, #0077B6 100%);
    color: white;
    padding: 3rem 0 1rem;
}

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

/* Mobile responsive footer */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .newsletter {
        flex-direction: column;
        gap: 1rem;
    }
    
    .newsletter input {
        width: 100%;
    }
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #ffffff;
}

.footer-section p {
    color: #ffffff;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #E8F4FD;
}

.newsletter {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.newsletter input {
    flex: 1;
    padding: 0.8rem;
    border: none;
    border-radius: 4px;
    outline: none;
}

.newsletter button {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(96, 165, 250, 0.25);
}

.newsletter button:hover {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(96, 165, 250, 0.35);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(232, 244, 253, 0.3);
    color: #E8F4FD;
}

/* Appointment Modal */
.appointment-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.appointment-modal.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 15px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
    z-index: 1;
}

.modal-body {
    padding: 2rem;
}

.modal-body h2 {
    text-align: center;
    color: #8B4513;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.appointment-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: #8B4513;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #00B4D8;
}

.submit-btn {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    box-shadow: 0 4px 15px rgba(96, 165, 250, 0.25);
}

.submit-btn:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    box-shadow: 0 6px 20px rgba(96, 165, 250, 0.35);
}

/* General Mobile Typography and Spacing */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    /* Section headings */
    h2 {
        font-size: 2rem !important;
        line-height: 1.2;
    }
    
    h3 {
        font-size: 1.5rem !important;
    }
    
    h4 {
        font-size: 1.2rem !important;
    }
    
    /* Section padding */
    .treatments,
    .best-clinic,
    .testimonials,
    .appointment-section,
    .faq,
    .gallery,
    .contact,
    .about-doctor {
        padding: 60px 0;
    }
    
    /* Card padding */
    .treatment-card,
    .testimonial-card,
    .gallery-item,
    .faq-item {
        padding: 1.5rem;
    }
    
    /* Touch-friendly improvements */
    .menu-btn {
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Better spacing for mobile */
    .hero-content {
        gap: 1.5rem;
    }
    
    /* Improve button spacing */
    .hero-buttons {
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    /* Smaller headings on very small screens */
    h2 {
        font-size: 1.8rem !important;
    }
    
    h3 {
        font-size: 1.3rem !important;
    }
    
    /* Reduced section padding */
    .treatments,
    .best-clinic,
    .testimonials,
    .appointment-section,
    .faq,
    .gallery,
    .contact,
    .about-doctor {
        padding: 40px 0;
    }
    
    /* Smaller card padding */
    .treatment-card,
    .testimonial-card,
    .gallery-item,
    .faq-item {
        padding: 1rem;
    }
    
    /* About doctor hero mobile adjustments */
    .about-content-hero {
        gap: 1rem;
        padding: 0 0.5rem;
    }
    
    .doctor-photo {
        max-width: 300px;
    }
    
    .doctor-info-hero h3 {
        font-size: 1.5rem;
    }
    
    .doctor-info-hero p {
        font-size: 11pt;
    }
}

/* Additional mobile optimizations */
@media (max-width: 480px) {
    .modal-content {
        margin: 1rem;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    /* Touch-friendly buttons */
    .cta-btn,
    .appointment-btn,
    .submit-btn {
        min-height: 44px; /* iOS recommended touch target */
        padding: 0.8rem 1.5rem;
    }
    
    /* Better touch targets for navigation */
    .main-nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Prevent zoom on input focus */
    input,
    textarea,
    select {
        font-size: 16px;
    }
}

/* Appointment Page Styles */
.appointment-hero {
    background: linear-gradient(135deg, #00B4D8 0%, #0077B6 100%);
    color: white;
    padding: 100px 0 80px;
    text-align: center;
}

.appointment-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.appointment-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.appointment-form-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-header {
    text-align: center;
    margin-bottom: 3rem;
}

.form-header h2 {
    color: #0077B6;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.form-header p {
    color: #666;
    font-size: 1.1rem;
}

.appointment-form-detailed {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: #0077B6;
    font-weight: 600;
    font-size: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #00B4D8;
}

.checkbox-group {
    flex-direction: row;
    align-items: flex-start;
    gap: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.terms-link,
.privacy-link {
    color: #00B4D8;
    text-decoration: none;
}

.terms-link:hover,
.privacy-link:hover {
    text-decoration: underline;
}

.submit-appointment-btn {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    color: white;
    border: none;
    padding: 1.2rem 3rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    box-shadow: 0 4px 15px rgba(96, 165, 250, 0.25);
}

.submit-appointment-btn:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    box-shadow: 0 6px 20px rgba(96, 165, 250, 0.35);
}

.submit-appointment-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.doctor-info-section {
    padding: 80px 0;
    background: white;
}

.doctor-card {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 3rem;
    align-items: center;
    background: #f8f9fa;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.doctor-image {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #8B4513, #A0522D);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: white;
    margin: 0 auto;
}

.doctor-details h3 {
    color: #0077B6;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.doctor-title {
    color: #00B4D8;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.doctor-experience {
    color: #666;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.doctor-specialties h4 {
    color: #0077B6;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.doctor-specialties ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.5rem;
}

.doctor-specialties li {
    color: #666;
    font-size: 0.9rem;
    padding-left: 1rem;
    position: relative;
}

.doctor-specialties li::before {
    content: '•';
    color: #00B4D8;
    position: absolute;
    left: 0;
}

.contact-info-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.contact-info-section h2 {
    text-align: center;
    color: #0077B6;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    font-weight: 700;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.contact-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-card i {
    font-size: 3rem;
    color: #00B4D8;
    margin-bottom: 1rem;
}

.contact-card h3 {
    color: #0077B6;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.contact-card p {
    color: #666;
    line-height: 1.6;
}

.appointment-btn.active {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    transform: none;
    box-shadow: 0 4px 15px rgba(96, 165, 250, 0.25);
}

/* Chatbot Styles */
.chatbot {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    font-family: 'Poppins', sans-serif;
}

.chatbot-toggle {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4a7c59, #8bc34a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(74, 124, 89, 0.3);
    transition: all 0.3s ease;
    position: relative;
}

.chatbot-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(74, 124, 89, 0.4);
}

/* Mobile touch improvements */
@media (max-width: 768px) {
    .chatbot-toggle {
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }
    
    .chatbot-toggle:active {
        transform: scale(0.95);
    }
    
    .question-btn {
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }
    
    .question-btn:active {
        transform: translateY(-1px) scale(0.98);
    }
    
    .chatbot-input button {
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }
    
    .chatbot-input button:active {
        transform: scale(0.95);
    }
    
    .quick-questions-btn {
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }
    
    .quick-questions-btn:active {
        transform: translateY(-1px) scale(0.98);
    }
}

.chatbot-toggle i {
    color: white;
    font-size: 24px;
}

.chatbot-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #e74c3c;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.chatbot-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 500px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.chatbot-window.active {
    display: flex;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chatbot-header {
    background: linear-gradient(135deg, #4a7c59, #8bc34a);
    color: white;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.chatbot-avatar {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatbot-avatar i {
    font-size: 18px;
}

.chatbot-info h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.chatbot-info span {
    font-size: 12px;
    opacity: 0.8;
}

.chatbot-close {
    margin-left: auto;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 18px;
    padding: 5px;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.chatbot-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.chatbot-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.chatbot-message {
    display: flex;
    margin-bottom: 10px;
}

.bot-message {
    justify-content: flex-start;
}

.user-message {
    justify-content: flex-end;
}

.message-content {
    max-width: 80%;
    padding: 12px 15px;
    border-radius: 18px;
    position: relative;
}

.bot-message .message-content {
    background: #f1f3f4;
    color: #333;
    border-bottom-left-radius: 5px;
}

.user-message .message-content {
    background: linear-gradient(135deg, #4a7c59, #8bc34a);
    color: white;
    border-bottom-right-radius: 5px;
}

.message-content p {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
}

.message-time {
    font-size: 11px;
    opacity: 0.7;
    margin-top: 5px;
    display: block;
}

.common-questions {
    margin-top: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
}

.questions-label {
    font-size: 13px;
    font-weight: 600;
    color: #4a7c59;
    margin: 0 0 12px 0;
    text-align: center;
}

.question-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.question-btn {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px 8px;
    font-size: 12px;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center;
    min-height: 60px;
    justify-content: center;
}

.question-btn:hover {
    background: #e8f5e8;
    border-color: #4a7c59;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 124, 89, 0.15);
}

.question-btn i {
    font-size: 16px;
    color: #4a7c59;
}

.question-btn span {
    font-weight: 500;
    line-height: 1.2;
}

.chatbot-input {
    padding: 15px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    gap: 10px;
    align-items: center;
}

.chatbot-input input {
    flex: 1;
    border: 1px solid #ddd;
    border-radius: 25px;
    padding: 10px 15px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s ease;
}

.chatbot-input input:focus {
    border-color: #4a7c59;
}

.chatbot-input button {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #4a7c59, #8bc34a);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.chatbot-input button:hover {
    transform: scale(1.1);
}

.chatbot-input button i {
    font-size: 16px;
}

.chatbot-quick-questions {
    padding: 10px 15px;
    border-top: 1px solid #e0e0e0;
    background: #f8f9fa;
}

.quick-questions-btn {
    width: 100%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 15px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.quick-questions-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.quick-questions-btn i {
    font-size: 16px;
}

.quick-questions-panel {
    position: absolute;
    bottom: 100%;
    right: 0;
    width: 100%;
    background: white;
    border-radius: 15px 15px 0 0;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    padding: 15px;
    display: none;
    flex-direction: column;
    gap: 10px;
    max-height: 200px;
    overflow-y: auto;
}

.quick-questions-panel.active {
    display: flex;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.quick-question-item {
    background: #f1f3f4;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 10px 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 13px;
    color: #333;
}

.quick-question-item:hover {
    background: #e8f0fe;
    border-color: #4a7c59;
    transform: translateX(5px);
}

.quick-question-item i {
    margin-right: 8px;
    color: #4a7c59;
    font-size: 12px;
}

/* Hide chatbot on mobile devices */
@media (max-width: 768px) {
    .chatbot {
        display: none !important;
    }
    
    .chatbot-toggle {
        display: none !important;
    }
    
    .chatbot-window {
        display: none !important;
    }
}
    
    .chatbot-window {
        width: 320px;
        height: 500px;
        max-height: 500px;
        bottom: 80px;
        right: 15px;
        border-radius: 20px;
    }
    
    .chatbot-header {
        padding: 15px 15px;
        border-radius: 20px 20px 0 0;
    }
    
    .chatbot-avatar {
        width: 45px;
        height: 45px;
    }
    
    .chatbot-avatar i {
        font-size: 20px;
    }
    
    .chatbot-info h4 {
        font-size: 18px;
    }
    
    .chatbot-info span {
        font-size: 13px;
    }
    
    .chatbot-messages {
        padding: 15px;
        max-height: 300px;
        overflow-y: auto;
    }
    
    .message-content {
        max-width: 90%;
        padding: 12px 15px;
        font-size: 15px;
        line-height: 1.5;
    }
    
    .message-time {
        font-size: 12px;
        margin-top: 6px;
    }
    
    .common-questions {
        margin-top: 15px;
        padding: 15px;
        border-radius: 15px;
    }
    
    .questions-label {
        font-size: 14px;
        margin-bottom: 15px;
    }
    
    .question-buttons {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .question-btn {
        min-height: 60px;
        padding: 12px 15px;
        font-size: 13px;
        border-radius: 12px;
        font-weight: 500;
    }
    
    .question-btn i {
        font-size: 18px;
        margin-bottom: 4px;
    }
    
    .chatbot-input {
        padding: 15px 15px;
        border-radius: 0 0 20px 20px;
        display: flex;
        gap: 12px;
        align-items: center;
        background: white;
        border-top: 1px solid #e0e0e0;
        flex-direction: row-reverse;
    }
    
    .chatbot-input input {
        padding: 15px 20px;
        font-size: 16px;
        border-radius: 30px;
        flex: 1;
        border: 1px solid #ddd;
        outline: none;
        transition: border-color 0.3s ease;
    }
    
    .chatbot-input input:focus {
        border-color: #4a7c59;
    }
    
    .chatbot-input button {
        width: 50px;
        height: 50px;
        background: linear-gradient(135deg, #4a7c59, #8bc34a);
        border: none;
        border-radius: 50%;
        color: white;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        flex-shrink: 0;
        box-shadow: 0 3px 10px rgba(74, 124, 89, 0.3);
        margin-left: 30px;
    }
    
    .chatbot-input button:hover {
        transform: scale(1.1);
        box-shadow: 0 5px 15px rgba(74, 124, 89, 0.4);
    }
    
    .chatbot-input button i {
        font-size: 18px;
        font-weight: bold;
    }
    
    .chatbot-quick-questions {
        padding: 15px;
    }
    
    .quick-questions-btn {
        padding: 15px 20px;
        font-size: 15px;
        border-radius: 12px;
        font-weight: 600;
    }
    
    .quick-questions-btn i {
        font-size: 18px;
    }


@media (max-width: 480px) {
    .chatbot {
        bottom: 10px;
        right: 10px;
    }
    
    .chatbot-toggle {
        width: 50px;
        height: 50px;
    }
    
    .chatbot-toggle i {
        font-size: 20px;
    }
    
    .chatbot-window {
        width: 280px;
        height: 280px;
        max-height: 280px;
        bottom: 70px;
        right: 10px;
        border-radius: 15px;
    }
    
    .chatbot-header {
        padding: 15px 12px;
        border-radius: 15px 15px 0 0;
    }
    
    .chatbot-avatar {
        width: 40px;
        height: 40px;
    }
    
    .chatbot-avatar i {
        font-size: 18px;
    }
    
    .chatbot-info h4 {
        font-size: 16px;
    }
    
    .chatbot-info span {
        font-size: 12px;
    }
    
    .chatbot-messages {
        padding: 12px;
        max-height: 140px;
        overflow-y: auto;
    }
    
    .message-content {
        max-width: 95%;
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .common-questions {
        margin-top: 12px;
        padding: 12px;
        border-radius: 12px;
    }
    
    .questions-label {
        font-size: 13px;
        margin-bottom: 12px;
    }
    
    .question-btn {
        min-height: 55px;
        padding: 10px 12px;
        font-size: 12px;
        border-radius: 10px;
    }
    
    .question-btn i {
        font-size: 16px;
        margin-bottom: 3px;
    }
    
    .chatbot-input {
        padding: 12px 12px;
        border-radius: 0 0 15px 15px;
        display: flex;
        gap: 10px;
        align-items: center;
        background: white;
        border-top: 1px solid #e0e0e0;
        flex-direction: row-reverse;
    }
    
    .chatbot-input input {
        padding: 12px 15px;
        font-size: 15px;
        border-radius: 25px;
        flex: 1;
        border: 1px solid #ddd;
        outline: none;
        transition: border-color 0.3s ease;
    }
    
    .chatbot-input input:focus {
        border-color: #4a7c59;
    }
    
    .chatbot-input button {
        width: 45px;
        height: 45px;
        background: linear-gradient(135deg, #4a7c59, #8bc34a);
        border: none;
        border-radius: 50%;
        color: white;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        flex-shrink: 0;
        box-shadow: 0 3px 10px rgba(74, 124, 89, 0.3);
        margin-left: 25px;
    }
    
    .chatbot-input button:hover {
        transform: scale(1.1);
        box-shadow: 0 5px 15px rgba(74, 124, 89, 0.4);
    }
    
    .chatbot-input button i {
        font-size: 16px;
        font-weight: bold;
    }
    
    .chatbot-quick-questions {
        padding: 12px;
    }
    
    .quick-questions-btn {
        padding: 12px 15px;
        font-size: 14px;
        border-radius: 10px;
    }
    
    .quick-questions-btn i {
        font-size: 16px;
    }
}

/* Extra small screens */
@media (max-width: 360px) {
    .about-content-hero {
        padding: 0 10px !important;
    }
    
    .doctor-info-hero {
        padding: 0 8px !important;
    }
    
    .doctor-info-hero h1,
    .doctor-info-hero h2,
    .doctor-info-hero h3 {
        padding: 0 5px !important;
        margin: 10px 0 !important;
        font-size: 1.6rem !important;
    }
    
    .doctor-info-hero p {
        padding: 0 5px !important;
        margin: 6px 0 !important;
        font-size: 13px !important;
        line-height: 1.5 !important;
    }
    
    .doctor-info-hero ul {
        padding: 0 20px !important;
        margin: 10px 0 !important;
    }
    
    .doctor-info-hero li {
        padding: 3px 0 !important;
        margin: 3px 0 !important;
        font-size: 13px !important;
    }
}

/* Disease page mobile padding fixes */
@media (max-width: 768px) {
    .about-content-hero {
        padding: 0 20px !important;
    }
    
    .doctor-info-hero {
        padding: 0 15px !important;
    }
    
    .doctor-info-hero h1,
    .doctor-info-hero h2,
    .doctor-info-hero h3 {
        padding: 0 10px !important;
        margin: 15px 0 !important;
    }
    
    .doctor-info-hero p {
        padding: 0 10px !important;
        margin: 10px 0 !important;
        text-align: left !important;
    }
    
    .doctor-info-hero ul {
        padding: 0 30px !important;
        margin: 15px 0 !important;
        text-align: left !important;
    }
    
    .doctor-info-hero li {
        padding: 5px 0 !important;
        margin: 5px 0 !important;
    }
}

@media (max-width: 480px) {
    .about-content-hero {
        padding: 0 15px !important;
    }
    
    .doctor-info-hero {
        padding: 0 10px !important;
    }
    
    .doctor-info-hero h1,
    .doctor-info-hero h2,
    .doctor-info-hero h3 {
        padding: 0 5px !important;
        margin: 12px 0 !important;
        font-size: 1.8rem !important;
    }
    
    .doctor-info-hero p {
        padding: 0 5px !important;
        margin: 8px 0 !important;
        font-size: 14px !important;
        line-height: 1.6 !important;
    }
    
    .doctor-info-hero ul {
        padding: 0 25px !important;
        margin: 12px 0 !important;
    }
    
    .doctor-info-hero li {
        padding: 4px 0 !important;
        margin: 4px 0 !important;
        font-size: 14px !important;
    }
}

@media (max-width: 360px) {
    .about-content-hero {
        padding: 0 10px !important;
    }
    
    .doctor-info-hero {
        padding: 0 8px !important;
    }
    
    .doctor-info-hero h1,
    .doctor-info-hero h2,
    .doctor-info-hero h3 {
        padding: 0 3px !important;
        margin: 10px 0 !important;
        font-size: 1.6rem !important;
    }
    
    .doctor-info-hero p {
        padding: 0 3px !important;
        margin: 6px 0 !important;
        font-size: 13px !important;
        line-height: 1.5 !important;
    }
    
    .doctor-info-hero ul {
        padding: 0 20px !important;
        margin: 10px 0 !important;
    }
    
    .doctor-info-hero li {
        padding: 3px 0 !important;
        margin: 3px 0 !important;
        font-size: 13px !important;
    }
}

/* Responsive Design for Appointment Page */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .doctor-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .doctor-image {
        width: 150px;
        height: 150px;
        font-size: 4rem;
    }
    
    .form-container {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .appointment-hero h1 {
        font-size: 2rem;
    }
    
    .appointment-hero p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .form-container {
        padding: 1.5rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .doctor-specialties ul {
        grid-template-columns: 1fr;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }

/* Homepage Doctor Image - Original styling preserved */
.homepage-doctor-image-hero {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: none;
    flex: 1;
}

.homepage-doctor-photo {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    background: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.homepage-doctor-photo img {
    width: 100%;              
    height: 100%;             
    object-fit: cover;        
    display: block;
    border-radius: 15px;
}

.homepage-doctor-image-hero img,
.homepage-doctor-photo img {
    border: 2px solid #0a0101;   
    border-radius: 15px;         
    box-shadow: 0 4px 16px rgba(33,147,176,0.10); 
}