/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Enhanced Color Palette */
    --primary-color: #1e40af; /* blue-700 - deeper blue */
    --primary-dark: #1e3a8a; /* blue-800 */
    --secondary-color: #059669; /* emerald-600 */
    --accent-color: #d97706; /* amber-600 */
    --danger-color: #dc2626; /* red-600 */

    /* Enhanced Light Theme Colors */
    --bg-primary: #ffffff; /* pure white */
    --bg-secondary: #f8fafc; /* slate-50 */
    --bg-tertiary: #f1f5f9; /* slate-100 */
    --bg-card: #ffffff; /* white */
    --bg-overlay: rgba(255, 255, 255, 0.95);

    /* Enhanced Text Colors */
    --text-primary: #0f172a; /* slate-900 */
    --text-secondary: #475569; /* slate-600 */
    --text-muted: #64748b; /* slate-500 */
    --text-success: #059669;
    --text-danger: #dc2626;

    /* Enhanced Gradients */
    --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    --gradient-secondary: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --gradient-accent: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    --gradient-dark: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    
    /* Enhanced Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 20px rgba(30, 64, 175, 0.15);
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    
    /* Transitions */
    --transition-fast: 0.15s ease-in-out;
    --transition-normal: 0.3s ease-in-out;
    --transition-slow: 0.5s ease-in-out;
}

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

/* Enhanced Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

section {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-secondary);
    position: relative;
    z-index: 1;
}

/* Enhanced Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(241, 245, 249, 0.8);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(241, 245, 249, 0.8);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Scroll Indicator - Centered at Bottom */
.scroll-indicator {
    position: absolute;
    bottom: var(--spacing-2xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--text-primary);
    animation: bounce 2s infinite;
    z-index: 10;
}

.scroll-text {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: var(--spacing-sm);
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--text-primary);
    border-bottom: 2px solid var(--text-primary);
    transform: rotate(45deg);
    animation: arrowBounce 2s infinite;
}

@keyframes arrowBounce {
    0%, 100% {
        transform: rotate(45deg) translateY(0);
    }
    50% {
        transform: rotate(45deg) translateY(5px);
    }
}

.nav-container {
    width: 100%;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 120px;
    position: relative;
}

.nav-logo a {
    color: var(--primary-color);
    font-weight: 800;
    font-size: var(--font-size-2xl);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    transition: all var(--transition-normal);
    margin-left: var(--spacing-md);
}

.nav-logo a:hover {
    transform: translateY(-1px);
}

.logo-image {
    height: 10rem;
    width: auto;
    max-width: 300px;
    object-fit: contain;
    transition: all var(--transition-normal);
    display: block;
}

.nav-logo a:hover .logo-image {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-xl);
    align-items: center;
    background: none;
    box-shadow: none;
    position: static;
    left: auto;
    top: auto;
    flex-direction: row;
    width: auto;
    text-align: left;
    padding: 0;
    transition: none;
    flex-wrap: wrap;
    margin-right: var(--spacing-md);
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: all var(--transition-normal);
    position: relative;
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: var(--font-size-base);
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: all var(--transition-normal);
    transform: translateX(-50%);
}

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

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    transform: translateY(-1px);
}

.nav-btn {
    background: var(--gradient-primary);
    color: #fff;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-normal);
    border: none;
    font-size: var(--font-size-base);
    white-space: nowrap;
    box-shadow: 0 4px 6px -1px rgba(30, 64, 175, 0.2);
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px -3px rgba(30, 64, 175, 0.3);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    z-index: 1100;
}

.nav-toggle .bar {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    border-radius: 2px;
    transition: var(--transition-normal);
}

/* Enhanced Hero Section with Professional Animations - Light Theme */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%);
    margin-top: 100px; /* Account for fixed navbar */
}

/* Background Elements */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.floating-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
    opacity: 0.6;
}

.particle:nth-child(1) {
    top: 15%;
    left: 10%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    top: 65%;
    left: 85%;
    animation-delay: 2s;
}

.particle:nth-child(3) {
    top: 35%;
    left: 70%;
    animation-delay: 4s;
}

.particle:nth-child(4) {
    top: 80%;
    left: 15%;
    animation-delay: 1s;
}

.particle:nth-child(5) {
    top: 25%;
    left: 90%;
    animation-delay: 3s;
}

.particle:nth-child(6) {
    top: 70%;
    left: 5%;
    animation-delay: 5s;
}

.particle:nth-child(7) {
    top: 45%;
    left: 80%;
    animation-delay: 2.5s;
}

.particle:nth-child(8) {
    top: 10%;
    left: 60%;
    animation-delay: 6s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) translateX(0px) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-30px) translateX(15px) scale(1.2);
        opacity: 0.8;
    }
}

/* Gradient Orbs */
.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.4;
    animation: orbFloat 20s ease-in-out infinite;
}

.gradient-orb-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    top: -150px;
    right: -150px;
    animation-delay: 0s;
}

.gradient-orb-2 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #10b981, #059669);
    bottom: -100px;
    left: -100px;
    animation-delay: 5s;
}

.gradient-orb-3 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    top: 50%;
    left: 10%;
    animation-delay: 10s;
}

@keyframes orbFloat {
    0%, 100% {
        transform: translateY(0px) translateX(0px) scale(1);
        opacity: 0.3;
    }
    33% {
        transform: translateY(-20px) translateX(10px) scale(1.1);
        opacity: 0.5;
    }
    66% {
        transform: translateY(10px) translateX(-15px) scale(0.9);
        opacity: 0.4;
    }
}

/* Data Streams */
.data-streams {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 1;
}

.data-stream {
    position: absolute;
    width: 2px;
    background: linear-gradient(to bottom, transparent, #3b82f6, transparent);
    animation: dataStream 8s linear infinite;
    opacity: 0.6;
}

.data-stream:nth-child(1) {
    left: 20%;
    height: 100px;
    animation-delay: 0s;
}

.data-stream:nth-child(2) {
    left: 40%;
    height: 80px;
    animation-delay: 2s;
}

.data-stream:nth-child(3) {
    left: 60%;
    height: 120px;
    animation-delay: 4s;
}

.data-stream:nth-child(4) {
    left: 80%;
    height: 90px;
    animation-delay: 6s;
}

@keyframes dataStream {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    50% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(100vh);
        opacity: 0;
    }
}



@keyframes shapeFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.3;
    }
    25% {
        transform: translateY(-20px) rotate(5deg);
        opacity: 0.5;
    }
    50% {
        transform: translateY(-10px) rotate(-3deg);
        opacity: 0.4;
    }
    75% {
        transform: translateY(-30px) rotate(2deg);
        opacity: 0.6;
    }
}



/* Enhanced Floating Data Streams */
.data-streams {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 1;
}

/* Removed old stock market animations - replaced with subscription-style background */
@media (max-width: 1024px) {
    .stock-ticker-item {
        font-size: 12px;
        padding: 8px 16px;
    }
    
    .candlestick {
        width: 4px;
    }
    
    .trend-line {
        height: 1.5px;
    }
    
    .volume-bar {
        width: 2.5px;
    }
    
    .fibonacci-level {
        width: 80px;
    }
    
    .support-line,
    .resistance-line {
        width: 60px;
    }
}

@media (max-width: 768px) {
    .stock-ticker-bg {
        display: none;
    }
    
    .candlestick {
        width: 3px;
        opacity: 0.6;
    }
    
    .candlestick:nth-child(n+5) {
        display: none;
    }
    
    .trend-line {
        height: 1px;
        opacity: 0.7;
    }
    
    .trend-line:nth-child(n+3) {
        display: none;
    }
    
    .volume-bar {
        width: 2px;
        opacity: 0.6;
    }
    
    .volume-bar:nth-child(n+3) {
        display: none;
    }
    
    .fibonacci-level {
        width: 60px;
        opacity: 0.5;
    }
    
    .fibonacci-level:nth-child(n+4) {
        display: none;
    }
    
    .support-line,
    .resistance-line {
        width: 50px;
        opacity: 0.7;
    }
    
    .support-line:nth-child(n+2),
    .resistance-line:nth-child(n+2) {
        display: none;
    }
}

@media (max-width: 480px) {
    .candlestick {
        display: none;
    }
    
    .trend-line {
        display: none;
    }
    
    .volume-bar {
        display: none;
    }
    
    .fibonacci-level {
        display: none;
    }
    
    .support-line,
    .resistance-line {
        display: none;
    }
}

/* Performance optimizations */
@media (prefers-reduced-motion: reduce) {
    .stock-ticker-item,
    .candlestick,
    .trend-line,
    .volume-bar,
    .fibonacci-level,
    .support-line,
    .resistance-line {
        animation: none;
        opacity: 0.3;
    }
}

/* Additional animated background elements */
.data-streams::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 25% 25%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(16, 185, 129, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(168, 85, 247, 0.05) 0%, transparent 50%);
    animation: backgroundPulse 8s ease-in-out infinite;
}

@keyframes backgroundPulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

.data-streams::before {
    content: '';
    position: absolute;
    top: -100%;
    left: 10%;
    width: 2px;
    height: 200%;
    background: linear-gradient(to bottom, transparent, rgba(30, 64, 175, 0.3), transparent);
    animation: dataFlow 8s linear infinite;
    box-shadow: 0 0 10px rgba(30, 64, 175, 0.2);
}

.data-streams::after {
    content: '';
    position: absolute;
    top: -100%;
    right: 15%;
    width: 1px;
    height: 200%;
    background: linear-gradient(to bottom, transparent, rgba(5, 150, 105, 0.2), transparent);
    animation: dataFlow 6s linear infinite reverse;
    box-shadow: 0 0 8px rgba(5, 150, 105, 0.15);
}

/* Enhanced Floating Particles */
.floating-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(30, 64, 175, 0.4);
    border-radius: 50%;
    animation: float 15s linear infinite;
    box-shadow: 0 0 6px rgba(30, 64, 175, 0.3);
}

/* Enhanced particle effects */
.particle::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: radial-gradient(circle, rgba(30, 64, 175, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: particleGlow 3s ease-in-out infinite alternate;
}

@keyframes particleGlow {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.5);
        opacity: 0.8;
    }
}

.particle:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 20s;
    background: rgba(30, 64, 175, 0.5);
    box-shadow: 0 0 8px rgba(30, 64, 175, 0.4);
}

.particle:nth-child(2) {
    top: 60%;
    left: 80%;
    animation-delay: 2s;
    animation-duration: 18s;
    background: rgba(5, 150, 105, 0.4);
    box-shadow: 0 0 6px rgba(5, 150, 105, 0.3);
}

.particle:nth-child(3) {
    top: 40%;
    left: 70%;
    animation-delay: 4s;
    animation-duration: 22s;
    background: rgba(217, 119, 6, 0.4);
    box-shadow: 0 0 7px rgba(217, 119, 6, 0.3);
}

.particle:nth-child(4) {
    top: 80%;
    left: 20%;
    animation-delay: 6s;
    animation-duration: 16s;
    background: rgba(30, 64, 175, 0.3);
    box-shadow: 0 0 5px rgba(30, 64, 175, 0.2);
}

.particle:nth-child(5) {
    top: 30%;
    left: 50%;
    animation-delay: 8s;
    animation-duration: 25s;
    background: rgba(5, 150, 105, 0.3);
    box-shadow: 0 0 6px rgba(5, 150, 105, 0.2);
}

/* Enhanced Background Animations */
@keyframes backgroundShift {
    0%, 100% {
        transform: translateX(0) translateY(0) scale(1) rotate(0deg);
    }
    25% {
        transform: translateX(-20px) translateY(-10px) scale(1.05) rotate(1deg);
    }
    50% {
        transform: translateX(10px) translateY(-20px) scale(0.95) rotate(-1deg);
    }
    75% {
        transform: translateX(-15px) translateY(10px) scale(1.02) rotate(0.5deg);
    }
}

@keyframes gridMove {
    0% {
        transform: translateX(0) translateY(0) rotate(0deg);
    }
    100% {
        transform: translateX(10px) translateY(10px) rotate(1deg);
    }
}

@keyframes dataFlow {
    0% {
        transform: translateY(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(100vh);
        opacity: 0;
    }
}

@keyframes float {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(100px) rotate(360deg);
        opacity: 0;
    }
}

/* Enhanced Hero Container */
.hero-container {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    min-height: 100vh;
}

/* Enhanced Hero Content */
.hero-content {
    position: relative;
    z-index: 4;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.98) 0%, 
        rgba(248, 250, 252, 0.95) 25%, 
        rgba(255, 255, 255, 0.98) 50%, 
        rgba(241, 245, 249, 0.95) 75%, 
        rgba(255, 255, 255, 0.98) 100%);
    color: var(--primary-color);
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: 50px;
    font-size: var(--font-size-sm);
    font-weight: 800;
    margin-bottom: var(--spacing-lg);
    border: 2px solid rgba(30, 64, 175, 0.3);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 0 25px rgba(30, 64, 175, 0.15),
        0 8px 32px rgba(30, 64, 175, 0.12),
        0 4px 16px rgba(5, 150, 105, 0.08),
        0 2px 8px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 1),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: badgeGlow 3s ease-in-out infinite;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    /* Ensure visibility on all devices */
    min-height: 44px;
    min-width: 200px;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
}

.hero-badge::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.6s ease;
}

.hero-badge:hover::before {
    left: 100%;
}

.hero-badge:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 
        0 0 40px rgba(30, 64, 175, 0.25),
        0 20px 60px rgba(30, 64, 175, 0.2),
        0 12px 40px rgba(5, 150, 105, 0.15),
        0 4px 16px rgba(0, 0, 0, 0.15),
        inset 0 2px 0 rgba(255, 255, 255, 1),
        inset 0 -2px 0 rgba(0, 0, 0, 0.15);
    border-color: rgba(30, 64, 175, 0.5);
    color: var(--primary-dark);
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 1) 0%, 
        rgba(248, 250, 252, 0.98) 25%, 
        rgba(255, 255, 255, 1) 50%, 
        rgba(241, 245, 249, 0.98) 75%, 
        rgba(255, 255, 255, 1) 100%);
}

.hero-badge::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.3) 0%, 
        transparent 50%, 
        rgba(0, 0, 0, 0.05) 100%);
    border-radius: 50px;
    pointer-events: none;
    z-index: 0;
}

.hero-badge i {
    color: var(--primary-color);
    font-size: var(--font-size-lg);
    filter: drop-shadow(0 2px 6px rgba(30, 64, 175, 0.4));
    animation: iconGlow 2s ease-in-out infinite alternate;
    text-shadow: 0 0 12px rgba(30, 64, 175, 0.4);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.hero-badge span {
    color: var(--primary-color);
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    font-size: var(--font-size-sm);
}

@keyframes badgeGlow {
    0%, 100% {
        background: linear-gradient(135deg, 
            rgba(255, 255, 255, 0.95) 0%, 
            rgba(248, 250, 252, 0.9) 25%, 
            rgba(255, 255, 255, 0.95) 50%, 
            rgba(241, 245, 249, 0.9) 75%, 
            rgba(255, 255, 255, 0.95) 100%);
        box-shadow: 
            0 0 20px rgba(30, 64, 175, 0.1),
            0 8px 32px rgba(30, 64, 175, 0.08),
            0 4px 16px rgba(5, 150, 105, 0.06),
            inset 0 1px 0 rgba(255, 255, 255, 0.9),
            inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    }
    50% {
        background: linear-gradient(135deg, 
            rgba(248, 250, 252, 0.95) 0%, 
            rgba(255, 255, 255, 0.9) 25%, 
            rgba(241, 245, 249, 0.95) 50%, 
            rgba(255, 255, 255, 0.9) 75%, 
            rgba(248, 250, 252, 0.95) 100%);
        box-shadow: 
            0 0 25px rgba(30, 64, 175, 0.15),
            0 10px 40px rgba(30, 64, 175, 0.12),
            0 6px 20px rgba(5, 150, 105, 0.08),
            inset 0 2px 0 rgba(255, 255, 255, 1),
            inset 0 -2px 0 rgba(0, 0, 0, 0.12);
    }
}

@keyframes iconGlow {
    0% {
        color: var(--primary-color);
        filter: drop-shadow(0 2px 4px rgba(30, 64, 175, 0.3));
        transform: scale(1);
        text-shadow: 0 0 8px rgba(30, 64, 175, 0.3);
    }
    100% {
        color: var(--primary-dark);
        filter: drop-shadow(0 4px 8px rgba(30, 64, 175, 0.5));
        transform: scale(1.05);
        text-shadow: 0 0 12px rgba(30, 64, 175, 0.5);
    }
}

/* Responsive Hero Badge Styles for All Devices */
@media (max-width: 1024px) {
    .hero-badge {
        padding: var(--spacing-sm) var(--spacing-lg);
        font-size: var(--font-size-xs);
        min-width: 180px;
        min-height: 40px;
    }
    
    .hero-badge i {
        font-size: var(--font-size-base);
    }
    
    .hero-badge span {
        font-size: var(--font-size-xs);
        letter-spacing: 0.6px;
    }
}

@media (max-width: 768px) {
    .hero-badge {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: var(--font-size-xs);
        min-width: 160px;
        min-height: 38px;
        margin-bottom: var(--spacing-md);
    }
    
    .hero-badge i {
        font-size: var(--font-size-sm);
    }
    
    .hero-badge span {
        font-size: var(--font-size-xs);
        letter-spacing: 0.5px;
    }
}

@media (max-width: 480px) {
    .hero-badge {
        padding: var(--spacing-xs) var(--spacing-sm);
        font-size: var(--font-size-xs);
        min-width: 140px;
        min-height: 36px;
        margin-bottom: var(--spacing-sm);
    }
    
    .hero-badge i {
        font-size: var(--font-size-sm);
    }
    
    .hero-badge span {
        font-size: var(--font-size-xs);
        letter-spacing: 0.4px;
    }
}

@media (max-width: 360px) {
    .hero-badge {
        padding: var(--spacing-xs);
        font-size: var(--font-size-xs);
        min-width: 120px;
        min-height: 34px;
        margin-bottom: var(--spacing-sm);
    }
    
    .hero-badge i {
        font-size: var(--font-size-xs);
    }
    
    .hero-badge span {
        font-size: var(--font-size-xs);
        letter-spacing: 0.3px;
    }
    
    /* Extra small mobile services slider optimization */
    .services-slider-track {
        gap: var(--spacing-sm);
        padding: 0 var(--spacing-xs);
    }
    
    .service-card {
        min-width: 260px;
        max-width: 260px;
        padding: var(--spacing-sm);
    }
}



.hero-title {
    font-size: var(--font-size-5xl);
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: var(--spacing-lg);
    line-height: 1.1;
    text-shadow: 0 0 30px rgba(15, 23, 42, 0.1);
    animation: titleFloat 6s ease-in-out infinite;
}

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

.gradient-text {
    background: linear-gradient(135deg, #3b82f6 0%, #10b981 50%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 8s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% {
        filter: hue-rotate(0deg);
    }
    50% {
        filter: hue-rotate(30deg);
    }
}

.hero-description {
    font-size: var(--font-size-xl);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-2xl);
    line-height: 1.6;
    animation: fadeInUp 1s ease-out 0.5s both;
}

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

.hero-cta {
    display: flex;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-2xl);
    animation: fadeInUp 1s ease-out 0.8s both;
}

.hero-stats {
    display: flex;
    gap: var(--spacing-xl);
    animation: fadeInUp 1s ease-out 1s both;
}

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

.stat-number {
    font-size: var(--font-size-2xl);
    font-weight: 800;
    color: var(--primary-color);
    display: block;
    margin-bottom: var(--spacing-xs);
    animation: numberPulse 4s ease-in-out infinite;
}

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

.stat-label {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    font-weight: 500;
}

/* Enhanced Hero Visual */
.hero-visual {
    position: relative;
    z-index: 4;
    animation: fadeInRight 1s ease-out 0.3s both;
}

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

/* Trading Dashboard */
.trading-dashboard {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-2xl);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-xl);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.trading-dashboard::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    pointer-events: none;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-xl);
    position: relative;
    z-index: 2;
}

.market-status {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.status-indicator.live {
    background: var(--secondary-color);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.time-display {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
}

/* Retro TV Chart Display */
.chart-display {
    position: relative;
    height: 200px;
    margin-bottom: var(--spacing-xl);
    background: var(--bg-tertiary);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

/* Enhanced Retro TV Screen with Stock Display */
.retro-tv-screen {
    background: linear-gradient(145deg, #1a1a1a, #2a2a2a);
    border: 3px solid #333;
    border-radius: 15px;
    padding: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 
        inset 0 0 20px rgba(0, 0, 0, 0.8),
        0 0 30px rgba(0, 255, 0, 0.3);
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.retro-tv-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 255, 0, 0.03) 2px,
        rgba(0, 255, 0, 0.03) 4px
    );
    pointer-events: none;
    animation: scanLines 0.1s linear infinite;
}

.retro-tv-screen::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        circle at 50% 50%,
        transparent 0%,
        rgba(0, 0, 0, 0.1) 70%,
        rgba(0, 0, 0, 0.3) 100%
    );
    pointer-events: none;
}

/* Stock Display Styles */
.stock-display {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    color: #00ff00;
    font-family: 'Courier New', monospace;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.8);
}

.stock-data {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}

.stock-name {
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 2px;
    animation: textGlow 2s ease-in-out infinite alternate;
}

.stock-price {
    font-size: 28px;
    font-weight: bold;
    color: #00ff00;
    text-shadow: 0 0 15px rgba(0, 255, 0, 1);
    animation: textFloat 3s ease-in-out infinite;
}

.stock-change {
    font-size: 16px;
    font-weight: bold;
    color: #00ff00;
    animation: subtitlePulse 2s ease-in-out infinite;
}

.stock-change.positive {
    color: #00ff00;
}

.stock-change.negative {
    color: #ff0000;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.8);
}

/* Trade Result Styles */
.trade-result {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    animation: resultFadeIn 0.5s ease-in-out;
}

@keyframes resultFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.result-message {
    font-size: 20px;
    font-weight: bold;
    color: #00ff00;
    text-shadow: 0 0 15px rgba(0, 255, 0, 1);
    margin-bottom: 10px;
    text-align: center;
    animation: resultGlow 1s ease-in-out infinite alternate;
}

.result-profit {
    font-size: 16px;
    color: #00ff00;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.8);
    text-align: center;
}

@keyframes resultGlow {
    from {
        text-shadow: 0 0 15px rgba(0, 255, 0, 1);
    }
    to {
        text-shadow: 0 0 25px rgba(0, 255, 0, 1), 0 0 35px rgba(0, 255, 0, 0.5);
    }
}

/* Enhanced Trade Buttons */
.trade-buttons {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.trade-btn {
    flex: 1;
    padding: var(--spacing-md) var(--spacing-lg);
    border: none;
    border-radius: var(--radius-lg);
    font-weight: 700;
    font-size: var(--font-size-base);
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.trade-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 var(--transition-slow);
}

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

.trade-btn.buy {
    background: var(--gradient-secondary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.3);
}

.trade-btn.buy:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(5, 150, 105, 0.4);
}

.trade-btn.sell {
    background: var(--gradient-accent);
    color: #fff;
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.3);
}

.trade-btn.sell:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(217, 119, 6, 0.4);
}

.trade-btn:active {
    transform: translateY(-1px);
}

/* Enhanced Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-2xl);
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 600;
    font-size: var(--font-size-lg);
    transition: all var(--transition-normal);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: var(--shadow-glow);
}

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

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

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

.btn-outline:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--gradient-secondary);
    color: #fff;
    box-shadow: var(--shadow-glow);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* Enhanced Section Headers */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.section-title {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: var(--spacing-lg);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-subtitle {
    font-size: var(--font-size-xl);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Enhanced Cards */
.course-card, .mentor-card, .resource-card, .stat-card {
    background: var(--bg-card);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(241, 245, 249, 0.8);
    color: var(--text-primary);
    border-radius: var(--radius-xl);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    padding: var(--spacing-2xl);
}

.course-card::before, .mentor-card::before, .resource-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.course-card:hover::before, .mentor-card:hover::before, .resource-card:hover::before {
    transform: scaleX(1);
}

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

.course-content h3, .mentor-content h3, .resource-card h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    font-size: var(--font-size-xl);
    font-weight: 700;
}

.course-content p, .mentor-bio, .resource-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.course-badge, .mentor-title, .resource-icon {
    background: var(--gradient-primary);
    color: #fff;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: var(--font-size-sm);
    box-shadow: var(--shadow-sm);
    display: inline-block;
    margin-bottom: var(--spacing-md);
}

.price {
    color: var(--primary-color);
    font-size: var(--font-size-2xl);
    font-weight: 800;
    margin-top: var(--spacing-md);
}

/* Enhanced Grid Layouts */
.courses-grid, .mentorship-grid, .resources-grid, .stats-grid {
    display: grid;
    gap: var(--spacing-2xl);
    margin-top: var(--spacing-3xl);
}

.courses-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.mentorship-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.resources-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* Services Overview Section */
.services-overview {
    padding: 100px 0;
    background: #f8fafc;
    width: 100%;
}

.services-overview .container {
    width: 100%;
    max-width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
}

.services-overview .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.services-overview .service-card {
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(30, 64, 175, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0;
}

.services-overview .service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6 0%, #10b981 100%);
}

.services-overview .service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    border-color: rgba(30, 64, 175, 0.2);
}

.services-overview .service-card.premium {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: white;
    border: 2px solid #fbbf24;
    position: relative;
    overflow: hidden;
}

.services-overview .service-card.premium::before {
    background: linear-gradient(90deg, #fbbf24 0%, #f59e0b 100%);
}

.services-overview .service-card.premium::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(251, 191, 36, 0.1), transparent);
    animation: rotate 4s linear infinite;
    z-index: 1;
}

.services-overview .service-card.premium .service-icon,
.services-overview .service-card.premium .service-content {
    position: relative;
    z-index: 2;
}

.services-overview .service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: white;
    font-size: 2rem;
}

.services-overview .service-card.premium .service-icon {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
}

.services-overview .service-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1e293b;
}

.services-overview .service-card.premium .service-content h3 {
    color: white;
}

.services-overview .service-content p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 24px;
    font-size: 1rem;
}

.services-overview .service-card.premium .service-content p {
    color: rgba(255, 255, 255, 0.8);
}

.services-overview .service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.services-overview .feature-tag {
    background: rgba(30, 64, 175, 0.1);
    color: #1e40af;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.services-overview .service-card.premium .feature-tag {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
}

.services-overview .service-link {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.services-overview .service-card.premium .service-link {
    color: #fbbf24;
}

.services-overview .service-link:hover {
    transform: translateX(4px);
}



/* Ensure services section is fully responsive */
@media (max-width: 768px) {
    .services-overview .container {
        padding: 0 15px;
        width: 100%;
        max-width: 100%;
    }
    
    .services-overview .services-grid {
        width: 100%;
        max-width: 100%;
        padding: 0;
        margin: 40px 0 0 0;
    }
    
    .services-overview .service-card {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .services-overview .container {
        padding: 0 10px;
        width: 100%;
        max-width: 100%;
    }
    
    .services-overview .services-grid {
        width: 100%;
        max-width: 100%;
        padding: 0;
        gap: 15px;
    }
    
    .services-overview .service-card {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 20px;
    }
}
/* Enhanced Vision Mission Section */
.vision-mission {
    background: var(--bg-secondary);
    position: relative;
    padding: var(--spacing-3xl) 0;
    margin: var(--spacing-3xl) 0;
}

.vision-mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--spacing-2xl);
    margin-top: var(--spacing-3xl);
}

.vision-card, .mission-card {
    background: var(--bg-card);
    padding: var(--spacing-2xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(241, 245, 249, 0.8);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.vision-card::before, .mission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.vision-card:hover, .mission-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.vision-icon, .mission-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-2xl);
    color: #fff;
    margin-bottom: var(--spacing-lg);
    box-shadow: var(--shadow-md);
}

/* Enhanced Stats Section */
.stats {
    background: var(--bg-primary);
    position: relative;
    padding: var(--spacing-3xl) 0;
    margin: var(--spacing-3xl) 0;
}

.stat-card {
    background: var(--bg-card);
    padding: var(--spacing-2xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all var(--transition-normal);
    border: 1px solid rgba(241, 245, 249, 0.8);
}

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

.stat-number {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.stat-label {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: var(--font-size-lg);
}

/* Enhanced Contact Section - Unique Design */
.contact {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    position: relative;
    overflow: hidden;
    padding: var(--spacing-3xl) 0;
    margin: var(--spacing-3xl) 0;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23e2e8f0" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.6;
    z-index: 0;
}

.contact::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -20%;
    width: 500px;
    height: 500px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    opacity: 0.03;
    z-index: 0;
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.03; }
    50% { transform: scale(1.1); opacity: 0.05; }
}

.contact .container {
    position: relative;
    z-index: 1;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: start;
    padding: var(--spacing-2xl) 0;
}

/* Enhanced Contact Info Section */
.contact-info {
    background: var(--bg-card);
    padding: var(--spacing-3xl);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(241, 245, 249, 0.8);
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-secondary);
}

.contact-info h2 {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: var(--spacing-lg);
    position: relative;
    display: inline-block;
}

.contact-info h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 80px;
    height: 3px;
    background: var(--gradient-secondary);
    border-radius: 2px;
}

.contact-info p {
    font-size: var(--font-size-lg);
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-2xl);
}

/* Enhanced Contact Details */
.contact-details {
    display: grid;
    gap: var(--spacing-lg);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    padding: var(--spacing-xl);
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(241, 245, 249, 0.8);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-secondary);
    transform: scaleY(0);
    transition: transform var(--transition-normal);
}

.contact-item:hover::before {
    transform: scaleY(1);
}

.contact-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
    background: var(--bg-primary);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: var(--font-size-xl);
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.contact-item:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-lg);
}

.contact-item div {
    flex: 1;
}

.contact-item h4 {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    transition: color var(--transition-normal);
}

.contact-item:hover h4 {
    color: var(--secondary-color);
}

.contact-item p {
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
    font-weight: 500;
}

/* Enhanced Contact Form */
.contact-form {
    background: var(--bg-card);
    padding: var(--spacing-3xl);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(241, 245, 249, 0.8);
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

.form-group {
    margin-bottom: var(--spacing-xl);
    position: relative;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: var(--spacing-lg);
    border: 2px solid var(--bg-tertiary);
    border-radius: var(--radius-lg);
    font-size: var(--font-size-base);
    font-family: var(--font-family);
    background: var(--bg-primary);
    color: var(--text-primary);
    transition: all var(--transition-normal);
    position: relative;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
    transform: translateY(-2px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
    font-weight: 400;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="%236b7280"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 9l-7 7-7-7"/></svg>');
    background-repeat: no-repeat;
    background-position: right var(--spacing-md) center;
    background-size: 16px;
    padding-right: var(--spacing-2xl);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

/* Enhanced Form Button */
.contact-form .btn {
    width: 100%;
    padding: var(--spacing-lg) var(--spacing-2xl);
    font-size: var(--font-size-lg);
    font-weight: 600;
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.contact-form .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 var(--transition-slow);
}

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

.contact-form .btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* Form Validation Styles */
.form-group input:invalid:not(:placeholder-shown),
.form-group select:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
    border-color: var(--danger-color);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.form-group input:valid:not(:placeholder-shown),
.form-group select:valid:not(:placeholder-shown),
.form-group textarea:valid:not(:placeholder-shown) {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

/* Responsive Design for Contact Section */
@media (max-width: 1024px) {
.contact-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
    }
    
    .contact-info,
    .contact-form {
        padding: var(--spacing-2xl);
    }
}

@media (max-width: 768px) {
    .contact-info h2 {
        font-size: var(--font-size-3xl);
    }
    
    .contact-info p {
        font-size: var(--font-size-base);
}

.contact-item {
        padding: var(--spacing-lg);
        flex-direction: column;
        text-align: center;
    }
    
    .contact-icon {
        align-self: center;
}

.contact-form {
        padding: var(--spacing-xl);
}

.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: var(--spacing-md);
    }
}

@media (max-width: 480px) {
    .contact-info,
    .contact-form {
        padding: var(--spacing-lg);
    }
    
    .contact-item {
        padding: var(--spacing-md);
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: var(--font-size-lg);
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: var(--spacing-sm);
        font-size: var(--font-size-sm);
    }
} 

/* Enhanced Footer - Modern Design */
.footer {
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-secondary) 100%);
    color: var(--text-secondary);
    position: relative;
    padding: var(--spacing-3xl) 0 var(--spacing-xl);
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-primary);
    opacity: 0.3;
}

.footer::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: var(--gradient-primary);
    border-radius: 50%;
    opacity: 0.03;
    z-index: 0;
    animation: float 8s ease-in-out infinite;
}

.footer .container {
    position: relative;
    z-index: 1;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--spacing-3xl);
    margin-bottom: var(--spacing-3xl);
}

/* Enhanced Footer Logo Section */
.footer-section:first-child {
    grid-column: 1;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    color: var(--primary-color);
    font-size: var(--font-size-2xl);
    font-weight: 800;
}

.footer-logo i {
    font-size: var(--font-size-3xl);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-section p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--spacing-xl);
    font-size: var(--font-size-base);
    max-width: 400px;
}

/* Enhanced SEBI Compliance Badges */
.sebi-compliance {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.compliance-badge {
    background: var(--bg-card);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: var(--font-size-sm);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    max-width: 350px;
}

.compliance-badge:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.compliance-badge i {
    font-size: var(--font-size-lg);
    flex-shrink: 0;
}

/* Enhanced Social Links */
.social-links {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.social-links a {
    width: 50px;
    height: 50px;
    background: var(--bg-card);
    border: 2px solid var(--bg-tertiary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: var(--font-size-lg);
    text-decoration: none;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.social-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transform: scale(0);
    transition: transform var(--transition-normal);
    border-radius: 50%;
}

.social-links a:hover::before {
    transform: scale(1);
}

.social-links a:hover {
    color: #fff;
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.social-links a i {
    position: relative;
    z-index: 1;
}

/* Enhanced Footer Sections */
.footer-section h4 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
    position: relative;
    font-size: var(--font-size-xl);
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 1px;
}

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

.footer-section ul li {
    margin-bottom: var(--spacing-md);
}

.footer-section ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all var(--transition-normal);
    padding: var(--spacing-xs) 0;
    display: block;
    position: relative;
    font-weight: 500;
}

.footer-section ul li a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-normal);
}

.footer-section ul li a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-section ul li a:hover::before {
    width: 100%;
}

/* Enhanced Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(241, 245, 249, 0.8);
    padding-top: var(--spacing-xl);
    text-align: center;
    position: relative;
}

.footer-disclaimer {
    background: var(--bg-card);
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    margin-bottom: var(--spacing-lg);
    border-left: 4px solid var(--primary-color);
    color: var(--text-secondary);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.footer-disclaimer::before {
    content: '⚠️';
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    font-size: var(--font-size-xl);
    opacity: 0.3;
}

.footer-disclaimer p {
    margin: 0;
    line-height: 1.7;
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

.footer-disclaimer strong {
    color: var(--primary-color);
    font-weight: 700;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: var(--font-size-sm);
    margin: 0;
    font-weight: 500;
}

.footer-bottom-links {
    margin: 20px 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: var(--font-size-sm);
    transition: color 0.3s ease;
    padding: 5px 10px;
    border-radius: 4px;
}

.footer-bottom-links a:hover {
    color: var(--primary-color);
    background: rgba(102, 126, 234, 0.1);
}

/* Responsive Design for Footer */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-2xl);
    }
    
    .footer-section:first-child {
        grid-column: 1 / -1;
        text-align: center;
    }
    
    .footer-section p {
        max-width: 100%;
    }
    
    .sebi-compliance {
        align-items: center;
    }
    
    .compliance-badge {
        max-width: 100%;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: var(--spacing-2xl) 0 var(--spacing-lg);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
        text-align: center;
    }
    
    .footer-section h4 {
        font-size: var(--font-size-lg);
    }
    
    .footer-section h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-section ul li a:hover {
        transform: translateY(-2px);
    }
    
    .footer-disclaimer {
        padding: var(--spacing-lg);
        text-align: left;
    }
    
    .footer-disclaimer::before {
        display: none;
    }
}

@media (max-width: 480px) {
    .footer-content {
        padding: 0 var(--spacing-md);
    }
    
    .footer-logo {
        font-size: var(--font-size-xl);
    }
    
    .footer-logo i {
        font-size: var(--font-size-2xl);
    }
    
    .social-links a {
        width: 45px;
        height: 45px;
        font-size: var(--font-size-base);
    }
    
    .compliance-badge {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: var(--font-size-xs);
    }
    
    .footer-disclaimer {
        padding: var(--spacing-md);
        font-size: var(--font-size-xs);
    }
} 

/* Enhanced WhatsApp Button */
.whatsapp-button {
    position: fixed;
    bottom: var(--spacing-xl);
    right: var(--spacing-xl);
    background: var(--gradient-secondary);
    color: #fff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-2xl);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
    animation: bounce 2s ease-in-out infinite;
    z-index: 1001;
    text-decoration: none;
}

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

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

/* Enhanced Compliance Badges */
.sebi-compliance .compliance-badge {
    background: rgba(30, 64, 175, 0.1);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: var(--font-size-sm);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.sebi-compliance .compliance-badge:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Enhanced Notification */
.notification {
    position: fixed;
    top: 100px;
    right: var(--spacing-xl);
    background: var(--bg-card);
    color: var(--text-primary);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(241, 245, 249, 0.8);
    backdrop-filter: blur(10px);
    padding: var(--spacing-lg);
    z-index: 1002;
    max-width: 300px;
    transform: translateX(400px);
    transition: transform var(--transition-normal);
}

.notification.show {
    transform: translateX(0);
}

/* Mobile Navigation */
@media (max-width: 1024px) {
    .nav-container {
        padding: 0 var(--spacing-md);
    }
    
    .logo-image {
        height: 8rem;
        max-width: 250px;
    }
}

/* Professional Mobile Navigation Styles */
@media (max-width: 768px) {
    .nav-menu {
        background: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(20px) !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
        border-radius: 0 !important;
        border-top: 1px solid rgba(0, 0, 0, 0.1) !important;
    }
    
    /* Ensure proper mobile navigation layout */
    .nav-menu ul {
        width: 100%;
        margin: 0;
        padding: 80px 0 20px 0; /* Add top padding to account for close button */
        list-style: none;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center; /* Center the navigation items */
        min-height: 100%;
        gap: 0;
    }
    
    /* Handle both nav-menu structures (ul and div) */
    .nav-menu > ul {
        width: 100%;
        margin: 0;
        padding: 80px 0 20px 0;
        list-style: none;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-height: 100%;
        gap: 0;
    }
    
    .nav-menu li {
        width: 100%;
        margin: 0;
        padding: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-shrink: 0;
    }
    
    /* Prevent horizontal scrolling */
    .nav-menu,
    .nav-menu * {
        box-sizing: border-box;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    /* Ensure all navigation items are visible */
    .nav-menu li:last-child {
        margin-bottom: var(--spacing-xl);
    }
    
    /* Add some spacing between navigation items */
    .nav-menu li {
        margin-bottom: 2px;
    }
    
    /* Hide close button by default */
    .nav-close {
        display: none;
        position: fixed;
        top: 20px;
        right: 20px;
        z-index: 10001;
        background: rgba(255, 255, 255, 0.95);
        border-radius: 50%;
        width: 40px;
        height: 40px;
        align-items: center;
        justify-content: center;
        backdrop-filter: blur(10px);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }
    
    /* Ensure consistent testimonial card heights and content distribution */
    .testimonial-header {
        flex-shrink: 0;
    }
    
    .testimonial-caption {
        flex-shrink: 0;
    }
    
    .testimonial-review {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    /* Smooth scrolling optimizations for testimonials */
    .testimonials-track {
        will-change: transform;
        backface-visibility: hidden;
        transform-style: preserve-3d;
    }
    
    .testimonial-card {
        backface-visibility: hidden;
        transform-style: preserve-3d;
    }
    
    /* Ensure testimonial content doesn't shrink */
    .testimonial-caption {
        flex-shrink: 0;
    }
}

@media (max-width: 768px) {
    .nav-container {
        height: 100px;
    }
    
    .logo-image {
        height: 6rem;
        max-width: 200px;
    }
    
    .nav-menu {
        
        position: fixed;
        left: -100%;
        top: 0; /* Start from very top of viewport */
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        width: 100vw;
        height: 100vh; /* Full viewport height */
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        padding: 0; /* Remove top padding to start from very top */
        z-index: 9999; /* Higher z-index to cover everything */
        border-top: none; /* Remove border since we're covering full height */
        display: flex;
        align-items: center; /* Center content vertically */
        justify-content: center;
        overflow-y: auto;
        overflow-x: hidden;
        box-sizing: border-box;
    }
    
    /* Mobile Navigation Close Button */
    .nav-close {
        position: absolute;
        top: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.9);
        border: 2px solid rgba(0, 0, 0, 0.1);
        border-radius: 50%;
        display: none;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
        z-index: 10000;
        backdrop-filter: blur(10px);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }
    
    /* Responsive close button sizes */
    @media (max-width: 480px) {
        .nav-close {
            width: 35px;
            height: 35px;
            top: 15px;
            right: 15px;
        }
        
        .nav-close::before,
        .nav-close::after {
            width: 18px;
            height: 2px;
        }
    }
    
    @media (max-width: 360px) {
        .nav-close {
            width: 30px;
            height: 30px;
            top: 12px;
            right: 12px;
        }
        
        .nav-close::before,
        .nav-close::after {
            width: 16px;
            height: 2px;
        }
    }
    
    .nav-close:hover {
        background: rgba(255, 255, 255, 1);
        border-color: rgba(0, 0, 0, 0.2);
        transform: scale(1.1);
    }
    
    .nav-close::before,
    .nav-close::after {
        content: '';
        position: absolute;
        width: 20px;
        height: 2px;
        background: #333;
        transition: all 0.3s ease;
    }
    
    .nav-close::before {
        transform: rotate(45deg);
    }
    
    .nav-close::after {
        transform: rotate(-45deg);
    }
    
    .nav-close:hover::before,
    .nav-close:hover::after {
        background: #000;
    }
    .nav-menu.active {
        left: 0;
        animation: slideInFromLeft 0.3s ease-out;
    }
    
    /* Show close button when mobile menu is active */
    .nav-menu.active ~ .nav-close {
        display: flex;
    }
    
    /* Mobile navigation overlay effect */
    .nav-menu::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.1);
        z-index: -1;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    .nav-menu.active::before {
        opacity: 1;
    }
    
    /* Ensure mobile navigation covers full screen */
    .nav-menu.active {
        left: 0;
        top: 0;
        width: 100vw;
        height: 100vh;
        animation: slideInFromLeft 0.3s ease-out;
    }
    
    /* Prevent body scroll when mobile navigation is open */
    body.nav-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
    }
    
    @keyframes slideInFromLeft {
        from {
            transform: translateX(-100%);
            opacity: 0;
        }
        to {
            transform: translateX(0);
            opacity: 1;
        }
    }
    
    .nav-toggle {
        display: flex;
        flex-direction: column;
        gap: 4px;
        cursor: pointer;
        padding: var(--spacing-sm);
        border-radius: var(--radius-sm);
        transition: all 0.3s ease;
    }
    
    .nav-toggle:hover {
        background: rgba(0, 0, 0, 0.05);
    }
    
    .nav-toggle.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .nav-link {
        font-size: var(--font-size-lg);
        padding: var(--spacing-lg) var(--spacing-xl);
        color: var(--text-primary);
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        transition: all 0.3s ease;
        position: relative;
        min-height: 60px;
        font-weight: 500;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        box-sizing: border-box;
        max-width: 100%;
        flex-shrink: 0;
    }
    
    .nav-link:hover {
        background: rgba(30, 64, 175, 0.05);
        color: var(--primary-color);
    }
    
    .nav-link.active {
        background: rgba(30, 64, 175, 0.1);
        color: var(--primary-color);
        font-weight: 600;
    }
    .nav-btn {
        margin: var(--spacing-lg) auto 0;
        width: 80%;
        max-width: 200px;
        font-size: var(--font-size-lg);
        text-align: center;
        border-radius: var(--radius-lg);
        background: var(--gradient-primary);
        color: white;
        padding: var(--spacing-md) var(--spacing-xl);
        display: block;
        text-decoration: none;
        font-weight: 600;
        transition: all 0.3s ease;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .nav-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(30, 64, 175, 0.3);
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 var(--spacing-xs);
        height: 90px;
    }
    
    .logo-image {
        height: 5rem;
        max-width: 180px;
    }
    
    .nav-menu {
        top: 0; /* Start from top of viewport */
        height: 100vh; /* Full viewport height */
        padding: var(--spacing-lg) 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        border-top: none; /* Remove border since we're covering full height */
        width: 100vw;
        overflow-y: auto;
        overflow-x: hidden;
        z-index: 9999; /* Higher z-index to cover everything */
    }
    
    .nav-link {
        font-size: var(--font-size-base);
        padding: var(--spacing-md) var(--spacing-lg);
        min-height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 360px) {
    .nav-container {
        height: 80px;
    }
    
    .logo-image {
        height: 4rem;
        max-width: 150px;
    }
    
    .nav-menu {
        top: 0; /* Start from top of viewport */
        height: 100vh; /* Full viewport height */
        padding: var(--spacing-md) 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        border-top: none; /* Remove border since we're covering full height */
        width: 100vw;
        overflow-y: auto;
        overflow-x: hidden;
        z-index: 9999; /* Higher z-index to cover everything */
    }
    
    .nav-link {
        font-size: var(--font-size-sm);
        padding: var(--spacing-sm) var(--spacing-md);
        min-height: 45px;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        text-align: center;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title {
        font-size: var(--font-size-4xl);
    }
    
    .section-title {
        font-size: var(--font-size-3xl);
    }
}

/* Ensure all sections are visible */
.courses, .mentorship, .about, .resources, .contact, .vision-mission, .stats {
    background: var(--bg-secondary);
    padding: var(--spacing-3xl) 0;
    margin: var(--spacing-3xl) 0;
    position: relative;
    z-index: 1;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.courses {
    background: var(--bg-primary);
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 10 !important;
    min-height: 100px !important;
}

.courses-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)) !important;
    gap: var(--spacing-2xl) !important;
    margin-top: var(--spacing-3xl) !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.course-card {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Testimonials Section */
.testimonials {
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
    /* Ensure proper spacing for dynamic height */
    padding: var(--spacing-3xl) 0;
    margin: var(--spacing-3xl) 0;
    min-height: 100vh;
    width: 100%;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.05) 0%, rgba(5, 150, 105, 0.05) 100%);
    z-index: 1;
}

.testimonials .container {
    position: relative;
    z-index: 2;
    max-width: 100%;
    padding: 0;
}

.testimonials .section-header {
    text-align: center;
    margin-bottom: 0;
}

/* Policy Pages Styles */
.policy-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 80px 0;
    position: relative;
    z-index: 1;
}

/* Fix logo sizing issues on policy pages */
.policy-hero .logo,
.policy-hero .logo-image {
    max-width: 200px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.policy-hero .navbar-brand {
    max-width: 200px;
}

.policy-hero .navbar-brand img {
    max-width: 100%;
    height: auto;
}

.policy-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.policy-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.policy-content {
    padding: 60px 0;
    background: #f8f9fa;
    position: relative;
    z-index: 1;
}

.policy-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.policy-section {
    padding: 40px;
    border-bottom: 1px solid #e9ecef;
}

.policy-section:last-child {
    border-bottom: none;
}

.policy-section h2 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.policy-section h3 {
    color: #34495e;
    font-size: 1.3rem;
    margin: 1.5rem 0 1rem 0;
    font-weight: 600;
}

.policy-section p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.policy-section ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.policy-section li {
    color: #555;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.policy-section strong {
    color: #2c3e50;
    font-weight: 600;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.contact-item i {
    font-size: 1.5rem;
    color: #667eea;
    margin-top: 0.25rem;
}

.contact-item strong {
    color: #2c3e50;
    display: block;
    margin-bottom: 0.5rem;
}

.contact-item a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #5a6fd8;
}

/* Responsive Design for Policy Pages */
@media (max-width: 768px) {
    .policy-hero h1 {
        font-size: 2.5rem;
    }
    
    .policy-hero p {
        font-size: 1.1rem;
    }
    
    .policy-section {
        padding: 30px 20px;
    }
    
    .policy-section h2 {
        font-size: 1.6rem;
    }
    
    .policy-section h3 {
        font-size: 1.2rem;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-item {
        padding: 1rem;
    }
}

/* Additional fixes for policy page logo and content visibility */
.policy-hero .navbar {
    position: relative;
    z-index: 10;
}

.policy-hero .navbar-brand img {
    max-width: 200px !important;
    height: auto !important;
    width: auto !important;
}

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

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

/* Policy page navigation fixes */
.policy-hero .header {
    position: relative;
    z-index: 20;
}

.policy-hero .navbar-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.policy-hero .navbar-nav .nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.policy-hero .navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

.policy-hero .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

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

.policy-hero .navbar-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.policy-hero .navbar-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

/* Mobile navigation for policy pages */
@media (max-width: 768px) {
    .policy-hero .navbar-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 80px 2rem 2rem;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }
    
    .policy-hero .navbar-nav.active {
        right: 0;
    }
    
    .policy-hero .navbar-toggle {
        display: flex;
    }
    
    .policy-hero .navbar-actions {
        display: none;
    }
}

/* Ensure policy page content is visible */
.policy-hero .hero-content h1,
.policy-hero .hero-content p {
    margin-top: 50px;
    position: relative;
    z-index: 5;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.policy-hero .hero-content h1 {
    margin-bottom: 1rem;
    font-weight: 700;
}

.policy-hero .hero-content p {
    font-size: 1.2rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}

/* Ensure testimonials section is properly set up for centering */
.testimonials {
    text-align: center;
}

/* Testimonials Horizontal Scroll Styles */
.testimonials-horizontal-container {
    position: relative;
    margin-top: 50px;
    overflow: hidden;
    /* Dynamic height based on card height */
    min-height: 600px;
    height: auto;
    padding: 0 40px; /* Reduced padding for full width */
    /* Ensure proper centering */
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: center;
}

/* Ensure container is properly set up for centering */
.testimonials-horizontal-container {
    box-sizing: border-box;
}

.testimonials-track {
    display: flex;
    gap: 30px;
    padding: 40px 0;
    width: max-content;
    position: relative;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    /* Ensure proper centering */
    margin: 0 auto;
    /* Initial transform to center first card */
    transform: translateX(0);
    /* Ensure full card visibility */
    align-items: center;
}

/* Override any conflicting styles for mobile/tablet */
@media (max-width: 1199px) {
    .testimonials-track {
        transform: none !important;
        margin: 0 auto !important;
        justify-content: center !important;
    }
}



/* Force centering for testimonials on mobile/tablet */
@media (max-width: 1199px) {
    .testimonials-horizontal-container {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }
    
    .testimonials-track {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        transform: none !important;
        margin: 0 auto !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .testimonial-card {
        flex-shrink: 0;
    }
}

@media (min-width: 1200px) {
    .testimonials-track {
        justify-content: flex-start;
        margin: 0;
        width: max-content;
    }
}

.testimonial-card {
    width: 400px;
    height: 500px; /* Fixed height for consistency */
    flex-shrink: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.9) 100%);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px);
    /* Ensure proper centering */
    transition: all 0.3s ease;
    /* Ensure full visibility */
    margin: 20px 0;
    display: flex;
    flex-direction: column;
}

/* Responsive Testimonials Layout */
@media (min-width: 1200px) {
    /* Laptop/Desktop: Show 2 full cards + 2 half cards */
    .testimonials-track {
        gap: 20px;
        transform: translateX(calc(50vw - 400px - 20px));
    }
    
    .testimonial-card:nth-child(3),
    .testimonial-card:nth-child(4) {
        width: 200px;
        opacity: 0.6;
        transform: scale(0.8);
    }
    
    .testimonial-card:nth-child(3) .testimonial-content,
    .testimonial-card:nth-child(4) .testimonial-content {
        display: none;
    }
    
    .testimonial-card:nth-child(3) .testimonial-header,
    .testimonial-card:nth-child(4) .testimonial-header {
        transform: scale(0.8);
        margin-bottom: 10px;
    }
    
    /* Ensure proper spacing for full width */
    .testimonials-horizontal-container {
        padding: 0 60px;
    }
}

@media (max-width: 1199px) and (min-width: 768px) {
    /* Tablet: Adjust card size */
    .testimonial-card {
        width: 450px;
        height: 550px;
    }
    
    .testimonials-horizontal-container {
        padding: 0 20px;
    }
}

@media (max-width: 767px) {
    /* Mobile: Adjust card size */
    .testimonial-card {
        width: 320px;
        height: 450px;
        padding: 30px;
    }
    
    .testimonials-horizontal-container {
        padding: 0 20px;
    }
    
    .testimonial-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .testimonial-avatar {
        width: 70px;
        height: 70px;
    }
}

.testimonial-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.9) 100%);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #10b981, #a855f7);
    border-radius: 20px 20px 0 0;
}

/* Active testimonial card styling */
.testimonial-card.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
}

.testimonial-card:not(.active) {
    opacity: 0.7;
    transform: translateY(0) scale(0.95);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    flex-shrink: 0;
}

.testimonial-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #e2e8f0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.testimonial-info {
    flex: 1;
}

.testimonial-name {
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 5px 0;
}

.testimonial-designation {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
    font-weight: 500;
}

.testimonial-rating {
    display: flex;
    gap: 3px;
}

.testimonial-rating i {
    color: #fbbf24;
    font-size: 16px;
}

.testimonial-caption {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 20px;
    line-height: 1.5;
    font-style: italic;
    position: relative;
    padding-left: 20px;
}

.testimonial-caption::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -5px;
    font-size: 24px;
    color: #3b82f6;
    font-weight: 700;
}

.testimonial-review {
    color: #4b5563;
    line-height: 1.7;
    font-size: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: auto;
}

.testimonial-review p {
    margin: 0;
    position: relative;
    padding-left: 20px;
}

.testimonial-review p::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, #3b82f6, #10b981);
    border-radius: 2px;
}

/* Navigation Arrows */
.testimonial-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(30, 64, 175, 0.2);
    color: var(--primary-color);
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.testimonial-nav-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 30px rgba(30, 64, 175, 0.3);
}

.testimonial-nav-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.testimonial-nav-prev {
    left: 20px;
}

.testimonial-nav-next {
    right: 20px;
}

/* Responsive Navigation Arrows */
@media (max-width: 1199px) {
    .testimonial-nav-btn {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
    
    .testimonial-nav-prev {
        left: 10px;
    }
    
    .testimonial-nav-next {
        right: 10px;
    }
}

@media (max-width: 767px) {
    .testimonial-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .testimonial-nav-prev {
        left: 5px;
    }
    
    .testimonial-nav-next {
        right: 5px;
    }
}

.testimonial-nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: translateY(-50%) scale(0.9);
}

.testimonial-nav-btn:disabled:hover {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    border-color: rgba(30, 64, 175, 0.2);
    transform: translateY(-50%) scale(0.9);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Navigation Dots - Hidden */
.testimonial-dots {
    display: none !important;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.3);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: #3b82f6;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.dot.active {
    background: rgba(59, 130, 246, 0.1);
}

.dot.active::before {
    width: 8px;
    height: 8px;
}

/* Responsive Design for Horizontal Testimonials */
@media (max-width: 1024px) {
    .testimonials-horizontal-container {
        min-height: 550px;
        height: auto;
        padding: 0 70px;
    }
    
    .testimonial-card {
        width: 350px;
        height: 450px;
        padding: 30px;
        display: flex;
        flex-direction: column;
    }
    
    .testimonial-avatar {
        width: 80px;
        height: 80px;
    }
    
    .testimonial-name {
        font-size: 16px;
    }
    
    .testimonial-caption {
        font-size: 15px;
    }
    
    .testimonial-review {
        font-size: 14px;
    }
    
    .testimonial-nav-btn {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .testimonials-horizontal-container {
        min-height: 500px;
        height: auto;
        padding: 0 60px;
    }
    
    .testimonial-card {
        width: 300px;
        height: 400px;
        padding: 25px;
        display: flex;
        flex-direction: column;
    }
    
    .testimonials-track {
        gap: 20px;
    }
    
    .testimonial-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .testimonial-avatar {
        width: 70px;
        height: 70px;
        margin: 0 auto;
    }
    
    .testimonial-rating {
        justify-content: center;
    }
    
    .testimonial-caption {
        text-align: center;
        font-size: 14px;
        padding-left: 0;
    }
    
    .testimonial-caption::before {
        display: none;
    }
    
    .testimonial-review p {
        padding-left: 0;
        font-size: 13px;
    }
    
    .testimonial-review p::before {
        display: none;
    }
    
    .testimonial-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .testimonial-nav-prev {
        left: 10px;
    }
    
    .testimonial-nav-next {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .testimonials-horizontal-container {
        min-height: 450px;
        height: auto;
        padding: 0 50px;
    }
    
    .testimonial-card {
        width: 280px;
        height: 380px;
        padding: 20px;
        display: flex;
        flex-direction: column;
    }
    
    .testimonials-track {
        gap: 15px;
    }
    
    .testimonial-avatar {
        width: 60px;
        height: 60px;
    }
    
    .testimonial-name {
        font-size: 15px;
    }
    
    .testimonial-designation {
        font-size: 12px;
    }
    
    .testimonial-caption {
        font-size: 13px;
        margin-bottom: 15px;
    }
    
    .testimonial-review {
        font-size: 12px;
    }
    
    .testimonial-rating i {
        font-size: 14px;
    }
    
    .testimonial-nav-btn {
        width: 35px;
        height: 35px;
        font-size: 12px;
    }
    
    .testimonial-nav-prev {
        left: 5px;
    }
    
    .testimonial-nav-next {
        right: 5px;
    }
}

/* Performance optimizations for horizontal scroll */
@media (prefers-reduced-motion: reduce) {
    .testimonial-card {
        transition: none;
    }
    
    .testimonials-track {
        transition: none;
    }
}

.about {
    background: var(--bg-primary);
    padding: var(--spacing-3xl) 0;
    margin: var(--spacing-3xl) 0;
}

.stats {
    background: var(--bg-primary);
}

/* Additional utility classes */
.text-center {
    text-align: center;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }
.mb-4 { margin-bottom: var(--spacing-xl); }
.mb-5 { margin-bottom: var(--spacing-2xl); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }
.mt-4 { margin-top: var(--spacing-xl); }
.mt-5 { margin-top: var(--spacing-2xl); } 

@media (min-width: 769px) {
  .nav-menu {
    flex-wrap: nowrap;
  }
} 

/* Enhanced Mentor Card Layout - Row Style */
.mentor-card {
    background: var(--bg-card);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(241, 245, 249, 0.8);
    color: var(--text-primary);
    border-radius: var(--radius-xl);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    padding: 0; /* Remove padding to allow full control */
    display: flex; /* Make it a flex container for row layout */
    align-items: stretch; /* Stretch to full height */
    min-height: 400px; /* Ensure minimum height for portrait */
}

.mentor-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.mentor-card:hover::before {
    transform: scaleX(1);
}

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

/* Enhanced Mentor Image - Left Side */
.mentor-image {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl) 0 0 var(--radius-xl);
    margin-bottom: 0; /* Remove bottom margin */
    flex: 0 0 350px; /* Fixed width for portrait image */
    min-height: 400px; /* Ensure full height */
    background: var(--bg-tertiary); /* Fallback background */
}

.mentor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top; /* Position to show full portrait */
    transition: transform var(--transition-normal);
}

.mentor-card:hover .mentor-image img {
    transform: scale(1.05);
}

/* Enhanced Mentor Content - Right Side */
.mentor-content {
    padding: var(--spacing-2xl);
    flex: 1; /* Take remaining space */
    display: flex;
        flex-direction: column;
    justify-content: center;
    background: var(--bg-card);
}

.mentor-content h3 {
    color: var(--primary-color);
    font-size: var(--font-size-3xl);
    font-weight: 800;
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
}

.mentor-title {
    background: var(--gradient-primary);
    color: #fff;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: var(--font-size-sm);
    box-shadow: var(--shadow-sm);
    display: inline-block;
    margin-bottom: var(--spacing-lg);
    align-self: flex-start;
}

.mentor-bio {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--spacing-xl);
    font-size: var(--font-size-lg);
    max-width: 500px;
}

/* Enhanced Mentor Stats */
.mentor-stats {
    display: flex;
        gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
    flex-wrap: wrap;
}

.mentor-stats span {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    font-size: var(--font-size-sm);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    border: 1px solid rgba(241, 245, 249, 0.8);
    transition: all var(--transition-normal);
}

.mentor-stats span:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.mentor-stats i {
    color: var(--primary-color);
    font-size: var(--font-size-sm);
}

.mentor-stats span:hover i {
    color: #fff;
}

/* Enhanced Mentor Achievements */
.mentor-achievements {
    margin-bottom: var(--spacing-xl);
    flex: 1;
}

.achievement {
    background: var(--bg-primary);
    color: var(--text-primary);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-sm);
    font-size: var(--font-size-sm);
    font-weight: 500;
    border-left: 4px solid var(--secondary-color);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.achievement:hover {
    background: var(--bg-tertiary);
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.achievement:last-child {
    margin-bottom: 0;
}

/* Enhanced Mentor Card Specific Styles */
.mentor-card.featured {
    border: 2px solid var(--primary-color);
    box-shadow: var(--shadow-lg);
    position: relative;
}

.mentor-card.featured::after {
    content: 'Featured';
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    background: var(--gradient-accent);
    color: #fff;
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-xs);
    font-weight: 600;
    z-index: 2;
}

/* Responsive Design for Mentor Card */
@media (max-width: 768px) {
    .mentor-card {
        flex-direction: column; /* Stack vertically on mobile */
        min-height: auto;
    }
    
    .mentor-image {
        flex: none;
        height: 250px; /* Smaller height on mobile */
        border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    }
    
    .mentor-content {
        padding: var(--spacing-xl);
    }
    
    .mentor-content h3 {
        font-size: var(--font-size-2xl);
    }
    
    .mentor-bio {
        font-size: var(--font-size-base);
    }
}

@media (max-width: 480px) {
    .mentor-image {
        height: 200px;
    }
    
    .mentor-content {
        padding: var(--spacing-lg);
    }
    
    .mentor-stats {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
} 

/* Enhanced About Section - Unique Design */
.about {
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23f1f5f9" stroke-width="0.5" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
    z-index: 0;
}

.about::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: var(--gradient-primary);
    border-radius: 50%;
    opacity: 0.05;
    z-index: 0;
    animation: float 6s ease-in-out infinite;
}

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

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

.about-content {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: var(--spacing-3xl);
    align-items: start;
    padding: var(--spacing-2xl) 0;
}

/* Enhanced About Text Section */
.about-text {
    background: var(--bg-card);
    padding: var(--spacing-3xl);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(241, 245, 249, 0.8);
    position: relative;
    overflow: hidden;
}

.about-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

.about-text h3 {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: var(--spacing-lg);
    position: relative;
    display: inline-block;
}

.about-text h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.about-text p {
    font-size: var(--font-size-lg);
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-2xl);
    position: relative;
}

/* Enhanced About Features */
.about-features {
    display: grid;
    gap: var(--spacing-xl);
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-lg);
    padding: var(--spacing-xl);
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(241, 245, 249, 0.8);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    transform: scaleY(0);
    transition: transform var(--transition-normal);
}

.feature:hover::before {
    transform: scaleY(1);
}

.feature:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
    background: var(--bg-primary);
}

.feature i {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
        justify-content: center;
    color: #fff;
    font-size: var(--font-size-xl);
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.feature:hover i {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-lg);
}

.feature div {
    flex: 1;
}

.feature h4 {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    transition: color var(--transition-normal);
}

.feature:hover h4 {
    color: var(--primary-dark);
}

.feature p {
    font-size: var(--font-size-base);
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0;
}

/* Enhanced About Stats Section */
.about-stats {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    position: sticky;
    top: 120px;
}

.about-stats .stat-card {
    background: var(--bg-card);
    padding: var(--spacing-2xl);
    border-radius: var(--radius-xl);
        text-align: center;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(241, 245, 249, 0.8);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.about-stats .stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.about-stats .stat-card:hover::before {
    transform: scaleX(1);
}

.about-stats .stat-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.about-stats .stat-number {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    line-height: 1;
}

.about-stats .stat-label {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive Design for About Section */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
    }
    
    .about-stats {
        position: static;
        flex-direction: row;
        justify-content: center;
    }
    
    .about-stats .stat-card {
        flex: 1;
        max-width: 200px;
    }
}

@media (max-width: 768px) {
    .about-text {
        padding: var(--spacing-xl);
    }
    
    .about-text h3 {
        font-size: var(--font-size-3xl);
    }
    
    .about-text p {
        font-size: var(--font-size-base);
    }
    
    .feature {
        padding: var(--spacing-lg);
        flex-direction: column;
        text-align: center;
    }
    
    .feature i {
        align-self: center;
    }
    
    .about-stats {
        flex-direction: column;
        align-items: center;
    }
    
    .about-stats .stat-card {
        max-width: 100%;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .about-text {
        padding: var(--spacing-lg);
    }
    
    .feature {
        padding: var(--spacing-md);
    }
    
    .feature i {
        width: 50px;
        height: 50px;
        font-size: var(--font-size-lg);
    }
    
    .about-stats .stat-card {
        padding: var(--spacing-xl);
    }
    
    .about-stats .stat-number {
        font-size: var(--font-size-3xl);
    }
} 

/* TV Static Effect */
.tv-static {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(0, 255, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 255, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(0, 255, 0, 0.1) 0%, transparent 50%);
    opacity: 0.3;
    animation: staticNoise 0.2s linear infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes staticNoise {
    0%, 100% {
        transform: translate(0, 0);
    }
    10% {
        transform: translate(-5px, -5px);
    }
    20% {
        transform: translate(-10px, 0);
    }
    30% {
        transform: translate(5px, -10px);
    }
    40% {
        transform: translate(-5px, 5px);
    }
    50% {
        transform: translate(10px, -5px);
    }
    60% {
        transform: translate(-10px, 10px);
    }
    70% {
        transform: translate(5px, 5px);
    }
    80% {
        transform: translate(-5px, -10px);
    }
    90% {
        transform: translate(10px, 10px);
    }
} 

/* Trading Panel Styles */
.trading-panel {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
    background: var(--bg-tertiary);
        padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: var(--spacing-lg);
    }
    
.stock-info {
    display: flex;
        flex-direction: column;
    gap: var(--spacing-xs);
}

.stock-symbol {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--text-primary);
}

.stock-price {
    font-size: var(--font-size-2xl);
    font-weight: 800;
    color: var(--text-primary);
}

.stock-change {
    font-size: var(--font-size-sm);
    font-weight: 600;
}

.stock-change.positive {
    color: var(--text-success);
}

.stock-change.negative {
    color: var(--text-danger);
}

/* Animation Keyframes */
@keyframes textGlow {
    0%, 100% { 
        filter: brightness(1) contrast(1);
    }
    50% { 
        filter: brightness(1.2) contrast(1.1);
    }
}

@keyframes textFloat {
    0%, 100% { 
        transform: translateY(0) rotateX(0deg);
    }
    25% { 
        transform: translateY(-5px) rotateX(2deg);
    }
    50% { 
        transform: translateY(-10px) rotateX(0deg);
    }
    75% { 
        transform: translateY(-5px) rotateX(-2deg);
    }
}

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

@keyframes scanLines {
    0% { transform: translateY(0); }
    100% { transform: translateY(4px); }
} 

/* Enhanced Market Indicators */
.market-indicators {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-2xl);
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 100%;
}

.indicator {
    background: var(--bg-card);
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(241, 245, 249, 0.8);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    text-align: center;
    cursor: pointer;
    min-width: 0;
    word-wrap: break-word;
}

.indicator::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

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

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

.indicator::after {
    content: '';
    position: absolute;
    top: 50%;
    right: var(--spacing-md);
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    transform: translateY(-50%);
    opacity: 0.3;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.3;
        transform: translateY(-50%) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translateY(-50%) scale(1.2);
    }
}

.indicator-label {
    display: block;
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.indicator-value {
    display: block;
    font-size: var(--font-size-2xl);
    font-weight: 800;
    color: var(--text-primary);
    font-family: 'Courier New', monospace;
    position: relative;
    transition: all var(--transition-normal);
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.2;
}

.indicator-value.positive {
    color: var(--text-success);
    text-shadow: 0 0 10px rgba(5, 150, 105, 0.3);
}

.indicator-value.negative {
    color: var(--text-danger);
    text-shadow: 0 0 10px rgba(220, 38, 38, 0.3);
}

.indicator:hover .indicator-value {
    transform: scale(1.05);
}

.indicator:hover .indicator-value.positive {
    text-shadow: 0 0 15px rgba(5, 150, 105, 0.5);
}

.indicator:hover .indicator-value.negative {
    text-shadow: 0 0 15px rgba(220, 38, 38, 0.5);
}

/* Market Status Indicator */
.market-status {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--text-success);
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-muted);
    animation: statusPulse 2s ease-in-out infinite;
}

.status-indicator.live {
    background: var(--text-success);
    box-shadow: 0 0 10px rgba(5, 150, 105, 0.5);
}

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

/* Time Display */
.time-display {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--text-secondary);
}

.time-display i {
    color: var(--primary-color);
    font-size: var(--font-size-base);
}

/* Responsive Design for Market Indicators */
@media (max-width: 1200px) {
    .market-indicators {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-md);
        margin-top: var(--spacing-xl);
    }
    
    .indicator {
        padding: var(--spacing-lg);
    }
    
    .indicator-value {
        font-size: var(--font-size-xl);
    }
}

@media (max-width: 1024px) {
    .market-indicators {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-md);
    }
    
    .indicator {
        padding: var(--spacing-lg);
    }
    
    .indicator-value {
        font-size: var(--font-size-lg);
    }
    
    .indicator-label {
        font-size: var(--font-size-xs);
    }
}

@media (max-width: 900px) {
    .market-indicators {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }
    
    .indicator {
        padding: var(--spacing-lg);
    }
    
    .indicator-value {
        font-size: var(--font-size-lg);
    }
}

@media (max-width: 768px) {
    .market-indicators {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
        margin-top: var(--spacing-lg);
    }
    
    .indicator {
        padding: var(--spacing-lg);
        text-align: left;
        display: flex;
        justify-content: space-between;
        align-items: center;
        min-height: 60px;
    }
    
    .indicator::after {
        display: none;
    }
    
    .indicator-label {
        margin-bottom: 0;
        font-size: var(--font-size-xs);
        flex-shrink: 0;
        margin-right: var(--spacing-sm);
    }
    
    .indicator-value {
        font-size: var(--font-size-lg);
        text-align: right;
        flex-shrink: 0;
    }
}

@media (max-width: 600px) {
    .market-indicators {
        gap: var(--spacing-sm);
    }
    
    .indicator {
        padding: var(--spacing-md);
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-xs);
        min-height: auto;
    }
    
    .indicator-label {
        font-size: var(--font-size-xs);
        margin-right: 0;
        margin-bottom: var(--spacing-xs);
    }
    
    .indicator-value {
        font-size: var(--font-size-base);
        text-align: center;
    }
}

@media (max-width: 480px) {
    .market-indicators {
        gap: var(--spacing-sm);
        margin-top: var(--spacing-md);
    }
    
    .indicator {
        padding: var(--spacing-md);
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-xs);
    }
    
    .indicator-label {
        font-size: var(--font-size-xs);
        letter-spacing: 0.5px;
    }
    
    .indicator-value {
        font-size: var(--font-size-base);
        line-height: 1.1;
    }
}

@media (max-width: 360px) {
    .market-indicators {
        gap: var(--spacing-xs);
    }
    
    .indicator {
        padding: var(--spacing-sm);
    }
    
    .indicator-label {
        font-size: 0.7rem;
        letter-spacing: 0.3px;
    }
    
    .indicator-value {
        font-size: var(--font-size-sm);
    }
}

/* Enhanced Mentorship Section */
.mentorship {
    background: var(--bg-secondary);
    padding: var(--spacing-3xl) 0;
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.mentorship::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    z-index: -1;
}

.mentorship .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.mentorship .section-header {
    margin-bottom: var(--spacing-3xl);
}

.mentorship .section-title {
    color: var(--primary-color);
    font-size: var(--font-size-4xl);
    font-weight: 800;
    margin-bottom: var(--spacing-lg);
    position: relative;
    display: inline-block;
}

.mentorship .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.mentorship .section-subtitle {
    font-size: var(--font-size-xl);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.mentorship-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-2xl);
    margin-top: var(--spacing-3xl);
    position: relative;
    z-index: 2;
}

/* Ensure all sections are visible */

/* Blog Section */
.blogs {
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
    /* Ensure visibility */
    min-height: 400px;
    padding: var(--spacing-3xl) 0;
    margin: var(--spacing-3xl) 0;
}

.blogs::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.05) 0%, rgba(5, 150, 105, 0.05) 100%);
    z-index: -1;
}

.blogs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 32px;
    margin-top: var(--spacing-xl);
    /* Ensure visibility */
    min-height: 400px;
}

.blog-card {
    background: var(--bg-card);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(30, 64, 175, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid rgba(30, 64, 175, 0.08);
    backdrop-filter: blur(20px);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--accent-color) 100%);
    z-index: 1;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 12px 40px rgba(30, 64, 175, 0.12);
    border-color: rgba(30, 64, 175, 0.2);
}

/* Blog Image Container */
.blog-image-container {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
}

.blog-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card:hover .blog-image {
    transform: scale(1.05);
}

/* Blog Category Badge */
.blog-category-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
    z-index: 2;
}

/* Blog Overlay */
.blog-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.9) 0%, rgba(5, 150, 105, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 3;
}

.blog-card:hover .blog-overlay {
    opacity: 1;
}

.blog-overlay-content {
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.blog-overlay-content i {
    font-size: 2rem;
    margin-bottom: 8px;
}

.blog-overlay-content span {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Blog Content */
.blog-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    letter-spacing: -0.02em;
}

.blog-excerpt {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.blog-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 0.8rem;
    color: var(--text-muted);
    padding-top: 16px;
    border-top: 1px solid rgba(30, 64, 175, 0.08);
}

.blog-meta-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.blog-meta-right {
    display: flex;
    align-items: center;
}

.blog-date {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.blog-date i {
    color: var(--primary-color);
}

.blog-read-time {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.blog-read-time i {
    color: var(--secondary-color);
}

.blog-author {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.blog-author i {
    color: var(--accent-color);
}

.blog-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.2);
    margin-top: auto;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.blog-btn i {
    transition: transform var(--transition-normal);
}

.blog-btn:hover i {
    transform: translateX(6px);
    color: rgba(255, 255, 255, 0.9);
}

.blogs-cta {
    text-align: center;
    margin-top: 40px;
}

.blog-loading {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
    /* Ensure visibility */
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

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

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

/* Enhanced Resources Section */
.resources {
    background: var(--bg-secondary);
    position: relative;
    padding: var(--spacing-4xl) 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.resources::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 70%, rgba(30, 64, 175, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(5, 150, 105, 0.03) 0%, transparent 50%);
    z-index: 1;
}

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

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

.resources .section-title {
    color: var(--text-primary);
    margin-bottom: var(--spacing-lg);
}

.resources .section-title::after {
    background: var(--gradient-primary);
}

.resources .section-subtitle {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-2xl);
    margin-top: var(--spacing-3xl);
}

.resource-card {
    background: var(--bg-card);
    padding: var(--spacing-2xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(241, 245, 249, 0.8);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.resource-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.resource-card:hover::before {
    transform: scaleX(1);
}

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

.resource-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-2xl);
    color: #fff;
    margin: 0 auto var(--spacing-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.resource-card:hover .resource-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-lg);
}

.resource-card h3 {
    color: var(--text-primary);
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.resource-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--spacing-lg);
}

.resource-link {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-normal);
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius-lg);
    background: rgba(30, 64, 175, 0.1);
    border: 1px solid rgba(30, 64, 175, 0.2);
}

.resource-link:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateX(5px);
}

.resource-link i {
    transition: transform var(--transition-normal);
}

.resource-link:hover i {
    transform: translateX(3px);
}

@media (max-width: 1024px) {
    .resources-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: var(--spacing-xl);
    }
}

@media (max-width: 768px) {
    .resources {
        padding: var(--spacing-3xl) 0;
    }
    
    .resources-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .resource-card {
        padding: var(--spacing-xl);
    }
    
    .resource-icon {
        width: 60px;
        height: 60px;
        font-size: var(--font-size-xl);
    }
}

@media (max-width: 480px) {
    .resources .section-title {
        font-size: var(--font-size-2xl);
    }
    
    .resource-card {
        padding: var(--spacing-lg);
    }
    
    .resource-card h3 {
        font-size: var(--font-size-lg);
    }
} 

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

/* Large Desktop (1400px and up) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .hero-title {
        font-size: 4.5rem;
    }
    
    .section-title {
        font-size: 3.5rem;
    }
    
    .trading-dashboard {
        transform: scale(1.1);
    }
}

/* Desktop (1200px - 1399px) */
@media (max-width: 1399px) and (min-width: 1200px) {
    .hero-title {
        font-size: 4rem;
    }
    
    .trading-dashboard {
        transform: scale(1.05);
    }
}

/* Large Tablet (1024px - 1199px) */
@media (max-width: 1199px) and (min-width: 1024px) {
    .hero {
        margin-top: 100px; /* Account for fixed navbar */
    }
    
    .hero-container {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-2xl);
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-description {
        font-size: var(--font-size-lg);
    }
    
    .trading-dashboard {
        transform: scale(0.95);
    }
    
    .mentor-card {
        flex-direction: column;
        min-height: auto;
    }
    
    .mentor-image {
        flex: none;
        width: 100%;
        height: 300px;
        border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    }
}

/* Tablet (768px - 1023px) */
@media (max-width: 1023px) and (min-width: 768px) {
    .hero {
        margin-top: 100px; /* Account for fixed navbar */
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--spacing-3xl);
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-description {
        font-size: var(--font-size-base);
        max-width: 600px;
        margin: 0 auto;
    }
    
    .hero-stats {
        justify-content: center;
        gap: var(--spacing-2xl);
    }
    
    .trading-dashboard {
        transform: scale(0.85);
        margin: 0 auto;
    }
    
    .trading-panel {
        transform: scale(0.9);
    }
    
    .mentor-card {
        flex-direction: column;
        min-height: auto;
    }
    
    .mentor-image {
        flex: none;
        width: 100%;
        height: 280px;
        border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    }
    
    .mentor-content {
        padding: var(--spacing-xl);
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-2xl);
    }
}

/* Mobile Large (480px - 767px) */
@media (max-width: 767px) and (min-width: 480px) {
    .hero {
        margin-top: 100px; /* Account for fixed navbar */
        padding-top: 80px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--spacing-2xl);
        padding: var(--spacing-xl) var(--spacing-lg);
        min-height: calc(100vh - 80px);
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .hero-description {
        font-size: var(--font-size-sm);
        max-width: 100%;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--spacing-lg);
        align-items: center;
    }
    
    .stat-item {
        text-align: center;
        min-width: 100%;
    }
    
    .trading-dashboard {
        transform: scale(0.7);
        margin: 0 auto;
    }
    
    .trading-panel {
        transform: scale(0.8);
        margin-top: var(--spacing-lg);
    }
    
    .mentor-card {
        flex-direction: column;
        min-height: auto;
        margin: 0 var(--spacing-lg);
    }
    
    .mentor-image {
        flex: none;
        width: 100%;
        height: 250px;
        border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    }
    
    .mentor-content {
        padding: var(--spacing-lg);
    }
    
    .mentor-content h3 {
        font-size: var(--font-size-xl);
    }
    
    .mentor-bio {
        font-size: var(--font-size-sm);
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
        padding: var(--spacing-xl) var(--spacing-lg);
    }
    
    .about-text h3 {
        font-size: var(--font-size-2xl);
    }
    
    .about-text p {
        font-size: var(--font-size-sm);
    }
    
    .about-features {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
        padding: var(--spacing-xl) var(--spacing-lg);
    }
    
    .contact-info h2 {
        font-size: var(--font-size-2xl);
    }
    
    .contact-info p {
        font-size: var(--font-size-sm);
    }
    
    .contact-item {
        padding: var(--spacing-lg);
        flex-direction: column;
        text-align: center;
    }
    
    .contact-icon {
        align-self: center;
        width: 60px;
        height: 60px;
        font-size: var(--font-size-xl);
    }
    
    .contact-form {
        padding: var(--spacing-xl);
    }
    
    .form-group {
        margin-bottom: var(--spacing-lg);
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: var(--spacing-md);
        font-size: var(--font-size-base);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
        text-align: center;
    }
    
    .footer-section h4 {
        font-size: var(--font-size-lg);
    }
    
    .footer-section h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-links {
        justify-content: center;
    }
    
    .compliance-badge {
        margin: 0 auto;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--bg-card);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: var(--spacing-xl) 0;
        border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    }
    
    .nav-menu.active {
        top:0;
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-link {
        padding: var(--spacing-md) var(--spacing-lg);
        font-size: var(--font-size-lg);
        border-bottom: 1px solid rgba(241, 245, 249, 0.3);
    }
    
    .nav-btn {
        margin-top: var(--spacing-md);
        padding: var(--spacing-md) var(--spacing-xl);
        font-size: var(--font-size-base);
    }
    
    .logo-image {
        height: 10rem;
        max-width: 150px;
    }
    
    .nav-logo a span {
        font-size: var(--font-size-lg);
    }
}

/* Mobile Small (320px - 479px) */
@media (max-width: 479px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--spacing-xl);
        padding: var(--spacing-lg) var(--spacing-md);
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .hero-description {
        font-size: var(--font-size-sm);
        max-width: 100%;
    }
    
    .hero-badge {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: var(--font-size-sm);
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--spacing-md);
        align-items: center;
    }
    
    .stat-item {
        text-align: center;
        min-width: 100%;
    }
    
    .stat-number {
        font-size: var(--font-size-2xl);
    }
    
    .stat-label {
        font-size: var(--font-size-sm);
    }
    
    .trading-dashboard {
        transform: scale(0.6);
        margin: 0 auto;
    }
    
    .trading-panel {
        transform: scale(0.7);
        margin-top: var(--spacing-md);
    }
    
    .retro-tv-screen {
        padding: var(--spacing-sm);
    }
    
    .stock-name {
        font-size: var(--font-size-sm);
    }
    
    .stock-price {
        font-size: var(--font-size-lg);
    }
    
    .stock-change {
        font-size: var(--font-size-xs);
    }
    
    .trade-btn {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: var(--font-size-sm);
    }
    
    .mentor-card {
        flex-direction: column;
        min-height: auto;
        margin: 0 var(--spacing-md);
    }
    
    .mentor-image {
        flex: none;
        width: 100%;
        height: 200px;
        border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    }
    
    .mentor-content {
        padding: var(--spacing-md);
    }
    
    .mentor-content h3 {
        font-size: var(--font-size-lg);
    }
    
    .mentor-bio {
        font-size: var(--font-size-sm);
    }
    
    .mentor-stats {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .mentor-stats span {
        padding: var(--spacing-sm);
        font-size: var(--font-size-sm);
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
        padding: var(--spacing-lg) var(--spacing-md);
    }
    
    .about-text h3 {
        font-size: var(--font-size-xl);
    }
    
    .about-text p {
        font-size: var(--font-size-sm);
    }
    
    .about-features {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .feature {
        padding: var(--spacing-md);
    }
    
    .feature i {
        width: 50px;
        height: 50px;
        font-size: var(--font-size-lg);
    }
    
    .feature h4 {
        font-size: var(--font-size-base);
    }
    
    .feature p {
        font-size: var(--font-size-sm);
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .about-stats .stat-card {
        padding: var(--spacing-md);
    }
    
    .about-stats .stat-number {
        font-size: var(--font-size-xl);
    }
    
    .about-stats .stat-label {
        font-size: var(--font-size-sm);
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
        padding: var(--spacing-lg) var(--spacing-md);
    }
    
    .contact-info h2 {
        font-size: var(--font-size-xl);
    }
    
    .contact-info p {
        font-size: var(--font-size-sm);
    }
    
    .contact-item {
        padding: var(--spacing-md);
        flex-direction: column;
        text-align: center;
    }
    
    .contact-icon {
        align-self: center;
        width: 50px;
        height: 50px;
        font-size: var(--font-size-lg);
    }
    
    .contact-form {
        padding: var(--spacing-xl);
    }
    
    .form-group {
        margin-bottom: var(--spacing-lg);
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: var(--spacing-md);
        font-size: var(--font-size-base);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
        text-align: center;
    }
    
    .footer-section h4 {
        font-size: var(--font-size-lg);
    }
    
    .footer-section h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-links {
        justify-content: center;
    }
    
    .compliance-badge {
        margin: 0 auto;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--bg-card);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: var(--spacing-xl) 0;
        border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-link {
        padding: var(--spacing-md) var(--spacing-lg);
        font-size: var(--font-size-lg);
        border-bottom: 1px solid rgba(241, 245, 249, 0.3);
    }
    
    .nav-btn {
        margin-top: var(--spacing-md);
        padding: var(--spacing-md) var(--spacing-xl);
        font-size: var(--font-size-base);
    }
    
    .logo-image {
        height: 7.5rem;
        max-width: 120px;
    }
    
    .nav-logo a span {
        font-size: var(--font-size-base);
    }
    
    .nav-container {
        padding: var(--spacing-sm) var(--spacing-md);
    }
    
    .section-title {
        font-size: var(--font-size-2xl);
    }
    
    .section-subtitle {
        font-size: var(--font-size-sm);
    }
    
    .course-card, .resource-card, .stat-card {
        padding: var(--spacing-md);
    }
    
    .course-content h3, .resource-card h3 {
        font-size: var(--font-size-base);
    }
    
    .course-content p, .resource-card p {
        font-size: var(--font-size-sm);
    }
    
    .market-indicators {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
        margin-top: var(--spacing-md);
    }
    
    .indicator {
        padding: var(--spacing-md);
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-xs);
    }
    
    .indicator-label {
        font-size: var(--font-size-xs);
        margin-bottom: var(--spacing-xs);
    }
    
    .indicator-value {
        font-size: var(--font-size-base);
        text-align: center;
    }
    
    .vision-mission-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .vision-card, .mission-card {
        padding: var(--spacing-md);
    }
    
    .vision-icon, .mission-icon {
        width: 60px;
        height: 60px;
        font-size: var(--font-size-xl);
    }
    
    .vision-card h3, .mission-card h3 {
        font-size: var(--font-size-lg);
    }
    
    .vision-card p, .mission-card p {
        font-size: var(--font-size-sm);
    }
}

/* Extra Small Mobile (320px and below) */
@media (max-width: 319px) {
    .hero {
        margin-top: 100px; /* Account for fixed navbar */
        padding-top: 60px;
    }
    
    .hero-title {
        font-size: 1.5rem;
        line-height: 1.2;
    }
    
    .hero-description {
        font-size: var(--font-size-xs);
        line-height: 1.5;
    }
    
    .hero-badge {
        font-size: var(--font-size-xs);
        padding: var(--spacing-xs) var(--spacing-sm);
    }
    
    .hero-cta .btn {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: var(--font-size-sm);
    }
    
    .hero-stats {
        gap: var(--spacing-sm);
        margin-bottom: var(--spacing-md);
    }
    
    .stat-item {
        padding: var(--spacing-xs);
    }
    
    .stat-number {
        font-size: var(--font-size-xl);
    }
    
    .stat-label {
        font-size: var(--font-size-xs);
    }
    
    .hero-visual {
        margin-bottom: var(--spacing-lg);
    }
    
    .trading-dashboard {
        transform: scale(0.5);
    }
    
    .trading-panel {
        transform: scale(0.6);
    }
    
    .nav-container {
        padding: var(--spacing-xs) var(--spacing-sm);
        height: 60px;
    }
    
    .logo-image {
        height: 3rem;
        max-width: 120px;
    }
    
    .nav-logo a span {
        display: none;
    }
    
    .section-title {
        font-size: var(--font-size-lg);
    }
    
    .contact-item {
        padding: var(--spacing-sm);
    }
    
    .contact-icon {
        font-size: var(--font-size-lg);
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: var(--font-size-xs);
        padding: var(--spacing-xs);
    }
    
    .market-indicators {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
    
    .indicator {
        padding: var(--spacing-sm);
        min-height: 60px;
    }
    
    .indicator-label {
        font-size: var(--font-size-xs);
        margin-bottom: var(--spacing-xs);
    }
    
    .indicator-value {
        font-size: var(--font-size-sm);
    }
}

/* Landscape Mobile Optimization */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        padding: var(--spacing-lg) 0;
    }
    
    .hero-container {
        gap: var(--spacing-lg);
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: var(--font-size-sm);
    }
    
    .hero-stats {
        flex-direction: row;
        gap: var(--spacing-lg);
    }
    
    .trading-dashboard {
        transform: scale(0.6);
    }
    
    .trading-panel {
        transform: scale(0.7);
    }
    
    .nav-menu {
        max-height: 60vh;
        overflow-y: auto;
    }
    
    .market-indicators {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-sm);
        margin-top: var(--spacing-md);
    }
    
    .indicator {
        padding: var(--spacing-sm);
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-xs);
    }
    
    .indicator-label {
        font-size: 0.7rem;
        margin-bottom: var(--spacing-xs);
    }
    
    .indicator-value {
        font-size: 0.9rem;
        text-align: center;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo-image {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
        transform: translateZ(0);
    }
}

/* Print Styles */
@media print {
    .navbar,
    .nav-toggle,
    .whatsapp-button,
    .hero-visual,
    .trading-dashboard,
    .trading-panel {
        display: none !important;
    }
    
    .hero {
        min-height: auto;
        padding: var(--spacing-lg) 0;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .section {
        page-break-inside: avoid;
    }
    
    .mentor-card {
        flex-direction: column;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .footer {
        background: none !important;
        color: #000 !important;
    }
}

/* Reduced Motion for Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .particle,
    .floating-particles,
    .data-streams,
    .professional-overlay {
        animation: none !important;
    }
}

/* Light Theme Only - Dark Mode Disabled */
@media (prefers-color-scheme: dark) {
    :root {
        /* Force light theme even in dark mode preference */
        --bg-primary: #ffffff;
        --bg-secondary: #f8fafc;
        --bg-tertiary: #f1f5f9;
        --bg-card: #ffffff;
        --text-primary: #1e293b;
        --text-secondary: #64748b;
        --border-color: #e2e8f0;
    }
}

/* Focus Styles for Accessibility */
@media (prefers-reduced-motion: no-preference) {
    .nav-link:focus,
    .nav-btn:focus,
    .btn:focus,
    .trade-btn:focus,
    .contact-form input:focus,
    .contact-form select:focus,
    .contact-form textarea:focus {
        outline: 2px solid var(--primary-color);
        outline-offset: 2px;
    }
}

/* Mobile Device Optimizations */
.mobile-device .floating-particles {
    opacity: 0.3;
}

.mobile-device .data-streams {
    opacity: 0.2;
}

.mobile-device .professional-overlay {
    opacity: 0.1;
}

/* Touch Feedback for Mobile */
.mobile-device .btn:active,
.mobile-device .nav-link:active,
.mobile-device .trade-btn:active,
.mobile-device .contact-item:active,
.mobile-device .course-card:active,
.mobile-device .mentor-card:active,
.mobile-device .resource-card:active {
    transform: scale(0.95) !important;
    transition: transform 0.1s ease;
}

/* Tablet Device Optimizations */
.tablet-device .hero-container {
    gap: var(--spacing-2xl);
}

.tablet-device .trading-dashboard {
    transform: scale(0.9);
}

/* Desktop Device Optimizations */
.desktop-device .hero-container {
    gap: var(--spacing-3xl);
}

.desktop-device .trading-dashboard {
    transform: scale(1);
}

/* Improved Touch Targets for Mobile */
@media (max-width: 767px) {
    .nav-link,
    .nav-btn,
    .btn,
    .trade-btn {
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .contact-item,
    .course-card,
    .mentor-card,
    .resource-card {
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }
    
    /* Prevent zoom on input focus */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="number"],
    select,
    textarea {
        font-size: 16px !important;
    }
    
    /* Optimize scrolling performance */
    .hero,
    .section {
        -webkit-overflow-scrolling: touch;
    }
    
    /* Reduce motion for better performance */
    /* .mobile-device * {
        animation-duration: 0.3s !important;
        transition-duration: 0.3s !important;
    } */
    
    /* Optimize images for mobile */
    img {
        max-width: 100%;
        height: auto;
    }
    
    /* Better spacing for mobile */
    .container {
        padding-left: var(--spacing-md);
        padding-right: var(--spacing-md);
    }
    
    /* Improve form usability on mobile */
    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus {
        transform: scale(1.02);
        transition: transform 0.2s ease;
    }
}

/* Landscape Mobile Specific */
@media (max-width: 767px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        padding: var(--spacing-md) 0;
    }
    
    .hero-container {
        gap: var(--spacing-lg);
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: var(--font-size-sm);
    }
    
    .nav-menu {
        max-height: 60vh;
        overflow-y: auto;
    }
    
    .nav-menu::-webkit-scrollbar {
        width: 4px;
    }
    
    .nav-menu::-webkit-scrollbar-track {
        background: transparent;
    }
    
    .nav-menu::-webkit-scrollbar-thumb {
        background: var(--primary-color);
        border-radius: 2px;
    }
}

/* High DPI Mobile Displays */
@media (-webkit-min-device-pixel-ratio: 2) and (max-width: 767px) {
    .logo-image {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
        transform: translateZ(0);
    }
    
    .mentor-image img {
        image-rendering: -webkit-optimize-contrast;
    }
}

/* Mobile Performance Optimizations */
@media (max-width: 767px) {
    .hero {
        margin-top: 100px; /* Account for fixed navbar */
    }
    
    /* Reduce box shadows for better performance */
    .card,
    .course-card,
    .mentor-card,
    .resource-card,
    .stat-card {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    
    /* Simplify gradients for mobile */
    .hero::before {
        background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    }
    
    /* Optimize animations */
    .particle {
        animation-duration: 8s;
    }
    
    .floating-particles {
        animation-duration: 12s;
    }
    
    /* Reduce complex CSS filters */
    .hero-badge,
    .section-title,
    .gradient-text {
        filter: none;
    }
}

/* Accessibility Improvements for Mobile */
@media (max-width: 767px) {
    /* Ensure sufficient color contrast */
    .nav-link,
    .nav-btn,
    .btn {
        color: var(--text-primary);
        background: transparent;
    }
    
    .nav-link:hover,
    .nav-btn:hover,
    .btn:hover {
        color: var(--primary-color);
    }
    
    /* Improve focus indicators */
    .nav-link:focus,
    .nav-btn:focus,
    .btn:focus {
        outline: 2px solid var(--primary-color);
        outline-offset: 2px;
    }
    
    /* Better touch targets */
    .nav-toggle .bar {
        height: 3px;
        margin: 4px 0;
    }
    
    /* Improve readability */
    .hero-title,
    .section-title {
        text-shadow: none;
    }
    
    .hero-description,
    .section-subtitle {
        line-height: 1.6;
    }
}

/* Mobile Loading Optimizations */
@media (max-width: 767px) {
    /* Prioritize above-the-fold content */
    .hero {
        will-change: transform;
    }
    
    .hero-content {
        will-change: opacity;
    }
    
    /* Defer non-critical animations */
    .floating-particles,
    .data-streams {
        will-change: opacity;
    }
    
    /* Optimize images loading */
    img {
        loading: lazy;
    }
}

/* Mobile Navigation Enhancements */
@media (max-width: 767px) {
    .nav-menu {
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        background: rgba(255, 255, 255, 0.95);
    }
    
    .nav-menu.active {
        animation: slideIn 0.3s ease-out;
    }
    
    @keyframes slideIn {
        from {
            transform: translateX(-100%);
            opacity: 0;
        }
        to {
            transform: translateX(0);
            opacity: 1;
        }
    }
    
    .nav-link {
        position: relative;
        overflow: hidden;
    }
    
    .nav-link::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
        transition: left 0.3s ease;
    }
    
    .nav-link:active::before {
        left: 100%;
    }
}

/* Specific fix for 431x921 and similar mobile dimensions */
@media (max-width: 431px) and (max-height: 921px) {
    .nav-menu {
        top: 0 !important;
        height: 100vh !important;
        min-height: 100vh !important;
        padding-top: 0 !important;
    }
    
    .nav-menu ul,
    .nav-menu > ul {
        padding-top: 80px !important;
        min-height: 100vh !important;
    }
    
    .nav-close {
        top: 15px !important;
        right: 15px !important;
    }
}

/* Mobile Form Enhancements */
@media (max-width: 767px) {
    .contact-form {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        background: rgba(255, 255, 255, 0.9);
        border: 1px solid rgba(59, 130, 246, 0.2);
    }
    
    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus {
        background: rgba(255, 255, 255, 1);
        border-color: var(--primary-color);
        box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    }
}

/* Mobile Card Enhancements */
@media (max-width: 767px) {
    .course-card,
    .mentor-card,
    .resource-card,
    .stat-card {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 1px solid rgba(59, 130, 246, 0.1);
    }
    
    .course-card:hover,
    .mentor-card:hover,
    .resource-card:hover,
    .stat-card:hover {
        background: rgba(255, 255, 255, 1);
        border-color: var(--primary-color);
        transform: translateY(-2px);
    }
}

/* Mobile Footer Enhancements */
@media (max-width: 767px) {
    .footer {
        background: rgba(248, 250, 252, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
    
    .footer-section {
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
        gap: var(--spacing-md);
    }
    
    .compliance-badge {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: var(--spacing-sm);
    }
}

/* Mobile Trading Dashboard Enhancements */
@media (max-width: 767px) {
    .trading-dashboard {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
    
    .retro-tv-screen {
        background: rgba(0, 0, 0, 0.9);
    }
    
    .stock-display {
        padding: var(--spacing-sm);
    }
    
    .trade-buttons {
        gap: var(--spacing-sm);
    }
    
    .trade-btn {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: var(--font-size-sm);
        min-height: 44px;
    }
}

/* Mobile Market Indicators Enhancements */
@media (max-width: 767px) {
    .market-indicators {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        margin-top: var(--spacing-lg);
    }
    
    .indicator {
        background: rgba(255, 255, 255, 0.9);
        border: 1px solid rgba(59, 130, 246, 0.1);
        min-height: 60px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }
    
    .indicator:hover {
        background: rgba(255, 255, 255, 1);
        border-color: var(--primary-color);
    }
    
    .indicator-label {
        margin-bottom: 0;
        margin-right: var(--spacing-sm);
        flex-shrink: 0;
    }
    
    .indicator-value {
        text-align: right;
        flex-shrink: 0;
    }
}

/* Mobile WhatsApp Button Enhancements */
@media (max-width: 767px) {
    .whatsapp-button {
        width: 60px;
        height: 60px;
        font-size: var(--font-size-xl);
        bottom: var(--spacing-lg);
        right: var(--spacing-lg);
    }
    
    .whatsapp-button:hover {
        transform: scale(1.1);
    }
}

/* Mobile Notification Enhancements */
@media (max-width: 767px) {
    .notification {
        left: var(--spacing-md);
        right: var(--spacing-md);
        bottom: var(--spacing-lg);
        border-radius: var(--radius-lg);
        font-size: var(--font-size-sm);
        padding: var(--spacing-md);
    }
}

/* Mobile Loading States */
@media (max-width: 767px) {
    .loading {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: var(--spacing-xl);
    }
    
    .loading::after {
        content: '';
        width: 20px;
        height: 20px;
        border: 2px solid var(--primary-color);
        border-top: 2px solid transparent;
        border-radius: 50%;
        animation: spin 1s linear infinite;
    }
    
    @keyframes spin {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }
}

/* Mobile Error States */
@media (max-width: 767px) {
    .error {
        background: rgba(239, 68, 68, 0.1);
        border: 1px solid rgba(239, 68, 68, 0.3);
        color: #dc2626;
        padding: var(--spacing-md);
        border-radius: var(--radius-md);
        margin: var(--spacing-md);
        text-align: center;
    }
}

/* Mobile Success States */
@media (max-width: 767px) {
    .success {
        background: rgba(34, 197, 94, 0.1);
        border: 1px solid rgba(34, 197, 94, 0.3);
        color: #16a34a;
        padding: var(--spacing-md);
        border-radius: var(--radius-md);
        margin: var(--spacing-md);
        text-align: center;
    }
}

/* Mobile Offline Support */
@media (max-width: 767px) {
    .offline-indicator {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background: #f59e0b;
        color: white;
        text-align: center;
        padding: var(--spacing-sm);
        font-size: var(--font-size-sm);
        z-index: 9999;
    }
}

/* Mobile Battery Optimization */
@media (max-width: 767px) {
    /* Reduce animations when battery is low */
    @media (prefers-reduced-motion: reduce) {
        .mobile-device * {
            animation: none !important;
            transition: none !important;
        }
    }
    
    /* Optimize for low-end devices */
    .mobile-device .hero::before,
    .mobile-device .hero::after {
        display: none;
    }
    
    .mobile-device .floating-particles {
        display: none;
    }
    
    .mobile-device .data-streams {
        display: none;
    }
}

/* Mobile SEO Optimizations */
@media (max-width: 767px) {
    /* Ensure proper heading hierarchy */
    .hero-title {
        font-size: clamp(1.5rem, 5vw, 2.5rem);
    }
    
    .section-title {
        font-size: clamp(1.25rem, 4vw, 2rem);
    }
    
    /* Optimize for Core Web Vitals */
    .hero {
        content-visibility: auto;
    }
    
    .section {
        content-visibility: auto;
    }
}

/* Mobile PWA Support */
@media (max-width: 767px) {
    /* Add to home screen prompt */
    .pwa-install-prompt {
        position: fixed;
        bottom: var(--spacing-lg);
        left: var(--spacing-md);
        right: var(--spacing-md);
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 1px solid rgba(59, 130, 246, 0.2);
        border-radius: var(--radius-lg);
        padding: var(--spacing-md);
        display: flex;
        align-items: center;
        justify-content: space-between;
        z-index: 1000;
    }
    
    .pwa-install-prompt button {
        background: var(--primary-color);
        color: white;
        border: none;
        padding: var(--spacing-sm) var(--spacing-md);
        border-radius: var(--radius-md);
        font-size: var(--font-size-sm);
    }
}

/* Mobile Share API Support */
@media (max-width: 767px) {
    .share-button {
        background: var(--primary-color);
        color: white;
        border: none;
        padding: var(--spacing-sm) var(--spacing-md);
        border-radius: var(--radius-md);
        font-size: var(--font-size-sm);
        display: flex;
        align-items: center;
        gap: var(--spacing-sm);
    }
    
    .share-button:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }
}

/* Mobile Voice Search Support */
@media (max-width: 767px) {
    .voice-search-button {
        background: var(--primary-color);
        color: white;
        border: none;
        padding: var(--spacing-sm);
        border-radius: 50%;
        width: 44px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .voice-search-button.listening {
        background: #dc2626;
        animation: pulse 1s infinite;
    }
}

/* Mobile Haptic Feedback Support */
@media (max-width: 767px) {
    .haptic-feedback {
        /* Enable haptic feedback on supported devices */
        -webkit-tap-highlight-color: transparent;
    }
    
    .haptic-feedback:active {
        /* Trigger haptic feedback */
        transform: scale(0.95);
    }
}

/* Mobile Light Theme Only - Dark Mode Disabled */
@media (max-width: 767px) and (prefers-color-scheme: dark) {
    .mobile-device {
        /* Force light theme even in dark mode preference */
        --bg-primary: #ffffff;
        --bg-secondary: #f8fafc;
        --bg-tertiary: #f1f5f9;
        --bg-card: #ffffff;
        --text-primary: #1e293b;
        --text-secondary: #64748b;
        --border-color: #e2e8f0;
    }
    
    .mobile-device .nav-menu {
        background: rgba(255, 255, 255, 0.95);
    }
    
    .mobile-device .contact-form,
    .mobile-device .course-card,
    .mobile-device .mentor-card,
    .mobile-device .resource-card,
    .mobile-device .stat-card {
        background: rgba(255, 255, 255, 0.95);
    }
    
    .mobile-device .footer {
        background: rgba(248, 250, 252, 0.95);
    }
}

/* Mobile Print Styles */
@media (max-width: 767px) and print {
    .navbar,
    .nav-toggle,
    .whatsapp-button,
    .hero-visual,
    .trading-dashboard,
    .trading-panel,
    .floating-particles,
    .data-streams {
        display: none !important;
    }
    
    .hero {
        min-height: auto;
        padding: var(--spacing-lg) 0;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .section {
        page-break-inside: avoid;
    }
    
    .mentor-card {
        flex-direction: column;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .footer {
        background: none !important;
        color: #000 !important;
    }
}

/* Mobile Reduced Motion Support */
@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
    .mobile-device *,
    .mobile-device *::before,
    .mobile-device *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .mobile-device .particle,
    .mobile-device .floating-particles,
    .mobile-device .data-streams,
    .mobile-device .professional-overlay {
        animation: none !important;
    }
}

/* Mobile Focus Styles for Accessibility */
@media (max-width: 767px) and (prefers-reduced-motion: no-preference) {
    .mobile-device .nav-link:focus,
    .mobile-device .nav-btn:focus,
    .mobile-device .btn:focus,
    .mobile-device .trade-btn:focus,
    .mobile-device .contact-form input:focus,
    .mobile-device .contact-form select:focus,
    .mobile-device .contact-form textarea:focus {
        outline: 2px solid var(--primary-color);
        outline-offset: 2px;
    }
}

/* ===== MOBILE-FRIENDLY HERO SECTION IMPROVEMENTS ===== */

/* Mobile Hero Section - Base Improvements */
@media (max-width: 767px) {
    .hero {
        min-height: 100vh;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        position: relative;
        overflow: hidden;
    }
    
    /* Simplify background for mobile performance */
    .hero::before {
        background: 
            radial-gradient(circle at 20% 80%, rgba(30, 64, 175, 0.05) 0%, transparent 50%),
            radial-gradient(circle at 80% 20%, rgba(5, 150, 105, 0.03) 0%, transparent 50%),
            linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
        animation: none; /* Disable complex animations on mobile */
    }
    
    .hero::after {
        display: none; /* Remove complex grid patterns on mobile */
    }
    
    /* Optimize professional overlay for mobile */
    .professional-overlay {
        background: 
            linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.9) 100%);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
    }
    
    /* Reduce floating particles on mobile */
    .floating-particles {
        opacity: 0.3;
    }
    
    .particle {
        display: none; /* Hide particles on mobile for performance */
    }
    
    /* Simplify data streams on mobile */
    .data-streams {
        opacity: 0.2;
    }
    
    .data-streams::before,
    .data-streams::after {
        display: none; /* Hide data streams on mobile */
    }
    
    /* Mobile Hero Container */
    .hero-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
        padding: var(--spacing-lg);
        min-height: auto;
        align-items: center;
        justify-content: center;
        text-align: center;
        max-width: 100%;
        margin-top: 20px;
    }
    
    /* Mobile Hero Content */
    .hero-content {
        order: 1;
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }
    
    /* Mobile Hero Badge */
    .hero-badge {
        font-size: var(--font-size-xs);
        padding: var(--spacing-xs) var(--spacing-md);
        margin-bottom: var(--spacing-md);
        border-radius: var(--radius-md);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: var(--spacing-xs);
        animation: none; /* Disable glow animation on mobile */
        box-shadow: 0 2px 8px rgba(30, 64, 175, 0.1);
    }
    
    .hero-badge i {
        font-size: var(--font-size-sm);
    }
    
    /* Mobile Hero Title */
    .hero-title {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
        line-height: 1.2;
        margin-bottom: var(--spacing-md);
        font-weight: 800;
        text-shadow: none; /* Remove text shadow on mobile */
        animation: none; /* Disable float animation on mobile */
    }
    
    .gradient-text {
        background: linear-gradient(135deg, #3b82f6 0%, #10b981 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        animation: none; /* Disable gradient shift on mobile */
    }
    
    /* Mobile Hero Description */
    .hero-description {
        font-size: var(--font-size-base);
        line-height: 1.5;
        margin-bottom: var(--spacing-lg);
        color: var(--text-secondary);
        animation: none; /* Disable fade animation on mobile */
        max-width: 100%;
    }
    
    /* Mobile Hero CTA */
    .hero-cta {
        flex-direction: column;
        gap: var(--spacing-md);
        margin-bottom: var(--spacing-lg);
        animation: none; /* Disable fade animation on mobile */
        width: 100%;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-cta .btn {
        width: 100%;
        padding: var(--spacing-md) var(--spacing-lg);
        font-size: var(--font-size-base);
        font-weight: 600;
        border-radius: var(--radius-lg);
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: var(--spacing-sm);
        transition: all 0.3s ease;
    }
    
    .hero-cta .btn-primary {
        background: var(--gradient-primary);
        color: white;
        box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
    }
    
    .hero-cta .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(30, 64, 175, 0.4);
    }
    
    .hero-cta .btn-outline {
        background: transparent;
        color: var(--primary-color);
        border: 2px solid var(--primary-color);
    }
    
    .hero-cta .btn-outline:hover {
        background: var(--primary-color);
        color: white;
    }
    
    /* Mobile Hero Stats */
    .hero-stats {
        flex-direction: column;
        gap: var(--spacing-md);
        margin-bottom: var(--spacing-lg);
        animation: none; /* Disable fade animation on mobile */
        width: 100%;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .stat-item {
        background: rgba(255, 255, 255, 0.8);
        padding: var(--spacing-md);
        border-radius: var(--radius-lg);
        border: 1px solid rgba(30, 64, 175, 0.1);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
    }
    
    .stat-item:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }
    
    .stat-number {
        font-size: var(--font-size-xl);
        font-weight: 800;
        color: var(--primary-color);
        margin-bottom: var(--spacing-xs);
        animation: none; /* Disable pulse animation on mobile */
    }
    
    .stat-label {
        font-size: var(--font-size-sm);
        color: var(--text-secondary);
        font-weight: 500;
    }
    
    /* Mobile Hero Visual */
    .hero-visual {
        order: 2;
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
        animation: none; /* Disable fade animation on mobile */
    }
    
    /* Mobile Trading Dashboard */
    .trading-dashboard {
        transform: scale(0.8);
        margin: 0 auto;
        max-width: 100%;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-radius: var(--radius-xl);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
        border: 1px solid rgba(30, 64, 175, 0.1);
    }
    
    /* Mobile Trading Panel */
    .trading-panel {
        transform: scale(0.9);
        margin-top: var(--spacing-md);
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-radius: var(--radius-lg);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
        border: 1px solid rgba(30, 64, 175, 0.1);
    }
    
    /* Mobile Retro TV Screen */
    .retro-tv-screen {
        padding: var(--spacing-sm);
        background: rgba(0, 0, 0, 0.9);
        border-radius: var(--radius-md);
    }
    
    /* Mobile Stock Display */
    .stock-display {
        padding: var(--spacing-sm);
    }
    
    .stock-name {
        font-size: var(--font-size-sm);
        font-weight: 600;
    }
    
    .stock-price {
        font-size: var(--font-size-lg);
        font-weight: 700;
    }
    
    .stock-change {
        font-size: var(--font-size-xs);
    }
    
    /* Mobile Trade Buttons */
    .trade-buttons {
        gap: var(--spacing-sm);
        margin-top: var(--spacing-sm);
    }
    
    .trade-btn {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: var(--font-size-sm);
        font-weight: 600;
        min-height: 40px;
        border-radius: var(--radius-md);
        transition: all 0.3s ease;
    }
    
    .trade-btn:hover {
        transform: translateY(-1px);
    }
    
    .trade-btn:active {
        transform: translateY(0);
    }
}

/* Small Mobile Hero Section (320px - 479px) */
@media (max-width: 479px) {
    .hero {
        min-height: 100vh;
        padding: var(--spacing-sm);
    }
    
    .hero-container {
        gap: var(--spacing-lg);
        padding: var(--spacing-sm);
    }
    
    .hero-title {
        font-size: clamp(1.5rem, 7vw, 2rem);
        line-height: 1.3;
        margin-bottom: var(--spacing-sm);
    }
    
    .hero-description {
        font-size: var(--font-size-sm);
        line-height: 1.4;
        margin-bottom: var(--spacing-md);
    }
    
    .hero-badge {
        font-size: var(--font-size-xs);
        padding: var(--spacing-sm) var(--spacing-lg);
        margin-bottom: var(--spacing-sm);
        border-radius: 40px;
        box-shadow: 
            0 0 15px rgba(255, 215, 0, 0.5),
            0 6px 24px rgba(255, 215, 0, 0.3),
            0 3px 12px rgba(184, 134, 11, 0.2),
            inset 0 2px 0 rgba(255, 255, 255, 0.7),
            inset 0 -2px 0 rgba(0, 0, 0, 0.2);
    }
    
    .hero-badge i {
        font-size: var(--font-size-base);
    }
    
    .hero-badge::after,
    .hero-badge::before {
        font-size: 12px;
    }
    
    .hero-cta {
        gap: var(--spacing-sm);
        margin-bottom: var(--spacing-md);
    }
    
    .hero-cta .btn {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: var(--font-size-sm);
        min-height: 44px;
    }
    
    .hero-stats {
        gap: var(--spacing-sm);
        margin-bottom: var(--spacing-md);
    }
    
    .stat-item {
        padding: var(--spacing-sm);
    }
    
    .stat-number {
        font-size: var(--font-size-lg);
    }
    
    .stat-label {
        font-size: var(--font-size-xs);
    }
    
    .hero-visual {
        max-width: 100%;
    }
    
    .trading-dashboard {
        transform: scale(1);
    }
    
    .trading-panel {
        transform: scale(0.8);
    }
    
    .retro-tv-screen {
        padding: var(--spacing-xs);
    }
    
    .stock-name {
        font-size: var(--font-size-xs);
    }
    
    .stock-price {
        font-size: var(--font-size-base);
    }
    
    .stock-change {
        font-size: var(--font-size-xs);
    }
    
    .trade-btn {
        padding: var(--spacing-xs) var(--spacing-sm);
        font-size: var(--font-size-xs);
        min-height: 36px;
    }
}

/* Extra Small Mobile Hero Section (320px and below) */
@media (max-width: 319px) {
    .hero {
        padding: var(--spacing-xs);
    }
    
    .hero-container {
        gap: var(--spacing-md);
        padding: var(--spacing-xs);
    }
    
    .hero-title {
        font-size: 1.5rem;
        line-height: 1.4;
    }
    
    .hero-description {
        font-size: var(--font-size-xs);
        line-height: 1.5;
    }
    
    .hero-badge {
        font-size: var(--font-size-xs);
        padding: var(--spacing-xs);
    }
    
    .hero-cta .btn {
        padding: var(--spacing-xs) var(--spacing-sm);
        font-size: var(--font-size-xs);
        min-height: 40px;
    }
    
    .hero-stats {
        gap: var(--spacing-xs);
    }
    
    .stat-item {
        padding: var(--spacing-xs);
    }
    
    .stat-number {
        font-size: var(--font-size-base);
    }
    
    .stat-label {
        font-size: var(--font-size-xs);
    }
    
    .hero-visual {
        max-width: 250px;
    }
    
    .trading-dashboard {
        transform: scale(0.6);
    }
    
    .trading-panel {
        transform: scale(0.7);
    }
}

/* Landscape Mobile Hero Section */
@media (max-width: 767px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        padding: var(--spacing-sm);
    }
    
    .hero-container {
        gap: var(--spacing-md);
        padding: var(--spacing-sm);
        min-height: auto;
    }
    
    .hero-title {
        font-size: clamp(1.25rem, 4vw, 1.75rem);
        margin-bottom: var(--spacing-sm);
    }
    
    .hero-description {
        font-size: var(--font-size-sm);
        margin-bottom: var(--spacing-sm);
    }
    
    .hero-badge {
        font-size: var(--font-size-xs);
        padding: var(--spacing-xs) var(--spacing-sm);
        margin-bottom: var(--spacing-sm);
    }
    
    .hero-cta {
        flex-direction: row;
        gap: var(--spacing-sm);
        margin-bottom: var(--spacing-sm);
        max-width: 400px;
    }
    
    .hero-cta .btn {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: var(--font-size-sm);
        min-height: 40px;
    }
    
    .hero-stats {
        flex-direction: row;
        gap: var(--spacing-sm);
        margin-bottom: var(--spacing-sm);
        max-width: 300px;
    }
    
    .stat-item {
        padding: var(--spacing-sm);
        flex: 1;
    }
    
    .stat-number {
        font-size: var(--font-size-base);
    }
    
    .stat-label {
        font-size: var(--font-size-xs);
    }
    
    .hero-visual {
        max-width: 200px;
    }
    
    .trading-dashboard {
        transform: scale(0.6);
    }
    
    .trading-panel {
        transform: scale(0.7);
    }
}

/* Tablet Hero Section Improvements */
@media (min-width: 768px) and (max-width: 1023px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
        text-align: center;
        padding: var(--spacing-xl);
    }
    
    .hero-title {
        font-size: clamp(2rem, 5vw, 3rem);
        line-height: 1.2;
    }
    
    .hero-description {
        font-size: var(--font-size-lg);
        max-width: 600px;
        margin: 0 auto var(--spacing-xl);
    }
    
    .hero-cta {
        justify-content: center;
        margin: 0 auto var(--spacing-xl);
    }
    
    .hero-stats {
        justify-content: center;
        max-width: 500px;
        margin: 0 auto var(--spacing-xl);
    }
    
    .hero-visual {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .trading-dashboard {
        transform: scale(0.85);
        margin: 0 auto;
    }
    
    .trading-panel {
        transform: scale(0.9);
        margin: var(--spacing-lg) auto 0;
    }
}

/* Touch-Friendly Improvements for Mobile */
@media (max-width: 767px) {
    /* Ensure all interactive elements are touch-friendly */
    .hero-cta .btn,
    .trade-btn,
    .stat-item {
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }
    
    /* Add touch feedback */
    .hero-cta .btn:active,
    .trade-btn:active,
    .stat-item:active {
        transform: scale(0.95);
        transition: transform 0.1s ease;
    }
    
    /* Improve scrolling performance */
    .hero {
        -webkit-overflow-scrolling: touch;
        will-change: transform;
    }
    
    /* Optimize for mobile performance */
    .hero-container {
        will-change: opacity;
    }
    
    /* Ensure proper spacing from navigation */
    .hero {
        padding-top: 80px; /* Account for fixed navbar */
    }
}

/* Mobile Loading Optimizations */
@media (max-width: 767px) {
    .hero {
        margin-top: 100px; /* Account for fixed navbar */
    }
    
    /* Prioritize hero content loading */
    .hero-content {
        content-visibility: auto;
    }
    
    /* Defer non-critical animations */
    .floating-particles,
    .data-streams {
        content-visibility: auto;
    }
    
    /* Optimize images for mobile */
    .hero-visual img {
        loading: lazy;
        max-width: 100%;
        height: auto;
    }
}

/* Mobile Accessibility Improvements */
@media (max-width: 767px) {
    .hero {
        margin-top: 100px; /* Account for fixed navbar */
    }
    
    /* Ensure sufficient color contrast */
    .hero-title,
    .hero-description {
        color: var(--text-primary);
    }
    
    .hero-badge {
        color: var(--primary-color);
        background: rgba(30, 64, 175, 0.1);
    }
    
    /* Improve focus indicators */
    .hero-cta .btn:focus,
    .trade-btn:focus {
        outline: 2px solid var(--primary-color);
        outline-offset: 2px;
    }
    
    /* Better touch targets */
    .hero-cta .btn,
    .trade-btn {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Improve readability */
    .hero-title {
        text-shadow: none;
    }
    
    .hero-description {
        line-height: 1.6;
    }
}

/* iPad Screen Design */
.ipad-screen {
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1200px;
    margin-bottom: var(--spacing-xl);
}

.ipad-frame {
    width: 480px;
    height: 360px;
    background: linear-gradient(145deg, #3a3a3a, #2a2a2a, #1a1a1a);
    border-radius: 30px;
    padding: 16px;
    box-shadow: 
        0 35px 70px rgba(0, 0, 0, 0.5),
        0 0 0 3px rgba(255, 255, 255, 0.15),
        inset 0 3px 0 rgba(255, 255, 255, 0.4),
        inset 0 -3px 0 rgba(0, 0, 0, 0.4);
    position: relative;
    transform: rotateX(8deg) rotateY(-8deg) rotateZ(2deg);
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.ipad-frame:hover {
    transform: rotateX(5deg) rotateY(-5deg) rotateZ(1deg) translateY(-20px);
    box-shadow: 
        0 45px 90px rgba(0, 0, 0, 0.6),
        0 0 0 3px rgba(255, 255, 255, 0.2),
        inset 0 3px 0 rgba(255, 255, 255, 0.5),
        inset 0 -3px 0 rgba(0, 0, 0, 0.5);
}

.ipad-frame::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: linear-gradient(145deg, #333, #222);
    border-radius: 50%;
    box-shadow: 
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(0, 0, 0, 0.3);
}

.ipad-frame::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: linear-gradient(145deg, #333, #222);
    border-radius: 50%;
    box-shadow: 
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(0, 0, 0, 0.3);
}

.ipad-screen-content {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.stock-details-container {
    flex: 1;
    padding: 16px;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    overflow: hidden;
}

.stock-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
    color: #fff;
}

.stock-main-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stock-name-symbol {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stock-name {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

.stock-symbol {
    font-size: 12px;
    color: #10b981;
    font-weight: 500;
    letter-spacing: 0.5px;
}

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

.stock-price {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
}

.stock-change.positive {
    color: #10b981;
    font-size: 14px;
    font-weight: 500;
}

.chart-time {
    font-size: 11px;
    color: #6b7280;
    font-weight: 400;
}

/* Stock Analysis Grid */
.stock-analysis-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
    flex: 1;
}

.analysis-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.analysis-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(16, 185, 129, 0.3);
    transform: translateY(-2px);
}

.analysis-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: #9ca3af;
    margin-bottom: 6px;
    font-weight: 500;
}

.analysis-label i {
    font-size: 10px;
    color: #10b981;
}

.analysis-value {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.analysis-value.positive {
    color: #10b981;
}

.risk-score {
    display: flex;
    align-items: center;
    gap: 8px;
}

.risk-level {
    font-size: 12px;
    color: #fbbf24;
    font-weight: 500;
}

.risk-bars {
    display: flex;
    gap: 2px;
}

.risk-bar {
    width: 4px;
    height: 12px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 1px;
    transition: all 0.3s ease;
}

.risk-bar.active {
    background: #fbbf24;
}

/* Chart Area at Bottom */
.chart-area {
    margin-top: auto;
    height: 80px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 6px;
    padding: 8px;
    position: relative;
}

/* Stock Disclaimer */
.stock-disclaimer {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: rgba(255, 193, 7, 0.2);
    border: 2px solid rgba(255, 193, 7, 0.5);
    border-radius: 8px;
    margin-bottom: 12px;
    font-size: 10px;
    color: #fbbf24;
    font-weight: 600;
    text-align: center;
    justify-content: center;
    position: relative;
    z-index: 10;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
    animation: disclaimerGlow 2s ease-in-out infinite alternate;
}

@keyframes disclaimerGlow {
    from {
        box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3), 0 0 5px rgba(255, 193, 7, 0.3);
    }
    to {
        box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3), 0 0 10px rgba(255, 193, 7, 0.5);
    }
}

.stock-disclaimer i {
    font-size: 10px;
    color: #fbbf24;
}

.stock-disclaimer span {
    line-height: 1.2;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

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

.stock-symbol {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.stock-price {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.stock-change {
    font-size: 12px;
    font-weight: 500;
}

.stock-change.positive {
    color: #10b981;
}

.stock-change.negative {
    color: #ef4444;
}

.chart-time {
    font-size: 12px;
    color: #888;
    font-weight: 500;
}

.chart-area {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stock-chart {
    width: 100%;
    height: 100%;
    max-height: 80px;
    filter: drop-shadow(0 2px 4px rgba(16, 185, 129, 0.3));
}

.chart-line {
    stroke-linecap: round;
    stroke-linejoin: round;
    animation: chartDraw 3s ease-out forwards;
}

.chart-area-path {
    animation: chartFill 3s ease-out forwards;
}

@keyframes chartDraw {
    from {
        stroke-dasharray: 1000;
        stroke-dashoffset: 1000;
    }
    to {
        stroke-dashoffset: 0;
    }
}

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

/* Chart Animation States */
.chart-line.profit {
    stroke: #10b981;
}

.chart-line.loss {
    stroke: #ef4444;
}

.chart-area-path.profit {
    fill: url(#chartGradient);
}

.chart-area-path.loss {
    fill: url(#chartGradientRed);
}

.trading-controls {
    padding: 15px;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    border-top: 2px solid #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 60px;
    position: relative;
    margin-top: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.trade-buttons {
    display: flex;
    gap: 12px;
    flex: 1;
    justify-content: center;
    position: relative;
    z-index: 15;
}

.trade-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
    min-width: 80px;
    justify-content: center;
    position: relative;
    overflow: hidden;
    z-index: 20;
    opacity: 1 !important;
    visibility: visible !important;
}

.trade-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;
}

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

.trade-btn.buy {
    background: linear-gradient(135deg, #10b981, #059669, #047857);
    color: white !important;
    box-shadow: 
        0 4px 12px rgba(16, 185, 129, 0.4),
        0 0 0 1px rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.3);
    opacity: 1 !important;
    visibility: visible !important;
    display: flex !important;
}

.trade-btn.buy:hover {
    background: linear-gradient(135deg, #059669, #047857, #065f46);
    transform: translateY(-2px);
    box-shadow: 
        0 8px 20px rgba(16, 185, 129, 0.5),
        0 0 0 1px rgba(16, 185, 129, 0.4);
}

.trade-btn.sell {
    background: linear-gradient(135deg, #ef4444, #dc2626, #b91c1c);
    color: white !important;
    box-shadow: 
        0 4px 12px rgba(239, 68, 68, 0.4),
        0 0 0 1px rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.3);
    opacity: 1 !important;
    visibility: visible !important;
    display: flex !important;
}

.trade-btn.sell:hover {
    background: linear-gradient(135deg, #dc2626, #b91c1c, #991b1b);
    transform: translateY(-2px);
    box-shadow: 
        0 8px 20px rgba(239, 68, 68, 0.5),
        0 0 0 1px rgba(239, 68, 68, 0.4);
}

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

.trade-btn i {
    font-size: 12px;
    font-weight: 600;
}

.market-status {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #888;
    font-size: 12px;
}

.status-indicator {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    animation: statusPulse 2s ease-in-out infinite;
}

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

/* Trade Result Notification */
.trade-result-notification {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.95);
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    z-index: 10;
    animation: notificationSlideIn 0.3s ease-out;
}

@keyframes notificationSlideIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
}

.notification-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.notification-icon.success {
    background: linear-gradient(135deg, #10b981, #059669);
}

.notification-icon.loss {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.notification-text {
    flex: 1;
}

.notification-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.notification-message {
    font-size: 12px;
    color: #ccc;
}

/* Responsive Design for iPad Screen */
/* Laptop Screen Optimization (1024px - 1399px) */
@media (min-width: 1024px) and (max-width: 1399px) {
    .ipad-frame {
        width: 460px;
        height: 340px;
    }
    
    .stock-details-container {
        padding: 14px;
    }
    
    .stock-header {
        margin-bottom: 14px;
    }
    
    .stock-analysis-grid {
        gap: 10px;
        margin-bottom: 10px;
    }
    
    .analysis-item {
        padding: 8px;
    }
    
    .analysis-label {
        font-size: 10px;
        margin-bottom: 4px;
    }
    
    .analysis-value {
        font-size: 13px;
    }
    
    .stock-disclaimer {
        padding: 6px 10px;
        font-size: 9px;
        margin-bottom: 10px;
    }
    
    .chart-area {
        height: 70px;
        padding: 6px;
    }
}

/* Large Laptop Screen Optimization (1200px - 1399px) */
@media (min-width: 1200px) and (max-width: 1399px) {
    .ipad-frame {
        width: 470px;
        height: 350px;
    }
    
    .stock-analysis-grid {
        gap: 8px;
        margin-bottom: 8px;
    }
    
    .analysis-item {
        padding: 6px;
    }
    
    .analysis-label {
        font-size: 9px;
        margin-bottom: 3px;
    }
    
    .analysis-value {
        font-size: 12px;
    }
    
    .stock-disclaimer {
        padding: 5px 8px;
        font-size: 8px;
        margin-bottom: 8px;
    }
    
    .chart-area {
        height: 65px;
        padding: 5px;
    }
}

@media (max-width: 768px) {
    .ipad-frame {
        width: 420px;
        height: 520px;
        transform: rotateX(5deg) rotateY(-5deg) rotateZ(1deg);
    }
    
    .ipad-frame:hover {
        transform: rotateX(3deg) rotateY(-3deg) rotateZ(0deg) translateY(-15px);
    }
    
    .stock-details-container {
        padding: 12px;
    }
    
    .stock-header {
        margin-bottom: 12px;
    }
    
    .stock-name {
        font-size: 14px;
    }
    
    .stock-price {
        font-size: 16px;
    }
    
    .stock-analysis-grid {
        gap: 8px;
        margin-bottom: 10px;
    }
    
    .analysis-item {
        padding: 8px;
    }
    
    .analysis-label {
        font-size: 10px;
    }
    
    .analysis-value {
        font-size: 12px;
    }
    
    .stock-disclaimer {
        padding: 6px 10px;
        font-size: 9px;
        margin-bottom: 10px;
        order: -1; /* Move disclaimer to top */
        margin-top: 0;
        margin-bottom: 16px;
        border-radius: 6px;
        background: rgba(255, 193, 7, 0.15);
        border: 1px solid rgba(255, 193, 7, 0.4);
    }
    
    .stock-disclaimer i {
        font-size: 9px;
    }
    
    .chart-area {
        height: 60px;
        padding: 6px;
    }
    
    .trade-btn {
        padding: 10px 20px;
        font-size: 12px;
        min-width: 70px;
    }
    
    .trading-controls {
        padding: 16px;
        min-height: 70px;
    }
}

/* Tablet-specific disclaimer positioning */
@media (min-width: 481px) and (max-width: 768px) {
    .stock-disclaimer {
        order: -1; /* Move disclaimer to top above stock name */
        margin-bottom: 16px;
        margin-top: 0;
        background: rgba(255, 193, 7, 0.2);
        border: 2px solid rgba(255, 193, 7, 0.5);
        border-radius: 8px;
        padding: 8px 12px;
        font-size: 10px;
        box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
    }
}

@media (max-width: 480px) {
    .ipad-frame {
        width: 360px;
        height: 450px;
        transform: rotateX(3deg) rotateY(-3deg);
    }
    
    .ipad-frame:hover {
        transform: rotateX(2deg) rotateY(-2deg) translateY(-12px);
    }
    
    .stock-details-container {
        padding: 10px;
    }
    
    .stock-name {
        font-size: 12px;
    }
    
    .stock-price {
        font-size: 14px;
    }
    
    .stock-analysis-grid {
        gap: 6px;
        margin-bottom: 8px;
    }
    
    .analysis-item {
        padding: 6px;
    }
    
    .analysis-label {
        font-size: 9px;
    }
    
    .analysis-value {
        font-size: 11px;
    }
    
    .stock-disclaimer {
        padding: 5px 8px;
        font-size: 8px;
        margin-bottom: 8px;
    }
    
    .stock-disclaimer i {
        font-size: 8px;
    }
    
    .chart-area {
        height: 50px;
        padding: 4px;
    }
    
    .trade-btn {
        padding: 8px 16px;
        font-size: 11px;
        min-width: 60px;
    }
    
    .trading-controls {
        padding: 12px;
        min-height: 60px;
    }
    
    .notification-content {
        gap: 8px;
    }
    
    .notification-title {
        font-size: 12px;
    }
    
    .notification-message {
        font-size: 10px;
    }
}

@media (max-width: 360px) {
    .ipad-frame {
        width: 300px;
        height: 380px;
        transform: rotateX(2deg) rotateY(-2deg);
    }
    
    .ipad-frame:hover {
        transform: rotateX(1deg) rotateY(-1deg) translateY(-8px);
    }
    
    .stock-disclaimer {
        padding: 4px 6px;
        font-size: 7px;
        margin-bottom: 6px;
    }
    
    .stock-disclaimer i {
        font-size: 7px;
    }
    
    .trade-btn {
        padding: 6px 12px;
        font-size: 10px;
        min-width: 50px;
    }
    
    .trading-controls {
        padding: 10px;
        min-height: 50px;
    }
}



.trading-controls {
    padding: 15px;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    border-top: 2px solid #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 60px;
    position: relative;
    margin-top: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.trade-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

/* Enhanced Course Cards */
.courses {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #cbd5e1 100%);
    position: relative;
    overflow: hidden;
}

.courses::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(147, 197, 253, 0.05) 50%, rgba(191, 219, 254, 0.05) 100%);
    pointer-events: none;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
    z-index: 2;
}

.course-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 24px;
    padding: 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transform: translateY(0);
    animation: courseCardSlideIn 0.6s ease-out;
}

.course-card:nth-child(1) { animation-delay: 0.1s; }
.course-card:nth-child(2) { animation-delay: 0.2s; }
.course-card:nth-child(3) { animation-delay: 0.3s; }
.course-card:nth-child(4) { animation-delay: 0.4s; }

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

.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    z-index: 3;
}

.course-card:hover::before {
    transform: scaleX(1);
}

.course-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
}

.course-card.featured {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(147, 197, 253, 0.05) 100%);
    border: 2px solid rgba(59, 130, 246, 0.3);
    transform: scale(1.05);
}

.course-card.featured:hover {
    transform: scale(1.05) translateY(-12px);
    border-color: rgba(59, 130, 246, 0.5);
}

.course-card.premium {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.05) 0%, rgba(236, 72, 153, 0.05) 100%);
    border: 2px solid rgba(168, 85, 247, 0.3);
}

.course-card.premium:hover {
    border-color: rgba(168, 85, 247, 0.5);
}

.course-header {
    position: relative;
    overflow: hidden;
}

.course-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    z-index: 10;
    animation: badgePulse 2s ease-in-out infinite;
}

.course-badge.featured {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    animation: badgePulse 2s ease-in-out infinite;
}

.course-badge.premium {
    background: linear-gradient(135deg, #a855f7, #7c3aed);
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
    }
}

.course-image {
    position: relative;
    overflow: hidden;
    border-radius: 24px 24px 0 0;
    height: 200px;
}

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

.course-card:hover .course-image img {
    transform: scale(1.1);
}

.course-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.course-card:hover .course-overlay {
    opacity: 1;
}

.course-overlay i {
    color: white;
    font-size: 3rem;
    animation: playButtonPulse 2s ease-in-out infinite;
}

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

.course-content {
    padding: 2rem;
}

.course-category {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: #64748b;
    font-size: 0.875rem;
    font-weight: 500;
}

.course-category i {
    color: #3b82f6;
    font-size: 1rem;
}

.course-content h3 {
    color: #1e293b;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.course-card:hover .course-content h3 {
    color: #3b82f6;
}

.course-content p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

.course-features {
    margin-bottom: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #475569;
    font-size: 0.875rem;
}

.feature-item i {
    color: #10b981;
    font-size: 0.875rem;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(59, 130, 246, 0.05);
    border-radius: 12px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: #64748b;
    font-size: 0.875rem;
    font-weight: 500;
}

.meta-item i {
    color: #3b82f6;
    font-size: 0.875rem;
}

.course-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.price-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.original-price {
    font-size: 1rem;
    color: #6b7280;
    text-decoration: line-through;
}

.discounted-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
}

.discount-badge {
    display: inline-block;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 0.25rem;
}

.course-price .btn {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.course-price .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.course-price .btn i {
    font-size: 0.875rem;
}

/* Responsive Design for Course Cards */
@media (max-width: 1400px) {
    .courses-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 1200px) {
    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .course-card {
        padding: 0;
    }
    
    .course-content {
        padding: 1.5rem;
    }
    
    .course-content h3 {
        font-size: 1.125rem;
    }
    
    .course-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .course-price {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .course-price .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .courses-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .course-card.featured {
        transform: none;
    }
    
    .course-card.featured:hover {
        transform: translateY(-8px);
    }
}

@media (max-width: 480px) {
    .course-content {
        padding: 1rem;
    }
    
    .course-content h3 {
        font-size: 1rem;
    }
    
    .course-features {
        margin-bottom: 1rem;
    }
    
    .course-meta {
        padding: 0.75rem;
    }
    
    .discounted-price {
        font-size: 1.25rem;
    }
}

/* SEBI Compliance Section */
.sebi-compliance-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
}

.sebi-compliance-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.sebi-badges {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sebi-badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.sebi-badge:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.sebi-badge.premium {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.1) 0%, rgba(245, 158, 11, 0.1) 100%);
    border: 2px solid #fbbf24;
    position: relative;
}

.sebi-badge.premium::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(251, 191, 36, 0.1), transparent);
    animation: rotate 4s linear infinite;
    z-index: 1;
}

.sebi-badge.premium .badge-icon,
.sebi-badge.premium .badge-content {
    position: relative;
    z-index: 2;
}

.badge-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.sebi-badge.premium .badge-icon {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
}

.badge-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: white;
}

.registration-number {
    font-size: 1rem;
    font-weight: 700;
    color: #fbbf24;
    margin-bottom: 8px;
    font-family: 'Courier New', monospace;
}

.badge-description {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    margin: 0;
}

.badge-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shine 3s ease-in-out infinite;
}

@keyframes shine {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

.compliance-info h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: white;
}

.compliance-info p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 32px;
    font-size: 1.1rem;
}

.compliance-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.compliance-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.compliance-feature i {
    color: #10b981;
    font-size: 1rem;
}

/* Q&A Section Styles */
.qa-section {
    padding: 100px 0;
    background: #f8fafc;
}

.qa-container {
    max-width: 800px;
    margin: 60px auto 0;
}

.qa-item {
    background: white;
    border-radius: 16px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(30, 64, 175, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.qa-item:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.qa-question {
    padding: 24px 32px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
    transition: background-color 0.3s ease;
}

.qa-question:hover {
    background: #f8fafc;
}

.qa-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
    flex: 1;
    padding-right: 20px;
}

.qa-question i {
    color: #64748b;
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.qa-item.active .qa-question i {
    transform: rotate(180deg);
}

.qa-answer {
    padding: 0 32px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.qa-item.active .qa-answer {
    padding: 0 32px 24px;
    max-height: 200px;
}

.qa-answer p {
    color: #64748b;
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

/* Blog Responsive Styles */
@media (max-width: 768px) {
    .blogs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .blog-card {
        border-radius: 16px;
    }
    
    .blog-image-container {
        height: 180px;
    }
    
    .blog-content {
        padding: 20px;
    }
    
    .blog-title {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }
    
    .blog-excerpt {
        font-size: 0.85rem;
        margin-bottom: 16px;
    }
    
    .blog-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .blog-meta-left {
        gap: 12px;
    }
    
    .sebi-compliance-section {
        padding: 60px 0;
    }
    
    .sebi-compliance-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .sebi-badges {
        order: 2;
    }
    
    .compliance-info {
        order: 1;
    }
    
    .compliance-info h2 {
        font-size: 2rem;
    }
    
    .compliance-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .blogs-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .blog-image-container {
        height: 200px;
    }
    
    .blog-content {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .blog-image-container {
        height: 180px;
    }
    
    .blog-content {
        padding: 20px;
    }
    
    .blog-title {
        font-size: 1rem;
    }
    
    .blog-excerpt {
        font-size: 0.8rem;
    }
    
    .blog-btn {
        padding: 12px 24px;
        font-size: 0.8rem;
    }
    
    .sebi-compliance-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .compliance-info h2 {
        font-size: 2rem;
    }
    
    .compliance-features {
        grid-template-columns: 1fr;
    }
}

/* Additional Course Card Enhancements */
.course-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 24px;
    padding: 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transform: translateY(0);
    animation: courseCardSlideIn 0.6s ease-out;
}

.course-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.02) 0%, rgba(147, 197, 253, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.course-card:hover::after {
    opacity: 1;
}

.course-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
}

.course-card.featured {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(147, 197, 253, 0.05) 100%);
    border: 2px solid rgba(59, 130, 246, 0.3);
    transform: scale(1.05);
    box-shadow: 0 15px 50px rgba(59, 130, 246, 0.15);
}

.course-card.featured:hover {
    transform: scale(1.05) translateY(-12px);
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 30px 100px rgba(59, 130, 246, 0.25);
}

.course-card.premium {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.05) 0%, rgba(236, 72, 153, 0.05) 100%);
    border: 2px solid rgba(168, 85, 247, 0.3);
    box-shadow: 0 15px 50px rgba(168, 85, 247, 0.15);
}

.course-card.premium:hover {
    border-color: rgba(168, 85, 247, 0.5);
    box-shadow: 0 30px 100px rgba(168, 85, 247, 0.25);
}

.course-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    z-index: 10;
    animation: badgePulse 2s ease-in-out infinite;
    backdrop-filter: blur(10px);
}

.course-badge.featured {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    animation: badgePulse 2s ease-in-out infinite;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.course-badge.premium {
    background: linear-gradient(135deg, #a855f7, #7c3aed);
    animation: badgePulse 2s ease-in-out infinite;
    box-shadow: 0 4px 12px rgba(168, 85, 247, 0.3);
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
    }
}

.course-image {
    position: relative;
    overflow: hidden;
    border-radius: 24px 24px 0 0;
    height: 200px;
}

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

.course-card:hover .course-image img {
    transform: scale(1.1);
}

.course-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.course-card:hover .course-overlay {
    opacity: 1;
}

.course-overlay i {
    color: white;
    font-size: 3rem;
    animation: playButtonPulse 2s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

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

.course-content {
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.course-category {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: #64748b;
    font-size: 0.875rem;
    font-weight: 500;
}

.course-category i {
    color: #3b82f6;
    font-size: 1rem;
    animation: iconFloat 3s ease-in-out infinite;
}

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

.course-content h3 {
    color: #1e293b;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.course-card:hover .course-content h3 {
    color: #3b82f6;
}

.course-content p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

.course-features {
    margin-bottom: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #475569;
    font-size: 0.875rem;
    transition: transform 0.2s ease;
}

.feature-item:hover {
    transform: translateX(5px);
}

.feature-item i {
    color: #10b981;
    font-size: 0.875rem;
    animation: checkPulse 2s ease-in-out infinite;
}

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

.course-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(59, 130, 246, 0.05);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: #64748b;
    font-size: 0.875rem;
    font-weight: 500;
    transition: transform 0.2s ease;
}

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

.meta-item i {
    color: #3b82f6;
    font-size: 0.875rem;
}

.course-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.price-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.original-price {
    font-size: 1rem;
    color: #6b7280;
    text-decoration: line-through;
}

.discounted-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    animation: priceGlow 2s ease-in-out infinite;
}

@keyframes priceGlow {
    0%, 100% {
        text-shadow: none;
    }
    50% {
        text-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
    }
}

.discount-badge {
    display: inline-block;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 0.25rem;
    animation: discountBounce 2s ease-in-out infinite;
}

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

.course-price .btn {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    position: relative;
    overflow: hidden;
}

.course-price .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 ease;
}

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

.course-price .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

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

.course-price .btn:hover i {
    transform: translateX(3px);
}

/* Services Slider Section */
.services-slider-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #cbd5e1 100%);
    /* padding: var(--spacing-4xl) 0; */
    position: relative;
    overflow: hidden;
}

.services-slider-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(59, 130, 246, 0.05) 0%, rgba(147, 51, 234, 0.05) 100%);
    pointer-events: none;
}

.services-slider-container {
    position: relative;
    overflow: hidden;
    margin: var(--spacing-3xl) 0;
    padding: var(--spacing-xl) 0;
    /* Enhanced cursor and touch feedback */
    cursor: grab;
    user-select: none;
}

.services-slider-track {
    display: flex;
    gap: var(--spacing-2xl);
    animation: slideServices 60s linear infinite;
    width: max-content;
    /* Enable touch scrolling on all devices */
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    /* Enable horizontal scrolling for touch devices */
    overflow-x: auto;
    /* Smooth scrolling */
    scroll-snap-type: x proximity;
}

@keyframes slideServices {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Responsive animation speeds for different devices */
@media (max-width: 1024px) {
    .services-slider-track {
        animation-duration: 50s;
    }
}

@media (max-width: 768px) {
    .services-slider-track {
        animation-duration: 40s;
    }
}

@media (max-width: 480px) {
    .services-slider-track {
        animation-duration: 35s;
    }
}

.service-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-2xl);
    padding: var(--spacing-2xl);
    min-width: 400px;
    max-width: 400px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #06b6d4);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

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

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-xl);
    position: relative;
    z-index: 2;
}

.service-icon i {
    font-size: 2rem;
    color: white;
    animation: iconFloat 3s ease-in-out infinite;
}

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

.service-content {
    margin-bottom: var(--spacing-xl);
}

.service-title {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
    background: linear-gradient(135deg, #1e293b, #475569);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--spacing-lg);
    font-size: var(--font-size-base);
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.feature-tag {
    background: linear-gradient(135deg, #e0e7ff, #c7d2fe);
    color: #3730a3;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-lg);
    font-size: var(--font-size-sm);
    font-weight: 500;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.service-visual {
    height: 120px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Chart Animation */
.chart-animation {
    position: relative;
    width: 100%;
    height: 100%;
}

.chart-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #10b981, #3b82f6);
    transform: translateY(-50%);
    animation: chartDraw 3s ease-in-out infinite;
}

@keyframes chartDraw {
    0% {
        clip-path: inset(0 100% 0 0);
    }
    50% {
        clip-path: inset(0 0% 0 0);
    }
    100% {
        clip-path: inset(0 0% 0 0);
    }
}

.chart-points {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.point {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #3b82f6;
    border-radius: 50%;
    animation: pointPulse 2s ease-in-out infinite;
}

.point:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.point:nth-child(2) { top: 40%; left: 30%; animation-delay: 0.5s; }
.point:nth-child(3) { top: 60%; left: 50%; animation-delay: 1s; }
.point:nth-child(4) { top: 30%; left: 70%; animation-delay: 1.5s; }
.point:nth-child(5) { top: 70%; left: 90%; animation-delay: 2s; }

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

/* Portfolio Animation */
.portfolio-animation {
    position: relative;
    width: 100px;
    height: 100px;
}

.pie-chart {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(
        #3b82f6 0deg 90deg,
        #8b5cf6 90deg 180deg,
        #06b6d4 180deg 270deg,
        #10b981 270deg 360deg
    );
    animation: pieRotate 4s linear infinite;
}

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

.slice {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

/* Education Animation */
.education-animation {
    position: relative;
    width: 100%;
    height: 100%;
}

.book-stack {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 2px;
}

.book {
    width: 20px;
    height: 30px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 2px;
    animation: bookStack 3s ease-in-out infinite;
}

.book-1 { animation-delay: 0s; }
.book-2 { animation-delay: 0.5s; }
.book-3 { animation-delay: 1s; }

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

.graduation-cap {
    position: absolute;
    top: 20px;
    right: 20px;
}

.cap {
    width: 30px;
    height: 20px;
    background: linear-gradient(135deg, #1e293b, #475569);
    border-radius: 50% 50% 0 0;
    position: relative;
}

.tassel {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 10px;
    height: 15px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    border-radius: 50%;
    animation: tasselSwing 2s ease-in-out infinite;
}

@keyframes tasselSwing {
    0%, 100% {
        transform: rotate(-5deg);
    }
    50% {
        transform: rotate(5deg);
    }
}

/* Market Animation */
.market-animation {
    position: relative;
    width: 100%;
    height: 100%;
}

.market-indicators {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    height: 100%;
    padding: 0 20px;
}

.indicator {
    width: 20px;
    background: rgba(59, 130, 246, 0.2);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.indicator-bar {
    width: 100%;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 10px;
    animation: indicatorMove 2s ease-in-out infinite;
}

.indicator-1 .indicator-bar { height: 60%; animation-delay: 0s; }
.indicator-2 .indicator-bar { height: 80%; animation-delay: 0.5s; }
.indicator-3 .indicator-bar { height: 40%; animation-delay: 1s; }

@keyframes indicatorMove {
    0%, 100% {
        transform: scaleY(1);
    }
    50% {
        transform: scaleY(1.3);
    }
}

/* Advisory Animation */
.advisory-animation {
    position: relative;
    width: 100%;
    height: 100%;
}

.consultation-scene {
    position: relative;
    width: 100%;
    height: 100%;
}

.person {
    position: absolute;
    width: 30px;
    height: 40px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 50% 50% 0 0;
}

.person-1 {
    bottom: 20px;
    left: 30px;
    animation: personMove 3s ease-in-out infinite;
}

.person-2 {
    bottom: 20px;
    right: 30px;
    animation: personMove 3s ease-in-out infinite reverse;
}

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

.document {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 50px;
    background: white;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    animation: documentFloat 2s ease-in-out infinite;
}

@keyframes documentFloat {
    0%, 100% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    50% {
        transform: translate(-50%, -50%) rotate(5deg);
    }
}

/* Risk Animation */
.risk-animation {
    position: relative;
    width: 100%;
    height: 100%;
}

.shield {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 70px;
}

.shield-body {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    position: relative;
    animation: shieldPulse 2s ease-in-out infinite;
}

.shield-border {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    animation: shieldBorder 2s ease-in-out infinite;
}

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

@keyframes shieldBorder {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.8;
    }
}

.protection-rays {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.ray {
    position: absolute;
    width: 2px;
    height: 20px;
    background: linear-gradient(135deg, #3b82f6, transparent);
    animation: rayRotate 3s linear infinite;
}

.ray-1 { transform: rotate(0deg); animation-delay: 0s; }
.ray-2 { transform: rotate(120deg); animation-delay: 1s; }
.ray-3 { transform: rotate(240deg); animation-delay: 2s; }

@keyframes rayRotate {
    0% {
        transform: rotate(0deg) scaleY(0);
    }
    50% {
        transform: rotate(180deg) scaleY(1);
    }
    100% {
        transform: rotate(360deg) scaleY(0);
    }
}

/* Services Explore Button */
.services-explore {
    text-align: center;
    margin-top: var(--spacing-3xl);
}

.explore-btn {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    padding: var(--spacing-lg) var(--spacing-2xl);
    border-radius: var(--radius-xl);
    font-size: var(--font-size-lg);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
    position: relative;
    overflow: hidden;
}

.explore-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;
}

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

.explore-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.4);
}

.explore-btn i:last-child {
    transition: transform 0.3s ease;
}

.explore-btn:hover i:last-child {
    transform: translateX(5px);
}

/* Responsive Design for Services Slider */
@media (max-width: 1024px) {
    .service-card {
        min-width: 350px;
        max-width: 350px;
        padding: var(--spacing-xl);
    }
    
    .services-slider-track {
        gap: var(--spacing-xl);
    }
}

@media (max-width: 768px) {
    .services-slider-section {
        padding: var(--spacing-2xl) 0;
    }
    
    .service-card {
        min-width: 300px;
        max-width: 300px;
        padding: var(--spacing-lg);
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
    }
    
    .service-icon i {
        font-size: 1.5rem;
    }
    
    .service-title {
        font-size: var(--font-size-lg);
    }
    
    .service-description {
        font-size: var(--font-size-sm);
    }
    
    .services-slider-track {
        gap: var(--spacing-lg);
        /* Keep animation but enable enhanced touch scrolling */
        animation: slideServices 40s linear infinite;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE and Edge */
        /* Enhanced touch scrolling */
        -webkit-overflow-scrolling: touch;
        touch-action: pan-x;
    }
    
    .services-slider-track::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }
    
    .service-card {
        scroll-snap-align: start;
        flex-shrink: 0;
    }
}

@media (max-width: 480px) {
    .service-card {
        min-width: 280px;
        max-width: 280px;
        padding: var(--spacing-md);
    }
    
    .service-visual {
        height: 80px;
    }
    
    .explore-btn {
        padding: var(--spacing-md) var(--spacing-xl);
        font-size: var(--font-size-base);
    }
    
    .services-slider-track {
        gap: var(--spacing-md);
        padding: 0 var(--spacing-sm);
    }
    
    .services-slider-container {
        margin: var(--spacing-2xl) 0;
        padding: var(--spacing-lg) 0;
    }
}

/* Pause animation on hover (only on desktop) */
@media (min-width: 769px) {
    .services-slider-container:hover .services-slider-track {
        animation-play-state: paused;
    }
}

/* Mobile touch scrolling enhancements */
@media (max-width: 768px) {
    .services-slider-container {
        /* Ensure proper touch scrolling container */
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        /* Remove any overflow restrictions */
        overflow: visible;
    }
    
    .services-slider-track {
        /* Smooth scrolling behavior */
        scroll-behavior: smooth;
        /* Better touch scrolling */
        -webkit-overflow-scrolling: touch;
        /* Prevent text selection during scroll */
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        /* Ensure proper touch scrolling */
        touch-action: pan-x;
        /* Keep animation but allow touch interaction */
        animation: slideServices 40s linear infinite;
        /* Enable horizontal scrolling */
        overflow-x: auto;
        overflow-y: hidden;
        /* Enhanced scroll snap */
        scroll-snap-type: x mandatory;
    }
    
    /* Ensure service cards don't interfere with scrolling */
    .service-card {
        /* Prevent shrinking */
        flex-shrink: 0;
        /* Ensure proper touch target size */
        min-height: 200px;
        /* Smooth transitions */
        transition: transform 0.2s ease;
        /* Scroll snap alignment */
        scroll-snap-align: start;
    }
    
    /* Add visual feedback for touch scrolling */
    .service-card:active {
        transform: scale(0.98);
    }
    
    /* Pause animation when user is touching */
    .services-slider-track:active {
        animation-play-state: paused;
    }
    
    /* Enhanced touch scrolling experience */
    .services-slider-container {
        cursor: grab;
    }
    
    .services-slider-container:active {
        cursor: grabbing;
    }
    
    /* Smooth scroll snap for better touch experience */
    .service-card {
        scroll-snap-align: center;
    }
}

/* Smooth scrolling for the section */
html {
    scroll-behavior: smooth;
}

/* Additional testimonials spacing fixes */
.testimonials {
    padding: 60px 0;
}

/* Blog responsive improvements */
@media (max-width: 1024px) {
    .blogs-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .blogs {
        padding: 30px 0;
    }
    
    .blogs-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }
    
    .blog-card {
        padding: 25px;
        min-height: 300px;
    }
    
    .blog-title {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .blogs {
        padding: 25px 0;
    }
    
    .blog-card {
        padding: 20px;
        min-height: 280px;
    }
    
    .blog-title {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }
    
    .blog-excerpt {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
}

.testimonials-horizontal-container {
    padding: 0px 60px;
    min-height: 700px;
}

.testimonials-track {
    padding: 60px 0;
    min-height: 600px;
}

.testimonial-card {
    min-height: 450px;
    margin: 30px 0;
}