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

:root {
    --primary-color: #1e40af;
    --secondary-color: #1e3a8a;
    --accent-color: #2563eb;
    --light-blue: #eff6ff;
    --darker-blue: #1e3a8a;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f7fafc;
    --accent-gold: #d97706;
    --accent-gold-light: #f59e0b;
    --shadow: 0 4px 6px -1px rgba(30, 64, 175, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(30, 64, 175, 0.1);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
    background-color: var(--white);
}

main {
    margin: 0;
    padding: 0;
    background-color: var(--white);
}

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

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 4px 16px rgba(30, 64, 175, 0.12);
}

/* Main Navigation - Professional Header */
.main-nav {
    background: var(--white);
    padding: 0.75rem 0;
    border-bottom: 2px solid rgba(30, 64, 175, 0.1);
    box-shadow: 0 2px 12px rgba(30, 64, 175, 0.08);
}

.main-nav .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Contact Information Banner */
.navbar {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    padding: 0.6rem 0;
    border-bottom: none;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 2px 8px rgba(30, 64, 175, 0.2);
}

.navbar .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 2rem;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    color: white;
    transition: all 0.3s ease;
    flex: 1;
    justify-content: center;
}

.nav-item:hover {
    transform: translateY(-2px);
}

.nav-icon {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fbbf24;
    transition: all 0.3s ease;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-item:hover .nav-icon {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
}

.nav-content {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.nav-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    line-height: 1.1;
}

.nav-value {
    font-size: 0.9rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
    line-height: 1.2;
}

.nav-value:hover {
    color: #fbbf24;
    text-decoration: none;
    transform: translateX(2px);
}

/* Doctor Info Special Styling */
.doctor-info {
    flex: 1.2;
}

.doctor-info .nav-label {
    font-size: 0.95rem;
    font-weight: 700;
    color: white;
    text-transform: none;
    letter-spacing: 0.2px;
    margin-bottom: 0.15rem;
}

.nav-badge {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1a1a1a;
    padding: 0.3rem 0.85rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    box-shadow: 0 3px 10px rgba(251, 191, 36, 0.5);
    transition: all 0.3s ease;
    display: inline-block;
    margin-top: 0.1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.doctor-info:hover .nav-badge {
    transform: scale(1.05);
    box-shadow: 0 5px 18px rgba(251, 191, 36, 0.6);
    background: linear-gradient(135deg, #fcd34d 0%, #fbbf24 100%);
}

/* Mobile Banner (Hidden on Desktop) */
.mobile-banner {
    display: none;
}

/* Sticky Call and WhatsApp Buttons - Show on All Views */
.sticky-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.sticky-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    border: none;
    cursor: pointer;
}

.sticky-btn:hover,
.sticky-btn:active {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.sticky-call {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--darker-blue) 100%);
}

.sticky-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.sticky-scroll-top {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
    color: white;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8);
    pointer-events: none;
}

.sticky-scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    pointer-events: auto;
}

.sticky-scroll-top svg {
    width: 24px;
    height: 24px;
    stroke: white;
}

.sticky-icon {
    width: 28px;
    height: 28px;
    filter: brightness(0) invert(1);
    object-fit: contain;
}

/* Desktop view - slightly larger buttons */
@media (min-width: 769px) {
    .sticky-btn {
        width: 60px;
        height: 60px;
    }
    
    .sticky-icon {
        width: 30px;
        height: 30px;
    }
    
    .sticky-scroll-top svg {
        width: 26px;
        height: 26px;
    }
    
    .sticky-buttons {
        bottom: 30px;
        right: 30px;
    }
    
    /* Hide call button on desktop/web view */
    .sticky-call {
        display: none;
    }
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-image {
    height: 52px;
    width: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.02);
}

.logo-text h2 {
    color: var(--primary-color);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0px;
    letter-spacing: -0.5px;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-text span {
    color: var(--text-dark);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.2px;
    line-height: 1.2;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.header-contact {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding: 0.5rem 1rem;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.contact-label {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.8rem;
}

.contact-value {
    color: var(--accent-color);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.contact-value:hover {
    color: var(--darker-blue);
    text-decoration: underline;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    position: relative;
    padding: 0.3rem 0;
    letter-spacing: 0.2px;
}

.nav-link:hover {
    color: var(--accent-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color) 0%, var(--primary-color) 100%);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
    color: var(--white);
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.35);
    letter-spacing: 0.4px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-cta:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--darker-blue) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.5);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: var(--transition);
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 2rem;
    gap: 2rem;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-lg);
}

.mobile-menu.active {
    left: 0;
}

.mobile-link {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 1.2rem;
    font-weight: 500;
    padding: 1rem 2rem;
    width: 90%;
    text-align: center;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.mobile-link:hover {
    background: rgba(30, 64, 175, 0.08);
    color: var(--accent-color);
}

.mobile-cta {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    width: 90%;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.35);
}

.mobile-cta:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--darker-blue) 100%);
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.5);
}

.mobile-contact-info {
    background: rgba(30, 64, 175, 0.08);
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
    border: 1px solid rgba(30, 64, 175, 0.15);
}

.mobile-contact-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}

.mobile-contact-item:last-child {
    border-bottom: none;
}

.mobile-contact-label {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.9rem;
}

.mobile-contact-value {
    color: var(--accent-color);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.mobile-contact-value:hover {
    color: var(--darker-blue);
    text-decoration: underline;
}

/* Hero Section */
.hero {
    padding: 110px 20px 20px;
    min-height: 100vh;
    height: 100vh;
    max-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: #1e3a8a;
    overflow: hidden;
    box-sizing: border-box;
    margin: 0;
    margin-top: 0;
    padding-top: 150px;
}

/* Video Background */
.hero-video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    z-index: 0;
    overflow: hidden;
    background: #1e3a8a;
}

.hero-video-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-video {
    width: 100%;
    height: 100%;
    min-height: 100vh;
    object-fit: cover;
    opacity: 1;
    min-width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    filter: brightness(1) contrast(1);
    object-position: center top;
}

.hero .container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Centered Hero Content */
.hero-content-centered {
    text-align: center;
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    padding: 2rem 2rem;
    background: none;
    backdrop-filter: none;
    border-radius: 0;
    box-shadow: none;
    border: none;
    position: relative;
    overflow: visible;
}

.hero-content-centered h1 {
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff;
    margin-top: 0;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.8px;
    font-family: 'Poppins', sans-serif;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.6), 0 2px 6px rgba(0, 0, 0, 0.4);
    padding-top: 0;
}

.hero-content-centered h2 {
    font-size: 1.15rem;
    color: #f8fafc;
    margin-bottom: 2rem;
    line-height: 1.7;
    font-weight: 400;
    font-family: 'Inter', sans-serif;
    max-width: 95%;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5), 0 1px 4px rgba(0, 0, 0, 0.3);
}

.hero-content-centered h2 strong {
    color: #ffffff;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6), 0 1px 4px rgba(0, 0, 0, 0.4);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.1rem;
    flex-wrap: wrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 4px 12px rgba(30, 64, 175, 0.6);
    border: none;
    cursor: pointer;
    letter-spacing: 0.5px;
    font-family: 'Poppins', sans-serif;
    display: inline-block;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--darker-blue) 0%, var(--primary-color) 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.5);
}

/* Simple Statistics without Cards */
.hero-stats-simple {
    display: flex;
    justify-content: center;
    gap: 3.5rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.stat-simple {
    text-align: center;
    padding: 0;
    background: none;
    box-shadow: none;
    border: none;
}

.stat-simple h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-family: 'Poppins', sans-serif;
    letter-spacing: -1px;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.6), 0 2px 6px rgba(0, 0, 0, 0.4);
    line-height: 1.2;
}

.stat-simple p {
    font-size: 0.85rem;
    color: #e2e8f0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Inter', sans-serif;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5), 0 1px 3px rgba(0, 0, 0, 0.3);
    line-height: 1.3;
}

/* Responsive Design for Centered Hero */
@media (max-width: 768px) {
    .hero {
        padding: 100px 12px 15px;
        min-height: 100vh;
        height: auto;
        max-height: none;
        overflow-y: auto;
        display: flex;
        align-items: flex-start;
        justify-content: center;
    }

    .hero .container {
        padding: 0 12px;
        width: 100%;
        display: flex;
        align-items: flex-start;
        justify-content: center;
        min-height: calc(100vh - 100px);
        padding-top: 0.5rem;
    }

    .hero-content-centered {
        padding: 1.5rem 1rem;
        max-width: 100%;
        border-radius: 0;
        margin: 0 auto;
        width: 100%;
        margin-top: 0;
        text-align: center;
    }

    .hero-content-centered h1 {
        font-size: 1.75rem;
        line-height: 1.3;
        margin-top: 0;
        margin-bottom: 1.25rem;
        font-weight: 800;
        letter-spacing: -0.5px;
        color: #ffffff;
        text-shadow: 0 3px 10px rgba(0, 0, 0, 0.6), 0 2px 6px rgba(0, 0, 0, 0.4);
        font-family: 'Poppins', sans-serif;
        text-align: center;
    }
    
    .hero-content-centered h2 {
        font-size: 0.95rem;
        line-height: 1.6;
        max-width: 100%;
        margin-bottom: 1.5rem;
        font-weight: 400;
        color: #f8fafc;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5), 0 1px 4px rgba(0, 0, 0, 0.3);
        text-align: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        margin-bottom: 1.5rem;
        width: 100%;
    }

    .hero-buttons .btn-primary {
        padding: 0.9rem 2rem;
        font-size: 0.9rem;
        width: auto;
        max-width: 280px;
        font-weight: 700;
    }
    
    .hero-stats-simple {
        gap: 2rem;
        padding-top: 1.5rem;
        margin-top: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
        border-top: 1px solid rgba(255, 255, 255, 0.25);
    }
    
    .stat-simple {
        flex: 0 1 auto;
        min-width: 80px;
        text-align: center;
    }
    
    .stat-simple h3 {
        font-size: 2rem;
        color: #ffffff;
        text-shadow: 0 3px 10px rgba(0, 0, 0, 0.6), 0 2px 6px rgba(0, 0, 0, 0.4);
        margin-bottom: 0.4rem;
        font-weight: 800;
        text-align: center;
    }

    .stat-simple p {
        font-size: 0.75rem;
        color: #e2e8f0;
        font-weight: 600;
        text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5), 0 1px 3px rgba(0, 0, 0, 0.3);
        line-height: 1.3;
        letter-spacing: 0.3px;
        text-align: center;
    }
}

/* Why MCh Matters Content */
.why-mch-content {
    margin-top: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.intro-text {
    font-size: 1.1rem;
    color: #000000;
    font-weight: 500;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    text-align: left;
}

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

.benefit-card-small {
    background: rgba(255, 255, 255, 0.95);
    padding: 1.2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-left: 3px solid var(--accent-color);
    transition: transform 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.benefit-card-small:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.benefit-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.benefit-content h4 {
    color: var(--accent-color);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.benefit-content p {
    color: #000000;
    font-weight: 500;
    line-height: 1.5;
    font-size: 0.9rem;
    margin: 0;
}

.mch-highlight-small {
    background: rgba(19, 139, 132, 0.1);
    padding: 1.2rem;
    border-radius: 8px;
    border: 2px solid var(--accent-color);
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.highlight-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.mch-highlight-small p {
    color: #000000;
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.5;
}

/* Responsive Design for MCh Content */
@media (max-width: 768px) {
    .why-mch-content {
        margin-top: 2rem;
    }
    
    .intro-text {
        font-size: 1rem;
    }
    
    .mch-benefits-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .benefit-card-small {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
    }
    
    .benefit-icon {
        margin-top: 0;
        align-self: center;
    }
    
    .mch-highlight-small {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
    }
    
    .highlight-icon {
        align-self: center;
    }
    
    .mch-highlight-small p {
        font-size: 0.95rem;
    }
}

/* Why MCh Section */
.why-mch-section {
    background: linear-gradient(135deg, #f0fdfa 0%, #e6fffa 100%);
    padding: 4rem 0;
    position: relative;
}

.why-mch-section .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.why-mch-section .section-header h2 {
    color: var(--accent-color);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.why-mch-content {
    max-width: 1000px;
    margin: 0 auto;
}

/* About Section */
.about {
    padding: 4rem 0;
    background: var(--white);
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Professional About Card */
.about-card-professional {
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    display: flex;
    flex-direction: row;
    gap: 0;
    position: relative;
    align-items: flex-start;
}

.about-card-professional::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    /* height: 5px; */
    /* background: linear-gradient(90deg, #2563eb 0%, #1e3a8a 50%, #d97706 100%); */
    z-index: 1;
}

.about-card-content {
    flex: 1;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: left;
    align-items: flex-start;
}

.about-image-right {
    flex: 0 0 350px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 3rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.about-image-right .about-doctor-photo {
    width: 100%;
    max-width: 320px;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border: 3px solid var(--white);
    transition: transform 0.3s ease;
}

.about-image-right .about-doctor-photo:hover {
    transform: scale(1.02);
}

.doctor-name-section {
    margin-bottom: -30px;
    text-align: left;
    width: 100%;
}

.doctor-name-section h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
    margin: 0 0 0.5rem 0;
    letter-spacing: -0.5px;
    text-align: left;
}

.doctor-qualifications {
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 500;
    margin: 0 0 0.5rem 0;
    letter-spacing: 0.3px;
    text-align: left;
}

.doctor-title {
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 600;
    margin: 0 0 0.75rem 0;
}

.title-underline {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--darker-blue));
    border-radius: 2px;
    margin-bottom: 1.5rem;
}

.doctor-description {
    line-height: 1.8;
    text-align: justify;
    width: 100%;
}

.doctor-description p {
    font-size: 1.05rem;
    color: var(--text-dark);
    margin-bottom: 1.25rem;
    line-height: 1.85;
    letter-spacing: 0.01em;
    font-weight: 400;
}

.doctor-description p:last-child {
    margin-bottom: 0;
}

.doctor-description p strong {
    color: var(--accent-color);
    font-weight: 700;
    background: none;
    padding: 0;
    border-radius: 0;
    display: inline;
    margin: 0;
    letter-spacing: 0.01em;
}

.professional-qualifications {
    margin-top: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.qualifications-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 1.25rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.qual-title-bar {
    width: 4px;
    height: 24px;
    background: linear-gradient(180deg, var(--accent-color), var(--darker-blue));
    border-radius: 2px;
    display: inline-block;
}

.qualifications-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.qualification-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.75rem;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.qualification-item:hover {
    background: rgba(37, 99, 235, 0.05);
}

.qual-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.qual-icon svg {
    width: 100%;
    height: 100%;
}

.qual-text {
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 500;
    line-height: 1.6;
    flex: 1;
}

.qual-text strong {
    color: var(--accent-color);
    font-weight: 700;
}

.doctor-description {
    line-height: 1.8;
}

/* About Cards */
.about-card {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--darker-blue) 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(19, 139, 132, 0.2);
}

.about-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.about-card p {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0;
}

/* Qualifications Grid */
.qualifications-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.qual-card {
    background: white;
    border: 2px solid var(--accent-color);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.qual-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.qual-card.highlight {
    background: var(--accent-color);
    color: white;
    border-color: var(--darker-blue);
}

.qual-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.qual-content h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: inherit;
}

.qual-content p {
    font-size: 0.85rem;
    margin: 0;
    opacity: 0.8;
}

/* Specialization Card */
.specialization-card {
    background: linear-gradient(135deg, #f0fdfa 0%, #e6fffa 100%);
    border: 2px solid var(--accent-color);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 4px 15px rgba(19, 139, 132, 0.1);
}

.spec-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.spec-content h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.25rem;
}

.spec-content p {
    font-size: 1rem;
    color: var(--text-dark);
    margin: 0;
}

/* Services Section Header */
.services .section-header {
    text-align: center;
    margin-bottom: 1rem;
}

.services .section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

/* Academic & Research Excellence Section */
.academic-research-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
}

.academic-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.academic-card-second-row {
    grid-column: 2;
    grid-row: 2;
}

@media (max-width: 1024px) {
    .academic-cards-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
    }
    
    .academic-card-second-row {
        grid-column: 1;
        grid-row: auto;
    }
}

.academic-card {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(19, 139, 132, 0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.academic-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-color: rgba(19, 139, 132, 0.2);
}

.academic-card .card-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.academic-card .card-content p {
    font-size: 0.9rem;
    color: var(--text-dark);
    line-height: 1.5;
    margin: 0;
    font-weight: 500;
}

/* Responsive Design for Academic Cards */
@media (max-width: 1024px) {
    .academic-cards-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.25rem;
    }
    
    .academic-card {
        padding: 1.25rem;
    }
    
    .academic-card .card-content h3 {
        font-size: 1.1rem;
    }
    
    .academic-card .card-content p {
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .academic-research-section {
        padding: 60px 0;
    }
    
    .academic-cards-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 1.5rem;
    }
    
    .academic-card {
        padding: 1rem;
    }
    
    .academic-card .card-content h3 {
        font-size: 1rem;
    }
    
    .academic-card .card-content p {
        font-size: 0.8rem;
    }
}

/* Patient Journey Section */
.patient-journey-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f0fdfa 0%, #e6fffa 100%);
    position: relative;
}

.journey-content {
    max-width: 1000px;
    margin: 0 auto;
}

.journey-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: start;
    justify-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 2rem 0;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.timeline-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--white);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.1);
    border: 2px solid rgba(37, 99, 235, 0.1);
    transition: all 0.3s ease;
    min-height: 240px;
    width: 100%;
    max-width: 280px;
}

.timeline-item-second-row {
    grid-column: auto;
}

.timeline-item-second-row:nth-of-type(1) {
    grid-column: 1;
}

.timeline-item-second-row:nth-of-type(2) {
    grid-column: 2;
}

.timeline-item-second-row:nth-of-type(3) {
    grid-column: 3;
}

.timeline-arrow {
    display: none;
}

.timeline-arrow-second-row {
    display: none;
}

.timeline-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.18);
    border-color: rgba(37, 99, 235, 0.3);
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
}

.timeline-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-icon-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    display: block;
}

.timeline-content h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.timeline-content p {
    font-size: 0.9rem;
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0;
    font-weight: 400;
}

.timeline-arrow {
    font-size: 2rem;
    color: var(--accent-color);
    font-weight: bold;
    margin: 0 0.5rem;
    flex-shrink: 0;
    opacity: 0.6;
}

.journey-description {
    text-align: center;
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--accent-color);
    max-width: 800px;
    margin: 0 auto;
}

.journey-description p {
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0;
    font-weight: 500;
}

/* Responsive Design for Patient Journey */
@media (max-width: 1024px) {
    .journey-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
        padding: 1.5rem 0;
    }
    
    .timeline-item {
        min-height: 200px;
        padding: 1.5rem 1.25rem;
    }
    
    .timeline-item-second-row {
        grid-row: auto;
    }
    
    .timeline-arrow,
    .timeline-arrow-second-row {
        display: none;
    }
    
    .timeline-icon {
        font-size: 1.75rem;
    }
    
    .timeline-icon-img {
        width: 50px;
        height: 50px;
    }
    
    .timeline-content h4 {
        font-size: 1rem;
    }
    
    .timeline-content p {
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .patient-journey-section {
        padding: 60px 0;
    }
    
    .journey-timeline {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem 0;
    }
    
    .timeline-item {
        min-height: auto;
        padding: 1.25rem;
        flex-direction: row;
        text-align: left;
    }
    
    .timeline-item-second-row {
        grid-row: auto;
    }
    
    .timeline-icon {
        font-size: 1.5rem;
        margin-bottom: 0;
        margin-right: 1rem;
        flex-shrink: 0;
    }
    
    .timeline-icon-img {
        width: 45px;
        height: 45px;
    }
    
    .timeline-content {
        flex: 1;
        text-align: left;
    }
    
    .timeline-content h4 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .timeline-content p {
        font-size: 0.85rem;
    }
    
    .timeline-arrow,
    .timeline-arrow-second-row {
        display: none;
    }
    
    .journey-description {
        padding: 1.5rem;
    }
    
    .journey-description p {
        font-size: 1rem;
        text-align: left;
    }
}

/* Patient Stories Section */
.patient-stories-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    text-align: center;
}

.patient-stories-section .section-header h2 {
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    color: var(--accent-color) !important;
    margin-bottom: 1rem !important;
    letter-spacing: -0.3px;
}

.patient-stories-section .section-header p {
    font-size: 0.9rem;
    color: var(--text-dark);
    line-height: 1.5;
    max-width: 600px;
    margin: 0 auto;
}

/* Force professional font weight for patient stories heading */
.patient-stories-section h2 {
    font-weight: 700 !important;
    font-size: 2.5rem !important;
}

/* Medical Gallery Styles */
.medical-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}


/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.lightbox-content {
    position: relative;
    margin: auto;
    padding: 2rem;
    width: 90%;
    max-width: 1000px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: var(--accent-color);
}

#lightbox-image {
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}


.lightbox-navigation {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.lightbox-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 1.5rem;
    padding: 1rem;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
    backdrop-filter: blur(10px);
}

.lightbox-btn:hover {
    background: var(--accent-color);
    transform: scale(1.1);
}

.lightbox-btn.prev {
    margin-left: 1rem;
}

.lightbox-btn.next {
    margin-right: 1rem;
}

/* Responsive Gallery */
@media (max-width: 768px) {
    .medical-gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1rem;
        margin-top: 2rem;
    }
    
    .gallery-item img {
        height: 200px;
    }
    
    .gallery-overlay {
        padding: 1rem;
    }
    
    .gallery-overlay h3 {
        font-size: 1rem;
    }
    
    .gallery-overlay p {
        font-size: 0.8rem;
    }
    
    .lightbox-content {
        width: 95%;
        padding: 1rem;
    }
    
    .lightbox-btn {
        font-size: 1.2rem;
        padding: 0.8rem;
    }
}

/* Hero Content Spacing */
.hero-content-centered {
    padding-top: 3rem;
    margin-top: 1rem;
}

.hero-content-centered h1 {
    margin-top: 1.5rem;
}

/* Service Card Images */
.service-card-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    border-radius: 0;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
}

.service-card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.2), transparent);
}

.service-card-image img,
.service-card-image svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.service-card-image svg {
    object-fit: contain;
    padding: 1.5rem;
}

.service-card:hover .service-card-image img,
.service-card:hover .service-card-image svg {
    transform: scale(1.08);
}

.service-card-body p strong {
    color: var(--accent-color);
    font-weight: 700;
    background: none;
    padding: 0;
    border-radius: 0;
    display: inline;
    margin: 0;
    letter-spacing: 0.01em;
}

/* Service Item Visibility */
.service-item-hidden {
    display: none;
}

.service-item-visible {
    display: block;
}

/* Service Card Visibility */
/* All service cards are visible by default */
.service-card-hidden {
    display: block;
}

.service-card-visible {
    display: block;
}

/* Services Toggle Button - Hidden since all cards are shown by default */
.services-toggle-container {
    display: none;
}

.services-toggle-btn {
    background: linear-gradient(135deg, #2563eb 0%, #1e3a8a 100%);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 2rem auto 0;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    letter-spacing: 0.3px;
}

.services-toggle-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
}

.toggle-icon {
    transition: transform 0.3s ease;
    font-size: 0.9rem;
}

.services-toggle-btn.expanded .toggle-icon {
    transform: rotate(180deg);
}

/* Description Card */
.description-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--accent-color);
    text-align: left;
}

.description-card p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 1.25rem;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.description-card p:last-child {
    margin-bottom: 0;
}

.description-card p strong {
    color: var(--accent-color);
    font-weight: 700;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(30, 64, 175, 0.05) 100%);
    padding: 0.15em 0.3em;
    border-radius: 4px;
    display: inline-block;
    margin: 0 0.1em;
}

/* Tagline Card */
.tagline-card {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--darker-blue) 100%);
    color: white;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(19, 139, 132, 0.2);
}

.tagline-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    font-style: italic;
}

/* CTA Card */
.cta-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--accent-color);
}

.btn-book-appointment {
    background: var(--accent-color);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-book-appointment:hover {
    background: var(--darker-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(19, 139, 132, 0.3);
}

/* Section Header Styling */
.about .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.about .section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 0.75rem;
    letter-spacing: -0.5px;
}

.about .section-header p {
    font-size: 1.2rem;
    color: var(--text-dark);
    font-weight: 500;
    margin: 0;
}

/* Tablet Responsive */
@media (max-width: 1024px) {
    .about-card-professional {
        flex-direction: column;
    }
    
    .about-card-content {
        padding: 2.5rem;
    }
    
    .about-image-right {
        flex: none;
        width: 100%;
        padding: 2rem;
    }
    
    .about-image-right .about-doctor-photo {
        max-width: 300px;
        height: 380px;
    }
    
    .about .section-header h2 {
        font-size: 2.2rem;
    }
    
    .about .section-header p {
        font-size: 1.1rem;
    }
}

/* Responsive Design for About Section */
@media (max-width: 768px) {
    .about-content {
        padding: 0 1rem;
    }
    
    .about-card-professional {
        flex-direction: column;
        border-radius: 12px;
    }
    
    .about-card-content {
        padding: 2rem 1.5rem;
        gap: 1.5rem;
        order: 2;
        display: flex !important;
        visibility: visible !important;
        text-align: left !important;
    }
    
    .about-image-right {
        flex: none;
        width: 100%;
        padding: 1.5rem;
        order: 1;
        display: flex !important;
        visibility: visible !important;
    }
    
    .about-image-right .about-doctor-photo {
        max-width: 280px;
        height: 350px;
        margin: 0 auto;
    }
    
    .doctor-name-section {
        /* margin-bottom: 1rem !important; */
        text-align: left !important;
        display: block !important;
        visibility: visible !important;
    }
    
    .doctor-name-section h3 {
        font-size: 1.75rem;
        text-align: left !important;
    }
    
    .doctor-qualifications {
        font-size: 0.9rem;
        text-align: left !important;
    }
    
    .doctor-title {
        font-size: 1rem;
        text-align: left !important;
    }
    
    .title-underline {
        margin-left: 0 !important;
        margin-right: auto !important;
    }
    
    .doctor-description {
        display: block !important;
        visibility: visible !important;
        text-align: left !important;
    }
    
    .doctor-description p {
        font-size: 1rem;
        line-height: 1.75;
        display: block !important;
        visibility: visible !important;
        text-align: left !important;
    }
    
    .doctor-description p strong {
        color: var(--accent-color) !important;
        font-weight: 700 !important;
        background: none !important;
        padding: 0 !important;
        border-radius: 0 !important;
        display: inline !important;
        margin: 0 !important;
        letter-spacing: 0.01em !important;
    }
    
    .professional-qualifications {
        margin-top: 0.5rem;
        padding-top: 1.25rem;
    }
    
    .qualifications-title {
        font-size: 1.15rem;
        margin-bottom: 1rem;
    }
    
    .qualification-item {
        padding: 0.6rem;
        gap: 0.75rem;
    }
    
    .qual-text {
        font-size: 0.95rem;
    }
    
    .about .section-header {
        margin-bottom: 2rem;
    }
    
    .about .section-header h2 {
        font-size: 1.75rem;
    }
    
    .about .section-header p {
        font-size: 1rem;
    }
}

/* Credentials Highlight Section */
.credentials-highlight {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 4rem 0;
    border-top: 3px solid var(--accent-color);
    border-bottom: 3px solid var(--accent-color);
    position: relative;
    margin-top: 0;
}

.credentials-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
    align-items: stretch;
}

@media (max-width: 768px) {
    .credentials-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.credential-badge {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.credential-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
}

.credential-badge:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15);
    border-color: var(--accent-color);
}

.badge-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    width: 120px;
    height: 120px;
    margin-left: auto;
    margin-right: auto;
    min-width: 120px;
    min-height: 120px;
}

.badge-icon svg,
.badge-icon img {
    width: 120px;
    height: 120px;
    min-width: 120px;
    min-height: 120px;
    transition: transform 0.3s ease;
    object-fit: contain;
    display: block;
    visibility: visible;
    opacity: 1;
}

.credential-badge:hover .badge-icon svg,
.credential-badge:hover .badge-icon img {
    transform: scale(1.1) rotate(5deg);
}

.badge-content h3 {
    color: var(--accent-color);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.badge-content p {
    color: var(--text-dark);
    font-size: 0.9rem;
    font-weight: 500;
}

.credentials-description {
    text-align: left;
    /* max-width: 900px; */
    margin: 2.5rem auto 0;
    position: relative;
    z-index: 2;
    padding: 0 1rem;
}

.credentials-description p {
    font-size: 1.2rem;
    color: var(--text-dark);
    font-weight: 400;
    line-height: 1.9;
    background: var(--white);
    padding: 2.5rem 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-left: 5px solid var(--accent-color);
    position: relative;
    margin: 0;
    text-align: left;
    letter-spacing: 0.02em;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
}

.credentials-description p::before {
    content: '"';
    position: absolute;
    top: -8px;
    left: 20px;
    font-size: 5rem;
    color: var(--accent-color);
    font-family: 'Georgia', serif;
    opacity: 0.2;
    font-weight: 700;
    line-height: 1;
    z-index: 1;
}

.credentials-description p strong {
    color: var(--accent-color);
    font-weight: 700;
    background: none;
    padding: 0;
    border-radius: 0;
    display: inline;
    margin: 0;
    letter-spacing: 0.01em;
}

/* Qualification Badges in About Section */
.qualification-highlight {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.badge {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
    transition: var(--transition);
}

.badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

/* Bio Intro Styling */
.bio-intro {
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f0fdfa 0%, #e2e8f0 100%);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--accent-color);
    font-weight: 500;
}

/* Hero content styling */
.hero-content {
    position: relative;
    z-index: 3;
}

/* Entrance Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}


.hero .container {
    position: relative;
    z-index: 3;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(19, 139, 132, 0.1);
    box-shadow: 0 15px 50px rgba(19, 139, 132, 0.1);
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    line-height: 1.2;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-text h2 {
    font-size: 1.5rem;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    line-height: 1.8;
    background: var(--light-blue);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(19, 139, 132, 0.1);
    box-shadow: 0 8px 32px rgba(19, 139, 132, 0.1);
    animation: fadeInUp 1s ease-out 0.8s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease-out 1s both;
}

/* General btn-primary - will be overridden by hero-specific styles */
.btn-primary:not(.hero-buttons .btn-primary) {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--darker-blue) 100%);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.3);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--darker-blue) 0%, var(--accent-color) 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(29, 78, 216, 0.4);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    color: var(--accent-color);
    padding: 1rem 2rem;
    border: 2px solid var(--accent-color);
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(29, 78, 216, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.1), transparent);
    transition: left 0.5s;
}

.btn-secondary:hover::before {
    left: 100%;
}

.btn-secondary:hover {
    background: var(--accent-color);
    color: var(--white);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(29, 78, 216, 0.3);
    border-color: var(--darker-blue);
}

.hero-stats {
    display: flex;
    gap: 2rem;
    animation: fadeInUp 1s ease-out 1.2s both;
}

.stat {
    text-align: center;
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(19, 139, 132, 0.1);
    box-shadow: 0 8px 32px rgba(19, 139, 132, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.stat:hover::before {
    transform: scaleX(1);
}

.stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(19, 139, 132, 0.2);
    background: var(--light-blue);
    border-color: var(--accent-color);
}

.stat h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Ripple Effect for Buttons */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Additional Hero Animations */
.animate-in {
    animation-play-state: running;
}

/* Enhanced Stat Animations */
.stat:nth-child(1) {
    animation-delay: 0.1s;
}

.stat:nth-child(2) {
    animation-delay: 0.2s;
}

.stat:nth-child(3) {
    animation-delay: 0.3s;
}

.stat p {
    color: var(--text-dark);
    font-size: 0.9rem;
    font-weight: 500;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 1s ease-out 0.5s both;
}

.doctor-photo-container {
    position: relative;
    max-width: 400px;
    width: 100%;
    animation: fadeInRight 1s ease-out 0.7s both;
}

.doctor-photo {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    border: 4px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.doctor-photo-container::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(45deg, rgba(59, 130, 246, 0.2), rgba(96, 165, 250, 0.1), rgba(37, 99, 235, 0.2));
    border-radius: 25px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.doctor-photo-container:hover::before {
    opacity: 1;
}

.doctor-photo-container:hover .doctor-photo {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 35px 100px rgba(0, 0, 0, 0.4);
    border-color: rgba(96, 165, 250, 0.4);
}

.doctor-placeholder {
    margin-bottom: 1.5rem;
}

.logo-display {
    margin-bottom: 1.5rem;
    text-align: center;
}

.hero-logo-large {
    width: 280px;
    height: auto;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    border: 3px solid var(--white);
}

.hero-logo {
    width: 200px;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.service-tagline {
    font-size: 0.9rem;
    color: var(--accent-color);
    font-weight: 500;
    margin-top: 0.5rem;
    text-align: center;
}

.card-content h3 {
    color: var(--text-dark);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.card-content p {
    color: var(--text-dark);
    font-size: 1rem;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.9);
}

/* Services Section Header Override */
.services .section-header h2 {
    color: var(--accent-color);
    font-weight: 800;
    text-shadow: none;
    font-size: 2.5rem;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-dark);
    text-shadow: none;
}

/* Services Section Subtitle Override */
.services .section-header p {
    color: var(--text-dark);
    font-weight: 500;
    text-shadow: none;
    font-size: 1.1rem;
}

/* Gallery Section Header Override */
.gallery .section-header h2 {
    font-weight: 900;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.9);
}

/* Gallery Section Subtitle Override */
.gallery .section-header p {
    color: #000000;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

/* Testimonials Section Header Override */
.testimonials .section-header h2 {
    font-weight: 900;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.9);
}

/* Testimonials Section Subtitle Override */
.testimonials .section-header p {
    color: #000000;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

/* Feedback Section Header Override */
.feedback-section .section-header h2 {
    font-weight: 900;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.9);
}

/* Feedback Section Subtitle Override */
.feedback-section .section-header p {
    color: #000000;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

/* Rating Section Header Override */
.rating-section .section-header h2 {
    color: var(--accent-color);
    font-weight: 800;
    text-shadow: none;
}

/* Rating Section Subtitle Override */
.rating-section .section-header p {
    color: #475569;
    font-weight: 500;
    text-shadow: none;
}

/* Contact Section Header Override */
.contact .section-header h2 {
    color: #000000;
    font-weight: 900;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.9);
}

/* Contact Section Subtitle Override */
.contact .section-header p {
    color: #000000;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

/* About Section */
.about {
    padding: 60px 0 40px 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.about .container {
    position: relative;
    z-index: 2;
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
    transition: width 0.8s ease;
    animation: underlineExpand 1.5s ease-out 1s both;
}

@keyframes underlineExpand {
    0% { width: 0; }
    100% { width: 100%; }
}

.section-header p {
    font-size: 1.3rem;
    color: var(--text-dark);
    font-weight: 500;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    animation: fadeInUp 1s ease-out 0.6s both;
    padding: 1rem 0;
    /* max-width: 800px; */
    margin: 0 auto;
}

.about-image {
    text-align: center;
    animation: fadeInUp 1s ease-out 0.8s both;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    width: 100%;
}

.about-doctor-photo {
    width: 100%;
    max-width: 400px;
    height: 320px;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: 0 25px 80px rgba(19, 139, 132, 0.2);
    border: 4px solid rgba(19, 139, 132, 0.1);
    transition: all 0.5s ease;
    position: relative;
    cursor: pointer;
    margin: 0;
    padding: 0;
    display: block;
}

.about-image:hover .about-doctor-photo {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 35px 100px rgba(19, 139, 132, 0.3);
    border-color: rgba(19, 139, 132, 0.3);
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    animation: fadeInUp 1s ease-out 1s both;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 20px;
    border: 1px solid rgba(19, 139, 132, 0.1);
    box-shadow: 0 15px 50px rgba(19, 139, 132, 0.1);
    margin: 0;
    width: 100%;
    text-align: center;
}

/* Doctor Header */
.doctor-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.doctor-header h3 {
    color: var(--accent-color);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.doctor-titles {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
}

.title-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
}

.title-badge.primary {
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(19, 139, 132, 0.3);
}

.title-badge.secondary {
    background: var(--light-blue);
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
}

/* Qualifications Section */
.qualifications-section {
    margin-bottom: 1.5rem;
}

.qualifications-section h4 {
    color: var(--accent-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.qualification-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.qual-badge {
    background: var(--white);
    color: var(--accent-color);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    border: 2px solid var(--accent-color);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(19, 139, 132, 0.1);
}

.qual-badge.highlight {
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    color: var(--white);
    border-color: var(--accent-color);
    box-shadow: 0 6px 20px rgba(19, 139, 132, 0.3);
    transform: scale(1.05);
}

.qual-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(19, 139, 132, 0.2);
}

/* Professional Title */
.professional-title {
    margin-bottom: 1.5rem;
}

.prof-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--light-blue);
    color: var(--accent-color);
    padding: 1rem 1.5rem;
    border-radius: 15px;
    border: 2px solid var(--accent-color);
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(19, 139, 132, 0.1);
}

.prof-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(19, 139, 132, 0.2);
    background: var(--accent-color);
    color: var(--white);
}

/* About Paragraph */
.about-paragraph {
    margin-bottom: 1.5rem;
}

.about-paragraph p {
    color: var(--text-dark);
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.8;
    background: var(--light-blue);
    padding: 1.5rem;
    border-radius: 15px;
    border-left: 4px solid var(--accent-color);
    box-shadow: 0 4px 15px rgba(19, 139, 132, 0.1);
}

/* About CTA Button */
.about-cta {
    margin-bottom: 1.5rem;
    text-align: center;
}

.btn-book-appointment {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(19, 139, 132, 0.3);
    border: 2px solid transparent;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn-book-appointment::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-book-appointment:hover::before {
    left: 100%;
}

.btn-book-appointment:hover {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(19, 139, 132, 0.4);
    border-color: var(--white);
}

/* Icons Section */
.icons-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.icon-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 15px;
    border: 2px solid rgba(19, 139, 132, 0.1);
    box-shadow: 0 8px 25px rgba(19, 139, 132, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.icon-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(19, 139, 132, 0.1), transparent);
    transition: left 0.6s ease;
}

.icon-card:hover::before {
    left: 100%;
}

.icon-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(19, 139, 132, 0.2);
    border-color: var(--accent-color);
}

.icon-badge {
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    color: var(--white);
    padding: 0.75rem 1rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.75rem;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(19, 139, 132, 0.3);
}

.icon-label {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .about-content {
        max-width: 700px;
        gap: 1.5rem;
    }
    
    .about-doctor-photo {
        max-width: 350px;
        height: 450px;
    }
    
    .icons-section {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about {
        padding: 50px 0 30px 0;
    }
    
    .section-header h2 {
        font-size: 2.5rem;
        text-align: left;
    }
    
    .section-header p {
        font-size: 1.1rem;
    }
    
    .about-content {
        gap: 1.5rem;
        max-width: 600px;
    }
    
    .about-doctor-photo {
        max-width: 300px;
        height: 400px;
    }
    
    .doctor-header h3 {
        font-size: 2rem;
    }
    
    .doctor-titles {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .qualification-badges {
        flex-direction: column;
        align-items: center;
    }
    
    .qual-badge {
        width: 100%;
        text-align: center;
    }
    
    .icons-section {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .icon-card {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .about-text {
        padding: 1.5rem;
    }
    
    .doctor-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .doctor-header h3 {
        font-size: 1.8rem;
    }
    
    .title-badge {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }
    
    .qualifications-section h4 {
        font-size: 1.3rem;
    }
    
    .about-paragraph p {
        font-size: 1rem;
        padding: 1rem;
    }
    
    .btn-book-appointment {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Services Section */
.services {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

/* Services List */
.services-list {
    max-width: 1000px;
    margin: 3rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    animation: fadeInUp 1s ease-out 0.6s both;
}


/* Service Items */
.service-item {
    background: var(--white);
    border-radius: 12px;
    border-left: 4px solid var(--accent-color);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    padding: 2rem 2.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.service-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 24px rgba(37, 99, 235, 0.15);
    border-left-width: 5px;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin: 0 0 1.25rem 0;
    line-height: 1.3;
    letter-spacing: -0.3px;
}

.service-points {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.service-points li {
    position: relative;
    padding-left: 1.75rem;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-dark);
    font-weight: 400;
    letter-spacing: 0.01em;
}

.service-points li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Service Card Content Layout */
.service-card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.5rem;
    text-align: left;
    gap: 1rem;
    min-height: 0;
}

.service-card-header {
    margin-bottom: 0;
    flex: 0 0 auto;
}

.service-card-body {
    flex: 0 0 auto;
    margin-bottom: 0;
    min-height: 0;
}

.service-card-footer {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 1rem;
    flex: 0 0 auto;
}

/* Service Card Content */
.service-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0 0 0.75rem 0;
    color: var(--accent-color);
    line-height: 1.35;
    letter-spacing: -0.4px;
}

.service-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #374151;
    margin: 0;
    font-weight: 400;
    letter-spacing: 0.01em;
}

/* Service Features */
.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: flex-start;
    margin-bottom: 0;
    padding-top: 0.5rem;
}

.feature-tag {
    background: linear-gradient(135deg, #2563eb 0%, #1e3a8a 100%);
    color: var(--white);
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
    border: none;
    white-space: nowrap;
    line-height: 1.4;
    flex: 0 0 calc(50% - 0.375rem);
    text-align: center;
    box-sizing: border-box;
}

.feature-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
}

/* Service Benefits */
.service-benefits {
    display: none;
}

.benefit-item {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #065f46;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 1px 4px rgba(16, 185, 129, 0.25);
    white-space: nowrap;
    line-height: 1.4;
    letter-spacing: 0.2px;
}

.benefit-item:hover {
    background: linear-gradient(135deg, #a7f3d0 0%, #d1fae5 100%);
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(16, 185, 129, 0.35);
}

/* Responsive Design for Services */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    
    .services .section-header h2 {
        font-size: 2.2rem;
    }
    
    .service-card-content {
        padding: 1.35rem;
        gap: 0.9rem;
    }
    
    .service-card h3 {
        font-size: 1.25rem;
        margin-bottom: 0.6rem;
    }
    
    .service-card p {
        font-size: 0.9rem;
        line-height: 1.7;
    }
    
    .service-features {
        gap: 0.6rem;
    }
    
    .service-benefits {
        gap: 0.6rem;
    }
    
    .feature-tag {
        font-size: 0.75rem;
        padding: 0.55rem 1.1rem;
        letter-spacing: 0.25px;
        flex: 0 0 calc(50% - 0.3rem);
    }
    
    .benefit-item {
        font-size: 0.75rem;
        padding: 0.55rem 1.1rem;
        letter-spacing: 0.2px;
    }
    
    /* Ensure all service cards are visible on tablets */
    .service-card-hidden {
        display: block !important;
    }
    
    /* Hide toggle button on tablets */
    .services-toggle-container {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .services {
        padding: 60px 0;
    }
    
    .services .section-header h2 {
        font-size: 2rem;
        text-align: left !important;
    }
    
    .services-list {
        gap: 1.75rem;
        margin-top: 2rem;
    }
    
    .service-item {
        padding: 1.5rem 1.75rem;
    }
    
    .service-title {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .service-points {
        gap: 0.75rem;
    }
    
    .service-points li {
        font-size: 0.9rem;
        line-height: 1.65;
        padding-left: 1.5rem;
    }
    
    .service-points li::before {
        font-size: 1rem;
    }
    
    /* Ensure all service cards are visible on mobile */
    .service-card-hidden {
        display: block !important;
    }
    
    .service-card {
        display: block !important;
    }
    
    /* Hide toggle button on mobile */
    .services-toggle-container {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .services {
        padding: 50px 0;
    }
    
    .services-grid {
        gap: 1rem;
    }
    
    .service-card-content {
        padding: 1.25rem;
    }
    
    .service-card h3 {
        font-size: 1.2rem;
    }
    
    .service-card p {
        font-size: 0.9rem;
    }
    
    /* Ensure all service cards are visible on small mobile */
    .service-card-hidden {
        display: block !important;
    }
    
    .service-card {
        display: block !important;
    }
    
    /* Hide toggle button on small mobile */
    .services-toggle-container {
        display: none !important;
    }
}

/* New Services Layout */
.main-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.main-service-item {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    animation: floatIn 0.8s ease-out forwards;
    opacity: 0;
}

.main-service-item:nth-child(1) {
    animation-delay: 0.1s;
}

.main-service-item:nth-child(2) {
    animation-delay: 0.3s;
}

.main-service-item:nth-child(3) {
    animation-delay: 0.5s;
}

.service-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.main-service-item:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    padding: 2rem;
}

.service-content h3 {
    color: var(--text-dark);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.service-description {
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Additional Services */
.additional-services {
    display: none;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.additional-service-item {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.additional-service-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Read More Button */
.read-more-container {
    text-align: center;
    margin-top: 2rem;
}

.read-more-btn {
    background: var(--accent-color);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--shadow);
}

.read-more-btn:hover {
    background: var(--darker-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.read-more-btn.active {
    background: var(--darker-blue);
}

.btn-icon {
    transition: var(--transition);
}

/* Animations */
@keyframes floatIn {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.service-card {
    background: var(--white);
    padding: 12px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 4px solid var(--primary-color);
}

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

/* Head & Neck Cancer Surgery specific styling */
.service-card.head-neck-surgery {
    background-image: url('head.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.service-card.head-neck-surgery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.4);
    z-index: 1;
}

.service-card.head-neck-surgery > * {
    position: relative;
    z-index: 2;
}

.service-card.head-neck-surgery h3 {
    color: #1f2937;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.9), 0 0 10px rgba(255, 255, 255, 0.8);
    font-weight: 700;
}

.service-card.head-neck-surgery p {
    color: #1f2937;
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.9), 0 0 8px rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.service-card.head-neck-surgery .feature-tag {
    background: rgba(255, 255, 255, 0.9);
    color: #1d4ed8;
    text-shadow: none;
    font-weight: 600;
    border: 2px solid #1d4ed8;
}

/* Hover effects for Head & Neck Cancer Surgery */
.service-card.head-neck-surgery:hover {
    background-image: url('head.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(0px);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(30, 64, 175, 0.2);
    transition: all 0.3s ease;
}

.service-card.head-neck-surgery:hover::before {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.service-card.head-neck-surgery:hover h3 {
    text-shadow: 3px 3px 6px rgba(255, 255, 255, 1), 0 0 15px rgba(255, 255, 255, 1);
    transition: all 0.3s ease;
}

.service-card.head-neck-surgery:hover p {
    text-shadow: 2px 2px 5px rgba(255, 255, 255, 1), 0 0 12px rgba(255, 255, 255, 1);
    transition: all 0.3s ease;
}

.service-card.head-neck-surgery:hover .feature-tag {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

/* Reconstructive & Restorative Surgery specific styling */
.service-card.reconstructive-surgery {
    background-image: url('neck.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.service-card.reconstructive-surgery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.4);
    z-index: 1;
}

.service-card.reconstructive-surgery > * {
    position: relative;
    z-index: 2;
}

.service-card.reconstructive-surgery h3 {
    color: #1f2937;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.9), 0 0 10px rgba(255, 255, 255, 0.8);
    font-weight: 700;
}

.service-card.reconstructive-surgery p {
    color: #1f2937;
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.9), 0 0 8px rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.service-card.reconstructive-surgery .feature-tag {
    background: rgba(255, 255, 255, 0.9);
    color: #1d4ed8;
    text-shadow: none;
    font-weight: 600;
    border: 2px solid #1d4ed8;
}

/* Hover effects for Reconstructive & Restorative Surgery */
.service-card.reconstructive-surgery:hover {
    background-image: url('neck.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(0px);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(30, 64, 175, 0.2);
    transition: all 0.3s ease;
}

.service-card.reconstructive-surgery:hover::before {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.service-card.reconstructive-surgery:hover h3 {
    text-shadow: 3px 3px 6px rgba(255, 255, 255, 1), 0 0 15px rgba(255, 255, 255, 1);
    transition: all 0.3s ease;
}

.service-card.reconstructive-surgery:hover p {
    text-shadow: 2px 2px 5px rgba(255, 255, 255, 1), 0 0 12px rgba(255, 255, 255, 1);
    transition: all 0.3s ease;
}

.service-card.reconstructive-surgery:hover .feature-tag {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

/* Thyroid & Parathyroid Surgery specific styling */
.service-card.thyroid-surgery {
    background-image: url('surogen.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.service-card.thyroid-surgery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.4);
    z-index: 1;
}

.service-card.thyroid-surgery > * {
    position: relative;
    z-index: 2;
}

.service-card.thyroid-surgery h3 {
    color: #1f2937;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.9), 0 0 10px rgba(255, 255, 255, 0.8);
    font-weight: 700;
}

.service-card.thyroid-surgery p {
    color: #1f2937;
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.9), 0 0 8px rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.service-card.thyroid-surgery .feature-tag {
    background: rgba(255, 255, 255, 0.9);
    color: #1d4ed8;
    text-shadow: none;
    font-weight: 600;
    border: 2px solid #1d4ed8;
}

/* Hover effects for Thyroid & Parathyroid Surgery */
.service-card.thyroid-surgery:hover {
    background-image: url('surogen.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(0px);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(30, 64, 175, 0.2);
    transition: all 0.3s ease;
}

.service-card.thyroid-surgery:hover::before {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.service-card.thyroid-surgery:hover h3 {
    text-shadow: 3px 3px 6px rgba(255, 255, 255, 1), 0 0 15px rgba(255, 255, 255, 1);
    transition: all 0.3s ease;
}

.service-card.thyroid-surgery:hover p {
    text-shadow: 2px 2px 5px rgba(255, 255, 255, 1), 0 0 12px rgba(255, 255, 255, 1);
    transition: all 0.3s ease;
}

.service-card.thyroid-surgery:hover .feature-tag {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

/* Salivary Gland Surgery specific styling */
.service-card.salivary-surgery {
    background-image: url('Salivary Gland Surgery.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.service-card.salivary-surgery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.3);
    z-index: 1;
}

.service-card.salivary-surgery > * {
    position: relative;
    z-index: 2;
}

.service-card.salivary-surgery h3 {
    color: #1f2937;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.9), 0 0 10px rgba(255, 255, 255, 0.8);
    font-weight: 700;
}

.service-card.salivary-surgery p {
    color: #1f2937;
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.9), 0 0 8px rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.service-card.salivary-surgery .feature-tag {
    background: rgba(255, 255, 255, 0.9);
    color: #1d4ed8;
    text-shadow: none;
    font-weight: 600;
    border: 2px solid #1d4ed8;
}

/* Hover effects for Salivary Gland Surgery */
.service-card.salivary-surgery:hover {
    background-image: url('Salivary Gland Surgery.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(0px);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(30, 64, 175, 0.2);
    transition: all 0.3s ease;
}

.service-card.salivary-surgery:hover::before {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.service-card.salivary-surgery:hover h3 {
    text-shadow: 3px 3px 6px rgba(255, 255, 255, 1), 0 0 15px rgba(255, 255, 255, 1);
    transition: all 0.3s ease;
}

.service-card.salivary-surgery:hover p {
    text-shadow: 2px 2px 5px rgba(255, 255, 255, 1), 0 0 12px rgba(255, 255, 255, 1);
    transition: all 0.3s ease;
}

.service-card.salivary-surgery:hover .feature-tag {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

/* Minimally Invasive Techniques specific styling */
.service-card.minimally-invasive {
    background-image: url('Minimally Invasive Techniques.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.service-card.minimally-invasive::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.3);
    z-index: 1;
}

.service-card.minimally-invasive > * {
    position: relative;
    z-index: 2;
}

.service-card.minimally-invasive h3 {
    color: #1f2937;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.9), 0 0 10px rgba(255, 255, 255, 0.8);
    font-weight: 700;
}

.service-card.minimally-invasive p {
    color: #1f2937;
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.9), 0 0 8px rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.service-card.minimally-invasive .feature-tag {
    background: rgba(255, 255, 255, 0.9);
    color: #1d4ed8;
    text-shadow: none;
    font-weight: 600;
    border: 2px solid #1d4ed8;
}

/* Hover effects for Minimally Invasive Techniques */
.service-card.minimally-invasive:hover {
    background-image: url('Minimally Invasive Techniques.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(0px);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(30, 64, 175, 0.2);
    transition: all 0.3s ease;
}

.service-card.minimally-invasive:hover::before {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.service-card.minimally-invasive:hover h3 {
    text-shadow: 3px 3px 6px rgba(255, 255, 255, 1), 0 0 15px rgba(255, 255, 255, 1);
    transition: all 0.3s ease;
}

.service-card.minimally-invasive:hover p {
    text-shadow: 2px 2px 5px rgba(255, 255, 255, 1), 0 0 12px rgba(255, 255, 255, 1);
    transition: all 0.3s ease;
}

.service-card.minimally-invasive:hover .feature-tag {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

/* Comprehensive Cancer Care specific styling */
.service-card.comprehensive-care {
    background-image: url('Comprehensive Cancer Care.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.service-card.comprehensive-care::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.3);
    z-index: 1;
}

.service-card.comprehensive-care > * {
    position: relative;
    z-index: 2;
}

.service-card.comprehensive-care h3 {
    color: #1f2937;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.9), 0 0 10px rgba(255, 255, 255, 0.8);
    font-weight: 700;
}

.service-card.comprehensive-care p {
    color: #1f2937;
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.9), 0 0 8px rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.service-card.comprehensive-care .feature-tag {
    background: rgba(255, 255, 255, 0.9);
    color: #1d4ed8;
    text-shadow: none;
    font-weight: 600;
    border: 2px solid #1d4ed8;
}

/* Hover effects for Comprehensive Cancer Care */
.service-card.comprehensive-care:hover {
    background-image: url('Comprehensive Cancer Care.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(0px);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(30, 64, 175, 0.2);
    transition: all 0.3s ease;
}

.service-card.comprehensive-care:hover::before {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.service-card.comprehensive-care:hover h3 {
    text-shadow: 3px 3px 6px rgba(255, 255, 255, 1), 0 0 15px rgba(255, 255, 255, 1);
    transition: all 0.3s ease;
}

.service-card.comprehensive-care:hover p {
    text-shadow: 2px 2px 5px rgba(255, 255, 255, 1), 0 0 12px rgba(255, 255, 255, 1);
    transition: all 0.3s ease;
}

.service-card.comprehensive-care:hover .feature-tag {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.service-icon {
    margin-bottom: 1.5rem;
}

.service-card h3 {
    color: var(--text-dark);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.feature-tag {
    background: var(--light-blue);
    color: var(--accent-color);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid var(--accent-color);
    transition: all 0.3s ease;
}

.feature-tag:hover {
    background: var(--accent-color);
    color: var(--white);
    transform: translateY(-1px);
}

/* Enhanced Gallery Section */
.gallery {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}

.gallery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

/* Enhanced Gallery Carousel */
.gallery-carousel-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 25px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    background: var(--white);
}

.gallery-carousel {
    position: relative;
    height: 600px;
    background: var(--white);
    border-radius: 25px;
    overflow: hidden;
}

.gallery-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: all 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background: var(--white);
    border-radius: 25px;
    overflow: hidden;
}

.gallery-slide.active {
    opacity: 1;
    transform: translateX(0);
}

.gallery-slide:not(.active) {
    opacity: 0;
    transform: translateX(100%);
    pointer-events: none;
}

.slide-image {
    height: 100%;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.8s ease;
    display: block;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    filter: brightness(1.1) contrast(1.15) saturate(1.1);
}

/* Image Overlay */
.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.8) 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2rem;
    opacity: 0;
    transition: all 0.4s ease;
    backdrop-filter: blur(2px);
}

.slide-image:hover .image-overlay {
    opacity: 1;
}

.slide-image:hover img {
    transform: scale(1.05);
    filter: brightness(1.2) contrast(1.2) saturate(1.2);
}

.overlay-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.overlay-content h3 {
    color: #ffffff;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.7);
    letter-spacing: -0.02em;
}

.overlay-content p {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
    line-height: 1.6;
}

.overlay-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.overlay-tags .tag {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.overlay-tags .tag:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.zoom-icon {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.zoom-icon i {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: bold;
}

.zoom-icon:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* Fallback for images that fail to load */
.slide-image.loading {
    background: var(--light-blue);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-image.loading::before {
    content: 'Loading...';
    color: var(--text-dark);
    font-size: 1rem;
    display: block;
}

.slide-content {
    padding: 2.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.slide-content h3 {
    color: var(--text-dark);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    text-align: center;
    letter-spacing: -0.02em;
}

.slide-description {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    text-align: center;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.slide-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
    margin-top: auto;
}

.slide-tag {
    background: linear-gradient(135deg, var(--light-blue) 0%, #e0f2fe 100%);
    color: var(--accent-color);
    padding: 0.7rem 1.2rem;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    border: 2px solid var(--accent-color);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
}

.slide-tag:hover {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--darker-blue) 100%);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}




/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

.lightbox-content {
    position: relative;
    margin: 2% auto;
    width: 90%;
    max-width: 1000px;
    height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #ffffff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    color: var(--accent-color);
    transform: scale(1.1);
}

#lightbox-image {
    max-width: 100%;
    max-height: 80%;
    object-fit: contain;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-info {
    text-align: center;
    color: #ffffff;
    margin-top: 2rem;
    max-width: 600px;
}

.lightbox-info h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.lightbox-info p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #e5e7eb;
}

.lightbox-navigation {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    pointer-events: none;
}

.lightbox-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    pointer-events: all;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.lightbox-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}



/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--light-blue);
    color: var(--text-dark);
    border: 2px solid transparent;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--accent-color);
    color: var(--white);
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

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

.gallery-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.gallery-image {
    position: relative;
    height: 250px;
    background: var(--light-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Gallery Background Images */
.gallery-image.modern-operating-theater {
    background-image: url('Modern Operating Theater.png');
}

.gallery-image.advanced-imaging-equipment {
    background-image: url('Advanced Imaging Equipment.png');
}

.gallery-image.minimally-invasive-surgery {
    background-image: url('Minimally Invasive Surgery.png');
}

.gallery-image.recovery-room {
    background-image: url('Recovery Room.png');
}

.gallery-image.microscopic-equipment {
    background-image: url('Microscopic Equipment.png');
}

.gallery-image.reconstructive-surgery {
    background-image: url('Reconstructive Surgery.png');
}

.image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.5));
    color: var(--white);
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.gallery-overlay h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.gallery-overlay p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.view-btn {
    background: var(--accent-color);
    color: var(--white);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.view-btn:hover {
    background: var(--darker-blue);
    transform: translateY(-2px);
}

/* Gallery Modal Styles */
.gallery-modal {
    max-width: 800px;
    padding: 0;
}

.gallery-modal-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2rem;
}

.gallery-modal-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-blue);
    border-radius: var(--border-radius);
    padding: 2rem;
}

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

.gallery-modal-info h3 {
    color: var(--text-dark);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.gallery-modal-info p {
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.gallery-modal-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.feature-badge {
    background: var(--accent-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.gallery-modal-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    background: var(--gray-50);
    border-top: 1px solid #e2e8f0;
}

.nav-btn {
    background: var(--accent-color);
    color: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: bold;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: var(--darker-blue);
    transform: scale(1.1);
}

.gallery-counter {
    color: var(--text-dark);
    font-weight: 500;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(37, 99, 235, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(30, 64, 175, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.cta-section .container {
    position: relative;
    z-index: 2;
}


/* Performance optimizations for glassmorphism */
@media (prefers-reduced-motion: reduce) {
    .rating-card,
    .rating-summary {
        transition: none;
        animation: none;
    }
}

/* Fallback for browsers that don't support backdrop-filter */
@supports not (backdrop-filter: blur(10px)) {
    .rating-card,
    .rating-summary {
        background: rgba(255, 255, 255, 0.8);
    }
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .rating-section {
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
    }
    
    .rating-card,
    .rating-summary {
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
}

.cta-content {
    max-width: 900px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--accent-color);
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.cta-content p {
    color: var(--text-dark);
    font-size: 1.25rem;
    margin-bottom: 3rem;
    font-weight: 500;
    line-height: 1.6;
}

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

.cta-btn-primary,
.cta-btn-whatsapp,
.cta-btn-call {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.25rem 2.25rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.3px;
}

.cta-btn-icon {
    width: 40px;
    height: 40px;
    display: inline-block;
    flex-shrink: 0;
    object-fit: contain;
}

.cta-btn-primary .cta-btn-icon,
.cta-btn-whatsapp .cta-btn-icon {
    filter: brightness(0) invert(1);
}

.cta-btn-call .call-icon {
    width: 36px;
    height: 36px;
    filter: brightness(0) invert(1);
}

.cta-btn-primary {
    background: linear-gradient(135deg, #FCD34D 0%, #F59E0B 100%);
    color: #1F2937;
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.25);
}

.cta-btn-primary:hover {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(245, 158, 11, 0.35);
    color: #1F2937;
}

.cta-btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: var(--white);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.25);
}

.cta-btn-whatsapp:hover {
    background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.35);
}

.cta-btn-call {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--darker-blue) 100%);
    color: var(--white);
    border: 2px solid transparent;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.25);
    padding: 1.25rem 2rem;
    min-width: 200px;
}

.call-btn-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.cta-btn-call i {
    font-size: 1.2rem;
    color: var(--accent-color);
    flex-shrink: 0;
}

.call-btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    line-height: 1.2;
}

.call-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
}

.cta-btn-call .phone-number {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.5px;
}

.cta-btn-call:hover {
    background: linear-gradient(135deg, var(--darker-blue) 0%, var(--accent-color) 100%);
    border-color: transparent;
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.35);
}

.cta-btn-call:hover .call-icon {
    filter: brightness(0) invert(1);
}

.cta-btn-call:hover .call-label {
    color: var(--white);
}

.cta-btn-call:hover .phone-number {
    color: var(--white);
}

/* Contact Section */
/* Get in Touch Section */
.get-in-touch {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    position: relative;
}

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

.contact-details {
    padding-right: 2rem;
}

.contact-header {
    margin-bottom: 2rem;
}

.contact-header h2 {
    color: var(--accent-color);
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    line-height: 1.2;
    letter-spacing: -0.3px;
}

.contact-header p {
    color: var(--text-dark);
    font-size: 1.1rem;
    line-height: 1.5;
    font-weight: 500;
    min-width: 617px;
}

.contact-details {
    display: flex;
    flex-direction: column;
}

.contact-info-grid {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 2rem;
}

/* Contact Map Container */
.contact-map-container {
    margin-top: 2rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.12);
    border: 1px solid rgba(37, 99, 235, 0.08);
}

.contact-map-container .map-wrapper {
    position: relative;
    width: 100%;
    height: 350px;
    border-radius: 12px;
    overflow: hidden;
}

.contact-map-container .map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.1);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.15);
    border-color: rgba(37, 99, 235, 0.25);
}

.contact-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    min-height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(30, 64, 175, 0.18));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
    border: 2px solid rgba(37, 99, 235, 0.1);
}

.contact-item:hover .contact-icon {
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    transform: scale(1.05);
    border-color: var(--accent-color);
}

.contact-icon i {
    font-size: 1.4rem;
    color: var(--accent-color);
    transition: all 0.3s ease;
    display: block;
}

.contact-item:hover .contact-icon i {
    color: var(--white);
}

@media (max-width: 480px) {
    .contact-icon-img {
        width: 123px;
        height: 44px;
    }
}

@media (max-width: 768px) {
    .contact-icon-img {
        width: 123px;
        height: 44px;
    }
}

.contact-icon-img {
    width: 117px;
    height: 51px;
    object-fit: contain;
    transition: all 0.3s 
ease;
    /* filter: brightness(0) saturate(100%) invert(30%) sepia(96%) saturate(7471%) hue-rotate(217deg) brightness(99%) contrast(101%); */
}

/* .contact-item:hover .contact-icon-img {
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%);
} */

.contact-text h4 {
    color: var(--text-dark);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    letter-spacing: 0.2px;
}

.contact-text p {
    color: var(--text-light);
    line-height: 1.5;
    margin: 0;
    font-size: 0.95rem;
}

.contact-text a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-text a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Map Container */
/* Appointment Form Container */
.appointment-form-container {
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(37, 99, 235, 0.12);
    border: 1px solid rgba(37, 99, 235, 0.08);
    padding: 2.5rem;
    position: relative !important;
    top: 142px !important;
}

.appointment-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.form-title {
    color: var(--text-dark);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-align: center;
}

.form-subtitle {
    color: var(--text-light);
    font-size: 1rem;
    text-align: center;
    margin-bottom: 2rem;
}

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

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.form-field {
    position: relative;
    display: flex;
    flex-direction: column;
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #f8fafc;
    color: var(--text-dark);
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.form-field input.error,
.form-field textarea.error {
    border-color: #ef4444;
    background: #fef2f2;
}

.form-field input.success,
.form-field textarea.success {
    border-color: #10b981;
    background: #f0fdf4;
}

.error-message {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: none;
}

.error-message.show {
    display: block;
}

.form-field textarea {
    resize: vertical;
    min-height: 100px;
    max-height: 200px;
}

.btn-submit-appointment {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: var(--white);
    padding: 1.25rem 2.5rem;
    border: none;
    border-radius: 10px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
    margin-top: 0.5rem;
}

.btn-submit-appointment:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.4);
}

.btn-submit-appointment:active {
    transform: translateY(0);
}

.btn-submit-appointment svg {
    transition: transform 0.3s ease;
}

.btn-submit-appointment:hover svg {
    transform: translateX(3px);
}

/* Dr. Rahul Shah Section */
.dr-rahul-section {
    padding: 80px 0;
    background: var(--white);
    position: relative;
}

.dr-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.dr-video-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(19, 139, 132, 0.15);
    border: 1px solid rgba(19, 139, 132, 0.1);
}

.dr-video-wrapper {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
}

.dr-video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.dr-info {
    padding: 2rem;
    text-align: left;
}

.dr-info h3 {
    color: var(--accent-color);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-align: left;
}

.dr-info p {
    color: var(--text-dark);
    font-size: 16px !important;
    line-height: 1.7;
    margin-bottom: 2rem;
    text-align: justify;
}

.dr-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(19, 139, 132, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(19, 139, 132, 0.1);
    transition: all 0.3s ease;
}

.highlight-item:hover {
    background: rgba(19, 139, 132, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(19, 139, 132, 0.1);
}

.highlight-item i {
    font-size: 1.5rem;
    color: var(--accent-color);
    width: 30px;
    text-align: center;
}

.highlight-item span {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1rem;
    text-align: left;
    text-transform: none;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background: var(--white);
    position: relative;
}

/* Feedback Section */
.feedback-section {
    padding: 80px 0;
    background: var(--light-blue);
}

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

.feedback-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    background: var(--white);
}

.feedback-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feedback-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.feedback-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.feedback-item:hover .feedback-image img {
    transform: scale(1.1);
}

.feedback-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: var(--white);
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: var(--transition);
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
}

.feedback-item:hover .feedback-overlay {
    transform: translateY(0);
}

.feedback-content {
    text-align: left;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
}

.feedback-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--white);
    text-align: left;
    line-height: 1.4;
    width: 100%;
}

.feedback-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    text-align: left;
    margin: 0;
    width: 100%;
}

/* Video styling in feedback gallery */
.feedback-video {
    position: relative;
    height: 300px;
    overflow: hidden;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feedback-video video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: var(--border-radius);
    transition: var(--transition);
    background: #000;
}

.video-item:hover .feedback-video video {
    transform: scale(1.02);
}

/* Ensure video poster image is clear */
.feedback-video video[poster] {
    object-fit: cover;
    background-size: cover;
    background-position: center;
}

/* Custom video play button */
.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    border: 3px solid var(--accent-color);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.video-play-button:hover {
    background: var(--accent-color);
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.5);
}

.play-icon {
    color: var(--white);
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 2px;
}

.play-text {
    color: var(--white);
    font-size: 10px;
    font-weight: 600;
    text-align: center;
    line-height: 1;
}

/* Hide play button when video is playing */
.video-item.playing .video-play-button {
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.8);
}

/* Video controls styling */
.feedback-video video::-webkit-media-controls {
    background-color: rgba(0, 0, 0, 0.7);
}

.feedback-video video::-webkit-media-controls-panel {
    background-color: rgba(0, 0, 0, 0.8);
}

.feedback-video video::-webkit-media-controls-play-button {
    background-color: var(--accent-color);
    border-radius: 50%;
}

/* Video Modal */
.video-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: scaleIn 0.3s ease;
}

.video-modal-content video {
    width: 100%;
    height: auto;
    max-height: 90vh;
    display: block;
    outline: none;
}

.video-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    transition: all 0.3s ease;
    line-height: 1;
}

.video-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Responsive Video Modal */
@media (max-width: 768px) {
    .video-modal-content {
        width: 95%;
        max-height: 85vh;
    }
    
    .video-modal-close {
        top: 10px;
        right: 15px;
        font-size: 35px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .video-modal-content {
        width: 100%;
        max-height: 80vh;
        border-radius: 0;
    }
    
    .video-modal-close {
        top: 8px;
        right: 12px;
        font-size: 30px;
        width: 40px;
        height: 40px;
    }
}

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto 2rem;
    overflow: hidden;
}

.testimonial-card {
    display: none;
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.testimonial-card.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.testimonial-stars {
    display: flex;
    justify-content: center;
    gap: 0.3rem;
    margin-bottom: 1.5rem;
}

.testimonial-stars .star {
    font-size: 1.5rem;
    color: #d1d5db;
    transition: all 0.3s ease;
}

.testimonial-stars .star.filled {
    color: #fbbf24;
    text-shadow: 0 2px 4px rgba(251, 191, 36, 0.3);
}

.testimonial-content p {
    font-size: 1.2rem;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-style: italic;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

.testimonial-author h4 {
    color: var(--accent-color);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.testimonial-author span {
    color: var(--text-dark);
    font-size: 0.9rem;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--light-blue);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--accent-color);
    transform: scale(1.2);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--white);
    margin: 5% auto;
    padding: 2rem;
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

.close {
    color: var(--text-dark);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: var(--accent-color);
}

.modal-content h2 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.modal-content p {
    color: var(--text-dark);
    margin-bottom: 2rem;
}

/* Booking Form Modal */
.booking-form-modal {
    max-width: 500px;
    padding: 2.5rem;
}

.booking-form-modal h2 {
    color: var(--text-dark);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-align: center;
}

.modal-subtitle {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 2rem !important;
    text-align: center;
}

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

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #f8fafc;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-book-appointment {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: var(--white);
    padding: 1.125rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.btn-book-appointment:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes modalSlideIn {
    from { opacity: 0; transform: translateY(-50px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    color: var(--white);
    padding: 4rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 2.5rem;
    align-items: start;
}

.footer-info h3 {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-info p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.footer-quick-links h4,
.footer-contact h4,
.footer-hospital h4 {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 0.5rem;
}

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    left: -33px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-contact-item i {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.footer-contact-item span {
    flex: 1;
    line-height: 1.6;
}

.footer-contact-item:hover {
    color: var(--white);
}

.footer-contact-item:hover i {
    color: rgba(255, 255, 255, 0.9);
}

.footer-hospital p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.footer-seo {
    background: rgba(0, 0, 0, 0.2);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.footer-seo p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    font-size: 0.95rem;
    text-align: center;
}

.footer-seo p strong {
    color: var(--white);
    font-weight: 700;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 1.5rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
}

.footer-bottom p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

/* Tablet Responsive */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
    
    .navbar .nav-container {
        gap: 1rem;
        flex-wrap: wrap;
    }

    .nav-item {
        flex: 1 1 calc(33.333% - 1rem);
        min-width: 200px;
    }

    .navbar {
        padding: 0.5rem 0;
    }

    .doctor-info {
        flex: 1 1 100%;
        justify-content: center;
        margin-top: 0.3rem;
    }

    .nav-menu {
        gap: 1.5rem;
    }

    .nav-link {
        font-size: 0.9rem;
    }

    .nav-cta {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Mobile Responsive - Enhanced */
@media (max-width: 768px) {
    /* Container and spacing adjustments */
    .container {
        padding: 0 15px;
    }

    /* Top Navigation Mobile - Hide Banner on Mobile */
    .navbar {
        display: none;
    }

    /* Mobile Banner - Show on Mobile */
    .mobile-banner {
        display: block;
        background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
        padding: 0.65rem 0;
        border-bottom: none;
        font-family: 'Poppins', sans-serif;
        box-shadow: 0 2px 8px rgba(30, 64, 175, 0.2);
        position: fixed;
        top: 55px;
        left: 0;
        right: 0;
        z-index: 999;
    }

    .mobile-banner-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        max-width: 100%;
        margin: 0 auto;
        padding: 0 12px;
        gap: 0.75rem;
    }

    .mobile-banner-item {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        color: white;
        justify-content: flex-start;
        flex: 1;
    }

    .mobile-banner-btn {
        background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
        color: #1a1a1a;
        padding: 0.5rem 1rem;
        border-radius: 20px;
        font-size: 0.75rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        text-decoration: none;
        box-shadow: 0 3px 10px rgba(251, 191, 36, 0.5);
        transition: all 0.3s ease;
        white-space: nowrap;
        border: 1px solid rgba(255, 255, 255, 0.3);
        flex-shrink: 0;
    }

    .mobile-banner-btn:hover,
    .mobile-banner-btn:active {
        transform: scale(1.05);
        box-shadow: 0 5px 18px rgba(251, 191, 36, 0.6);
        background: linear-gradient(135deg, #fcd34d 0%, #fbbf24 100%);
    }

    .mobile-banner-icon {
        width: 32px;
        height: 32px;
        background: rgba(255, 255, 255, 0.15);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fbbf24;
        flex-shrink: 0;
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .mobile-banner-icon svg {
        width: 16px;
        height: 16px;
    }

    .mobile-banner-content {
        display: flex;
        flex-direction: column;
        gap: 0.1rem;
        min-width: 0;
    }

    .mobile-banner-label {
        font-size: 0.65rem;
        font-weight: 600;
        color: rgba(255, 255, 255, 0.95);
        text-transform: uppercase;
        letter-spacing: 0.5px;
        line-height: 1.1;
    }


    .mobile-banner-value {
        font-size: 0.75rem;
        font-weight: 700;
        color: white;
        text-decoration: none;
        line-height: 1.2;
    }

    .mobile-banner-badge {
        background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
        color: #1a1a1a;
        padding: 0.2rem 0.5rem;
        border-radius: 12px;
        font-size: 0.55rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.3px;
        box-shadow: 0 2px 6px rgba(251, 191, 36, 0.5);
        display: inline-block;
        margin-top: 0.1rem;
        border: 1px solid rgba(255, 255, 255, 0.3);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
        line-height: 1.2;
    }

    /* Hide the script-generated scroll-to-top button on mobile */
    .scroll-to-top {
        display: none !important;
    }

    /* Main Navigation Mobile Optimization */
    .main-nav {
        padding: 0.55rem 0;
    }

    .main-nav .nav-container {
        padding: 0 15px;
    }

    .main-nav .nav-menu {
        display: none;
    }

    .hamburger {
        display: flex;
        padding: 6px;
    }

    .nav-logo {
        gap: 0.6rem;
        flex: 1;
    }

    .logo-image {
        height: 42px;
        width: auto;
    }

    .logo-text h2 {
        font-size: 1.05rem;
        line-height: 1.2;
        margin-bottom: 1px;
    }

    .logo-text span {
        font-size: 0.72rem;
        line-height: 1.2;
    }

    /* Mobile Menu Enhancements */
    .mobile-menu {
        top: 55px;
        height: calc(100vh - 55px);
        padding-top: 1.5rem;
        gap: 1.25rem;
        overflow-y: auto;
    }

    .mobile-link {
        font-size: 1rem;
        padding: 0.9rem 1.5rem;
        width: 90%;
        font-weight: 600;
        border-radius: 10px;
    }

    .mobile-cta {
        font-size: 1rem;
        padding: 0.9rem 1.5rem;
        width: 90%;
        font-weight: 700;
        border-radius: 10px;
    }

    /* Hero Section Mobile Optimization - Removed duplicate, using hero-specific mobile styles above */

    .hero-text h1 {
        font-size: 2.2rem;
        line-height: 1.1;
        margin-bottom: 0.5rem;
    }

    .hero-text h2 {
        font-size: 1.1rem;
        margin-bottom: 0.6rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }

    .hero-description {
        font-size: 0.95rem;
        padding: 1rem;
        margin-bottom: 1rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        margin-bottom: 1rem;
    }

    .btn-primary,
    .btn-secondary {
        padding: 0.7rem 1.2rem;
        font-size: 0.95rem;
        width: 100%;
        max-width: 260px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 0.6rem;
        align-items: center;
    }

    .stat {
        padding: 0.6rem;
        min-width: 180px;
    }

    .stat h3 {
        font-size: 1.3rem;
    }

    .stat p {
        font-size: 0.85rem;
    }

    .doctor-photo-container {
        max-width: 240px;
        margin: 0 auto;
    }

    .doctor-photo {
        border-radius: 15px;
        border-width: 3px;
    }

    /* About Section Mobile */
    .about {
        background-attachment: scroll;
        padding: 30px 0;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 1rem;
        min-height: auto;
        padding: 0.2rem 0;
    }

    .about-image {
        order: -1;
        padding-top: 0.2rem;
    }

    .about-text {
        margin-top: 0.2rem;
        padding: 1rem;
    }

    .about-text h3 {
        font-size: 1.2rem;
    }

    .about-text p {
        font-size: 1rem;
    }

    .about-highlights {
        order: 1;
        flex-direction: column;
        gap: 0.6rem;
    }

    .highlight-card {
        padding: 0.8rem;
        min-height: 100px;
    }

    .highlight-card h4 {
        font-size: 1rem;
    }

    .highlight-card p {
        font-size: 0.85rem;
    }

    .about-doctor-photo {
        max-width: 90%;
        height: 300px;
        object-fit: cover;
    }

    /* Services Section Mobile */
    .services {
        padding: 30px 0;
    }

    .services-set {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .service-card {
        height: 300px;
    }

    .service-card-front,
    .service-card-back {
        padding: 1rem 0.8rem;
    }

    .service-card h3 {
        font-size: 1.2rem;
        font-weight: 900;
        margin-bottom: 0.6rem;
        line-height: 1.3;
    }

    .service-card-back h3 {
        font-size: 1.1rem;
    }

    .service-card p {
        font-size: 0.9rem;
        line-height: 1.6;
        font-weight: 600;
    }

    .service-card-back p {
        font-size: 0.85rem;
    }

    .feature-tag {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }

    .back-feature {
        padding: 0.8rem;
        font-size: 0.85rem;
    }

    /* Services Navigation Mobile */
    .services-navigation {
        gap: 0.6rem;
        margin-top: 1rem;
    }

    .nav-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    /* Gallery Section Mobile */
    .gallery {
        padding: 30px 0;
    }

    .gallery-carousel {
        height: 300px;
    }

    .gallery-carousel-container {
        border-radius: 15px;
    }

    .slide-image {
        height: 100%;
    }

    .overlay-content h3 {
        font-size: 1.5rem;
    }

    .overlay-content p {
        font-size: 1rem;
    }

    .overlay-tags .tag {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    .nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .thumbnail-nav {
        gap: 0.5rem;
        padding: 0 1rem;
    }

    .thumbnail {
        width: 60px;
        height: 45px;
    }

    /* Contact Section Mobile */
    .contact {
        padding: 30px 0;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .contact-form {
        padding: 1rem;
    }

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

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.8rem;
        font-size: 1rem;
    }

    /* Credentials Highlight Mobile */
    .credentials-highlight {
        padding: 2rem 0;
    }

    .credentials-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .credential-badge {
        padding: 1.5rem;
    }

    .badge-icon {
        width: 100px;
        height: 100px;
        min-width: 100px;
        min-height: 100px;
    }
    
    .badge-icon svg,
    .badge-icon img {
        width: 100px;
        height: 100px;
        min-width: 100px;
        min-height: 100px;
    }

    .badge-content h3 {
        font-size: 1.1rem;
    }

    .credentials-description {
        padding: 0 0.5rem;
        margin-top: 2rem;
    }
    
    .credentials-description p {
        font-size: 1.05rem;
        padding: 2rem 2rem;
        line-height: 1.8;
        text-align: left;
        letter-spacing: 0.02em;
    }
    
    .credentials-description p::before {
        font-size: 4rem;
        top: -5px;
        left: 15px;
        opacity: 0.2;
    }
    
    .credentials-description p strong {
        color: var(--accent-color) !important;
        font-weight: 700 !important;
        background: none !important;
        padding: 0 !important;
        border-radius: 0 !important;
        display: inline !important;
        margin: 0 !important;
        letter-spacing: 0.01em !important;
    }

    .qualification-highlight {
        flex-direction: column;
        gap: 0.5rem;
    }

    .badge {
        text-align: center;
        width: 100%;
    }

    /* CTA Section Mobile */
    .cta-section {
        padding: 60px 0;
    }

    .cta-content {
        text-align: left;
    }

    .cta-content h2 {
        text-align: left;
    }

    .cta-content p {
        text-align: left;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .cta-btn-primary,
    .cta-btn-whatsapp,
    .cta-btn-call {
        width: 100%;
        max-width: 100%;
        padding: 1.1rem 2rem;
        font-size: 0.95rem;
    }

    .cta-btn-call {
        padding: 1.1rem 1.75rem;
        min-width: auto;
    }
    
    .call-btn-content {
        gap: 0.6rem;
    }
    
    .cta-btn-icon {
        width: 36px;
        height: 36px;
    }
    
    .cta-btn-call .call-icon {
        width: 32px;
        height: 32px;
    }
    
    .call-label {
        font-size: 0.85rem;
    }
    
    .cta-btn-call .phone-number {
        font-size: 0.95rem;
    }

    .section-header  {
        text-align: left !important;
    }

    /* Section Headers Mobile */
    .section-header h2 {
        font-size: 2rem;
        line-height: 1.2;
        /* text-align: left !important;
        position: relative;
        left: 4px; */
    padding-bottom: 2px;
    }

    .section-header p {
        font-size: 1rem;
        position: relative;
    top: 7px;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-content p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    /* Footer Mobile */
    .footer {
        padding: 2rem 0 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: left;
        gap: 2rem;
    }
    
    .footer-info,
    .footer-quick-links,
    .footer-contact,
    .footer-hospital {
        text-align: left !important;
    }
    
    .footer-contact h4 {
        text-align: left !important;
    }
    
    .footer-links {
        align-items: flex-start;
    }

    .footer-contact-item {
        gap: 0px !important;
        display: block !important;
    }
    
    .footer-contact-item {
        justify-content: flex-start;
        text-align: left !important;
    }
    
    .footer-contact-list {
        left: 0 !important;
        text-align: left !important;
    }
    
    .footer-contact-item span {
        text-align: left !important;
    }
    
    .footer-bottom {
        text-align: left !important;
    }

    /* Rating Section Mobile */
    .rating-section {
        padding: 30px 0;
    }

    .rating-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .rating-card {
        padding: 1.25rem 1rem;
    }

    .rating-summary {
        flex-direction: column;
        gap: 1rem;
        padding: 1.2rem 0.8rem;
    }

    .summary-value {
        font-size: 2.5rem;
    }

    /* Testimonials Mobile */
    .testimonials {
        padding: 30px 0;
    }

    .testimonial-card {
        padding: 1.2rem 1rem;
    }

    .testimonial-stars {
        margin-bottom: 1rem;
    }

    .testimonial-stars .star {
        font-size: 1.2rem;
    }

    .testimonial-content p {
        font-size: 1rem;
    }

    /* Feedback Gallery Mobile */
    .feedback-section {
        padding: 30px 0;
    }

    .feedback-gallery {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .feedback-image {
        height: 200px;
    }

    .feedback-video {
        height: 250px;
    }

    .feedback-overlay {
        padding: 1.5rem 1rem 1rem;
    }

    .feedback-content {
        text-align: left;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-end;
    }

    .feedback-content h3 {
        font-size: 1.1rem;
        text-align: left;
        margin-bottom: 0.4rem;
        width: 100%;
    }

    .feedback-content p {
        font-size: 0.85rem;
        text-align: left;
        line-height: 1.5;
        width: 100%;
    }

    .video-play-button {
        width: 60px;
        height: 60px;
    }

    .play-icon {
        font-size: 20px;
    }

    .play-text {
        font-size: 9px;
    }

    /* Modal Mobile */
    .modal-content {
        margin: 5% auto;
        padding: 1.5rem;
        width: 95%;
    }

    .booking-form-modal {
        padding: 2rem 1.5rem;
    }
    
    .booking-form-modal h2 {
        font-size: 1.75rem;
    }
    
    .modal-subtitle {
        font-size: 0.95rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.9rem 1rem;
        font-size: 0.95rem;
    }

    /* Lightbox Mobile */
    .lightbox-content {
        width: 95%;
        height: 95%;
        margin: 2.5% auto;
    }

    .lightbox-info {
        margin-top: 1rem;
    }

    .lightbox-info h3 {
        font-size: 1.5rem;
    }

    .lightbox-info p {
        font-size: 1rem;
    }

    /* Scroll to top button mobile */
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    /* Notification mobile */
    .notification {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }

    /* Mobile link improvements */
    a {
        -webkit-tap-highlight-color: rgba(59, 130, 246, 0.3);
        tap-highlight-color: rgba(59, 130, 246, 0.3);
    }

    /* Improve button touch targets */
    .btn-primary,
    .btn-secondary,
    .btn-whatsapp,
    .nav-cta,
    .btn-submit {
        min-height: 44px;
        min-width: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    /* Mobile-specific link styles */
    .nav-link,
    .mobile-link {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0.5rem 1rem;
    }

    /* Improve form input touch targets */
    .form-group input,
    .form-group select,
    .form-group textarea {
        min-height: 44px;
        font-size: 16px; /* Prevents zoom on iOS */
        -webkit-appearance: none;
        border-radius: 8px;
    }

    /* Mobile-specific navigation improvements */
    .nav-arrow,
    .nav-btn {
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Gallery navigation mobile */
    .indicator,
    .nav-dot {
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .thumbnail {
        min-width: 44px;
        min-height: 44px;
    }

    /* Modal close button mobile */
    .close {
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
    }

    /* Time slot mobile improvements */
    .btn-book-appointment {
        padding: 1rem 1.5rem;
        font-size: 0.95rem;
    }

    /* Video play button mobile */
    .video-play-button {
        min-width: 60px;
        min-height: 60px;
    }

    /* Scroll to top button mobile */
    .scroll-to-top {
        min-width: 44px;
        min-height: 44px;
    }

    /* Active link highlighting */
    .nav-link.active,
    .mobile-link.active {
        color: var(--accent-color);
        font-weight: 600;
    }

    /* Focus styles for accessibility */
    a:focus,
    button:focus,
    input:focus,
    select:focus,
    textarea:focus {
        outline: 2px solid var(--accent-color);
        outline-offset: 2px;
    }

    /* Loading states for links */
    a.loading,
    button.loading {
        opacity: 0.7;
        pointer-events: none;
    }

    /* Disabled state styles */
    button:disabled,
    input:disabled,
    select:disabled,
    textarea:disabled {
        opacity: 0.6;
        cursor: not-allowed;
    }
}

/* Rating Section */
.rating-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
}


.rating-section .container {
    position: relative;
    z-index: 2;
}

.rating-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.rating-card {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem 1.25rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    border: 1px solid rgba(37, 99, 235, 0.12);
    animation: floatIn 0.8s ease-out forwards;
    opacity: 0;
    position: relative;
    overflow: hidden;
}

.rating-card:nth-child(1) {
    animation-delay: 0.1s;
}

.rating-card:nth-child(2) {
    animation-delay: 0.3s;
}

.rating-card:nth-child(3) {
    animation-delay: 0.5s;
}

.rating-card:nth-child(4) {
    animation-delay: 0.7s;
}

.rating-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.18);
    border-color: rgba(37, 99, 235, 0.25);
    background: var(--white);
}

.rating-icon {
    margin-bottom: 1rem;
}

.rating-content h3 {
    color: var(--accent-color);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.rating-stars {
    margin-bottom: 0.75rem;
}

.star {
    font-size: 1.3rem;
    color: #e5e7eb;
    margin: 0 1px;
    transition: var(--transition);
}

.star.filled {
    color: #fbbf24;
    animation: starPulse 2s ease-in-out infinite;
}

.star.filled:nth-child(1) { animation-delay: 0s; }
.star.filled:nth-child(2) { animation-delay: 0.2s; }
.star.filled:nth-child(3) { animation-delay: 0.4s; }
.star.filled:nth-child(4) { animation-delay: 0.6s; }
.star.filled:nth-child(5) { animation-delay: 0.8s; }

.rating-number {
    margin-bottom: 0.75rem;
}

.rating-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--accent-color);
}

.rating-max {
    font-size: 1.1rem;
    color: #64748b;
    font-weight: 500;
}

.rating-description {
    color: #475569;
    font-size: 0.875rem;
    line-height: 1.5;
    font-weight: 400;
}

/* Rating Summary */
.rating-summary {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: linear-gradient(135deg, #2563eb 0%, #1e3a8a 100%);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    color: var(--white);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.rating-summary:hover {
    transform: translateY(-5px);
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

.summary-item {
    flex: 1;
}

.summary-number {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.summary-value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
}

.summary-percent,
.summary-plus,
.summary-years {
    font-size: 1.5rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    margin-left: 0.2rem;
}

.summary-item p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* Animations */
@keyframes starPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

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

.rating-value.animate,
.summary-value.animate {
    animation: numberCount 0.5s ease-out;
}

.rating-summary:hover {
    transform: translateY(-5px);
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

.summary-item {
    flex: 1;
}

.summary-number {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.summary-value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
}

.summary-percent,
.summary-plus,
.summary-years {
    font-size: 1.5rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    margin-left: 0.2rem;
}

.summary-item p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* Animations */
@keyframes starPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

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

.rating-value.animate,
.summary-value.animate {
    animation: numberCount 0.5s ease-out;
}

@media (max-width: 768px) {
    .rating-summary {
        flex-direction: column;
        gap: 2rem;
    }
    
    /* Get in Touch Section - Mobile */
    .get-in-touch {
        padding: 50px 0;
    }
    
    .get-in-touch-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .contact-details {
        padding-right: 0;
    }
    
    .contact-header {
        margin-bottom: 1.5rem;
    }
    
    .contact-header h2 {
        font-size: 2rem;
    }
    
    .contact-header p {
        font-size: 1rem;
        min-width: auto;
    }
    
    .contact-info-grid {
        gap: 1rem;
    }
    
    .contact-map-container {
        margin-top: 1.5rem;
    }
    
    .contact-map-container .map-wrapper {
        height: 300px;
    }
    
    .contact-item {
        padding: 1.1rem;
        gap: 1rem;
    }
    
    .contact-icon {
        width: 52px;
        height: 52px;
        min-width: 52px;
        min-height: 52px;
    }
    
    .contact-icon i {
        font-size: 1.3rem;
    }
    
    .contact-icon-img {
        width: 68px;
        height: 42px;

    }
    
    .contact-text h4 {
        font-size: 1rem;
    }
    
    .contact-text p {
        font-size: 0.9rem;
    }
    
    .appointment-form-container {
        padding: 2rem 1.5rem;
        position: static;
        top: 0px !important;
        
    }
    
    .form-title {
        font-size: 1.75rem;
    }
    
    .form-subtitle {
        font-size: 0.95rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .form-field input,
    .form-field textarea {
        padding: 0.9rem 1.1rem;
        font-size: 0.95rem;
    }
    
    .btn-submit-appointment {
        padding: 1.1rem 2rem;
        font-size: 1rem;
    }
    
    /* Dr. Rahul Shah Section - Mobile */
    .dr-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .dr-video-wrapper {
        height: 300px;
    }
    
    .dr-info {
        text-align: left;
    }
    
    .dr-info h3 {
        font-size: 1.8rem;
        text-align: left;
    }
    
    .dr-info p {
        text-align: justify;
    }
    
    .dr-highlights {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .highlight-item span {
        text-align: left;
    }
}

/* Small Mobile Devices (480px and below) */
@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }

    /* Navigation for small screens */
    .nav-logo {
        gap: 0.3rem;
    }

    .logo-image {
        height: 35px;
    }

    .logo-text h2 {
        font-size: 1rem;
    }

    .logo-text span {
        font-size: 0.7rem;
    }

    /* Hero section for small screens */
    .hero {
        padding: 50px 0 15px;
    }

    .hero-text h1 {
        font-size: 1.8rem;
        line-height: 1.1;
    }

    .hero-text h2 {
        font-size: 1rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .hero-description {
        font-size: 0.85rem;
        padding: 0.6rem;
    }

    .btn-primary,
    .btn-secondary {
        padding: 0.5rem 0.8rem;
        font-size: 0.85rem;
        max-width: 220px;
    }

    .stat {
        padding: 0.5rem;
        min-width: 160px;
    }

    .stat h3 {
        font-size: 1.2rem;
    }

    .stat p {
        font-size: 0.8rem;
    }

    .doctor-photo-container {
        max-width: 200px;
    }

    .doctor-photo {
        border-radius: 12px;
        border-width: 2px;
    }

    /* About section for small screens */
    .about {
        padding: 50px 0;
    }
    
    .about-card-professional {
        flex-direction: column;
    }
    
    .about-card-content {
        text-align: left !important;
        padding: 1.5rem 1rem !important;
    }
    
    .doctor-name-section {
        text-align: left !important;
    }
    
    .doctor-name-section h3 {
        text-align: left !important;
        font-size: 1.5rem;
    }
    
    .doctor-qualifications {
        text-align: left !important;
        font-size: 0.85rem;
    }
    
    .title-underline {
        margin-left: 0 !important;
        margin-right: auto !important;
    }
    
    .doctor-description {
        text-align: left !important;
    }
    
    .doctor-description p {
        text-align: left !important;
        font-size: 0.95rem;
    }

    .about-text {
        padding: 1.2rem;
        text-align: left !important;
    }

    .about-text h3 {
        font-size: 1.1rem;
        text-align: left !important;
    }

    .about-text p {
        font-size: 0.9rem;
        text-align: left !important;
    }

    .about-image-right {
        order: 1;
        padding: 1.5rem !important;
    }
    
    .about-card-content {
        order: 2;
    }

    .about-image-right .about-doctor-photo {
        height: 350px;
        max-width: 260px;
        margin: 0 auto;
    }

    .highlight-card {
        padding: 1rem;
        min-height: 100px;
    }

    .highlight-card h4 {
        font-size: 0.9rem;
    }

    .highlight-card p {
        font-size: 0.8rem;
    }

    /* Services for small screens */
    .services {
        padding: 25px 0;
    }

    .service-card {
        height: auto;

    }

    .service-card-front,
    .service-card-back {
        padding: 0.8rem 0.6rem;
    }

    .service-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .service-card-back h3 {
        font-size: 1rem;
    }

    .service-card p {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .service-card-back p {
        font-size: 0.8rem;
    }

    .feature-tag {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }

    .back-feature {
        padding: 0.6rem;
        font-size: 0.8rem;
    }

    .nav-arrow {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    /* Gallery for small screens */
    .gallery {
        padding: 50px 0;
    }

    .gallery-carousel {
        height: 350px;
    }

    .overlay-content h3 {
        font-size: 1.3rem;
    }

    .overlay-content p {
        font-size: 0.9rem;
    }

    .overlay-tags .tag {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }

    .nav-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .thumbnail {
        width: 50px;
        height: 38px;
    }

    /* Contact for small screens */
    .contact {
        padding: 50px 0;
    }

    .contact-form {
        padding: 1.2rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.7rem;
        font-size: 0.9rem;
    }

    /* CTA for small screens */
    .cta-section {
        padding: 50px 0;
    }

    .cta-content {
        text-align: left;
    }

    .cta-content h2 {
        font-size: 1.75rem;
        text-align: left;
    }

    .cta-content p {
        font-size: 1rem;
        margin-bottom: 2rem;
        text-align: left;
    }

    .cta-buttons {
        align-items: flex-start;
    }

    .cta-btn-primary,
    .cta-btn-whatsapp,
    .cta-btn-call {
        padding: 1rem 1.5rem;
        font-size: 0.9rem;
        width: 100%;
        max-width: 100%;
    }
    
    .cta-btn-call {
        min-width: auto;
    }
    
    .call-btn-content {
        gap: 0.5rem;
    }
    
    .cta-btn-icon {
        width: 32px;
        height: 32px;
    }
    
    .cta-btn-call .call-icon {
        width: 28px;
        height: 28px;
    }
    
    .call-label {
        font-size: 0.8rem;
    }
    
    .cta-btn-call .phone-number {
        font-size: 0.9rem;
    }

    /* Section headers for small screens */
    .section-header h2 {
        font-size: 1.8rem;
        line-height: 1.1;
    }

    .section-header p {
        font-size: 0.9rem;
    }

    /* Footer for small screens */
    .footer {
        padding: 1.5rem 0 1rem;
    }
    
    .footer-contact,
    .footer-contact h4,
    .footer-contact-list,
    .footer-contact-item,
    .footer-contact-item span {
        text-align: left !important;
    }
    
    .footer-contact-list {
        left: 0 !important;
    }

    /* Rating section for small screens */
    .rating-section {
        padding: 25px 0;
    }
    
    .rating-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .rating-card {
        padding: 1rem;
    }

    .rating-summary {
        padding: 1.2rem 0.6rem;
    }

    .summary-value {
        font-size: 2rem;
    }

    .summary-percent,
    .summary-plus,
    .summary-years {
        font-size: 1.2rem;
    }

    /* Testimonials for small screens */
    .testimonials {
        padding: 50px 0;
    }

    .testimonial-card {
        padding: 1.5rem 1.2rem;
    }

    .testimonial-content p {
        font-size: 0.9rem;
    }

    /* Feedback gallery for small screens */
    .feedback-section {
        padding: 50px 0;
    }

    .feedback-image {
        height: 180px;
    }

    .feedback-video {
        height: 220px;
    }

    .feedback-overlay {
        padding: 1.2rem 0.8rem 0.8rem;
    }

    .feedback-content {
        text-align: left;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-end;
    }

    .feedback-content h3 {
        font-size: 1rem;
        text-align: left;
        margin-bottom: 0.3rem;
        width: 100%;
    }

    .feedback-content p {
        font-size: 0.8rem;
        text-align: left;
        line-height: 1.4;
        width: 100%;
    }

    .video-play-button {
        width: 50px;
        height: 50px;
    }

    .play-icon {
        font-size: 18px;
    }

    .play-text {
        font-size: 8px;
    }

    /* Modal for small screens */
    .modal-content {
        margin: 3% auto;
        padding: 1.2rem;
        width: 98%;
    }

    .booking-form-modal {
        padding: 1.5rem 1rem;
        margin: 10% auto;
    }
    
    .booking-form-modal h2 {
        font-size: 1.5rem;
    }
    
    .modal-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.5rem !important;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.85rem;
        font-size: 0.9rem;
    }
    
    .btn-book-appointment {
        padding: 0.95rem 1.25rem;
        font-size: 0.9rem;
    }

    /* Lightbox for small screens */
    .lightbox-content {
        width: 98%;
        height: 98%;
        margin: 1% auto;
    }

    .lightbox-info h3 {
        font-size: 1.3rem;
    }

    .lightbox-info p {
        font-size: 0.9rem;
    }

    /* Scroll to top for small screens */
    .scroll-to-top {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    /* Notification for small screens */
    .notification {
        top: 5px;
        right: 5px;
        left: 5px;
        padding: 0.8rem;
    }

    .notification-message {
        font-size: 0.9rem;
    }
    
    /* Get in Touch Section - Small Mobile */
    .get-in-touch {
        padding: 40px 0;
    }
    
    .contact-header {
        margin-bottom: 1.25rem;
    }
    
    .contact-header h2 {
        font-size: 1.75rem;
    }
    
    .contact-header p {
        font-size: 0.95rem;
        min-width: auto;
    }
    
    .contact-info-grid {
        gap: 0.9rem;
    }
    
    .contact-map-container {
        margin-top: 1.25rem;
    }
    
    .contact-map-container .map-wrapper {
        height: 250px;
    }
    
    .contact-item {
        padding: 1rem;
        gap: 0.75rem;
    }
    
    .contact-icon {
        width: 48px;
        height: 48px;
        min-width: 48px;
        min-height: 48px;
    }
    
    .contact-icon i {
        font-size: 1.2rem;
    }
    
    .contact-icon-img {
        width: 68px;
        height: 42px;

    }
    
    .contact-text h4 {
        font-size: 0.95rem;
    }
    
    .contact-text p {
        font-size: 0.85rem;
    }
    
    .appointment-form-container {
        padding: 1.5rem 1rem;
        position: static;
        top: auto;
    }
    
    .form-title {
        font-size: 1.5rem;
    }
    
    .form-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .form-field input,
    .form-field textarea {
        padding: 0.85rem 1rem;
        font-size: 0.9rem;
    }
    
    .btn-submit-appointment {
        padding: 1rem 1.5rem;
        font-size: 0.95rem;
    }
    
    /* Dr. Rahul Shah Section - Small Mobile */
    .dr-rahul-section {
        padding: 60px 0;
    }
    
    .dr-video-wrapper {
        height: 250px;
    }
    
    .dr-info {
        padding: 1.5rem;
        text-align: left;
    }
    
    .dr-info h3 {
        font-size: 1.6rem;
        text-align: left;
    }
    
    .dr-info p {
        font-size: 1rem;
        text-align: justify;
    }
    
    .highlight-item {
        padding: 0.8rem;
        gap: 0.8rem;
    }
    
    .highlight-item i {
        font-size: 1.2rem;
    }
    
    .highlight-item span {
        text-align: left;
        font-size: 0.9rem;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    /* Remove hover effects on touch devices */
    .service-card:hover .service-card-inner {
        transform: none;
    }

    .service-card:hover .service-card-front {
        transform: none;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .service-card:hover .service-card-back {
        box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
    }

    .btn-primary:hover,
    .btn-secondary:hover,
    .nav-cta:hover,
    .btn-whatsapp:hover {
        transform: none;
    }

    .highlight-card:hover {
        transform: none;
    }

    .rating-card:hover {
        transform: none;
    }

    .rating-summary:hover {
        transform: none;
    }

    /* Increase touch targets */
    .nav-link,
    .mobile-link {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .btn-primary,
    .btn-secondary,
    .nav-cta,
    .btn-whatsapp,
    .btn-submit {
        min-height: 44px;
    }

    .nav-arrow,
    .nav-btn {
        min-width: 44px;
        min-height: 44px;
    }

    .indicator,
    .nav-dot {
        min-width: 44px;
        min-height: 44px;
    }

    .thumbnail {
        min-width: 44px;
        min-height: 44px;
    }

    /* Improve form inputs for touch */
    .form-group input,
    .form-group select,
    .form-group textarea {
        min-height: 44px;
        font-size: 16px; /* Prevents zoom on iOS */
    }

    /* Gallery touch improvements */
    .gallery-slide {
        touch-action: pan-y;
    }

    .slide-image {
        touch-action: manipulation;
    }
}

/* Landscape mobile optimization */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding: 80px 0 40px;
        min-height: auto;
    }

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

    .hero-text h1 {
        font-size: 1.8rem;
    }

    .hero-stats {
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
    }

    .stat {
        padding: 0.8rem;
        min-width: 120px;
    }

    .about-card-professional {
        flex-direction: row;
    }
    
    .about-card-content {
        padding: 2rem;
    }
    
    .about-image-right {
        flex: none;
        width: 100%;
        padding: 1.5rem;
    }
    
    .about-image-right .about-doctor-photo {
        max-width: 280px;
        height: 350px;
    }

    .about-highlights {
        order: 2;
        grid-column: 1 / -1;
        flex-direction: row;
    }

    .services-set {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-carousel {
        height: 300px;
    }

    .contact-content {
        grid-template-columns: 1fr 1fr;
    }
}

/* Academic Research Section - Card Layout */
.academic-research-section {
    background: linear-gradient(135deg, #f0fdfa 0%, #e6fffa 100%);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.academic-research-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('WhatsApp Image 2025-10-08 at 11.23.13 AM.jpeg') center/cover;
    opacity: 0.1;
    z-index: 0;
}

.academic-research-section .container {
    position: relative;
    z-index: 1;
}

.academic-research-section .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.academic-research-section .section-header h2 {
    color: var(--accent-color);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.academic-research-section .section-header p {
    color: #242629;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Academic Cards Grid */
.academic-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.academic-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    border: 1px solid rgba(19, 139, 132, 0.1);
    backdrop-filter: blur(10px);
}

.academic-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(19, 139, 132, 0.15);
    border-color: var(--accent-color);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.card-content h3 {
    color: var(--accent-color);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.card-content p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Academic CTA Card */
.academic-cta-card {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--darker-blue) 100%);
    border-radius: var(--border-radius);
    padding: 3rem;
    text-align: center;
    color: white;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.academic-cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('WhatsApp Image 2025-10-08 at 11.23.13 AM (3).jpeg') center/cover;
    opacity: 0.2;
    z-index: 0;
}

.academic-cta-card .cta-content {
    position: relative;
    z-index: 1;
}

.academic-cta-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.academic-cta-card p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.btn-academic {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-academic:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Responsive Design for Academic Cards */
@media (max-width: 768px) {
    .academic-research-section {
        padding: 3rem 0;
    }
    
    .academic-research-section .section-header h2 {
        font-size: 2rem;
        text-align: left;
    }
    
    .academic-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .academic-card {
        padding: 1.5rem;
    }
    
    .academic-cta-card {
        padding: 2rem;
    }
    
    .academic-cta-card h3 {
        font-size: 1.5rem;
    }
    
    /* Hero section mobile - matching web view with white text */
    .hero-content-centered {
        padding: 1.5rem 1rem !important;
        margin-top: 0 !important;
    }
    
    .hero-content-centered h1 {
        font-size: 1.75rem !important;
        line-height: 1.3 !important;
        margin-bottom: 1.25rem !important;
        margin-top: 42px !important;
        padding: 0 !important;
        text-align: left !important;
        color: #ffffff !important;
        font-weight: 800 !important;
        text-shadow: 0 3px 10px rgba(0, 0, 0, 0.6), 0 2px 6px rgba(0, 0, 0, 0.4) !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        z-index: 10 !important;
        position: relative !important;
    }
    
    .hero-content-centered h2 {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
        padding: 0 !important;
        text-align: left !important;
        color: #f8fafc !important;
        font-weight: 400 !important;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5), 0 1px 4px rgba(0, 0, 0, 0.3) !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        z-index: 10 !important;
        position: relative !important;
    }
    
    .hero-content-centered h2 strong {
        color: #ffffff !important;
        font-weight: 700 !important;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6), 0 1px 4px rgba(0, 0, 0, 0.4) !important;
    }
    
    /* About Section Mobile Optimization */
    .about {
        padding: 2rem 0 !important;
    }
    
    .about-content {
        padding: 0 1rem !important;
    }
    
    .about-card-professional {
        flex-direction: column !important;
        display: flex !important;
    }
    
    .about-image-right {
        order: 1 !important;
        flex: none !important;
        width: 100% !important;
        display: flex !important;
        visibility: visible !important;
        padding: 1.5rem !important;
    }
    
    .about-image-right .about-doctor-photo {
        max-width: 260px !important;
        height: 350px !important;
        margin: 0 auto !important;
        border-radius: 12px !important;
        object-fit: cover !important;
    }
    
    .about-card-content {
        order: 2 !important;
        flex: none !important;
        width: 100% !important;
        display: flex !important;
        visibility: visible !important;
        padding: 1.5rem 1rem !important;
        text-align: left !important;
    }
    
    .doctor-name-section {
        display: block !important;
        visibility: visible !important;
        text-align: left !important;
    }
    
    .doctor-name-section h3 {
        display: block !important;
        visibility: visible !important;
        text-align: left !important;
        font-size: 1.5rem !important;
    }
    
    .doctor-qualifications {
        display: block !important;
        visibility: visible !important;
        text-align: left !important;
    }
    
    .doctor-description {
        display: block !important;
        visibility: visible !important;
        text-align: justify !important;
        width: 100% !important;
    }
    
    .doctor-description p {
        display: block !important;
        visibility: visible !important;
        text-align: justify !important;
        font-size: 0.95rem !important;
        opacity: 1 !important;
    }
    
    .description-card {
        background: white !important;
        padding: 1.5rem !important;
        border-radius: 12px !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
        border-left: 4px solid var(--accent-color) !important;
        margin: 0 !important;
        text-align: left !important;
        display: block !important;
        visibility: visible !important;
    }
    
    .description-card p {
        font-size: 1rem !important;
        line-height: 1.7 !important;
        color: var(--text-dark) !important;
        margin-bottom: 1.25rem !important;
        font-weight: 400 !important;
        letter-spacing: 0.01em !important;
    }
    
    .description-card p:last-child {
        margin-bottom: 0 !important;
    }
    
    .description-card p strong {
        color: var(--accent-color) !important;
        font-weight: 700 !important;
        background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(30, 64, 175, 0.05) 100%) !important;
        padding: 0.15em 0.3em !important;
        border-radius: 4px !important;
        display: inline-block !important;
        margin: 0 0.1em !important;
    }
    
    .section-header h2 {
        font-size: 1.8rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .section-header p {
        font-size: 0.9rem !important;
        text-align: left !important;
        line-height: 1.5 !important;
    }
}

/* Services Section Styles */
.services {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

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

.service-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(19, 139, 132, 0.1);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.service-card-content {
    padding: 1.25rem;
    min-height: auto;
    overflow: visible;
}

.service-card-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.service-card-body p {
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

.service-card-footer {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    align-items: flex-start;
    justify-content: flex-start;
    overflow: visible;
    order: -1;
    margin-top: -2rem;
    position: relative;
    z-index: 2;
}

.feature-tag {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--darker-blue) 100%);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
    white-space: normal;
    box-shadow: 0 3px 8px rgba(19, 139, 132, 0.3);
    transition: var(--transition);
    display: inline-block;
    margin: 0.2rem;
    word-wrap: break-word;
    max-width: 100%;
    overflow: visible;
    line-height: 1.3;
    text-align: center;
    min-width: fit-content;
    position: relative;
    z-index: 3;
}

.feature-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(19, 139, 132, 0.4);
}

.service-benefits {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.benefit-item {
    color: var(--text-dark);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 0;
    border-left: 3px solid var(--accent-color);
    padding-left: 0.75rem;
    background: rgba(19, 139, 132, 0.05);
    border-radius: 0 8px 8px 0;
}

/* Responsive Design for Services */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card-content {
        padding: 1.25rem;
    }
    
    .service-card-header h3 {
        font-size: 1.2rem;
    }
    
    .service-card-body p {
        font-size: 0.9rem;
    }
    
    .feature-tag {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
        white-space: normal;
        line-height: 1.2;
        word-break: break-word;
        hyphens: auto;
    }
    
    .service-features {
        gap: 0.3rem;
    }
}