/* ===================================
   JEDH Website - Modern Styles
   =================================== */

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

:root {
    /* Colors */
    --primary-color: #0066CC;
    --primary-dark: #004C99;
    --primary-light: #3385D6;
    --secondary-color: #00A86B;
    --accent-eye: #4A90E2;
    --accent-dental: #2ECC71;

    /* Neutrals */
    --text-dark: #1A1A1A;
    --text-medium: #4A4A4A;
    --text-light: #6B6B6B;
    --bg-light: #F8F9FA;
    --bg-white: #FFFFFF;
    --border-color: #E0E0E0;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Poppins', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.07);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.15);
    --shadow-card: 0 8px 32px rgba(0, 102, 204, 0.12);

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;
}

html {
    scroll-behavior: smooth;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* === Typography === */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: var(--spacing-sm);
    color: var(--text-medium);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

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

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-card);
}

.btn-secondary {
    background: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background: #008F5B;
    transform: translateY(-2px);
    box-shadow: var(--shadow-card);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

.btn-white {
    background: white;
    color: var(--primary-color);
}

.btn-white:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
}

.btn-outline-white {
    background: transparent;
    color: white;
    border: 2px solid white;
}

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

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* === Top Bar === */
.top-bar {
    background: var(--text-dark);
    color: white;
    padding: var(--spacing-xs) 0;
    font-size: 0.875rem;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.top-bar-left,
.top-bar-right {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.top-bar span {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.language-switch {
    display: flex;
    gap: 0.25rem;
}

.lang-btn {
    background: transparent;
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.lang-btn.active,
.lang-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

/* === Navigation === */
.navbar {
    background: white;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-sm) 0;
}

.logo-img {
    height: 60px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
    align-items: center;
}

.nav-menu a {
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    padding: var(--spacing-sm) 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: var(--spacing-xs) var(--spacing-md);
    color: var(--text-dark);
    transition: background 0.3s ease;
}

.dropdown-menu a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.75rem;
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    align-items: center;
    z-index: 1001;
    position: relative;
    -webkit-tap-highlight-color: transparent;
}

.mobile-menu-toggle:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.mobile-menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--text-dark);
    border-radius: var(--radius-full);
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translateY(9px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-9px);
}

/* === Hero Section === */
.hero {
    padding: var(--spacing-2xl) 0;
    background: linear-gradient(135deg, #4A5568 0%, #2D3748 30%, #1A202C 60%, #0066CC 100%);
    position: relative;
    overflow: hidden;
}

.hero::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: heroPulse 4s ease-in-out infinite;
}

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

@keyframes heroPulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    align-items: center;
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    color: #FFFFFF;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s ease-out;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-title {
    margin-bottom: var(--spacing-sm);
    color: #FFFFFF;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5), 0 4px 16px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out 0.2s both;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #FFFFFF;
    margin-bottom: var(--spacing-lg);
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4), 0 1px 3px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out 0.4s both;
    font-weight: 500;
}

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

.trust-badges {
    display: flex;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-weight: 600;
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.badge-item:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
}

.badge-item i {
    color: #FFB800;
    font-size: 1.5rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.hero-ctas {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.hero-ctas .btn {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.hero-ctas .btn-primary {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    backdrop-filter: blur(10px);
}

.hero-ctas .btn-primary:hover {
    background: white;
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.hero-ctas .btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.hero-ctas .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-3px);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-icon-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
    min-width: 200px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.hero-icon-card:hover {
    transform: translateY(-10px) scale(1.05);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.hero-icon-card i {
    font-size: 3.5rem;
    color: #FFFFFF;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5)) drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}

.hero-icon-card span {
    color: #FFFFFF;
    font-weight: 600;
    font-size: 1.1rem;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5), 0 1px 3px rgba(0, 0, 0, 0.4);
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    animation: float 3s ease-in-out infinite;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.floating-card i {
    font-size: 2rem;
}

.card-1 {
    top: 10%;
    right: -5%;
    color: var(--accent-eye);
}

.card-2 {
    bottom: 15%;
    left: -5%;
    color: var(--accent-dental);
}

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

/* === Services Overview === */
.services-overview {
    padding: var(--spacing-2xl) 0;
}

.section-header {
    margin-bottom: var(--spacing-xl);
    text-align: center;
}

.section-header h2 {
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-medium);
}

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

.services-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
    align-items: stretch;
}

.service-card {
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 500px;
    border: 1px solid rgba(0, 102, 204, 0.1);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.service-card.eye-care {
    border-top: 4px solid var(--accent-eye);
}

.service-card.dental-care {
    border-top: 4px solid var(--accent-dental);
}

.service-icon {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    border-radius: var(--radius-lg);
    margin: 0 auto var(--spacing-lg);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.2);
    transition: all 0.3s ease;
    position: relative;
}

.service-card:hover .service-icon {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.3);
}

.service-icon i {
    font-size: 2.75rem;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.service-card h3 {
    margin-bottom: var(--spacing-md);
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.service-list {
    list-style: none;
    margin-bottom: var(--spacing-lg);
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.service-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    color: var(--text-medium);
}

.service-list i {
    color: var(--secondary-color);
    margin-top: 0.25rem;
}

.service-card .btn {
    margin-top: auto;
    flex-shrink: 0;
    align-self: flex-end;
}

/* === Why Choose === */
.why-choose {
    padding: var(--spacing-2xl) 0;
    background: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    align-items: stretch;
}

/* Center features grid on pricing page when there are only 2 items */
.pricing-page .features-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 900px;
    margin: 0 auto;
    justify-items: stretch;
}

.pricing-page .features-grid .feature-item {
    max-width: 100%;
}

.feature-item {
    background: white;
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 300px;
    border: 1px solid rgba(0, 102, 204, 0.1);
    justify-content: space-between;
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    border-radius: 50%;
    margin: 0 auto var(--spacing-md);
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.2);
    transition: all 0.3s ease;
    position: relative;
}

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

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

.feature-item h3 {
    margin-bottom: var(--spacing-sm);
    font-size: 1.25rem;
}

.feature-item p {
    font-size: 0.95rem;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* === Insurance Section === */
.insurance-section {
    padding: var(--spacing-2xl) 0;
}

.insurance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.insurance-logo-item {
    background: white;
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    transition: all 0.3s ease;
}

.insurance-logo-item:hover {
    box-shadow: var(--shadow-card);
    transform: translateY(-3px);
}

.insurance-logo-item img {
    max-height: 60px;
    max-width: 100%;
    object-fit: contain;
}

/* === Pricing Preview === */
.pricing-preview {
    padding: var(--spacing-2xl) 0;
    background: var(--bg-light);
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
    align-items: stretch;
}

.pricing-card {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 500px;
    border: 1px solid rgba(0, 102, 204, 0.1);
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.pricing-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: var(--spacing-lg) var(--spacing-md);
    text-align: center;
    min-height: 130px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    position: relative;
}

.pricing-header i {
    font-size: 2.75rem;
    margin-bottom: var(--spacing-xs);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    transition: transform 0.3s ease;
}

.pricing-card:hover .pricing-header i {
    transform: scale(1.1);
}

.pricing-header h3 {
    color: white;
    margin: 0;
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.3;
}

.pricing-body {
    padding: var(--spacing-lg);
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 0;
    overflow: visible;
}

.price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
    margin-top: var(--spacing-xs);
    text-align: center;
    line-height: 1.2;
}

.price-note {
    font-size: 0.875rem;
    color: var(--text-medium);
    margin-bottom: var(--spacing-sm);
    text-align: center;
    line-height: 1.4;
}

.pricing-features {
    list-style: none;
    margin: var(--spacing-sm) 0 var(--spacing-md) 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 0;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-sm);
    font-size: 0.9rem;
    color: var(--text-dark);
    line-height: 1.5;
}

.pricing-features i {
    color: var(--secondary-color);
}

.pricing-card .btn {
    width: 100%;
    justify-content: center;
    margin-top: var(--spacing-md);
    flex-shrink: 0;
    align-self: flex-end;
    padding: var(--spacing-md) var(--spacing-lg);
}

.pricing-cta {
    margin-top: var(--spacing-xl);
}

/* === Video Section === */
.video-section {
    padding: var(--spacing-2xl) 0;
}

.video-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.video-text h2 {
    margin-bottom: var(--spacing-md);
}

.video-text p {
    margin-bottom: var(--spacing-lg);
}

.video-text .btn-outline {
    background: #FF0000;
    color: white;
    border: 2px solid #FF0000;
}

.video-text .btn-outline:hover {
    background: #CC0000;
    border-color: #CC0000;
    color: white;
}

.video-placeholder {
    background: var(--bg-light);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.video-thumb {
    aspect-ratio: 16/9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #FF0000 0%, #CC0000 100%);
    color: white;
}

.video-thumb i {
    font-size: 4rem;
    margin-bottom: var(--spacing-sm);
}

.video-thumb span {
    font-size: 1.25rem;
    font-weight: 600;
}

/* === Video Slider === */
.video-slider-container {
    position: relative;
    background: var(--bg-light);
    border-radius: var(--radius-xl);
    overflow: hidden;
    min-height: 300px;
}

.video-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-2xl);
    text-align: center;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--bg-light);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: var(--spacing-md);
}

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

.video-loading p {
    color: var(--text-medium);
    margin: 0;
}

.video-slider {
    position: relative;
    display: flex;
    align-items: center;
    padding: var(--spacing-lg);
    overflow: hidden;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.slider-btn:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.slider-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: translateY(-50%);
}

.slider-btn:disabled:hover {
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
}

.slider-prev {
    left: 10px;
}

.slider-next {
    right: 10px;
}

.slider-btn i {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.video-slider-track {
    display: flex;
    gap: var(--spacing-lg);
    overflow: visible;
    width: max-content;
    min-width: 100%;
    padding: 0 60px;
    transition: transform 0.5s ease;
    flex-wrap: nowrap;
}

.video-card {
    flex: 0 0 auto;
    width: 280px;
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

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

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 160px;
    background: #f0f0f0;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.05);
}

.video-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 0, 0, 0.9);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.3);
}

.video-card:hover .video-play-overlay {
    background: rgba(255, 0, 0, 1);
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.4);
}

.video-play-overlay i {
    font-size: 1.5rem;
    margin-left: 3px; /* Slight offset for play icon */
}

.video-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.video-info {
    padding: var(--spacing-md);
}

.video-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--spacing-xs);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-meta {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 0.8rem;
    color: var(--text-light);
}

.video-views {
    display: flex;
    align-items: center;
    gap: 4px;
}

.video-views i {
    font-size: 0.7rem;
}

.slider-indicators {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-md) 0;
}

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

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

.video-error {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-2xl);
    text-align: center;
}

.error-placeholder {
    background: linear-gradient(135deg, #FF0000 0%, #CC0000 100%);
    color: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    max-width: 300px;
}

.error-placeholder i {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}

.error-placeholder span {
    font-size: 1.25rem;
    font-weight: 600;
    display: block;
    margin-bottom: var(--spacing-sm);
}

.error-placeholder p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

.error-placeholder a {
    color: white;
    text-decoration: underline;
}

/* === Video Modal === */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-lg);
}

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

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

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

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

.modal-close i {
    font-size: 1.2rem;
}

.modal-video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
}

.modal-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* === Responsive Design === */
@media (max-width: 768px) {
    .video-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .video-slider {
        padding: var(--spacing-md);
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
    }
    
    .slider-prev {
        left: 5px;
    }
    
    .slider-next {
        right: 5px;
    }
    
    .video-slider-track {
        padding: 0 50px;
    }
    
    .video-card {
        width: 240px;
    }
    
    .video-thumbnail {
        height: 135px;
    }
    
    .modal-content {
        margin: var(--spacing-md);
        max-height: calc(100vh - 2rem);
    }
    
    .modal-close {
        top: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 480px) {
    .video-card {
        width: 200px;
    }
    
    .video-thumbnail {
        height: 112px;
    }
    
    .video-info {
        padding: var(--spacing-sm);
    }
    
    .video-title {
        font-size: 0.85rem;
    }
    
    .video-meta {
        font-size: 0.75rem;
    }
}

/* === Testimonials === */
.testimonials {
    padding: var(--spacing-2xl) 0;
    background: var(--bg-light);
}

.testimonial-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    align-items: stretch;
}

.testimonial-card {
    background: white;
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 350px;
    border: 1px solid rgba(0, 102, 204, 0.1);
    justify-content: space-between;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: var(--spacing-md);
    color: #FFB800;
    flex-shrink: 0;
    justify-content: center;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
    flex: 1;
    display: flex;
    align-items: center;
}

.testimonial-author {
    margin-top: auto;
}

.testimonial-author strong {
    display: block;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

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

/* === NRI Section === */
.nri-section {
    padding: var(--spacing-2xl) 0;
    background: linear-gradient(135deg, #4A5568 0%, #2D3748 30%, #1A202C 60%, #0066CC 100%);
    position: relative;
    overflow: hidden;
}

.nri-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: float 20s ease-in-out infinite;
    pointer-events: none;
}

.nri-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.05) 50%, transparent 70%);
    pointer-events: none;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.nri-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.section-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.25);
    color: #FFFFFF;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.nri-text h2 {
    margin-bottom: var(--spacing-md);
    font-size: clamp(2rem, 5vw, 3rem);
    color: #FFFFFF;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5), 0 4px 16px rgba(0, 0, 0, 0.3);
    font-weight: 700;
}

.nri-text p {
    margin-bottom: var(--spacing-xl);
    font-size: 1.25rem;
    line-height: 1.7;
    color: #FFFFFF;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4), 0 1px 3px rgba(0, 0, 0, 0.3);
    font-weight: 500;
}

.nri-features {
    list-style: none;
    margin-bottom: var(--spacing-xl);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.nri-features li {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--spacing-xl);
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: var(--text-dark);
    font-weight: 600;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    min-height: 200px;
    justify-content: space-between;
}

.nri-features li span {
    color: var(--text-dark);
    font-weight: 600;
}

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

.nri-features li:hover::before {
    left: 100%;
}

.nri-features li:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 1);
}

.nri-features i {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
    padding: var(--spacing-md);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    color: #FFFFFF;
    box-shadow: 0 10px 20px rgba(0, 102, 204, 0.3);
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.nri-features li:hover i {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 30px rgba(0, 102, 204, 0.4);
}

.nri-features li span {
    font-size: 1.1rem;
    line-height: 1.4;
    color: var(--text-dark);
    font-weight: 600;
}

/* Button alignment for NRI features cards - ensuring consistent height and button positioning */

.nri-ctas {
    display: flex;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
    justify-content: center;
    margin-top: var(--spacing-xl);
}

.nri-ctas .btn {
    min-width: 220px;
    padding: 1.25rem 2.5rem;
    font-weight: 700;
    border-radius: var(--radius-xl);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

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

.nri-ctas .btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.nri-ctas .btn-primary {
    background: var(--primary-color);
    border: none;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.3);
}

.nri-ctas .btn-primary:hover {
    background: var(--primary-dark);
    box-shadow: 0 20px 40px rgba(0, 102, 204, 0.4);
}

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

.nri-ctas .btn-outline:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* === NRI Section Hover Effects === */
.nri-features li:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
    border-color: #0066CC !important;
}

.nri-features li:hover i {
    transform: scale(1.1) !important;
    background: #0066CC !important;
    color: white !important;
}

.nri-ctas .btn:hover {
    transform: translateY(-5px) scale(1.05);
}

/* === CTA Banner === */
.cta-banner {
    padding: var(--spacing-2xl) 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: #FFFFFF;
}

.cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-xl);
}

/* Center-aligned CTA for pricing page */
.pricing-page .cta-banner .cta-content {
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.pricing-page .cta-banner .cta-text {
    text-align: center;
}

.pricing-page .cta-banner .cta-buttons {
    justify-content: center;
}

.cta-text h2 {
    color: #FFFFFF;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    font-weight: 700;
}

.cta-text p {
    color: #FFFFFF;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    font-weight: 500;
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

/* === Footer === */
.footer {
    background: var(--text-dark);
    color: white;
    padding: var(--spacing-2xl) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-logo {
    height: 70px;
    width: auto;
    margin-bottom: var(--spacing-md);
    filter: brightness(0) invert(1);
    opacity: 0.95;
    transition: opacity 0.3s ease;
}

.footer-logo:hover {
    opacity: 1;
}

.footer-col h4 {
    color: white;
    margin-bottom: var(--spacing-md);
    font-weight: 600;
}

.footer-col p {
    color: white;
    line-height: 1.6;
    opacity: 1;
    font-weight: 400;
}

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

.footer-col ul li {
    margin-bottom: var(--spacing-xs);
}

.footer-col a {
    color: rgba(255,255,255,0.9);
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: white;
}

.contact-info li {
    color: rgba(255,255,255,0.9);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.contact-info i {
    color: var(--primary-color);
    width: 16px;
    flex-shrink: 0;
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.social-links a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.4);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.3);
    border-color: var(--primary-color);
}

.social-links i {
    font-size: 1.3rem;
    color: white;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.contact-info i {
    margin-top: 0.25rem;
    color: var(--primary-light);
}

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

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

.footer-links {
    display: flex;
    gap: var(--spacing-md);
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

/* === Floating WhatsApp === */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
}

/* === Mobile Menu Overlay === */
@media (max-width: 768px) {
    .navbar {
        position: relative;
        z-index: 1000;
    }
    
    /* Ensure navbar stays on top when menu is open */
    .navbar::after {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 70px;
        background: white;
        z-index: 9998;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }
    
    .nav-menu.active ~ .navbar::after,
    body.menu-open .navbar::after {
        opacity: 1;
        pointer-events: auto;
    }
}

/* === Responsive Design === */

/* Large Tablets and Small Desktops */
@media (max-width: 1200px) {
    .container {
        padding: 0 var(--spacing-lg);
    }
    
    .hero-content {
        gap: var(--spacing-lg);
    }
    
    .pricing-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .insurance-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
}

/* Tablets */
@media (max-width: 1024px) {
    .hero-content,
    .video-content,
    .nri-content {
        max-width: 100%;
        padding: 0 var(--spacing-md);
    }
    
    .nri-features {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: var(--spacing-md);
    }
    
    .nri-features li {
        padding: var(--spacing-lg);
    }
    
    .nri-features i {
        font-size: 2rem;
        padding: var(--spacing-sm);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .floating-card {
        display: none; /* Hide floating cards on tablets for cleaner look */
    }
    
    .hero {
        padding: var(--spacing-xl) 0;
    }
    
    .hero-visual {
        gap: var(--spacing-md);
    }
    
    .hero-icon-card {
        min-width: 160px;
        padding: var(--spacing-lg);
    }
    
    .hero-icon-card i {
        font-size: 2.5rem;
    }
    
    .services-overview,
    .why-choose,
    .insurance-section,
    .pricing-preview,
    .video-section,
    .testimonials,
    .nri-section,
    .cta-banner {
        padding: var(--spacing-xl) 0;
    }
}

/* Large Mobile Devices */
@media (max-width: 768px) {
    .container {
        padding: 0 var(--spacing-md);
    }
    
    /* Navigation */
    .nav-menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 5rem var(--spacing-md) var(--spacing-lg);
        gap: 0;
        z-index: 9999;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        max-height: 100vh;
    }
    
    .nav-menu.active {
        display: flex;
        transform: translateX(0);
    }
    
    .nav-menu li {
        width: 100%;
        margin: 0;
    }
    
    .nav-menu > li > a {
        padding: 1rem var(--spacing-md);
        border-bottom: 1px solid var(--border-color);
        width: 100%;
        justify-content: space-between;
        font-size: 1.125rem;
        font-weight: 500;
        min-height: 48px;
        display: flex;
        align-items: center;
        -webkit-tap-highlight-color: rgba(0, 102, 204, 0.1);
        transition: background-color 0.2s ease;
    }
    
    .nav-menu > li > a:active {
        background-color: var(--bg-light);
    }
    
    .dropdown {
        width: 100%;
    }
    
    .dropdown > a {
        position: relative;
    }
    
    .dropdown > a::after {
        content: '\f078';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        margin-left: auto;
        transition: transform 0.3s ease;
    }
    
    .dropdown.active > a::after {
        transform: rotate(180deg);
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--bg-light);
        margin: 0;
        margin-top: 0;
        padding: 0;
        border-radius: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
        display: block;
    }
    
    .dropdown.active .dropdown-menu {
        max-height: 500px;
        padding: var(--spacing-sm) 0;
        border-bottom: 1px solid var(--border-color);
    }
    
    .dropdown-menu li {
        width: 100%;
    }
    
    .dropdown-menu a {
        padding: 0.875rem var(--spacing-lg);
        border-bottom: none;
        color: var(--text-medium);
        font-size: 1rem;
        min-height: 44px;
        display: flex;
        align-items: center;
        -webkit-tap-highlight-color: rgba(0, 102, 204, 0.1);
        transition: background-color 0.2s ease, color 0.2s ease;
    }
    
    .dropdown-menu a:active,
    .dropdown-menu a:hover {
        background-color: rgba(0, 102, 204, 0.1);
        color: var(--primary-color);
    }
    
    .dropdown:hover .dropdown-menu {
        transform: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-cta {
        display: none; /* Hide CTA in nav on mobile, show in mobile menu */
    }
    
    .nav-menu.active .nav-cta {
        display: block;
        margin-top: var(--spacing-lg);
        padding-top: var(--spacing-lg);
        border-top: 2px solid var(--border-color);
        width: 100%;
    }
    
    .nav-menu.active .nav-cta .btn {
        width: 100%;
        justify-content: center;
        padding: 1rem var(--spacing-lg);
        font-size: 1.125rem;
        min-height: 48px;
    }
    
    /* Mobile menu overlay */
    .nav-menu.active::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 70px;
        background: white;
        z-index: -1;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    /* Layout Adjustments */
    .services-cards,
    .pricing-cards,
    .testimonial-slider {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    /* Hero Visual Mobile */
    .hero-visual {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .hero-icon-card {
        width: 100%;
        max-width: 300px;
        min-width: auto;
        padding: var(--spacing-lg);
    }
    
    .hero-icon-card i {
        font-size: 2.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    /* Button Adjustments */
    .hero-ctas,
    .nri-ctas,
    .cta-buttons {
        flex-direction: column;
        width: 100%;
        gap: var(--spacing-md);
    }

    .hero-ctas .btn,
    .nri-ctas .btn,
    .cta-buttons .btn {
        width: 100%;
        justify-content: center;
        padding: 1.125rem 1.5rem;
        font-size: 1.125rem;
        min-height: 48px;
        -webkit-tap-highlight-color: rgba(0, 102, 204, 0.1);
    }
    
    /* Improve all button touch targets on mobile */
    .btn {
        min-height: 44px;
        padding: 0.875rem 1.5rem;
        -webkit-tap-highlight-color: rgba(0, 102, 204, 0.1);
    }
    
    .btn-lg {
        min-height: 52px;
        padding: 1.125rem 2rem;
    }

    /* Content Adjustments */
    .cta-content {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-lg);
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--spacing-sm);
        text-align: center;
    }

    /* Top Bar Adjustments */
    .top-bar {
        padding: var(--spacing-sm) 0;
    }
    
    .top-bar-content {
        justify-content: center;
        text-align: center;
        flex-direction: column;
        gap: var(--spacing-xs);
    }

    .top-bar-left,
    .top-bar-right {
        flex-direction: column;
        gap: var(--spacing-xs);
    }
    
    .top-bar span {
        font-size: 0.875rem;
        padding: 0.25rem 0;
    }
    
    .lang-btn {
        min-height: 36px;
        min-width: 44px;
        padding: 0.5rem 0.875rem;
        -webkit-tap-highlight-color: rgba(0, 102, 204, 0.1);
    }
    
    /* Trust Badges */
    .trust-badges {
        flex-direction: column;
        gap: var(--spacing-sm);
        align-items: center;
    }
    
    /* Insurance Grid */
    .insurance-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: var(--spacing-sm);
    }
    
    .insurance-logo-item {
        height: 80px;
        padding: var(--spacing-sm);
    }
    
    /* Pricing Cards */
    .pricing-card {
        margin-bottom: var(--spacing-md);
    }
    
    /* Video Section */
    .video-thumb {
        padding: var(--spacing-lg);
    }
    
    .video-thumb i {
        font-size: 3rem;
    }
    
    /* Testimonials */
    .testimonial-card {
        margin-bottom: var(--spacing-md);
    }
    
    /* NRI Section */
    .nri-ctas {
        flex-direction: column;
        align-items: center;
    }
    
    .nri-ctas .btn {
        min-width: 100%;
        max-width: 300px;
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .nri-features {
        grid-template-columns: 1fr !important;
        gap: var(--spacing-md);
    }
    
    .nri-features li {
        padding: var(--spacing-lg);
        font-size: 0.95rem;
    }
    
    .nri-features i {
        font-size: 1.75rem;
        padding: var(--spacing-sm);
    }
    
    .nri-text h2 {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }
    
    .nri-text p {
        font-size: 1rem;
    }
    
    /* WhatsApp Float Button */
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 60px;
        height: 60px;
        font-size: 1.75rem;
        min-width: 60px;
        min-height: 60px;
        -webkit-tap-highlight-color: transparent;
    }
    
    /* Prevent body scroll when mobile menu is open */
    body.menu-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    /* Typography */
    h1 { font-size: clamp(1.75rem, 8vw, 2.5rem); }
    h2 { font-size: clamp(1.5rem, 6vw, 2rem); }
    h3 { font-size: clamp(1.25rem, 5vw, 1.5rem); }
    
    /* Spacing */
    .hero {
        padding: var(--spacing-lg) 0;
    }
    
    .services-overview,
    .why-choose,
    .insurance-section,
    .pricing-preview,
    .video-section,
    .testimonials,
    .nri-section,
    .cta-banner {
        padding: var(--spacing-lg) 0;
    }
    
    /* Service Cards */
    .service-card {
        padding: var(--spacing-lg);
        height: auto;
        min-height: auto;
    }
    
    /* Improve card touch interactions */
    .service-card,
    .pricing-card,
    .feature-item,
    .testimonial-card {
        cursor: pointer;
        -webkit-tap-highlight-color: rgba(0, 102, 204, 0.1);
    }
    
    .service-icon {
        width: 80px;
        height: 80px;
    }
    
    .service-icon i {
        font-size: 2.5rem;
    }
    
    /* Feature Items */
    .feature-item {
        padding: var(--spacing-md);
        height: auto;
        min-height: 280px;
    }
    
    .feature-icon {
        width: 70px;
        height: 70px;
    }
    
    .feature-icon i {
        font-size: 2rem;
    }
    
    /* Pricing Cards */
    .pricing-card {
        min-height: auto;
        height: auto;
    }
    
    .pricing-header {
        padding: var(--spacing-md);
        min-height: 110px;
    }
    
    .pricing-header i {
        font-size: 2.25rem;
        margin-bottom: var(--spacing-xs);
    }
    
    .pricing-header h3 {
        font-size: 1.1rem;
    }
    
    .pricing-body {
        padding: var(--spacing-md);
    }
    
    .price {
        font-size: 1.5rem;
    }
    
    .pricing-features {
        margin-bottom: var(--spacing-sm);
    }
    
    .pricing-card .btn {
        margin-top: var(--spacing-sm);
    }
    
    /* Buttons */
    .btn {
        padding: 0.875rem 1.25rem;
        font-size: 0.95rem;
    }
    
    .btn-lg {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    /* Insurance Grid */
    .insurance-grid {
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
        gap: var(--spacing-xs);
    }
    
    .insurance-logo-item {
        height: 70px;
        padding: var(--spacing-xs);
    }
    
    /* Top Bar */
    .top-bar span {
        font-size: 0.75rem;
    }
    
    .lang-btn {
        padding: 0.2rem 0.5rem;
        font-size: 0.75rem;
    }
    
    /* Logo */
    .logo-img {
        height: 50px;
        max-width: 150px;
    }
    
    /* Navbar improvements */
    .nav-wrapper {
        padding: var(--spacing-xs) 0;
    }
    
    /* Ensure mobile menu toggle is always visible and accessible */
    .mobile-menu-toggle {
        order: 3;
        margin-left: auto;
    }
    
    .nav-cta {
        order: 2;
    }
    
    /* Footer */
    .footer-logo {
        height: 50px;
    }
    
    /* WhatsApp Float */
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

/* Extra Small Devices */
@media (max-width: 360px) {
    .container {
        padding: 0 var(--spacing-xs);
    }
    
    /* Typography */
    h1 { font-size: clamp(1.5rem, 10vw, 2rem); }
    h2 { font-size: clamp(1.25rem, 8vw, 1.75rem); }
    
    /* Buttons */
    .btn {
        padding: 0.875rem 1.25rem;
        font-size: 0.95rem;
        min-height: 44px;
    }
    
    /* Mobile menu adjustments for very small screens */
    .nav-menu {
        padding: 4.5rem var(--spacing-sm) var(--spacing-md);
    }
    
    .nav-menu > li > a {
        padding: 0.875rem var(--spacing-sm);
        font-size: 1rem;
    }
    
    .dropdown-menu a {
        padding: 0.75rem var(--spacing-sm);
        font-size: 0.95rem;
    }
    
    /* Service Cards */
    .service-card {
        padding: var(--spacing-md);
    }
    
    /* Feature Items */
    .feature-item {
        padding: var(--spacing-sm);
    }
    
    /* Pricing Cards */
    .pricing-header,
    .pricing-body {
        padding: var(--spacing-sm);
    }
    
    /* Insurance Grid */
    .insurance-grid {
        grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
    }
    
    .insurance-logo-item {
        height: 60px;
    }
}

/* === Mobile-Specific Enhancements === */

/* Touch-friendly interactions */
@media (hover: none) and (pointer: coarse) {
    .btn:hover {
        transform: none;
        box-shadow: var(--shadow-sm);
    }
    
    .btn:active {
        transform: scale(0.98);
        opacity: 0.9;
    }
    
    .service-card:hover,
    .feature-item:hover,
    .pricing-card:hover,
    .testimonial-card:hover {
        transform: none;
        box-shadow: var(--shadow-card);
    }
    
    .service-card:active,
    .feature-item:active,
    .pricing-card:active,
    .testimonial-card:active {
        transform: scale(0.98);
    }
    
    .insurance-logo-item:hover {
        transform: none;
        box-shadow: var(--shadow-sm);
    }
    
    .whatsapp-float:hover {
        transform: none;
        box-shadow: var(--shadow-lg);
    }
    
    .whatsapp-float:active {
        transform: scale(0.95);
    }
    
    /* Improve touch feedback */
    a:active,
    button:active {
        opacity: 0.8;
    }
}

/* Mobile menu improvements - already handled above */

/* Improved mobile form styling */
@media (max-width: 768px) {
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 1rem;
        border-radius: var(--radius-md);
        min-height: 48px;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
    }
    
    .form-group label {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .form-submit {
        padding: 1.25rem;
        font-size: 1.125rem;
        border-radius: var(--radius-md);
        min-height: 52px;
        width: 100%;
    }
    
    /* Improve touch targets for all interactive elements */
    a, button, input[type="submit"], input[type="button"] {
        min-height: 44px;
        min-width: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Improve link spacing */
    .nav-menu a,
    .dropdown-menu a,
    .footer-col a {
        min-height: 48px;
        padding: 0.75rem var(--spacing-md);
    }
}

/* Mobile-specific animations - handled in main mobile menu section */

/* Landscape mobile optimization */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding: var(--spacing-md) 0;
    }
    
    .hero-content {
        gap: var(--spacing-md);
    }
    
    .services-overview,
    .why-choose,
    .insurance-section,
    .pricing-preview,
    .video-section,
    .testimonials,
    .nri-section,
    .cta-banner {
        padding: var(--spacing-md) 0;
    }
    
    .top-bar {
        padding: var(--spacing-xs) 0;
    }
    
    .top-bar-content {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .top-bar-left,
    .top-bar-right {
        flex-direction: row;
        gap: var(--spacing-sm);
    }
}

/* High DPI display optimization */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo-img,
    .footer-logo {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Dark mode support (for future implementation) */
@media (prefers-color-scheme: dark) {
    /* This can be expanded when dark mode is implemented */
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .floating-card {
        animation: none;
    }
    
    .whatsapp-float {
        animation: none;
    }
    
    .nav-menu {
        transition: transform 0.1s ease !important;
    }
}

/* Mobile-specific scroll improvements */
@media (max-width: 768px) {
    /* Smooth scrolling for mobile */
    html {
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }
    
    /* Prevent horizontal scroll */
    body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
    }
    
    /* Improve text readability on mobile */
    body {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        text-rendering: optimizeLegibility;
    }
    
    /* Better focus states for accessibility */
    *:focus {
        outline: 2px solid var(--primary-color);
        outline-offset: 2px;
    }
    
    /* Improve tap highlight */
    * {
        -webkit-tap-highlight-color: rgba(0, 102, 204, 0.1);
    }
}

/* === Card Button Alignment === */
/* Ensure all card buttons are aligned at the bottom */
.card .btn,
.procedure-card .btn,
.pricing-card .btn,
.service-card .btn,
.testimonial-card .btn,
.feature-item .btn,
.nri-features .btn {
    margin-top: auto;
    align-self: flex-end;
    flex-shrink: 0;
}

/* Ensure cards with buttons have consistent height and flex layout */
.card,
.procedure-card,
.pricing-card,
.service-card,
.testimonial-card,
.feature-item {
    display: flex;
    flex-direction: column;
}

/* Additional button alignment fixes for specific card content areas */
.procedure-card .feature-list,
.pricing-card .pricing-features,
.service-card .service-list {
    flex: 1;
    margin-bottom: var(--spacing-md);
}

/* Ensure price tags and buttons are properly spaced */
.procedure-card .price-tag {
    margin-top: auto;
    margin-bottom: var(--spacing-md);
}

/* === Utility Classes === */
.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }
.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }

/* Mobile utility classes */
@media (max-width: 768px) {
    .mobile-hidden { display: none !important; }
    .mobile-visible { display: block !important; }
    .mobile-text-center { text-align: center !important; }
    .mobile-full-width { width: 100% !important; }
    .mobile-no-padding { padding: 0 !important; }
    .mobile-no-margin { margin: 0 !important; }
}
