/* =============================================
   ALIGARH EYE HOSPITAL - MODERN WEBSITE
   Complete Stylesheet
   ============================================= */

/* ---- CSS Variables ---- */
:root {
    --primary: #0a4da2;
    --primary-dark: #063578;
    --primary-light: #1a6fdb;
    --secondary: #e8175d;
    --secondary-dark: #c01050;
    --accent: #00c9a7;
    --accent-dark: #00a88c;
    --gold: #f0a500;
    --text-dark: #1a1a2e;
    --text-medium: #4a4a6a;
    --text-light: #7a7a9a;
    --bg-white: #ffffff;
    --bg-light: #f4f7fc;
    --bg-lighter: #f9fbff;
    --bg-dark: #0a1628;
    --bg-gradient: linear-gradient(135deg, #0a4da2 0%, #063578 50%, #0a2a5e 100%);
    --shadow-sm: 0 2px 8px rgba(10, 77, 162, 0.08);
    --shadow-md: 0 4px 20px rgba(10, 77, 162, 0.12);
    --shadow-lg: 0 8px 40px rgba(10, 77, 162, 0.16);
    --shadow-xl: 0 16px 60px rgba(10, 77, 162, 0.2);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-slow: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --font-primary: 'Poppins', sans-serif;
    --font-heading: 'Playfair Display', serif;
}

/* ---- Reset & Base ---- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--bg-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

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

/* ---- Preloader ---- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-white);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s, visibility 0.5s;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    text-align: center;
}

.eye-loader {
    font-size: 48px;
    color: var(--primary);
    animation: eyePulse 1.2s ease-in-out infinite;
}

.loader p {
    margin-top: 16px;
    color: var(--text-light);
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 14px;
}

@keyframes eyePulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
}

/* ---- WhatsApp Float ---- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition);
    animation: whatsappPulse 2s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-110%) translateY(-50%);
}

.whatsapp-tooltip {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateX(-100%) translateY(-50%);
    background: #333;
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

@keyframes whatsappPulse {
    0% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7), 0 0 0 15px rgba(37, 211, 102, 0.1); }
    100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
}

/* ---- Back to Top ---- */
#backToTop {
    position: fixed;
    bottom: 100px;
    right: 34px;
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

#backToTop.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#backToTop:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* ---- Navbar ---- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    padding: 16px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 8px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

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

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

.logo-img {
    height: 55px;
    width: auto;
    transition: var(--transition);
}

.navbar.scrolled .logo-img {
    height: 45px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: white;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    position: relative;
}

.navbar.scrolled .nav-link {
    color: var(--text-dark);
}

.nav-link:hover,
.nav-link.active {
    color: var(--secondary);
    background: rgba(232, 23, 93, 0.08);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: var(--secondary);
    color: white !important;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(232, 23, 93, 0.3);
}

.nav-cta:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232, 23, 93, 0.4);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 10001;
}

.hamburger .bar {
    width: 28px;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: var(--transition);
}

.navbar.scrolled .hamburger .bar {
    background: var(--text-dark);
}

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

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

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

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    font-family: var(--font-primary);
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    text-align: center;
    justify-content: center;
}

.btn-lg {
    padding: 14px 32px;
    font-size: 16px;
}

.btn-primary {
    background: var(--secondary);
    color: white;
    border-color: var(--secondary);
    box-shadow: 0 4px 15px rgba(232, 23, 93, 0.3);
}

.btn-primary:hover {
    background: var(--secondary-dark);
    border-color: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(232, 23, 93, 0.4);
}

.btn-outline {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
    background: white;
    color: var(--primary);
    border-color: white;
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: white;
    border-color: transparent;
}

.btn-ghost:hover {
    color: var(--gold);
}

.btn-white {
    background: white;
    color: var(--primary);
    border-color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.btn-white:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

.btn-outline-white {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.6);
}

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

.btn-block {
    width: 100%;
}

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

.section-tag {
    display: inline-block;
    padding: 6px 20px;
    background: rgba(10, 77, 162, 0.08);
    color: var(--primary);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 17px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ---- Hero Section ---- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--bg-gradient);
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.06;
    background: white;
}

.shape-1 {
    width: 500px;
    height: 500px;
    top: -200px;
    right: -100px;
    animation: float1 8s ease-in-out infinite;
}

.shape-2 {
    width: 300px;
    height: 300px;
    bottom: -100px;
    left: -50px;
    animation: float2 10s ease-in-out infinite;
}

.shape-3 {
    width: 200px;
    height: 200px;
    top: 50%;
    left: 50%;
    animation: float3 6s ease-in-out infinite;
}

@keyframes float1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-30px, 30px) rotate(10deg); }
}

@keyframes float2 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(20px, -20px); }
}

@keyframes float3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-15px, 15px) scale(1.1); }
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 2;
}

.hero-text {
    flex: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.12);
    color: var(--gold);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-title-small {
    display: block;
    font-size: 18px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.hero-title-main {
    display: block;
    font-family: var(--font-heading);
    font-size: 52px;
    font-weight: 800;
    color: white;
    line-height: 1.1;
}

.hero-title-accent {
    display: block;
    font-family: var(--font-heading);
    font-size: 38px;
    font-weight: 700;
    color: var(--gold);
    line-height: 1.3;
    margin-top: 4px;
}

.hero-description {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.75);
    margin: 24px 0 32px;
    line-height: 1.8;
    max-width: 520px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 40px;
}

.hero-trust {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    font-weight: 500;
}

.trust-item i {
    color: var(--gold);
    font-size: 16px;
}

.hero-image {
    flex: 0 0 420px;
}

.hero-img-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo-img {
    max-width: 380px;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
    animation: heroFloat 4s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.hero-img-decoration {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: 0;
    left: 0;
    animation: spinSlow 20s linear infinite;
}

@keyframes spinSlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hero-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    z-index: 1;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: 80px;
}

/* ---- Stats Section ---- */
.stats-section {
    padding: 60px 0;
    background: var(--bg-white);
    margin-top: -20px;
    position: relative;
    z-index: 5;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-card {
    text-align: center;
    padding: 30px 20px;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

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

.stat-icon {
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 12px;
}

.stat-number {
    font-size: 42px;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-number::after {
    content: '+';
    font-size: 28px;
    color: var(--secondary);
}

.stat-label {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ---- About Section ---- */
.about-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.about-img-card {
    position: relative;
    background: var(--bg-gradient);
    border-radius: var(--radius-xl);
    padding: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.about-icon-large {
    font-size: 120px;
    color: rgba(255, 255, 255, 0.15);
}

.about-img-badge {
    position: absolute;
    bottom: -20px;
    right: 20px;
    background: var(--secondary);
    color: white;
    padding: 16px 24px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: 0 8px 25px rgba(232, 23, 93, 0.3);
}

.badge-number {
    display: block;
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
}

.badge-text {
    display: block;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

.about-content h3 {
    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.about-content > p {
    color: var(--text-medium);
    margin-bottom: 16px;
    font-size: 15px;
}

.about-features {
    margin-top: 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.about-feature {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.about-feature:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: rgba(10, 77, 162, 0.08);
    color: var(--primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.about-feature h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.about-feature p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.5;
}

/* ---- Services Section ---- */
.services-section {
    padding: 100px 0;
    background: var(--bg-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-card {
    padding: 36px 28px;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-slow);
    border: 1px solid rgba(10, 77, 162, 0.06);
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::after {
    transform: scaleX(1);
}

.service-icon-wrap {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(10, 77, 162, 0.08), rgba(232, 23, 93, 0.08));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon-wrap {
    background: var(--bg-gradient);
    color: white;
    transform: scale(1.05);
}

.service-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 16px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    transition: var(--transition);
}

.service-link:hover {
    color: var(--secondary);
    gap: 10px;
}

/* ---- Facilities Section ---- */
.facilities-section {
    padding: 100px 0;
    background: var(--bg-gradient);
    position: relative;
    overflow: hidden;
}

.facilities-section .section-tag {
    background: rgba(255, 255, 255, 0.15);
    color: var(--gold);
}

.facilities-section .section-title {
    color: white;
}

.facilities-section .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.facility-item {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    padding: 28px 16px;
    text-align: center;
    transition: var(--transition);
}

.facility-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.facility-icon {
    font-size: 32px;
    color: var(--gold);
    margin-bottom: 12px;
}

.facility-item span {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
}

/* ---- Doctor Section ---- */
.doctor-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.doctor-card-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.doctor-card-main {
    display: flex;
    gap: 40px;
    align-items: center;
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: 48px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.doctor-card-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--gold));
}

.doctor-avatar {
    position: relative;
    flex-shrink: 0;
}

.doctor-avatar-inner {
    width: 150px;
    height: 150px;
    background: var(--bg-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    color: white;
}

.doctor-avatar-ring {
    position: absolute;
    top: -8px;
    left: -8px;
    width: calc(100% + 16px);
    height: calc(100% + 16px);
    border: 3px solid transparent;
    border-top-color: var(--secondary);
    border-right-color: var(--primary);
    border-radius: 50%;
    animation: spinSlow 8s linear infinite;
}

.doctor-name {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.doctor-qualification {
    font-size: 16px;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 12px;
}

.doctor-specialization,
.doctor-specialization-en {
    font-size: 14px;
    color: var(--text-medium);
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 8px;
}

.doctor-specialization i,
.doctor-specialization-en i {
    color: var(--primary);
    margin-top: 3px;
    flex-shrink: 0;
}

.doctor-reg {
    margin: 16px 0;
}

.reg-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: rgba(10, 77, 162, 0.06);
    color: var(--primary);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
}

.doctor-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-medium);
    font-weight: 500;
}

.highlight-item i {
    color: var(--accent);
    width: 18px;
}

/* ---- Why Choose Section ---- */
.why-choose-section {
    padding: 100px 0;
    background: var(--bg-white);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.why-card {
    padding: 36px 28px;
    background: var(--bg-lighter);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    border: 1px solid transparent;
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(10, 77, 162, 0.1);
}

.why-number {
    font-size: 48px;
    font-weight: 900;
    color: rgba(10, 77, 162, 0.08);
    line-height: 1;
    margin-bottom: 16px;
}

.why-card:hover .why-number {
    color: rgba(232, 23, 93, 0.15);
}

.why-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.why-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
}

/* ---- CTA Section ---- */
.cta-section {
    padding: 100px 0;
    background: var(--bg-gradient);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 36px;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---- Contact Section ---- */
.contact-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-card {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    align-items: flex-start;
}

.contact-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.contact-card-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    background: rgba(10, 77, 162, 0.08);
    color: var(--primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.contact-card-icon.whatsapp-icon {
    background: rgba(37, 211, 102, 0.1);
    color: #25D366;
}

.contact-card-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.contact-card-content p {
    font-size: 14px;
    color: var(--text-medium);
    line-height: 1.6;
}

.contact-card-content a {
    color: var(--primary);
    font-weight: 600;
}

.contact-card-content a:hover {
    color: var(--secondary);
}

.contact-note {
    font-size: 12px !important;
    color: var(--text-light) !important;
}

/* ---- Contact Form ---- */
.contact-form-wrapper {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.contact-form h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-form h3 i {
    color: var(--primary);
}

.form-group {
    position: relative;
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px 14px 48px;
    border: 2px solid #e8eef5;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-family: var(--font-primary);
    color: var(--text-dark);
    transition: var(--transition);
    background: var(--bg-lighter);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    background: var(--bg-white);
    box-shadow: 0 0 0 4px rgba(10, 77, 162, 0.08);
}

.form-group label {
    position: absolute;
    left: 16px;
    top: 16px;
    color: var(--text-light);
    font-size: 16px;
    pointer-events: none;
    transition: var(--transition);
}

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

.form-group select {
    appearance: none;
    cursor: pointer;
}

.form-note {
    text-align: center;
    font-size: 12px;
    color: var(--text-light);
    margin-top: 12px;
}

/* ---- Map Section ---- */
.map-section {
    position: relative;
}

.map-container iframe {
    display: block;
    width: 100%;
    height: 400px;
    filter: grayscale(30%);
    transition: var(--transition);
}

.map-container iframe:hover {
    filter: grayscale(0%);
}

/* ---- Footer ---- */
.footer {
    background: var(--bg-dark);
    padding: 80px 0 0;
    color: rgba(255, 255, 255, 0.7);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
    height: 60px;
    margin-bottom: 16px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-about p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.footer-col h4 {
    color: white;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--secondary);
    border-radius: 2px;
}

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

.footer-col ul li a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
    display: inline-block;
}

.footer-col ul li a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-contact li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.footer-contact li i {
    color: var(--secondary);
    margin-top: 3px;
    min-width: 18px;
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

/* ==================================
   RESPONSIVE DESIGN
   ================================== */

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .facilities-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-title-main {
        font-size: 42px;
    }
    
    .hero-title-accent {
        font-size: 30px;
    }
    
    .hero-image {
        flex: 0 0 320px;
    }
    
    .hero-logo-img {
        max-width: 280px;
    }
}

@media (max-width: 768px) {
    /* Navbar Mobile */
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 80px 30px 30px;
        gap: 4px;
        transition: var(--transition);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        align-items: stretch;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        color: var(--text-dark);
        padding: 12px 16px;
        border-radius: var(--radius-sm);
        font-size: 15px;
    }
    
    .nav-link:hover,
    .nav-link.active {
        background: rgba(10, 77, 162, 0.06);
        color: var(--primary);
    }
    
    .nav-cta {
        margin-top: 12px;
        justify-content: center;
    }
    
    /* Hero Mobile */
    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .hero-text {
        order: 2;
    }
    
    .hero-image {
        order: 1;
        flex: auto;
    }
    
    .hero-logo-img {
        max-width: 200px;
    }
    
    .hero-title-main {
        font-size: 32px;
    }
    
    .hero-title-accent {
        font-size: 24px;
    }
    
    .hero-title-small {
        font-size: 14px;
    }
    
    .hero-description {
        font-size: 15px;
        max-width: 100%;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-trust {
        justify-content: center;
    }
    
    /* Stats Mobile */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .stat-number {
        font-size: 32px;
    }
    
    /* About Mobile */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-img-card {
        min-height: 250px;
        padding: 40px;
    }
    
    .about-icon-large {
        font-size: 80px;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    /* Services Mobile */
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    /* Facilities Mobile */
    .facilities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .facility-item {
        padding: 20px 12px;
    }
    
    .facility-icon {
        font-size: 24px;
    }
    
    /* Doctor Mobile */
    .doctor-card-main {
        flex-direction: column;
        text-align: center;
        padding: 36px 24px;
        gap: 24px;
    }
    
    .doctor-highlights {
        grid-template-columns: 1fr;
    }
    
    .doctor-specialization,
    .doctor-specialization-en {
        justify-content: center;
        text-align: left;
    }
    
    /* Why Choose Mobile */
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    /* Contact Mobile */
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: 28px 20px;
    }
    
    /* Section Headers Mobile */
    .section-title {
        font-size: 28px;
    }
    
    .section-subtitle {
        font-size: 15px;
    }
    
    /* CTA Mobile */
    .cta-content h2 {
        font-size: 28px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    /* Footer Mobile */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    /* WhatsApp Float */
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 54px;
        height: 54px;
        font-size: 26px;
    }
    
    #backToTop {
        bottom: 84px;
        right: 24px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-title-main {
        font-size: 26px;
    }
    
    .hero-title-accent {
        font-size: 20px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-lg {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .stat-card {
        padding: 20px 12px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .stat-label {
        font-size: 11px;
    }
    
    .facilities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .facility-item span {
        font-size: 11px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .doctor-avatar-inner {
        width: 120px;
        height: 120px;
        font-size: 48px;
    }
    
    .doctor-name {
        font-size: 24px;
    }
    
    .map-container iframe {
        height: 280px;
    }
}

/* ---- Overlay for Mobile Menu ---- */
.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    transition: var(--transition);
}

.nav-overlay.active {
    display: block;
    opacity: 1;
}

/* ---- Smooth Scroll Indicator ---- */
@keyframes scroll-indicator {
    0% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(10px); opacity: 0.5; }
    100% { transform: translateY(0); opacity: 1; }
}

/* ---- Selection Color ---- */
::selection {
    background: var(--primary);
    color: white;
}

/* ---- Focus Styles for Accessibility ---- */
*:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
}

/* ---- Print Styles ---- */
@media print {
    .navbar, .whatsapp-float, #backToTop, .hero-wave, .map-section {
        display: none !important;
    }
    
    .hero {
        min-height: auto;
        padding: 40px 0;
    }
}
