/* Background Animation */
.floating-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.wave {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    animation: dotJump 3s ease-in-out infinite;
}

.wave:nth-child(1) {
    top: 15%;
    left: 8%;
    background: rgba(0, 0, 139, 0.6);
    animation-delay: 0s;
}

.wave:nth-child(2) {
    top: 65%;
    left: 25%;
    background: rgba(210, 105, 30, 0.6);
        animation: dotJump 1.5s ease-in-out infinite;
}

.wave:nth-child(3) {
    top: 35%;
    left: 75%;
    background: rgba(0, 0, 139, 0.6);
        animation-delay: 0.5s;
}

.wave:nth-child(4) {
    top: 85%;
    left: 92%;
    background: rgba(210, 105, 30, 0.6);
        animation-delay: 1s;
}

.wave:nth-child(5) {
    top: 25%;
    left: 45%;
    background: rgba(0, 0, 139, 0.5);
        animation: floatLogo 1.5s ease-in-out infinite;
}

.wave:nth-child(6) {
    top: 75%;
    left: 60%;
    background: rgba(210, 105, 30, 0.5);
    animation-delay: 2.5s;
}

.wave:nth-child(7) {
    top: 50%;
    left: 15%;
    background: rgba(0, 0, 139, 0.4);
    animation-delay: 3s;
}

.wave:nth-child(8) {
    top: 10%;
    left: 85%;
    background: rgba(210, 105, 30, 0.4);
}

.wave:nth-child(9) {
    top: 90%;
    left: 40%;
    background: rgba(0, 0, 139, 0.5);
    animation-delay: 0.8s;
}

.wave:nth-child(10) {
    top: 45%;
    left: 95%;
    background: rgba(210, 105, 30, 0.5);
    animation-delay: 1.8s;
}

@keyframes dotJump {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.4;
    }
    50% {
        transform: translateY(-15px) scale(1.2);
        opacity: 0.8;
    }
}

/* Global Styles and Variables */
:root {
    --primary-color: #1a237e;
    --secondary-color: #304ffe;
    --accent-color: #ff4081;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --dark-bg: #1a237e;
    --transition-speed: 0.3s;
    --gradient-primary: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    --chocolate: #D2691E;
    --dark-blue: #00008B;
    --chocolate-hover: #A0522D;
    --dark-blue-hover: #000066;
    --bg-color: #ffffff;
    --nav-bg: rgba(255, 255, 255, 0.95);
    --card-bg: #ffffff;
    --border-color: #ddd;
}

[data-theme="dark"] {
    --primary-color: #304ffe;
    --secondary-color: #D2691E;
    --text-color: #ffffff;
    --bg-color: #1a1a1a;
    --nav-bg: rgba(26, 26, 26, 0.95);
    --card-bg: #2d2d2d;
    --border-color: #444;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
    background-color: var(--bg-color);
}

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

/* Loading Animation */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, var(--dark-blue) 0%, #1a1a2e 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.1s ease;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
}}

.neural-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 20%, rgba(210, 105, 30, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(0, 0, 139, 0.2) 0%, transparent 50%),
        linear-gradient(45deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(-45deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.5;
    animation: gridFlow 20s linear infinite;
}

.loading-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.loading-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 20px;
}

.loader-logo {
    margin-bottom: 40px;
    position: relative;
}

.gradient-text {
    font-size: 4rem;
    font-weight: bold;
    background: linear-gradient(45deg, var(--dark-blue), var(--chocolate), #FFA500);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmerText 3s ease-in-out infinite;
    text-shadow: 0 0 20px rgba(210, 105, 30, 0.3);
}

.logo-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 2px solid rgba(210, 105, 30, 0.3);
    animation: pulse 2s infinite ease-in-out;
}

.loading-phrases {
    text-align: center;
    color: white;
    font-size: 1.8rem;
    height: 2.5em;
    margin-bottom: 40px;
    position: relative;
}

.loading-phrase {
    position: absolute;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
    transform: translateY(20px);
}

.loading-phrase.active {
    opacity: 1;
    transform: translateY(0);
}

.flying-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.flying-element {
    position: absolute;
    font-size: 2.5rem;
    animation: fly 10s linear infinite;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.progress-container {
    width: 300px;
    margin: 0 auto;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--dark-blue), var(--chocolate), #FFA500);
    transition: width 0.3s ease;
}

.progress-text {
    color: white;
    font-size: 1rem;
    text-align: center;
    opacity: 0.8;
}

/* Navbar Styles */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: var(--nav-bg);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all var(--transition-speed) ease;
    padding: 15px 0;
    border-bottom: 2px solid rgba(0, 0, 139, 0.1);
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo {
    display: flex;
    align-items: center;
    width: 45px;
    height: 45px;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    transition: transform var(--transition-speed) ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.brand-name {
    font-size: 1.6rem;
    font-weight: bold;
    color: var(--primary-color);
    letter-spacing: 0.5px;
}

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

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
    transition: color var(--transition-speed) ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width var(--transition-speed) ease;
}

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

.nav-links a:hover,
.nav-links a.active {
    color: var(--chocolate);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    transition: all 0.3s ease;
}

.menu-icon {
    width: 30px;
    height: 20px;
    position: relative;
    transition: all 0.3s ease;
}

.menu-icon .bar {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-color);
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

.menu-icon .bar:first-child {
    top: 0;
}

.menu-icon .bar:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.menu-icon .bar:last-child {
    bottom: 0;
}

.mobile-menu-btn.active .menu-icon .bar:first-child {
    transform: rotate(45deg);
    top: 9px;
}

.mobile-menu-btn.active .menu-icon .bar:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .menu-icon .bar:last-child {
    transform: rotate(-45deg);
    bottom: 9px;
}

.register-btn {
    display: inline-block;
    padding: 12px 28px;
    min-width: 160px;
    height: 48px;
    background: #FF6B35;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    border: 2px solid transparent;
    text-align: center;
    line-height: 24px;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
    position: relative;
    overflow: hidden;
}

.register-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.4s ease;
}

.register-btn:hover {
    background: #D2691E;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.5);
    color: white !important;
}

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

.register-btn:active {
    transform: translateY(-2px) scale(0.98);
}

.register-btn.pulse {
    animation: pulse 2s infinite;
}

/* Theme Toggle Button */
.theme-toggle {
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.theme-toggle:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: scale(1.1);
}

/* Hero Section Styles */
.hero {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
    margin-bottom: 0;
}

/* Video Background - Enhanced visibility */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.9;
    filter: brightness(1.1) contrast(1.05);
}

/* Video Overlay - Enhanced visibility */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(0, 0, 139, 0.4) 0%, 
        rgba(210, 105, 30, 0.3) 50%, 
        rgba(0, 0, 139, 0.5) 100%);
    z-index: 1;
}



/* AI Background Layers */
.ai-background-layers {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 2;
    opacity: 0.6;
}

.floating-text-container {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 2;
}

.floating-text {
    position: absolute;
    font-size: 1.2rem;
    opacity: 0;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
    animation: floatText 15s linear infinite;
    pointer-events: none;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.floating-text.value {
    color: rgba(255, 215, 0, 0.85);
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
    font-size: 1.4rem;
}

.floating-text.inspire {
    color: rgba(210, 105, 30, 0.85);
    text-shadow: 0 0 15px rgba(210, 105, 30, 0.5);
    font-size: 1.3rem;
}

.particle-network {
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(210,105,30,0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0,0,139,0.2) 0%, transparent 50%);
    animation: pulseNetwork 10s ease-in-out infinite;
    z-index: 3;
}

.connection-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(45deg, transparent 45%, rgba(255,255,255,0.15) 50%, transparent 55%),
        linear-gradient(-45deg, transparent 45%, rgba(255,255,255,0.15) 50%, transparent 55%);
    background-size: 30px 30px;
    animation: lineFlow 15s linear infinite;
    opacity: 0.5;
    z-index: 4;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
    color: white;
    text-align: center;
}

.hero-text-container {
    margin-bottom: 60px;
}

.main-title {
    font-size: 5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.gradient-text {
    background: linear-gradient(45deg, #fff, var(--chocolate));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmerText 3s ease-in-out infinite;
}

.hero-heading {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.text-animate {
    display: inline-block;
    animation: glowText 2s ease-in-out infinite;
}

.dynamic-text-wrapper {
    height: 60px;
    overflow: hidden;
    margin-bottom: 30px;
}

.dynamic-text {
    display: block;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--chocolate);
    animation: slideUp 12s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 50px auto;
    max-width: 1000px;
}

.feature-card {
    position: relative;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--chocolate);
    animation: iconFloat 3s ease-in-out infinite;
}

/* CTA Buttons */
.hero-buttons {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-top: 50px;
}

.cta-button {
    position: relative;
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    overflow: hidden;
    transition: all 0.3s ease;
}

.cta-button.primary {
    background: linear-gradient(45deg, rgba(139, 69, 19, 0.7), rgba(47, 79, 79, 0.7));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    border: 1px solid rgba(255,255,255,0.2);
}

.cta-button.secondary {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
}

.button-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* Success Stories Section */
.success-stories {
    padding: 0;
    margin-top: 0;
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--chocolate) 100%);
    position: relative;
    overflow: hidden;
}

.success-stories::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(45deg, var(--dark-blue) 25%, transparent 25%) -50px 0,
        linear-gradient(-45deg, var(--dark-blue) 25%, transparent 25%) -50px 0,
        linear-gradient(45deg, transparent 75%, var(--chocolate) 75%) -50px 0,
        linear-gradient(-45deg, transparent 75%, var(--chocolate) 75%) -50px 0;
    background-size: 100px 100px;
    animation: zigzagMove 15s linear infinite;
    opacity: 0.3;
}

.section-header {
    padding-top: 60px;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
    text-align: center;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.section-header p {
    font-size: 1.2em;
    color: rgba(255,255,255,0.9);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.stories-container {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
    max-width: 1400px;
    margin: 0 auto;
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 0 20px;
    transition: all 0.5s ease-in-out;
}

.story-card {
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    overflow: hidden;
    transform: translateY(0);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.story-image {
    width: 100%;
    height: 320px;
    overflow: hidden;
    margin-bottom: 0;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

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

.story-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.story-content h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #ffffff;
    font-weight: 600;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.university {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.9);
}

.story-excerpt {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.95);
}

.location {
    margin: 20px 0;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
}

.tags {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.tag {
    padding: 8px 16px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    color: #ffffff;
    transition: all 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.tag:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.story-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255,255,255,0.3);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Slider Controls */
.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
    padding: 20px 0;
}

.slider-btn {
    background: rgba(255,255,255,0.15);
    border: none;
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: rgba(255,255,255,0.25);
    transform: scale(1.1);
}

.slider-dots {
    display: flex;
    gap: 12px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: white;
    transform: scale(1.2);
}

/* Impact Statistics Section - Enhanced Design */
.impact-stats {
    position: relative;
    padding: 80px 0;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 50%, #2c3e50 100%);
    overflow: hidden;
}

.impact-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(52, 152, 219, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(155, 89, 182, 0.1) 0%, transparent 50%),
        linear-gradient(45deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(-45deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: subtleFlow 25s linear infinite;
    opacity: 0.8;
}

.stats-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    border-radius: 25px;
    padding: 35px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.stat-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-color: rgba(52, 152, 219, 0.3);
    background: rgba(255, 255, 255, 0.12);
}

.stat-card:hover::before {
    left: 100%;
}

.stat-icon-wrapper {
    margin-bottom: 20px;
}

.stat-icon-wrapper i {
    font-size: 2.8rem;
    color: #3498db;
    text-shadow: 0 0 20px rgba(52, 152, 219, 0.4);
    animation: iconFloat 3s ease-in-out infinite;
    transition: all 0.3s ease;
}

.stat-card:hover .stat-icon-wrapper i {
    color: #e74c3c;
    text-shadow: 0 0 25px rgba(231, 76, 60, 0.5);
    transform: scale(1.1);
}

.stat-card h3 {
    color: #ecf0f1;
    font-size: 1.3rem;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 600;
    opacity: 0.95;
}

.counter {
    font-size: 3.2rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    animation: countUp 2s ease-out forwards;
}

/* Leadership & Professional Connections Section - Interactive Animation */
.leadership-connections {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--chocolate) 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.leadership-connections .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

/* Premium Background */
.premium-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.gradient-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        rgba(0, 0, 139, 0.9) 0%, 
        rgba(255, 140, 0, 0.8) 25%, 
        rgba(210, 105, 30, 0.9) 50%, 
        rgba(0, 0, 139, 0.8) 75%, 
        rgba(255, 107, 53, 0.9) 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

.floating-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.3) 2px, transparent 2px),
        radial-gradient(circle at 80% 80%, rgba(255, 140, 0, 0.4) 1px, transparent 1px),
        radial-gradient(circle at 40% 60%, rgba(255, 255, 255, 0.2) 1px, transparent 1px);
    background-size: 100px 100px, 150px 150px, 80px 80px;
    animation: particleFloat 20s linear infinite;
}

.neural-network {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(0deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.6;
    animation: networkPulse 10s ease-in-out infinite;
}

@keyframes particleFloat {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-20px) rotate(360deg); }
}

@keyframes networkPulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.8; }
}

/* Premium Header */
.premium-header {
    position: relative;
    z-index: 10;
    text-align: center;
    margin-bottom: 80px;
}

.header-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    padding: 12px 30px;
    border-radius: 50px;
    border: 2px solid rgba(255, 215, 0, 0.5);
    color: #FFD700;
    font-weight: 600;
    margin-bottom: 30px;
    box-shadow: 0 8px 32px rgba(255, 215, 0, 0.3);
}

.header-badge i {
    font-size: 1.2rem;
    color: #FFD700;
}

.gradient-title {
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(45deg, #FFD700, #FFF, #FF8C00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 25px;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
}

.premium-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.header-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.decoration-line {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #FFD700, transparent);
}

.decoration-diamond {
    width: 12px;
    height: 12px;
    background: #FFD700;
    transform: rotate(45deg);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
}

.leadership-connections::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(0, 0, 139, 0.15) 0%, transparent 30%),
        radial-gradient(circle at 90% 80%, rgba(210, 105, 30, 0.15) 0%, transparent 30%),
        radial-gradient(circle at 50% 50%, rgba(0, 0, 139, 0.1) 0%, transparent 25%);
    z-index: 0;
}

.leadership-connections::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        repeating-radial-gradient(circle at 20% 30%, 
            transparent 0px, 
            transparent 20px, 
            rgba(0, 0, 139, 0.03) 21px, 
            rgba(0, 0, 139, 0.03) 40px),
        repeating-radial-gradient(circle at 80% 70%, 
            transparent 0px, 
            transparent 15px, 
            rgba(210, 105, 30, 0.03) 16px, 
            rgba(210, 105, 30, 0.03) 35px);
    z-index: 1;
    pointer-events: none;
}

/* Interactive Dots */
.interactive-dots {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(0, 0, 139, 0.6);
    border-radius: 50%;
    cursor: pointer;
    pointer-events: all;
    transition: all 0.3s ease;
}

.dot:hover {
    transform: scale(2);
    background: rgba(210, 105, 30, 0.8);
    box-shadow: 0 0 20px rgba(210, 105, 30, 0.5);
}

.dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(0, 0, 139, 0.3) 0%, rgba(210, 105, 30, 0.2) 50%, transparent 70%);
    border-radius: 50%;
    transition: all 0.4s ease;
    pointer-events: none;
}

.dot:hover::before {
    width: 100px;
    height: 100px;
    animation: rippleWave 0.6s ease-out;
}

.connections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin: 50px auto;
    max-width: 1400px;
    padding: 0 20px;
    position: relative;
    z-index: 3;
    justify-items: center;
}

.connection-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    width: 100%;
    max-width: 450px;
}

.connection-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(52, 152, 219, 0.05), rgba(155, 89, 182, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.connection-card:hover::before {
    opacity: 1;
}

.connection-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border-color: rgba(52, 152, 219, 0.3);
}

.connection-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

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

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

.connection-content {
    padding: 25px;
    position: relative;
    z-index: 2;
}

.connection-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(45deg, #3498db, #9b59b6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.3);
    transition: all 0.3s ease;
}

.connection-card:hover .connection-icon {
    background: linear-gradient(45deg, #e74c3c, #f39c12);
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4);
    transform: scale(1.1);
}

.connection-icon i {
    color: white;
    font-size: 1.2rem;
}

.connection-content h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: #ffffff;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.connection-content p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.connection-tag {
    display: inline-block;
    background: linear-gradient(45deg, #3498db, #9b59b6);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.connection-card:hover .connection-tag {
    background: linear-gradient(45deg, #e74c3c, #f39c12);
    box-shadow: 0 6px 15px rgba(231, 76, 60, 0.4);
    transform: translateY(-2px);
}

/* Neural Network Separator */
.neural-separator {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--chocolate) 100%);
    overflow: hidden;
}

.neural-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.neural-particles::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255,255,255,0.2) 0%, transparent 70%);
    animation: particleFlow 10s ease-in-out infinite;
}

.separator-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: white;
}

.glow-text {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    background: linear-gradient(45deg, #fff, #f0f0f0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: glowPulse 2s ease-in-out infinite;
}

.neural-icons {
    display: flex;
    gap: 30px;
    margin-top: 20px;
}

.pulse-icon {
    font-size: 2rem;
    color: white;
    animation: iconPulse 2s infinite;
}

/* Leadership Story Section */
.leadership-story-section {
    padding: 100px 20px;
    background: 
        linear-gradient(135deg, 
            rgba(26, 26, 46, 0.95) 0%, 
            rgba(22, 33, 62, 0.92) 25%,
            rgba(15, 52, 96, 0.90) 50%,
            rgba(22, 33, 62, 0.92) 75%,
            rgba(26, 26, 46, 0.95) 100%
        ),
        url('images/reality.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.leadership-story-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 140, 0, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 0, 139, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 215, 0, 0.05) 0%, transparent 60%);
    pointer-events: none;
    animation: shimmer 8s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.story-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
    padding: 40px 20px;
    background: transparent;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.story-badge {
    display: inline-block;
    padding: 10px 25px;
    background: linear-gradient(135deg, #FF8C00, #D2691E);
    color: white;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
}

.story-header h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.gradient-text {
    background: linear-gradient(135deg, #FF8C00, #FFD700, #FF6B35);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.story-intro {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.story-book {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.book-page {
    margin-bottom: 120px;
    position: relative;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.book-page.aos-animate {
    opacity: 1;
    transform: translateY(0);
}

.page-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 40px;
    background: transparent;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.page-content::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, 
        rgba(255, 140, 0, 0.4), 
        rgba(255, 215, 0, 0.3),
        rgba(0, 0, 139, 0.4));
    border-radius: 20px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
    filter: blur(10px);
}

.page-content:hover {
    background: transparent;
    border-color: rgba(255, 215, 0, 0.4);
    transform: translateY(-5px);
}

.page-content:hover::before {
    opacity: 1;
}

.page-content.reverse {
    grid-template-columns: 1fr 1fr;
}

.page-content.reverse .page-image {
    order: 2;
}

.page-content.reverse .page-text {
    order: 1;
}

.page-image {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.page-image:hover {
    transform: scale(1.05) rotate(2deg);
}

.page-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
    border-radius: 15px;
    filter: brightness(0.95);
    transition: filter 0.3s ease;
}

.page-image:hover img {
    filter: brightness(1.1);
}

.page-number {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #FF8C00, #D2691E);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 5px 20px rgba(255, 140, 0, 0.5);
    z-index: 10;
}

.page-text {
    padding: 20px;
}

.page-text h3 {
    font-size: 2rem;
    color: #FFD700;
    margin-bottom: 20px;
    font-weight: 600;
    line-height: 1.3;
}

.page-text p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin-bottom: 15px;
}

.page-text p:last-child {
    margin-bottom: 0;
}

/* Tablet Styles */
@media screen and (max-width: 768px) {
    .leadership-story-section {
        padding: 60px 15px;
    }

    .story-header h2 {
        font-size: 2.5rem;
    }

    .story-intro {
        font-size: 1rem;
        padding: 0 10px;
    }

    .book-page {
        margin-bottom: 60px;
    }

    .page-content,
    .page-content.reverse {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 25px;
    }

    .page-content.reverse .page-image {
        order: 1;
    }

    .page-content.reverse .page-text {
        order: 2;
    }

    .page-image img {
        height: 350px;
    }

    .page-text h3 {
        font-size: 1.6rem;
    }

    .page-text p {
        font-size: 1rem;
    }
}

/* Mobile Styles */
@media screen and (max-width: 480px) {
    .leadership-story-section {
        padding: 40px 10px;
    }

    .story-header {
        margin-bottom: 50px;
    }

    .story-badge {
        font-size: 0.8rem;
        padding: 8px 20px;
    }

    .story-header h2 {
        font-size: 2rem;
    }

    .story-intro {
        font-size: 0.95rem;
    }

    .book-page {
        margin-bottom: 40px;
    }

    .page-content {
        padding: 20px;
        gap: 20px;
    }

    .page-image img {
        height: 280px;
    }

    .page-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        top: 15px;
        right: 15px;
    }

    .page-text {
        padding: 10px;
    }

    .page-text h3 {
        font-size: 1.4rem;
        margin-bottom: 15px;
    }

    .page-text p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}

/* Extra Small Mobile */
@media screen and (max-width: 375px) {
    .story-header h2 {
        font-size: 1.8rem;
    }

    .page-content {
        padding: 15px;
    }

    .page-image img {
        height: 250px;
    }

    .page-text h3 {
        font-size: 1.3rem;
    }

    .page-text p {
        font-size: 0.9rem;
    }
}

/* Footer Styles */
.footer {
    position: relative;
    background: linear-gradient(135deg, #FF8C00 0%, #D2691E 50%, #FF6B35 100%);
    padding: 60px 0 20px;
    color: white;
    overflow: hidden;
}

.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.03) 31%, rgba(255,255,255,0.03) 32%, transparent 33%),
        linear-gradient(-45deg, transparent 30%, rgba(255,255,255,0.03) 31%, rgba(255,255,255,0.03) 32%, transparent 33%),
        linear-gradient(135deg, transparent 48%, rgba(255,255,255,0.05) 49%, rgba(255,255,255,0.05) 50%, transparent 51%);
    background-size: 60px 60px, 60px 60px, 120px 120px;
    z-index: 1;
    pointer-events: none;
}

.footer-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.neural-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.1) 0%, transparent 50%);
    animation: overlayPulse 4s ease-in-out infinite;
}

.footer-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    justify-items: center;
}

.glassmorphism {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glassmorphism:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.footer-section {
    width: 100%;
    max-width: 350px;
}

.footer-section h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.glass-input {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    color: white;
    transition: all 0.3s ease;
}

.glass-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.newsletter-form {
    width: 100%;
}

.input-group {
    display: flex;
    gap: 10px;
    align-items: center;
    width: 100%;
}

.submit-btn {
    background: linear-gradient(45deg, var(--dark-blue), var(--chocolate));
    border: none;
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    word-break: break-word;
}

.contact-item i {
    flex-shrink: 0;
    font-size: 1.1rem;
}

.contact-item p {
    margin: 0;
    font-size: 0.95rem;
    text-decoration: none;
}

.social-links {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.social-link {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.2);
}

.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    animation: pulseRing 2s infinite;
}

.hover-effect {
    position: relative;
    color: white;
    text-decoration: none;
    padding: 5px 0;
}

.hover-effect::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: white;
    transition: width 0.3s ease;
}

.hover-effect:hover::after {
    width: 100%;
}

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

.quick-links ul li {
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, var(--dark-blue), var(--chocolate));
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}



/* Animations */
@keyframes gridFlow {
    0% { transform: perspective(1000px) rotateX(60deg) translateY(0); }
    100% { transform: perspective(1000px) rotateX(60deg) translateY(50px); }
}

@keyframes shimmerText {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}



@keyframes glowText {
    0%, 100% { text-shadow: 0 0 20px rgba(255,255,255,0.5); }
    50% { text-shadow: 0 0 40px rgba(255,255,255,0.8); }
}

@keyframes slideUp {
    0%, 25% { transform: translateY(0); }
    30%, 45% { transform: translateY(-60px); }
    50%, 75% { transform: translateY(-120px); }
    80%, 95% { transform: translateY(-180px); }
    100% { transform: translateY(-240px); }
}

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

@keyframes floatText {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.9);
    }
    20% {
        opacity: 0.9;
        transform: translateY(0) scale(1);
    }
    80% {
        opacity: 0.9;
        transform: translateY(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-20px) scale(0.9);
    }
}

@keyframes pulseNetwork {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 0.9; }
}

@keyframes lineFlow {
    0% { background-position: 0 0; }
    100% { background-position: 30px 30px; }
}

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

@keyframes zigzagMove {
    0% {
        background-position: -50px 0, -50px 0, -50px 0, -50px 0;
    }
    100% {
        background-position: 50px 100px, 50px 100px, 50px 100px, 50px 100px;
    }
}

@keyframes pulseBackground {
    0% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.1);
    }
    100% {
        opacity: 0.3;
        transform: scale(1);
    }
}

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

@keyframes particleFlow {
    0%, 100% { transform: translateY(0); opacity: 0.5; }
    50% { transform: translateY(-20px); opacity: 0.8; }
}

@keyframes glowPulse {
    0%, 100% { text-shadow: 0 0 20px rgba(255,255,255,0.5); }
    50% { text-shadow: 0 0 40px rgba(255,255,255,0.8); }
}

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

@keyframes overlayPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

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

@keyframes subtleFlow {
    0% { background-position: 0 0; }
    100% { background-position: 60px 60px; }
}

@keyframes rippleWave {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
    }
    50% {
        width: 80px;
        height: 80px;
        opacity: 0.7;
    }
    100% {
        width: 120px;
        height: 120px;
        opacity: 0;
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 0, 139, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(0, 0, 139, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 0, 139, 0);
    }
}

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

@keyframes fly {
    0% { transform: translate(-100vw, random(100vh)); }
    100% { transform: translate(100vw, random(100vh)); }
}

/* Responsive Loading Animation */
@media (max-width: 768px) {
    .gradient-text {
        font-size: 3rem;
    }

    .logo-pulse {
        width: 150px;
        height: 150px;
    }

    .loading-phrases {
        font-size: 1.5rem;
        height: 2em;
        margin-bottom: 30px;
    }

    .flying-element {
        font-size: 2rem;
    }

    .progress-container {
        width: 250px;
    }

    .progress-bar {
        height: 5px;
    }

    .loading-content {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .gradient-text {
        font-size: 2.5rem;
    }

    .logo-pulse {
        width: 120px;
        height: 120px;
    }

    .loading-phrases {
        font-size: 1.2rem;
        height: 1.8em;
        margin-bottom: 25px;
    }

    .loader-logo {
        margin-bottom: 30px;
    }

    .flying-element {
        font-size: 1.5rem;
    }

    .progress-container {
        width: 200px;
    }

    .progress-bar {
        height: 4px;
    }

    .progress-text {
        font-size: 0.9rem;
    }

    .loading-content {
        padding: 10px;
    }
}

@media (max-width: 375px) {
    .gradient-text {
        font-size: 2rem;
    }

    .logo-pulse {
        width: 100px;
        height: 100px;
    }

    .loading-phrases {
        font-size: 1rem;
        height: 1.5em;
        margin-bottom: 20px;
    }

    .loader-logo {
        margin-bottom: 25px;
    }

    .flying-element {
        font-size: 1.2rem;
    }

    .progress-container {
        width: 180px;
    }

    .progress-bar {
        height: 3px;
    }

    .progress-text {
        font-size: 0.85rem;
    }
}

@media (max-width: 320px) {
    .gradient-text {
        font-size: 1.8rem;
    }

    .logo-pulse {
        width: 80px;
        height: 80px;
    }

    .loading-phrases {
        font-size: 0.9rem;
        height: 1.3em;
        margin-bottom: 15px;
    }

    .loader-logo {
        margin-bottom: 20px;
    }

    .flying-element {
        font-size: 1rem;
    }

    .progress-container {
        width: 150px;
    }

    .progress-bar {
        height: 2px;
    }

    .progress-text {
        font-size: 0.8rem;
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .main-title {
        font-size: 4rem;
    }
    
    .hero-heading {
        font-size: 3rem;
    }
    
    .dynamic-text {
        font-size: 2rem;
    }
    
    .feature-grid {
        gap: 20px;
        padding: 0 20px;
    }
    
    .stories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .counter {
        font-size: 2.5rem;
    }
}

/* Tablet and Medium Screens - Leadership Connections */
@media (max-width: 1024px) and (min-width: 769px) {
    .connections-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        max-width: 900px;
        padding: 0 30px;
    }

    .connection-card {
        max-width: 100%;
    }

    .gradient-title {
        font-size: 2.8rem;
    }

    .leadership-connections {
        padding: 70px 0;
    }

    /* Footer Tablet */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        max-width: 900px;
        gap: 25px;
    }

    .footer-section {
        max-width: 100%;
    }

    .footer-bottom {
        max-width: 900px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: var(--nav-bg);
        padding: 80px 20px 20px;
        transition: right 0.3s ease;
        z-index: 1000;
        backdrop-filter: blur(10px);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
        width: 100%;
    }

    .nav-links a {
        font-size: 1.2rem;
        width: 100%;
        padding: 10px 0;
    }

    .theme-toggle {
        margin: 20px 0;
    }

    .register-btn {
        width: 100%;
        text-align: center;
        margin-top: 20px;
    }

    .main-title {
        font-size: 3rem;
    }
    
    .hero-heading {
        font-size: 2.5rem;
    }
    
    .dynamic-text {
        font-size: 1.8rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    
    .stories-container {
        padding: 10px;
    }

    .stories-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: 600px;
        margin: 0 auto;
    }

    .story-card {
        opacity: 0;
        transform: translateY(20px);
        animation: fadeInUp 0.6s ease forwards;
        margin-bottom: 20px;
    }

    .story-content {
        padding: 30px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .counter {
        font-size: 2.2rem;
    }
    
    .neural-separator {
        height: 150px;
    }

    .glow-text {
        font-size: 1.8rem;
    }

    .neural-icons {
        gap: 20px;
    }

    .pulse-icon {
        font-size: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        padding: 0 30px;
        max-width: 600px;
    }

    .footer-section {
        text-align: center;
        max-width: 100%;
    }

    .contact-item {
        justify-content: center;
    }

    .footer {
        padding: 40px 0 20px;
    }

    .footer-bottom {
        padding: 15px 30px;
        margin-top: 30px;
    }

    /* Leadership Connections Responsive */
    .leadership-connections {
        padding: 60px 0;
    }

    .connections-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 15px;
        margin: 30px auto;
    }

    .connection-card {
        max-width: 100%;
        width: 100%;
    }

    .gradient-title {
        font-size: 2.2rem;
    }

    .premium-subtitle {
        font-size: 1.1rem;
        padding: 0 20px;
    }

    .header-badge {
        font-size: 0.9rem;
        padding: 10px 20px;
    }

    .premium-header {
        margin-bottom: 50px;
    }
}

@media (max-width: 480px) {
    .logo {
        width: 35px;
        height: 35px;
    }
    
    .brand-name {
        font-size: 1.2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-card {
        padding: 20px;
    }
    
    .stories-grid {
        padding: 0 15px;
    }

    .story-card {
        margin-bottom: 25px;
        width: 100%;
    }

    .story-content {
        padding: 25px 20px;
    }

    .story-content h3 {
        font-size: 1.6rem;
    }

    .story-excerpt {
        font-size: 1rem;
    }

    .tag {
        padding: 6px 12px;
        font-size: 0.9rem;
    }

    /* Leadership Connections Mobile */
    .leadership-connections {
        padding: 40px 0;
    }

    .connections-grid {
        padding: 0 10px;
        gap: 20px;
        margin: 20px auto;
    }

    .connection-image {
        height: 200px;
    }

    .connection-content {
        padding: 20px;
    }

    .connection-content h3 {
        font-size: 1.2rem;
    }

    .connection-content p {
        font-size: 0.95rem;
    }

    .connection-icon {
        width: 45px;
        height: 45px;
    }

    .connection-icon i {
        font-size: 1rem;
    }

    .gradient-title {
        font-size: 1.8rem;
    }

    .premium-subtitle {
        font-size: 1rem;
    }

    .header-badge {
        font-size: 0.85rem;
        padding: 8px 16px;
    }

    .decoration-line {
        width: 50px;
    }

    /* Footer Mobile */
    .footer {
        padding: 30px 0 15px;
    }

    .footer-content {
        padding: 0 15px;
        gap: 30px;
        max-width: 100%;
    }

    .footer-section {
        padding: 20px 15px;
        max-width: 100%;
        width: 100%;
    }

    .footer-section h3 {
        font-size: 1.3rem;
        text-align: center;
    }

    .footer-section p {
        text-align: center;
        font-size: 0.95rem;
    }

    .footer-bottom {
        padding: 12px 15px;
        margin-top: 25px;
        font-size: 0.85rem;
    }

    .footer-bottom p {
        margin: 0;
    }

    .newsletter-form {
        max-width: 100%;
    }

    .input-group {
        flex-direction: column;
        gap: 12px;
    }

    .glass-input {
        width: 100%;
        padding: 14px 18px;
        font-size: 1rem;
        text-align: center;
    }

    .glass-input::placeholder {
        text-align: center;
    }

    .submit-btn {
        width: 100%;
        padding: 14px 25px;
        font-size: 1rem;
    }

    .contact-item {
        justify-content: center;
        flex-wrap: wrap;
        text-align: center;
        gap: 10px;
    }

    .contact-item p {
        font-size: 0.9rem;
    }

    .quick-links ul li {
        margin-bottom: 12px;
        text-align: center;
    }

    .quick-links ul li a {
        font-size: 0.95rem;
    }

    .social-links {
        gap: 15px;
        flex-wrap: wrap;
        padding: 10px 0;
    }

    .social-link {
        width: 45px;
        height: 45px;
    }

    .social-link i {
        font-size: 1.1rem;
    }

    .glassmorphism {
        padding: 20px 15px;
    }
}

/* Extra Small Mobile Screens */
@media (max-width: 375px) {
    .footer {
        padding: 25px 0 12px;
    }

    .footer-content {
        padding: 0 12px;
        gap: 25px;
    }

    .footer-section {
        padding: 18px 12px;
    }

    .footer-section h3 {
        font-size: 1.2rem;
    }

    .footer-section p {
        font-size: 0.9rem;
    }

    .glass-input {
        padding: 12px 15px;
        font-size: 0.95rem;
    }

    .submit-btn {
        padding: 12px 20px;
        font-size: 0.95rem;
    }

    .contact-item p {
        font-size: 0.85rem;
    }

    .social-link {
        width: 40px;
        height: 40px;
    }

    .footer-bottom {
        padding: 10px 12px;
        font-size: 0.8rem;
    }

    .glassmorphism {
        padding: 18px 12px;
    }
}

/* Dark Theme Styles */
[data-theme="dark"] {
    --primary-color: #304ffe;
    --secondary-color: #D2691E;
    --text-color: #ffffff;
    --bg-color: #1a1a1a;
    --nav-bg: rgba(26, 26, 26, 0.95);
    --card-bg: #2d2d2d;
    --border-color: #444;
}

[data-theme="dark"] .navbar {
    background: var(--nav-bg);
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .nav-links a {
    color: #fff;
}

[data-theme="dark"] .story-card {
    background: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .story-content h3 {
    color: #fff;
}

[data-theme="dark"] .story-excerpt {
    color: rgba(255, 255, 255, 0.7);
}

[data-theme="dark"] .university {
    color: rgba(255, 255, 255, 0.6);
}

[data-theme="dark"] .tag {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

[data-theme="dark"] .menu-icon .bar {
    background-color: #fff;
}

[data-theme="dark"] .theme-toggle {
    color: #fff;
}

[data-theme="dark"] .theme-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .impact-stats {
    background: var(--bg-color);
}

[data-theme="dark"] .stat-card {
    background: var(--card-bg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .section-header h2,
[data-theme="dark"] .stat-card h3,
[data-theme="dark"] .counter {
    color: var(--text-color);
}

[data-theme="dark"] .stat-icon-wrapper i {
    color: var(--text-color);
}

[data-theme="dark"] .register-btn {
    background: linear-gradient(135deg, #4169E1 0%, #1a237e 100%);
    box-shadow: 0 4px 15px rgba(65, 105, 225, 0.2);
}

[data-theme="dark"] .register-btn:hover {
    background: linear-gradient(135deg, #1a237e 0%, #4169E1 100%);
    box-shadow: 0 6px 20px rgba(65, 105, 225, 0.3);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 60px;
}

/* Enhanced Scroll Animation */
.scroll-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
/* Large Screens - Leadership Connections Centering */
@media (min-width: 1400px) {
    .connections-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1400px;
        gap: 35px;
    }

    .connection-card {
        max-width: 420px;
        margin: 0 auto;
    }

    .leadership-connections .container {
        max-width: 1500px;
    }

    /* Footer Large Screens */
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
        max-width: 1400px;
    }

    .footer-section {
        max-width: 320px;
    }
}

@media (min-width: 1025px) and (max-width: 1399px) {
    .connections-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1200px;
        gap: 30px;
    }

    .connection-card {
        max-width: 380px;
    }

    /* Footer Desktop */
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
        max-width: 1200px;
    }

    .footer-section {
        max-width: 280px;
    }
}
