/* ============================================================
   PROFESSIONAL HEALTHCARE THEME
   Color Palette: Medical Blue + Teal + White
   ============================================================ */

:root {
    /* Primary Colors - Medical Blue */
    --primary: #2563EB;
    --primary-light: #3B82F6;
    --primary-dark: #1D4ED8;
    --primary-soft: #EFF6FF;
    
    /* Secondary Colors - Teal (Trust & Calm) */
    --secondary: #0D9488;
    --secondary-light: #14B8A6;
    --secondary-soft: #F0FDFA;
    
    /* Accent Colors */
    --accent: #F59E0B;
    --accent-light: #FBBF24;
    
    /* Neutral Colors */
    --dark: #1E293B;
    --dark-light: #334155;
    --gray: #94A3B8;
    --gray-light: #E2E8F0;
    --light: #F8FAFC;
    --white: #FFFFFF;
    
    /* Gradients */
    --gradient-hero: linear-gradient(135deg, #1E293B 0%, #2563EB 100%);
    --gradient-primary: linear-gradient(135deg, #2563EB 0%, #0D9488 100%);
    --gradient-light: linear-gradient(135deg, #EFF6FF 0%, #F0FDFA 100%);
    --gradient-card: linear-gradient(145deg, #FFFFFF 0%, #F8FAFC 100%);
    
    /* Shadows - Medical Grade */
    --shadow-sm: 0 2px 8px rgba(37, 99, 235, 0.06);
    --shadow-md: 0 8px 30px rgba(37, 99, 235, 0.08);
    --shadow-lg: 0 15px 50px rgba(37, 99, 235, 0.10);
    --shadow-xl: 0 25px 70px rgba(37, 99, 235, 0.12);
    --shadow-glow: 0 0 40px rgba(37, 99, 235, 0.08);
    
    /* Radius */
    --radius: 20px;
    --radius-sm: 12px;
    --radius-lg: 28px;
    
    /* Transitions */
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    
    /* Font */
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font);
    background: var(--white);
    color: var(--dark);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

::selection {
    background: rgba(37, 99, 235, 0.15);
    color: var(--primary);
}

img { max-width: 100%; display: block; }
a { text-decoration: none; transition: var(--transition); }

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.section-badge {
    display: inline-block;
    background: var(--primary-soft);
    color: var(--primary);
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.15;
    margin-bottom: 12px;
}

.section-title .highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    color: var(--gray);
    font-size: 1.1rem;
    font-weight: 400;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary-custom {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    transition: var(--transition);
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.25);
    position: relative;
    overflow: hidden;
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 35px rgba(37, 99, 235, 0.35);
    color: var(--white);
}

.btn-outline-custom {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: var(--white);
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid rgba(255,255,255,0.25);
    transition: var(--transition);
    cursor: pointer;
}

.btn-outline-custom:hover {
    background: rgba(255,255,255,0.08);
    border-color: var(--white);
    transform: translateY(-3px);
    color: var(--white);
}

.btn-outline-dark {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: var(--primary);
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid rgba(37, 99, 235, 0.2);
    transition: var(--transition);
    cursor: pointer;
}

.btn-outline-dark:hover {
    background: var(--primary-soft);
    border-color: var(--primary);
    transform: translateY(-3px);
}

/* ============================================================
   HERO SECTION - Premium Medical
   ============================================================ */
.hero-section {
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 160px;
}

/* Animated Background Particles */
.hero-section .particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
    animation: particle-float 20s ease-in-out infinite;
}

.particle-1 { width: 300px; height: 300px; top: -100px; right: -50px; animation-delay: 0s; }
.particle-2 { width: 400px; height: 400px; bottom: -150px; left: -100px; animation-delay: -5s; }
.particle-3 { width: 200px; height: 200px; top: 50%; right: 20%; animation-delay: -10s; }

@keyframes particle-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(40px, -40px) scale(1.1); }
    66% { transform: translate(-30px, 30px) scale(0.9); }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    color: rgba(255,255,255,0.9);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 4.2rem;
    font-weight: 900;
    color: var(--white);
    letter-spacing: -2px;
    line-height: 1.05;
    margin-bottom: 4px;
}

.hero-title .icon {
    display: inline-block;
    animation: gentle-pulse 3s ease-in-out infinite;
}

@keyframes gentle-pulse {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.08) rotate(5deg); }
}

.hero-subtitle {
    font-size: 1.4rem;
    font-weight: 400;
    color: rgba(255,255,255,0.7);
    margin-bottom: 2px;
}

.hero-reg {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.4);
    margin-bottom: 16px;
}

.hero-text {
    color: rgba(255,255,255,0.75);
    font-size: 1.05rem;
    line-height: 1.8;
    max-width: 500px;
    margin-bottom: 30px;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 32px;
    margin-bottom: 35px;
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--white);
    display: block;
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    font-weight: 500;
    margin-top: 4px;
}

/* Hero Image */
.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-container {
    position: relative;
    width: 360px;
    height: 360px;
}

.hero-image-circle {
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    padding: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: var(--shadow-xl);
    animation: gentle-float 6s ease-in-out infinite;
}

@keyframes gentle-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.hero-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.floating-badge {
    position: absolute;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    animation: gentle-float 4s ease-in-out infinite;
    width: 52px;
    height: 52px;
    font-size: 1.2rem;
    color: var(--primary);
}

.floating-badge.badge-1 { top: -8px; right: -8px; animation-delay: 0s; }
.floating-badge.badge-2 { bottom: -8px; left: -15px; animation-delay: 1s; color: var(--secondary); }
.floating-badge.badge-3 { top: 30%; right: -28px; animation-delay: 2s; color: var(--accent); }
.floating-badge.badge-4 { 
    bottom: 20%; left: -28px; animation-delay: 3s; 
    width: auto; padding: 0 16px; border-radius: 50px; 
    font-weight: 700; font-size: 0.85rem; color: var(--dark);
}

/* Hero Wave */
.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: auto;
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services-section {
    padding: 100px 0;
    background: var(--light);
}

.service-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px 28px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
    position: relative;
    border: 1px solid rgba(37, 99, 235, 0.04);
    box-shadow: var(--shadow-sm);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(37, 99, 235, 0.08);
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 10px;
    transition: var(--transition);
}

.service-card:hover::after {
    width: 60px;
}

.service-card-icon {
    width: 72px;
    height: 72px;
    background: var(--primary-soft);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    transition: var(--transition);
}

.service-card:hover .service-card-icon {
    background: var(--gradient-primary);
    transform: scale(1.05);
}

.service-card-icon i {
    font-size: 2rem;
    color: var(--primary);
    transition: var(--transition);
}

.service-card:hover .service-card-icon i {
    color: var(--white);
}

.service-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.service-card-desc {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section {
    padding: 100px 0;
    background: var(--white);
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.about-image {
    width: 100%;
    height: 450px;
    object-fit: cover;
    transition: var(--transition);
}

.about-image-wrapper:hover .about-image {
    transform: scale(1.02);
}

.about-experience-card {
    position: absolute;
    bottom: -15px;
    right: -15px;
    background: var(--white);
    padding: 20px 28px;
    border-radius: var(--radius-sm);
    text-align: center;
    box-shadow: var(--shadow-lg);
    animation: gentle-float 4s ease-in-out infinite;
}

.about-exp-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.about-exp-text {
    font-size: 0.8rem;
    color: var(--gray);
}

.about-floating-card {
    position: absolute;
    top: 20px;
    left: -12px;
    background: var(--white);
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: gentle-float 3.5s ease-in-out infinite 0.5s;
}

.about-floating-card i {
    font-size: 1.5rem;
    color: var(--primary);
}

.about-text {
    color: var(--dark-light);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 25px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 25px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background: var(--light);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.about-feature:hover {
    transform: translateX(6px);
    background: var(--primary-soft);
}

.about-feature-icon {
    width: 38px;
    height: 38px;
    background: var(--primary-soft);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.about-feature-icon i {
    color: var(--primary);
    font-size: 0.9rem;
}

.about-feature strong {
    display: block;
    font-size: 0.85rem;
    color: var(--dark);
}

.about-feature span {
    font-size: 0.7rem;
    color: var(--gray);
}

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why-section {
    padding: 80px 0;
    background: var(--light);
}

.why-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.why-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.why-icon {
    width: 65px;
    height: 65px;
    background: var(--primary-soft);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    transition: var(--transition);
}

.why-card:hover .why-icon {
    background: var(--gradient-primary);
}

.why-icon i {
    font-size: 1.8rem;
    color: var(--primary);
    transition: var(--transition);
}

.why-card:hover .why-icon i {
    color: var(--white);
}

.why-card h5 {
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.why-card p {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ============================================================
   COUNTER SECTION - Medical Stats
   ============================================================ */
.counter-section {
    padding: 80px 0;
    background: var(--gradient-hero);
    position: relative;
}

.counter-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.counter-item {
    text-align: center;
}

.counter-number {
    font-size: 3.2rem;
    font-weight: 900;
    display: block;
    line-height: 1;
    color: var(--white);
}

.counter-label {
    font-size: 1rem;
    color: rgba(255,255,255,0.7);
    margin-top: 8px;
    font-weight: 400;
}

/* ============================================================
   REVIEWS SECTION
   ============================================================ */
.reviews-section {
    padding: 100px 0;
    background: var(--white);
}

.review-rating-summary {
    text-align: center;
    margin-bottom: 40px;
}

.rating-number {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--dark);
}

.rating-stars {
    font-size: 1.4rem;
    color: #E2E8F0;
}

.rating-stars .active {
    color: var(--accent);
}

.rating-count {
    color: var(--gray);
    font-size: 0.9rem;
}

.review-card {
    background: var(--light);
    border-radius: var(--radius);
    padding: 30px;
    transition: var(--transition);
    height: 100%;
    position: relative;
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.review-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.review-avatar {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 700;
}

.review-name {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0;
}

.review-stars {
    color: #E2E8F0;
    font-size: 0.8rem;
}

.review-stars .active {
    color: var(--accent);
}

.review-text {
    color: var(--dark-light);
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 0;
}

.review-quote {
    position: absolute;
    bottom: 15px;
    right: 20px;
    font-size: 1.8rem;
    color: rgba(37, 99, 235, 0.04);
}

/* ============================================================
   APPOINTMENT SECTION - Premium
   ============================================================ */
.appointment-section {
    padding: 100px 0;
    background: var(--light);
}

.appointment-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 0;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.appointment-left {
    padding: 50px 40px;
    background: var(--gradient-primary);
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.appointment-left .section-badge {
    background: rgba(255,255,255,0.12);
    color: var(--white);
}

.appointment-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 15px 0;
    line-height: 1.2;
    color: var(--white);
}

.appointment-text {
    opacity: 0.85;
    font-size: 1rem;
}

.appointment-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 18px;
}

.appointment-features div {
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0.9;
    font-size: 0.9rem;
}

.appointment-features i {
    color: rgba(255,255,255,0.9);
}

.appointment-success {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    color: var(--white);
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    margin-top: 18px;
}

.appointment-right {
    padding: 40px;
    background: var(--white);
}

.appointment-form .form-group {
    margin-bottom: 14px;
}

.appointment-form label {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--dark);
    display: block;
    margin-bottom: 4px;
}

.appointment-form .form-control {
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    border: 2px solid var(--gray-light);
    transition: var(--transition);
    background: var(--white);
    font-size: 0.95rem;
}

.appointment-form .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.06);
    outline: none;
}

.appointment-form .form-control::placeholder {
    color: var(--gray);
}

.btn-submit {
    width: 100%;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 16px;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.25);
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 35px rgba(37, 99, 235, 0.35);
}

/* ============================================================
   RESPONSIVE - Mobile First
   ============================================================ */

/* Tablet & Small Laptop */
@media (max-width: 992px) {
    .hero-title { font-size: 3rem; }
    .hero-image-container { width: 280px; height: 280px; }
    .counter-grid { grid-template-columns: repeat(2, 1fr); }
    .appointment-wrapper { grid-template-columns: 1fr; }
    .appointment-left { padding: 40px 30px; text-align: center; }
    .appointment-features { align-items: center; }
    .about-features { grid-template-columns: 1fr; }
    .section-title { font-size: 2.4rem; }
}

/* Mobile */
@media (max-width: 768px) {
    .hero-section { padding: 80px 0 120px; }
    .hero-title { font-size: 2.2rem; }
    .hero-stats { flex-wrap: wrap; gap: 16px; justify-content: center; }
    .hero-image-container { width: 200px; height: 200px; }
    .floating-badge { width: 40px; height: 40px; font-size: 1rem; }
    .floating-badge.badge-4 { font-size: 0.7rem; padding: 0 12px; height: 30px; }
    .section-title { font-size: 2rem; }
    .counter-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
    .counter-number { font-size: 2.5rem; }
    .appointment-right { padding: 25px; }
    .about-image { height: 280px; }
    .about-experience-card { bottom: -10px; right: -10px; padding: 15px 20px; }
    .about-exp-number { font-size: 1.8rem; }
    .service-card { padding: 30px 20px; }
    .appointment-left { padding: 30px 20px; }
    .appointment-right { padding: 20px; }
    .hero-buttons { flex-direction: column; width: 100%; }
    .hero-buttons a { justify-content: center; }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hero-title { font-size: 1.8rem; }
    .hero-image-container { width: 160px; height: 160px; }
    .floating-badge { display: none; }
    .hero-stat-number { font-size: 1.8rem; }
    .section-title { font-size: 1.6rem; }
    .counter-number { font-size: 2rem; }
    .counter-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .counter-label { font-size: 0.8rem; }
}


/* ============================================================
   LEGAL PAGES (Privacy, Terms)
   ============================================================ */
.legal-page-section {
    padding: 80px 0;
    background: var(--white);
}

.legal-content {
    max-width: 820px;
    margin: 0 auto;
}

.legal-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
    margin-top: 35px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary-soft);
}

.legal-content h3:first-child {
    margin-top: 0;
}

.legal-content p {
    color: var(--dark-light);
    line-height: 1.9;
    font-size: 1rem;
}

.legal-content ul {
    color: var(--dark-light);
    line-height: 1.9;
    padding-left: 24px;
}

.legal-content ul li {
    margin-bottom: 8px;
}

@media (max-width: 768px) {
    .legal-content h3 { font-size: 1.1rem; }
    .legal-content p { font-size: 0.95rem; }
}

@media (max-width: 480px) {
    .legal-page-section { padding: 50px 0; }
    .legal-content h3 { font-size: 1rem; }
    .legal-content p { font-size: 0.9rem; }
}


/* ============================================================
   GALLERY PAGE
   ============================================================ */
.gallery-page-section {
    padding: 80px 0;
    background: var(--white);
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1 / 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(37, 99, 235, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    backdrop-filter: blur(4px);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: #fff;
    font-size: 2.5rem;
    transform: scale(0.5);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay i {
    transform: scale(1);
}

@media (max-width: 768px) {
    .gallery-item { aspect-ratio: 4 / 3; }
}

@media (max-width: 480px) {
    .gallery-item { aspect-ratio: 1 / 1; }
}


/* ============================================================
   BLOG PAGE
   ============================================================ */
.blog-page-section {
    padding: 80px 0;
    background: var(--light);
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.blog-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-body {
    padding: 24px 20px 20px;
}

.blog-meta {
    display: flex;
    gap: 16px;
    font-size: 0.8rem;
    color: var(--gray);
    margin-bottom: 10px;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-title {
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--dark);
    margin-bottom: 8px;
    line-height: 1.4;
}

.blog-excerpt {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 15px;
}

.blog-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.blog-link:hover {
    color: var(--primary-dark);
    gap: 10px;
}

@media (max-width: 768px) {
    .blog-image { height: 180px; }
    .blog-body { padding: 20px 16px; }
}

@media (max-width: 480px) {
    .blog-image { height: 160px; }
    .blog-title { font-size: 1rem; }
}


/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-page-section {
    padding: 80px 0;
    background: var(--white);
}

.contact-info-card {
    padding: 25px 20px;
    background: var(--light);
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition);
    margin-bottom: 16px;
}

.contact-info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.contact-info-card .contact-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.contact-info-card h5 {
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
}

.contact-info-card p {
    color: var(--gray);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.6;
}

.contact-form-card {
    padding: 40px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.map-section {
    padding: 0 0 80px;
    background: var(--white);
}

.map-section iframe {
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
    .contact-form-card { padding: 25px; }
    .contact-info-card { padding: 20px; }
}

@media (max-width: 480px) {
    .contact-form-card { padding: 20px; }
}


/* ============================================================
   APPOINTMENT PAGE
   ============================================================ */
.appointment-page-section {
    padding: 80px 0;
    background: var(--light);
}

.appointment-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.appointment-info-card {
    padding: 25px 20px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
}

.appointment-info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.appointment-info-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.appointment-info-card h5 {
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
}

.appointment-info-card p {
    color: var(--gray);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.6;
}

.appointment-form-card {
    padding: 40px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.form-title {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 4px;
}

.form-subtitle {
    color: var(--gray);
    margin-bottom: 25px;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .appointment-form-card { padding: 25px; }
    .appointment-info-card { padding: 20px; }
}

@media (max-width: 480px) {
    .appointment-form-card { padding: 20px; }
    .form-title { font-size: 1.3rem; }
}

/* ============================================================
   SERVICES PAGE
   ============================================================ */
.services-page-section {
    padding: 80px 0;
    background: var(--white);
}

.service-why-section {
    padding: 80px 0;
    margin-top: 40px;
    background: var(--light);
    border-radius: var(--radius-lg);
}

.service-why-section .row {
    padding: 0 30px;
}

.service-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-benefits li {
    padding: 12px 0;
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 1rem;
    color: var(--dark);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.service-benefits li:last-child {
    border-bottom: none;
}

.service-benefits li i {
    color: var(--secondary);
    font-size: 1.2rem;
    width: 24px;
}

.service-why-image {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
    .service-why-section .row { padding: 0 15px; }
    .service-benefits li { font-size: 0.9rem; }
    .service-why-image { height: 250px; object-fit: cover; }
}

@media (max-width: 480px) {
    .service-why-section { padding: 40px 0; }
    .service-benefits li { font-size: 0.85rem; padding: 10px 0; }
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-page-section {
    padding: 80px 0;
    background: var(--white);
}

.about-page-image {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

.about-stats-mini {
    display: flex;
    gap: 30px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.about-stats-mini .stat-num {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
}

.about-stats-mini .stat-label {
    font-size: 0.85rem;
    color: var(--gray);
}

.mission-card {
    padding: 30px 25px;
    background: var(--light);
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition);
    height: 100%;
}

.mission-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.mission-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.mission-card h4 {
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.mission-card p {
    color: var(--gray);
    font-size: 0.95rem;
    margin: 0;
}

/* Team Section */
.team-section {
    padding: 80px 0;
    background: var(--light);
}

.team-card {
    text-align: center;
    padding: 30px 20px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.team-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 15px;
    object-fit: cover;
    border: 4px solid var(--primary-soft);
}

.team-card h5 {
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
}

.team-designation {
    display: block;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.team-card p {
    color: var(--gray);
    font-size: 0.85rem;
    margin: 0;
}

@media (max-width: 768px) {
    .about-page-image { height: 280px; }
    .about-stats-mini { justify-content: center; gap: 20px; }
    .mission-card { padding: 25px 20px; }
}

@media (max-width: 480px) {
    .about-page-image { height: 200px; }
    .team-image { width: 90px; height: 90px; }
}


/* ============================================================
   PAGE HERO - For All Inner Pages
   ============================================================ */
.page-hero {
    padding: 120px 0 60px;
    background: var(--gradient-hero);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    animation: float-bubble 20s ease-in-out infinite;
}

.page-hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.page-hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.6);
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .page-hero { padding: 100px 0 40px; }
    .page-hero-title { font-size: 2.2rem; }
    .page-hero-subtitle { font-size: 1rem; }
}

@media (max-width: 480px) {
    .page-hero-title { font-size: 1.8rem; }
}


/* ============================================================
   FOOTER - Premium Medical Footer
   ============================================================ */
.footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 70px 0 0;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

.footer-brand {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-brand i {
    color: var(--primary-light);
}

.footer-text {
    margin: 12px 0 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
}

.footer-text-small {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.8;
    max-width: 300px;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.5);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.social-link:hover {
    background: var(--gradient-primary);
    color: #fff;
    transform: translateY(-4px);
    border-color: transparent;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.25);
}

.footer-heading {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 10px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.footer-links a::before {
    content: '›';
    font-size: 1.2rem;
    color: var(--primary-light);
    transition: var(--transition);
}

.footer-links a:hover {
    color: #fff;
    padding-left: 6px;
}

.footer-links a:hover::before {
    color: #fff;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    gap: 14px;
    margin-bottom: 14px;
    align-items: flex-start;
}

.footer-contact i {
    color: var(--primary-light);
    margin-top: 4px;
    width: 18px;
    font-size: 0.9rem;
}

.footer-contact span {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding: 20px 0;
    margin-top: 50px;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.25);
    font-size: 0.85rem;
    margin: 0;
}

.footer-legal {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 24px;
    justify-content: flex-end;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.25);
    text-decoration: none;
    font-size: 0.8rem;
    transition: var(--transition);
}

.footer-legal a:hover {
    color: #fff;
}

/* Footer Responsive */
@media (max-width: 992px) {
    .footer { padding: 50px 0 0; }
    .footer-text-small { max-width: 100%; }
}

@media (max-width: 768px) {
    .footer { padding: 40px 0 0; }
    .footer-legal { justify-content: center; margin-top: 12px; flex-wrap: wrap; gap: 16px; }
    .footer-bottom .col-md-6 { text-align: center !important; }
    .footer-copyright { text-align: center; }
    .footer-heading::after { left: 50%; transform: translateX(-50%); }
    .footer-heading { text-align: center; }
    .footer-links { text-align: center; }
    .footer-links a { justify-content: center; }
    .footer-contact li { justify-content: center; }
    .footer-social { justify-content: center; }
    .footer-brand { justify-content: center; }
    .footer-text-small { text-align: center; max-width: 100%; }
    .footer-text { text-align: center; }
}

@media (max-width: 480px) {
    .footer-legal { gap: 12px; flex-wrap: wrap; }
    .footer-legal a { font-size: 0.75rem; }
}

/* ===== NAVBAR HOVER EFFECTS ===== */
.navbar .nav-link {
    position: relative;
    transition: all 0.3s ease;
}

.navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #0d6efd, #6c5ce7);
    transition: all 0.3s ease;
}

.navbar .nav-link:hover::after {
    width: 60%;
}

.navbar .nav-link:hover {
    color: #0d6efd !important;
}

/* ===== NAVBAR RESPONSIVE ===== */
@media (max-width: 992px) {
    .navbar .nav-link::after {
        display: none;
    }
    
    .navbar .nav-item {
        text-align: center;
    }
    
    .navbar .btn-gradient,
    .navbar .btn-primary-custom {
        display: inline-block;
        width: auto;
    }
    
    .navbar .d-none.d-lg-block {
        display: none !important;
    }
}

@media (max-width: 576px) {
    .navbar-brand {
        font-size: 1.2rem !important;
    }
    
    .navbar .btn-gradient,
    .navbar .btn-primary-custom {
        font-size: 0.8rem !important;
        padding: 6px 16px !important;
    }
}

/* ============================================================
   LOGIN & REGISTER PAGE - Shared Styles
   ============================================================ */
.login-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 60px 0;
    background: linear-gradient(135deg, #0d6efd 0%, #1a1a2e 100%);
    position: relative;
    overflow: hidden;
}

/* Background Particles */
.login-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    animation: login-float 20s ease-in-out infinite;
}

.login-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 50%;
    animation: login-float 15s ease-in-out infinite reverse;
}

@keyframes login-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

/* ===== LOGIN CARD ===== */
.login-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 45px 40px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.login-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
}

/* ===== LOGIN HEADER ===== */
.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 10px;
}

.login-logo i {
    color: #0d6efd;
    font-size: 2rem;
    background: rgba(13, 110, 253, 0.08);
    padding: 10px;
    border-radius: 14px;
}

.login-header h4 {
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 4px;
    font-size: 1.5rem;
}

.login-header p {
    font-size: 0.95rem;
    color: #6c757d;
    margin-bottom: 0;
}

/* ===== FORM GROUP ===== */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    font-weight: 600;
    font-size: 0.9rem;
    color: #333;
    display: block;
    margin-bottom: 6px;
}

.form-group label i {
    color: #0d6efd;
    width: 18px;
}

.form-group .form-control {
    padding: 12px 18px;
    border-radius: 12px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    background: #fff;
}

.form-group .form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.06);
    outline: none;
}

.form-group .form-control.is-invalid {
    border-color: #dc3545;
}

.form-group .form-control.is-invalid:focus {
    box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.06);
}

.invalid-feedback {
    font-size: 0.8rem;
    color: #dc3545;
    margin-top: 4px;
}

/* ===== BUTTONS ===== */
.btn-login {
    width: 100%;
    background: linear-gradient(135deg, #0d6efd, #6c5ce7);
    color: #fff;
    padding: 14px;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-login::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.08), transparent);
    transform: rotate(45deg) translateX(-100%);
    transition: 0.8s;
}

.btn-login:hover::after {
    transform: rotate(45deg) translateX(100%);
}

.btn-login:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(13, 110, 253, 0.3);
}

.btn-login:active {
    transform: translateY(0);
}

/* ===== LOGIN FOOTER ===== */
.login-footer {
    text-align: center;
    margin-top: 20px;
}

.login-footer p {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 0;
}

.login-footer p a {
    color: #0d6efd;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.login-footer p a:hover {
    color: #6c5ce7;
    text-decoration: underline;
}

/* ===== ALERT ===== */
.alert {
    border-radius: 12px;
    padding: 14px 18px;
    border: none;
    margin-bottom: 20px;
}

.alert-danger {
    background: rgba(220, 53, 69, 0.08);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.1);
}

.alert-success {
    background: rgba(40, 167, 69, 0.08);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.1);
}

.alert i {
    font-size: 1.1rem;
}

/* ===== DIVIDER ===== */
.login-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 20px 0;
    color: #adb5bd;
    font-size: 0.85rem;
}

.login-divider::before,
.login-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e9ecef;
}

/* ===== SOCIAL LOGIN ===== */
.social-login {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 10px;
    border: 2px solid #e9ecef;
    background: #fff;
    color: #333;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-decoration: none;
    flex: 1;
}

.social-btn:hover {
    border-color: #0d6efd;
    background: rgba(13, 110, 253, 0.02);
    transform: translateY(-2px);
}

.social-btn.google {
    color: #ea4335;
}

.social-btn.facebook {
    color: #1877f2;
}

.social-btn i {
    font-size: 1.2rem;
}

/* ===== ROLE BADGE ===== */
.login-role {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 12px;
}

.login-role .badge {
    padding: 6px 16px;
    font-size: 0.7rem;
    font-weight: 500;
    border-radius: 50px;
}

.login-role .badge.bg-primary {
    background: rgba(13, 110, 253, 0.1) !important;
    color: #0d6efd !important;
}

.login-role .badge.bg-success {
    background: rgba(40, 167, 69, 0.1) !important;
    color: #28a745 !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .login-card {
        padding: 35px 30px;
    }
}

@media (max-width: 768px) {
    .login-section {
        padding: 40px 0;
        min-height: 70vh;
    }
    
    .login-card {
        padding: 30px 25px;
        border-radius: 20px;
    }
    
    .login-header h4 {
        font-size: 1.3rem;
    }
    
    .social-login {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .login-section {
        padding: 30px 0;
        min-height: 60vh;
    }
    
    .login-card {
        padding: 25px 20px;
        border-radius: 16px;
    }
    
    .login-logo {
        font-size: 1.2rem;
    }
    
    .login-logo i {
        font-size: 1.5rem;
        padding: 8px;
    }
    
    .login-header h4 {
        font-size: 1.1rem;
    }
    
    .form-group .form-control {
        padding: 10px 14px;
        font-size: 0.9rem;
    }
    
    .btn-login {
        padding: 12px;
        font-size: 0.9rem;
    }
    
    .login-footer p {
        font-size: 0.8rem;
    }
}