/**
 * JEDH Website - Visual Fixes & Enhancements
 * Comprehensive fixes for professional medical website appearance
 * Last updated: January 2026
 */

/* ===================================
   HERO SECTION - Premium Medical Look
   =================================== */

.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg,
        #1a365d 0%,
        #1e4a7a 25%,
        #0066CC 60%,
        #0052A3 100%
    ) !important;
}

/* Animated background orbs for depth */
.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 70%);
    border-radius: 50%;
    animation: heroFloat 6s ease-in-out infinite;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -25%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: heroFloat 8s ease-in-out infinite reverse;
    z-index: 0;
}

@keyframes heroFloat {
    0%, 100% {
        transform: scale(1) translateY(0);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.1) translateY(-20px);
        opacity: 1;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
}

/* Hero Title - Premium look */
.hero-title {
    color: #ffffff !important;
    text-shadow:
        0 2px 4px rgba(0, 0, 0, 0.3),
        0 4px 12px rgba(0, 0, 0, 0.2) !important;
}

/* Hero Subtitle */
.hero-subtitle {
    color: rgba(255, 255, 255, 0.95) !important;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3) !important;
}

/* Hero Badge - Glass morphism effect */
.hero-badge {
    background: rgba(255, 255, 255, 0.95) !important;
    color: #0066CC !important;
    border: 2px solid rgba(255, 255, 255, 0.9) !important;
    font-weight: 700 !important;
    padding: 0.875rem 1.75rem !important;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Trust Badges - Glass cards */
.badge-item {
    background: rgba(255, 255, 255, 0.18) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
    font-weight: 600;
    padding: 0.875rem 1.5rem !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease !important;
}

.badge-item:hover {
    background: rgba(255, 255, 255, 0.25) !important;
    transform: translateY(-4px) !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.badge-item i {
    color: #FFD700 !important;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* ===================================
   HERO CTA BUTTONS - Premium Style
   =================================== */

.hero-ctas .btn-primary {
    background: #ffffff !important;
    color: #0066CC !important;
    font-weight: 700 !important;
    padding: 1rem 2rem !important;
    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.3) inset !important;
    border: none !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.hero-ctas .btn-primary:hover {
    background: #ffffff !important;
    transform: translateY(-4px) scale(1.02) !important;
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.4) inset !important;
}

.hero-ctas .btn-secondary {
    background: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
    border: 2px solid rgba(255, 255, 255, 0.4) !important;
    font-weight: 600 !important;
    padding: 1rem 2rem !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.hero-ctas .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25) !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
    transform: translateY(-4px) !important;
}

/* ===================================
   BUTTONS - General Enhancement
   =================================== */

.btn-primary {
    background: linear-gradient(135deg, #0066CC 0%, #0052A3 100%) !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3) !important;
    border: none !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0052A3 0%, #003D7A 100%) !important;
    transform: translateY(-3px) scale(1.02) !important;
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.4) !important;
}

.btn-outline {
    background: transparent !important;
    border: 2px solid #0066CC !important;
    color: #0066CC !important;
    font-weight: 600 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.btn-outline:hover {
    background: #0066CC !important;
    color: #ffffff !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.3) !important;
}

.btn-outline i {
    transition: transform 0.3s ease !important;
}

.btn-outline:hover i {
    transform: translateX(5px) !important;
}

/* WhatsApp Button Enhancement */
.btn-primary:has(.fa-whatsapp),
a[href*="wa.me"] .btn-primary,
.hero-ctas .btn-primary {
    position: relative;
    overflow: hidden;
}

/* ===================================
   SERVICE CARDS - Medical Professional
   =================================== */

.services-overview {
    padding: var(--spacing-16) 0;
    background: #ffffff;
}

.services-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: var(--spacing-12);
    max-width: 900px;
    margin: 0 auto;
}

.service-card {
    background: #ffffff;
    padding: var(--spacing-10);
    border-radius: 20px;
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.08),
        0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 520px;
    border: 1px solid rgba(0, 102, 204, 0.08);
    text-align: left !important;
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.12),
        0 8px 20px rgba(0, 102, 204, 0.1);
}

.service-card.eye-care {
    border-top: 5px solid #3B82F6;
}

.service-card.eye-care:hover {
    border-color: #3B82F6;
}

.service-card.dental-care {
    border-top: 5px solid #10B981;
}

.service-card.dental-care:hover {
    border-color: #10B981;
}

/* Service Icon - Vibrant gradients */
.service-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0066CC 0%, #0052A3 100%);
    border-radius: 16px;
    margin-bottom: var(--spacing-6);
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.25);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card.eye-care .service-icon {
    background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.25);
}

.service-card.dental-care .service-icon {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.25);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 30px rgba(0, 102, 204, 0.3);
}

.service-icon i {
    font-size: 2.5rem;
    color: #ffffff;
    line-height: 1;
}

/* Service Card Title */
.service-card h3 {
    margin-bottom: var(--spacing-5);
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.3;
}

/* Service List */
.service-list {
    list-style: none;
    margin-bottom: var(--spacing-8);
    flex: 1;
    padding: 0;
}

.service-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-3);
    padding: var(--spacing-3) 0;
    font-size: 1rem;
    color: #374151;
    line-height: 1.6;
}

.service-list li i {
    color: #10B981;
    font-size: 1.125rem;
    margin-top: 3px;
    flex-shrink: 0;
}

/* Button in card */
.service-card .btn {
    margin-top: auto;
    width: 100%;
    justify-content: center;
}

/* ===================================
   SECTION BADGES - Modern Look
   =================================== */

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, #EBF5FF 0%, #D6EBFF 100%);
    color: #0066CC;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: var(--spacing-5);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid #ADD6FF;
    box-shadow: 0 2px 10px rgba(0, 102, 204, 0.1);
}

/* ===================================
   SECTION HEADERS - Refined
   =================================== */

.section-header {
    margin-bottom: var(--spacing-12);
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: var(--spacing-4);
    line-height: 1.2;
}

.section-header p {
    font-size: 1.125rem;
    color: #6B7280;
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}

/* ===================================
   FEATURE ITEMS - Why Choose Section
   =================================== */

.feature-item {
    background: #ffffff;
    padding: var(--spacing-8);
    border-radius: 16px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    min-height: 280px;
    border: 1px solid rgba(0, 102, 204, 0.08);
    justify-content: flex-start;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(0, 102, 204, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0066CC 0%, #0052A3 100%);
    border-radius: 50%;
    margin: 0 auto var(--spacing-6);
    flex-shrink: 0;
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.25);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-item:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 35px rgba(0, 102, 204, 0.35);
}

.feature-icon i {
    font-size: 2rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.feature-item h3 {
    margin-bottom: var(--spacing-4);
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
}

.feature-item p {
    font-size: 0.95rem;
    color: #6B7280;
    line-height: 1.6;
    flex: 1;
}

/* ===================================
   PRICING CARDS - Premium Look
   =================================== */

.pricing-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 102, 204, 0.08);
}

.pricing-card:hover {
    transform: translateY(-12px);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.12),
        0 8px 20px rgba(0, 102, 204, 0.1);
}

.pricing-header {
    background: linear-gradient(135deg, #0066CC 0%, #0052A3 100%);
    color: #ffffff;
    padding: var(--spacing-8) var(--spacing-6);
    text-align: center;
    position: relative;
}

.pricing-header i {
    font-size: 2.75rem;
    margin-bottom: var(--spacing-2);
    color: #ffffff;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    transition: transform 0.4s ease;
}

.pricing-card:hover .pricing-header i {
    transform: scale(1.15) rotate(5deg);
}

.pricing-header h3 {
    color: #ffffff;
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
}

.price {
    font-size: 1.875rem;
    font-weight: 700;
    color: #0066CC;
    margin-bottom: var(--spacing-2);
    margin-top: var(--spacing-2);
    text-align: center;
}

/* ===================================
   TESTIMONIALS - Trust Building
   =================================== */

.testimonials {
    padding: var(--spacing-16) 0;
    background: #F9FAFB;
}

.testimonial-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-8);
    max-width: var(--container-max-width);
    margin: 0 auto;
}

.testimonial-card {
    background: #ffffff;
    padding: var(--spacing-10);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 5px solid #0066CC;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border-left-color: #0052A3;
}

/* Quote Icon */
.testimonial-card::before {
    content: '\f10d';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: var(--spacing-8);
    right: var(--spacing-8);
    font-size: 3rem;
    color: #EBF5FF;
    opacity: 0.8;
}

/* Stars */
.testimonial-card .stars {
    display: flex;
    gap: 4px;
    margin-bottom: var(--spacing-5);
}

.testimonial-card .stars i {
    color: #FBBF24;
    font-size: 1.125rem;
}

/* Testimonial Text */
.testimonial-text {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: #4B5563;
    margin-bottom: var(--spacing-6);
    font-style: italic;
    position: relative;
    z-index: 1;
}

/* Author Section */
.testimonial-author {
    display: flex;
    align-items: center;
    padding-top: var(--spacing-5);
    border-top: 2px solid #F3F4F6;
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.author-info strong {
    font-size: 1.0625rem;
    font-weight: 700;
    color: #111827;
}

.author-info span {
    font-size: 0.875rem;
    color: #6B7280;
    font-weight: 500;
}

/* ===================================
   CTA BANNER - Premium Design
   =================================== */

.cta-banner {
    padding: 80px 0 !important;
    background: linear-gradient(135deg, #1a365d 0%, #0066CC 50%, #003D7A 100%) !important;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

.cta-banner::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 25s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -30px) scale(1.05); }
}

.cta-content {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}

.cta-text {
    flex: 1;
    min-width: 300px;
}

.cta-text h2 {
    color: #ffffff !important;
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    margin-bottom: 16px !important;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    line-height: 1.2 !important;
}

.cta-text p {
    color: rgba(255, 255, 255, 0.95) !important;
    font-size: 1.125rem !important;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    font-weight: 400 !important;
    line-height: 1.6 !important;
    max-width: 600px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-buttons .btn-white {
    background: #ffffff !important;
    color: #0066CC !important;
    font-weight: 700 !important;
    padding: 16px 40px !important;
    font-size: 1.125rem !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3) !important;
    border-radius: 12px !important;
    transition: all 0.3s ease !important;
}

.cta-buttons .btn-white:hover {
    transform: translateY(-4px) scale(1.03) !important;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4) !important;
    background: #f8f9fa !important;
}

.cta-buttons .btn-outline-white {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    border: 2px solid rgba(255, 255, 255, 0.6) !important;
    backdrop-filter: blur(10px) !important;
    padding: 16px 40px !important;
    font-size: 1.125rem !important;
    font-weight: 600 !important;
    border-radius: 12px !important;
    transition: all 0.3s ease !important;
}

.cta-buttons .btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.9) !important;
    transform: translateY(-4px) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
}

/* Responsive CTA Banner */
@media (max-width: 768px) {
    .cta-banner {
        padding: 60px 0 !important;
    }

    .cta-content {
        flex-direction: column;
        text-align: center;
        gap: 32px;
    }

    .cta-text h2 {
        font-size: 2rem !important;
    }

    .cta-text p {
        font-size: 1rem !important;
    }

    .cta-buttons {
        justify-content: center;
    }
}

/* ===================================
   NAVIGATION ENHANCEMENT
   =================================== */

.navbar {
    background: #ffffff;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.nav-menu a:hover {
    color: #0066CC !important;
    background: #EBF5FF !important;
}

.nav-menu a.active {
    color: #0066CC !important;
    background: #D6EBFF !important;
}

.nav-cta .btn-primary {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%) !important;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3) !important;
}

.nav-cta .btn-primary:hover {
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4) !important;
}

/* ===================================
   FLOATING WHATSAPP BUTTON
   =================================== */

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    box-shadow:
        0 8px 30px rgba(37, 211, 102, 0.4),
        0 4px 15px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: whatsappPulse 2s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow:
        0 12px 40px rgba(37, 211, 102, 0.5),
        0 8px 20px rgba(0, 0, 0, 0.2);
}

@keyframes whatsappPulse {
    0%, 100% {
        box-shadow:
            0 8px 30px rgba(37, 211, 102, 0.4),
            0 4px 15px rgba(0, 0, 0, 0.15);
    }
    50% {
        box-shadow:
            0 8px 40px rgba(37, 211, 102, 0.6),
            0 4px 20px rgba(0, 0, 0, 0.2);
    }
}

/* ===================================
   ICON FIXES
   =================================== */

i.fas, i.fab, i.far {
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}

.badge-item i {
    font-size: 1.25rem;
    margin-right: 8px;
}

.btn i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: translateX(4px);
}

/* ===================================
   SMOOTH ANIMATIONS
   =================================== */

html {
    scroll-behavior: smooth;
}

.service-card,
.feature-item,
.pricing-card,
.testimonial-card {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

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

/* Staggered animations */
.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.feature-item:nth-child(1) { animation-delay: 0.1s; }
.feature-item:nth-child(2) { animation-delay: 0.15s; }
.feature-item:nth-child(3) { animation-delay: 0.2s; }
.feature-item:nth-child(4) { animation-delay: 0.25s; }
.feature-item:nth-child(5) { animation-delay: 0.3s; }
.feature-item:nth-child(6) { animation-delay: 0.35s; }

/* ===================================
   MOBILE RESPONSIVE FIXES
   =================================== */

@media (max-width: 768px) {
    .hero {
        padding: var(--spacing-12) 0;
    }

    .services-cards {
        grid-template-columns: 1fr;
        gap: var(--spacing-8);
    }

    .service-card {
        padding: var(--spacing-8);
        min-height: auto;
    }

    .service-icon {
        width: 70px;
        height: 70px;
    }

    .service-icon i {
        font-size: 2rem;
    }

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

    .service-list li {
        font-size: 0.9375rem;
        padding: var(--spacing-2) 0;
    }

    .section-header h2 {
        font-size: 1.875rem;
    }

    .section-header p {
        font-size: 1rem;
    }

    .testimonial-slider {
        grid-template-columns: 1fr;
        gap: var(--spacing-6);
    }

    .testimonial-card {
        padding: var(--spacing-8);
    }

    .testimonial-card::before {
        font-size: 2rem;
        top: var(--spacing-6);
        right: var(--spacing-6);
    }

    .testimonial-text {
        font-size: 1rem;
    }

    .author-info strong {
        font-size: 1rem;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 1.5rem;
    }

    .hero-ctas .btn-primary,
    .hero-ctas .btn-secondary {
        padding: 0.875rem 1.5rem !important;
        font-size: 1rem !important;
    }
}

/* ===================================
   FOOTER - Professional Design
   =================================== */

.footer {
    background: linear-gradient(180deg, #1a202c 0%, #111827 100%) !important;
    color: rgba(255, 255, 255, 0.9) !important;
    padding: 80px 0 40px !important;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-col {
    animation: fadeInUp 0.6s ease-out;
}

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

.footer-col p {
    color: rgba(255, 255, 255, 0.75) !important;
    line-height: 1.7;
    margin-top: 16px;
}

.footer h4 {
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 1.125rem !important;
    margin-bottom: 24px !important;
    position: relative;
    padding-bottom: 12px;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #0066CC, #5CADFF);
    border-radius: 2px;
}

.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer a {
    color: rgba(255, 255, 255, 0.75) !important;
    transition: all 0.3s ease !important;
    text-decoration: none;
    display: inline-block;
    position: relative;
}

.footer a:hover {
    color: #5CADFF !important;
    transform: translateX(4px);
}

.footer a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #0066CC, #5CADFF);
    transition: width 0.3s ease;
}

.footer a:hover::before {
    width: 100%;
}

.contact-info {
    list-style: none;
    padding: 0;
}

.contact-info li {
    color: rgba(255, 255, 255, 0.8) !important;
    margin-bottom: 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.6;
}

.contact-info i {
    color: #5CADFF;
    font-size: 1.125rem;
    margin-top: 2px;
    min-width: 20px;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.social-links a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 44px !important;
    height: 44px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border-radius: 50% !important;
    transition: all 0.3s ease !important;
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateX(0) !important;
}

.social-links a:hover {
    background: linear-gradient(135deg, #0066CC, #5CADFF) !important;
    transform: translateY(-4px) !important;
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.4) !important;
    border-color: transparent;
    color: #ffffff !important;
}

.social-links a::before {
    display: none !important;
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6) !important;
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 0.875rem;
}

.footer-links a:hover {
    color: #5CADFF !important;
}

/* Footer Logo */
.footer-logo {
    height: 70px !important;
    width: auto !important;
    margin-bottom: 24px !important;
    filter: brightness(0) invert(1) !important;
    opacity: 0.95 !important;
    transition: all 0.3s ease !important;
}

.footer-logo:hover {
    opacity: 1 !important;
    transform: scale(1.05);
}

/* ===================================
   NRI SECTION - Premium Medical Tourism Design
   =================================== */

.nri-section {
    padding: 100px 0 !important;
    background: linear-gradient(135deg, #0f2744 0%, #1a4d7a 30%, #0066CC 70%, #5CADFF 100%) !important;
    position: relative;
    overflow: hidden;
}

/* Animated background pattern */
.nri-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    animation: breathe 15s ease-in-out infinite;
}

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

/* Floating globe decoration */
.nri-section::after {
    content: '✈';
    position: absolute;
    top: 10%;
    right: 10%;
    font-size: 120px;
    opacity: 0.05;
    animation: floatGlobe 20s ease-in-out infinite;
    pointer-events: none;
}

@keyframes floatGlobe {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(20px, -20px) rotate(10deg); }
    50% { transform: translate(0, -40px) rotate(0deg); }
    75% { transform: translate(-20px, -20px) rotate(-10deg); }
}

.nri-content {
    position: relative;
    z-index: 2;
}

.section-badge {
    display: inline-block !important;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.15)) !important;
    color: #ffffff !important;
    padding: 12px 32px !important;
    border-radius: 50px !important;
    font-size: 0.875rem !important;
    font-weight: 700 !important;
    margin-bottom: 24px !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2) !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nri-text h2 {
    color: #ffffff !important;
    font-size: 3rem !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    margin-bottom: 24px !important;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 2px 8px rgba(0, 0, 0, 0.3) !important;
}

.nri-text p {
    color: rgba(255, 255, 255, 0.95) !important;
    font-size: 1.25rem !important;
    font-weight: 400 !important;
    line-height: 1.8 !important;
    margin-bottom: 48px !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Feature Cards - Premium Design */
.nri-features {
    list-style: none !important;
    margin-bottom: 48px !important;
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
    gap: 24px !important;
    padding: 0 !important;
}

.nri-features li {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    padding: 32px 24px !important;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%) !important;
    border-radius: 20px !important;
    backdrop-filter: blur(20px) !important;
    border: 2px solid rgba(255, 255, 255, 0.5) !important;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15) !important;
    position: relative;
    overflow: hidden;
}

.nri-features li::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #0066CC, #5CADFF, #0066CC);
    background-size: 200% 100%;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.nri-features li:hover {
    transform: translateY(-12px) scale(1.03) !important;
    box-shadow: 0 20px 60px rgba(0, 102, 204, 0.3) !important;
    border-color: rgba(0, 102, 204, 0.5) !important;
}

.nri-features i {
    font-size: 3rem !important;
    margin-bottom: 20px !important;
    padding: 20px !important;
    background: linear-gradient(135deg, #0066CC 0%, #5CADFF 100%) !important;
    border-radius: 50% !important;
    color: #ffffff !important;
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.4) !important;
    transition: all 0.4s ease !important;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nri-features li:hover i {
    transform: scale(1.15) rotate(5deg) !important;
    box-shadow: 0 15px 40px rgba(0, 102, 204, 0.5) !important;
    background: linear-gradient(135deg, #5CADFF 0%, #0066CC 100%) !important;
}

.nri-features li span {
    font-size: 1.125rem !important;
    line-height: 1.5 !important;
    color: #1F2937 !important;
    font-weight: 600 !important;
}

/* CTA Buttons - Premium Style */
.nri-ctas {
    display: flex !important;
    gap: 20px !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    margin-top: 48px !important;
}

.nri-ctas .btn {
    min-width: 220px !important;
    padding: 18px 48px !important;
    font-weight: 700 !important;
    border-radius: 12px !important;
    transition: all 0.3s ease !important;
    font-size: 1.125rem !important;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.nri-ctas .btn-primary {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%) !important;
    color: #0066CC !important;
    border: none !important;
    box-shadow: 0 10px 40px rgba(255, 255, 255, 0.3) !important;
}

.nri-ctas .btn-primary:hover {
    transform: translateY(-4px) scale(1.05) !important;
    box-shadow: 0 15px 50px rgba(255, 255, 255, 0.4) !important;
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%) !important;
}

.nri-ctas .btn-outline {
    background: rgba(255, 255, 255, 0.15) !important;
    border: 2px solid rgba(255, 255, 255, 0.6) !important;
    color: #ffffff !important;
    backdrop-filter: blur(10px) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
}

.nri-ctas .btn-outline:hover {
    background: rgba(255, 255, 255, 0.25) !important;
    border-color: rgba(255, 255, 255, 0.9) !important;
    transform: translateY(-4px) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3) !important;
}

/* Responsive NRI Section */
@media (max-width: 768px) {
    .nri-section {
        padding: 60px 0 !important;
    }

    .nri-text h2 {
        font-size: 2rem !important;
    }

    .nri-text p {
        font-size: 1rem !important;
    }

    .nri-features {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .nri-features li {
        padding: 24px 20px !important;
    }

    .nri-features i {
        font-size: 2.5rem !important;
        padding: 16px !important;
        width: 70px;
        height: 70px;
    }

    .nri-ctas {
        flex-direction: column;
        align-items: center;
    }

    .nri-ctas .btn {
        width: 100%;
        max-width: 320px;
    }
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 60px 0 30px !important;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}

/* ===================================
   ACCESSIBILITY IMPROVEMENTS
   =================================== */

:focus-visible {
    outline: 3px solid #0066CC;
    outline-offset: 2px;
}

.btn:focus-visible {
    outline: 3px solid #0066CC;
    outline-offset: 3px;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
/* ===================================
   FOOTER - Professional Universal Design
   =================================== */

.footer {
    background: linear-gradient(180deg, #1F2937 0%, #111827 100%) !important;
    color: rgba(255, 255, 255, 0.9) !important;
    padding: 80px 0 40px !important;
    position: relative !important;
    overflow: hidden !important;
}

.footer::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 1px !important;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent) !important;
}

/* Footer Container */
.footer .container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 24px !important;
}

/* Footer Content Grid */
.footer-content {
    display: grid !important;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr !important;
    gap: 48px !important;
    margin-bottom: 48px !important;
}

/* Footer Columns */
.footer-col {
    display: block !important;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.75) !important;
    line-height: 1.7 !important;
    margin-top: 16px !important;
    margin-bottom: 0 !important;
    font-size: 0.9375rem !important;
    font-weight: 400 !important;
}

/* Footer Headings */
.footer h4,
.footer-col h4 {
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 1.125rem !important;
    margin-bottom: 24px !important;
    margin-top: 0 !important;
    position: relative !important;
    padding-bottom: 12px !important;
    letter-spacing: 0.025em !important;
}

.footer h4::after,
.footer-col h4::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 40px !important;
    height: 3px !important;
    background: linear-gradient(90deg, #0066CC, #5CADFF) !important;
    border-radius: 2px !important;
}

/* Footer Lists */
.footer ul,
.footer-col ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

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

/* Footer Links */
.footer a,
.footer-col a {
    color: rgba(255, 255, 255, 0.75) !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    display: inline-block !important;
    position: relative !important;
    font-size: 0.9375rem !important;
}

.footer a:hover,
.footer-col a:hover {
    color: #5CADFF !important;
    transform: translateX(4px) !important;
}

.footer-col a::before {
    content: '' !important;
    position: absolute !important;
    bottom: -2px !important;
    left: 0 !important;
    width: 0 !important;
    height: 2px !important;
    background: linear-gradient(90deg, #0066CC, #5CADFF) !important;
    transition: width 0.3s ease !important;
}

.footer-col a:hover::before {
    width: 100% !important;
}

/* Contact Info */
.contact-info {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.contact-info li {
    color: rgba(255, 255, 255, 0.8) !important;
    margin-bottom: 16px !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
    line-height: 1.6 !important;
    font-size: 0.9375rem !important;
}

.contact-info i {
    color: #5CADFF !important;
    font-size: 1.125rem !important;
    margin-top: 2px !important;
    min-width: 20px !important;
    flex-shrink: 0 !important;
}

/* Social Links */
.social-links {
    display: flex !important;
    gap: 12px !important;
    margin-top: 24px !important;
    flex-wrap: wrap !important;
}

.social-links a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border-radius: 50% !important;
    transition: all 0.3s ease !important;
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 1.25rem !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    transform: translateX(0) !important;
    text-decoration: none !important;
}

.social-links a:hover {
    background: linear-gradient(135deg, #0066CC, #5CADFF) !important;
    transform: translateY(-4px) translateX(0) !important;
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.4) !important;
    border-color: transparent !important;
    color: #ffffff !important;
}

.social-links a::before {
    display: none !important;
}

.social-links i {
    color: inherit !important;
    font-size: inherit !important;
}

/* Footer Logo */
.footer-logo {
    height: 70px !important;
    width: auto !important;
    max-width: 200px !important;
    margin-bottom: 24px !important;
    filter: brightness(0) invert(1) !important;
    opacity: 0.95 !important;
    transition: all 0.3s ease !important;
    display: block !important;
}

.footer-logo:hover {
    opacity: 1 !important;
    transform: scale(1.05) !important;
}

/* Footer Bottom */
.footer-bottom {
    padding-top: 32px !important;
    margin-top: 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 20px !important;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6) !important;
    margin: 0 !important;
    font-size: 0.875rem !important;
}

.footer-links {
    display: flex !important;
    gap: 32px !important;
    flex-wrap: wrap !important;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 0.875rem !important;
    transform: translateX(0) !important;
}

.footer-links a:hover {
    color: #5CADFF !important;
    transform: translateX(0) !important;
}

.footer-links a::before {
    display: none !important;
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 40px !important;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 60px 0 30px !important;
    }

    .footer .container {
        padding: 0 20px !important;
    }

    .footer-content {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
        margin-bottom: 40px !important;
    }

    .footer h4,
    .footer-col h4 {
        font-size: 1rem !important;
        margin-bottom: 20px !important;
    }

    .footer-bottom {
        flex-direction: column !important;
        text-align: center !important;
        padding-top: 24px !important;
    }

    .footer-links {
        justify-content: center !important;
        gap: 24px !important;
    }

    .social-links {
        justify-content: center !important;
    }

    .contact-info li {
        font-size: 0.875rem !important;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 40px 0 24px !important;
    }

    .footer-content {
        gap: 32px !important;
    }

    .social-links a {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        min-height: 40px !important;
        font-size: 1.125rem !important;
    }
}

/* ===================================
   NRI PAGE ALIGNMENT FIXES
   Ensure all blocks are properly centered
   =================================== */

/* Fix procedure-cards to properly center items */
.procedure-cards {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(300px, 400px)) !important;
    gap: var(--spacing-8) !important;
    max-width: 1300px !important;
    margin: 0 auto !important;
    padding: 0 var(--spacing-6) !important;
    width: 100% !important;
    justify-content: center !important;
}

.procedure-card {
    width: 100% !important;
    max-width: 400px !important;
}

/* Features grid - center all items */
.features-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: var(--spacing-8) !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    justify-content: center !important;
    justify-items: center !important;
}

.feature-item {
    width: 100% !important;
    max-width: 350px !important;
}

/* Testimonial slider - center all cards */
.testimonial-slider {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
    gap: var(--spacing-8) !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    justify-content: center !important;
    justify-items: center !important;
}

.testimonial-card {
    width: 100% !important;
    max-width: 380px !important;
}

/* FAQ grid - center items */
.faq-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
    gap: var(--spacing-8) !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    justify-content: center !important;
    justify-items: center !important;
}

.faq-item {
    width: 100% !important;
    max-width: 550px !important;
}

/* Timeline - ensure centered */
.timeline {
    max-width: 800px !important;
    margin: 0 auto !important;
}

/* Two-column layout - center the content */
.two-column {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)) !important;
    gap: var(--spacing-12) !important;
    max-width: 1100px !important;
    margin: 0 auto !important;
    align-items: start !important;
}

/* Section headers - ensure centered */
.section-header {
    text-align: center !important;
    max-width: 800px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: var(--spacing-12) !important;
}

/* Content sections - ensure proper centering */
.content-section .container {
    max-width: 1200px !important;
    margin: 0 auto !important;
}

/* Responsive adjustments for NRI page alignment */
@media (max-width: 1024px) {
    .procedure-cards {
        grid-template-columns: repeat(auto-fit, minmax(280px, 380px)) !important;
        gap: var(--spacing-6) !important;
    }

    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
    }

    .two-column {
        grid-template-columns: 1fr !important;
        gap: var(--spacing-8) !important;
    }
}

@media (max-width: 768px) {
    .procedure-cards {
        grid-template-columns: 1fr !important;
        max-width: 450px !important;
        justify-items: center !important;
    }

    .procedure-card {
        max-width: 100% !important;
    }

    .features-grid {
        grid-template-columns: 1fr !important;
        justify-items: center !important;
    }

    .feature-item {
        max-width: 100% !important;
    }

    .testimonial-slider {
        grid-template-columns: 1fr !important;
        justify-items: center !important;
    }

    .testimonial-card {
        max-width: 100% !important;
    }

    .faq-grid {
        grid-template-columns: 1fr !important;
        justify-items: center !important;
    }

    .faq-item {
        max-width: 100% !important;
    }

    .two-column {
        grid-template-columns: 1fr !important;
    }

    .info-box,
    .content-text {
        width: 100% !important;
    }
}
