/* ==========================================
   CSS Variables - Your Custom Color Palette
   ========================================== */

:root {
    /* Light Mode Colors (DEFAULT) */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-rgb: 255, 255, 255;
    --text-primary: #0b1127;
    --text-secondary: #4a5568;
    --accent-blue: #63a7e8;
    --accent-yellow: #F2B705;
    --accent-red: #B11226;
    --highlight-cyan: #68d4fe;
    --deep-blue: #143a6c;
    --border-color: #e2e8f0;
    --card-bg: #ffffff;
    --shadow: rgba(0, 0, 0, 0.1);
    --glow-color: rgba(104, 212, 254, 0.4);
    --glow-strong: rgba(99, 167, 232, 0.6);
}

.dark-mode {
    /* Dark Mode Colors */
    --bg-primary: #0b1127;
    --bg-secondary: #070b0e;
    --bg-rgb: 11, 17, 39;
    --text-primary: #ffffff;
    --text-secondary: #cbd5e0;
    --accent-blue: #63a7e8;
    --highlight-cyan: #68d4fe;
    --deep-blue: #143a6c;
    --border-color: #151f28;
    --card-bg: #151f28;
    --shadow: rgba(0, 0, 0, 0.3);
    --glow-color: rgba(104, 212, 254, 0.3);
    --glow-strong: rgba(99, 167, 232, 0.5);
}

/* ==========================================
   Base Styles
   ========================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
}

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

/* ==========================================
   Theme Toggle Button
   ========================================== */

.theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    background: var(--accent-blue);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px var(--shadow);
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px var(--shadow);
}

.theme-toggle svg {
    color: white;
}

.dark-mode .sun-icon {
    display: block;
}

.dark-mode .moon-icon {
    display: none;
}

.sun-icon {
    display: none;
}

.moon-icon {
    display: block;
}

/* ==========================================
   Profile Type Toggle
   ========================================== */

.profile-toggle {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    display: flex;
    gap: 10px;
    background: var(--card-bg);
    padding: 5px;
    border-radius: 50px;
    box-shadow: 0 4px 12px var(--shadow);
}

.profile-btn {
    padding: 10px 20px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    border-radius: 50px;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
}

.profile-btn.active {
    background: var(--accent-blue);
    color: white;
}

.profile-btn:hover:not(.active) {
    background: var(--bg-secondary);
}

/* ==========================================
   Typography
   ========================================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    margin-bottom: 0.75rem;
}

.highlight {
    color: var(--highlight-cyan);
    position: relative;
    background: linear-gradient(
        90deg,
        var(--accent-blue),
        var(--highlight-cyan),
        var(--accent-blue)
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}

.highlight_2 {
    color: var(--highlight-cyan);
    position: relative;
    background: linear-gradient(
        90deg,
        var(--accent-yellow),
        var(--accent-red)
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 7s linear infinite;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    animation: fadeInUp 0.8s ease both;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-blue), var(--highlight-cyan), var(--accent-blue));
    background-size: 200% auto;
    margin: 1rem auto 0;
    border-radius: 2px;
    animation: shimmer 3s linear infinite, expandLine 0.8s ease 0.5s both;
}

@keyframes expandLine {
    from {
        width: 0;
    }
    to {
        width: 80px;
    }
}

/* ==========================================
   Buttons
   ========================================== */

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 16px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-blue), var(--highlight-cyan));
    color: white;
    box-shadow: 0 4px 15px var(--glow-color);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 8px 25px var(--glow-strong),
        0 0 40px var(--glow-color);
    background: linear-gradient(135deg, var(--highlight-cyan), var(--accent-blue));
}

.btn-secondary {
    background: transparent;
    border-color: var(--accent-blue);
    color: var(--accent-blue);
    position: relative;
}

.btn-secondary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-blue), var(--highlight-cyan));
    z-index: -1;
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.btn-secondary:hover {
    color: white;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--glow-color);
}

.btn-secondary:hover::after {
    opacity: 1;
}

.btn-large {
    padding: 18px 48px;
    font-size: 18px;
}

/* ==========================================
   Hero Section
   ========================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(var(--bg-rgb), 0.88) 0%, 
        rgba(var(--bg-rgb), 0.82) 50%,
        rgba(var(--bg-rgb), 0.88) 100%);
    z-index: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, var(--deep-blue) 0%, transparent 100%);
    opacity: 0.1;
    z-index: 1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-image {
    position: relative;
    perspective: 1000px;
}

.animated-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    z-index: 0;
    opacity: 0.35;
    animation: breathe 4s ease-in-out infinite;
    pointer-events: none;
}

.lottie-animation {
    width: 100%;
    height: 100%;
}

.animated-bg .lottie-animation {
    filter: blur(0.5px);
}

/* Dark mode adjustments for Lottie */
.dark-mode .animated-bg {
    opacity: 0.4;
}

.dark-mode .lottie-animation {
    filter: brightness(1.3);
}

.profile-photo {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 20px;
    box-shadow: 
        0 20px 60px var(--shadow),
        0 0 40px var(--glow-color),
        0 0 80px var(--glow-color);
    border: 4px solid var(--accent-blue);
    animation: floatImage 6s ease-in-out infinite, glowPulse 3s ease-in-out infinite;
    transition: all 0.4s ease;
    position: relative;
    z-index: 3;
}

.profile-photo:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 
        0 30px 80px var(--shadow),
        0 0 60px var(--glow-strong),
        0 0 100px var(--glow-color);
    border-color: var(--highlight-cyan);
}

.image-overlay {
    position: absolute;
    top: -30px;
    right: -30px;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--highlight-cyan), var(--accent-blue));
    border-radius: 30px;
    z-index: 1;
    opacity: 0.2;
    animation: rotateOverlay 20s linear infinite, pulseOverlay 4s ease-in-out infinite;
    filter: blur(20px);
}

/* Additional decorative elements */
.hero-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--glow-color) 0%, transparent 70%);
    z-index: 0;
    animation: breathe 4s ease-in-out infinite;
}

.hero-image::after {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 100px;
    height: 100px;
    background: var(--highlight-cyan);
    border-radius: 50%;
    opacity: 0.15;
    filter: blur(30px);
    animation: floatCircle 8s ease-in-out infinite;
}

.hero-text {
    animation: fadeInUp 0.8s ease;
}

.hero-text h1 {
    animation: slideInLeft 1s ease 0.2s both;
}

.hero-text .tagline {
    animation: slideInLeft 1s ease 0.4s both;
}

.hero-text .description {
    animation: slideInLeft 1s ease 0.6s both;
}

.hero-stats {
    animation: slideInLeft 1s ease 0.8s both;
}

.hero-cta {
    animation: slideInLeft 1s ease 1s both;
}

.subtitle {
    display: block;
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--accent-blue);
    font-weight: 600;
    margin-top: 0.5rem;
}

.tagline {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 600;
    margin: 1.5rem 0;
    color: var(--text-primary);
}

.description {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
    animation: scaleIn 0.8s ease both;
}

.stat:nth-child(1) { animation-delay: 0.2s; }
.stat:nth-child(2) { animation-delay: 0.4s; }
.stat:nth-child(3) { animation-delay: 0.6s; }

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--highlight-cyan);
    text-shadow: 0 0 20px var(--glow-color);
    animation: glowPulse 3s ease-in-out infinite;
}

.stat-number:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

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

.hero-cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* ==========================================
   Value Proposition
   ========================================== */

.value-prop {
    padding: 80px 0;
    background: var(--bg-secondary);
}

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

.value-card {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px var(--shadow);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 4px solid var(--accent-blue);
    position: relative;
    overflow: hidden;
    animation: scaleIn 0.6s ease both;
}

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

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

.value-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 
        0 20px 60px var(--shadow),
        0 0 40px var(--glow-color);
    border-top-color: var(--highlight-cyan);
}

.value-card:nth-child(1) {
    animation-delay: 0.1s;
}

.value-card:nth-child(2) {
    animation-delay: 0.2s;
}

.value-card:nth-child(3) {
    animation-delay: 0.3s;
}

.value-icon {
    font-size: 3rem;
    color: var(--highlight-cyan);
    margin-bottom: 1rem;
}

.value-card h3 {
    color: var(--accent-blue);
    margin-bottom: 1rem;
}

.value-card p {
    color: var(--text-secondary);
}

/* ==========================================
   About Section
   ========================================== */

.about {
    padding: 80px 0;
}

.about-text {
    max-width: 900px;
    margin: 0 auto;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    color: var(--text-secondary);
}

.about-text .lead {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-primary);
}

.philosophy {
    background: var(--card-bg);
    border-left: 4px solid var(--highlight-cyan);
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 8px;
    font-style: italic;
}

.philosophy p {
    font-size: 1.25rem;
    color: var(--accent-blue);
    font-weight: 600;
    margin: 0;
}

/* ==========================================
   Expertise Section
   ========================================== */

.expertise {
    padding: 80px 0;
    background: var(--bg-secondary);
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    position: relative;
}

.section-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(var(--bg-rgb), 0.92) 0%, 
        rgba(var(--bg-rgb), 0.88) 50%,
        rgba(var(--bg-rgb), 0.92) 100%);
    z-index: 0;
}

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

.floating-icon {
    position: absolute;
    width: 180px;
    height: 180px;
    opacity: 0.25;
    z-index: 0;
    pointer-events: none;
}

.floating-icon .lottie-animation {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 25px var(--glow-color));
}

.dark-mode .floating-icon {
    opacity: 0.35;
}

.dark-mode .floating-icon .lottie-animation {
    filter: drop-shadow(0 0 30px var(--glow-strong)) brightness(1.2);
}

.floating-icon-1 {
    top: 10%;
    right: 5%;
    animation: floatCircle 10s ease-in-out infinite;
}

.floating-icon-2 {
    bottom: 10%;
    left: 5%;
    animation: floatCircle 12s ease-in-out infinite reverse;
}

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

.expertise-item {
    background: var(--card-bg);
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    animation: scaleIn 0.6s ease both;
}

.expertise-item:nth-child(1) { animation-delay: 0.1s; }
.expertise-item:nth-child(2) { animation-delay: 0.2s; }
.expertise-item:nth-child(3) { animation-delay: 0.3s; }
.expertise-item:nth-child(4) { animation-delay: 0.4s; }
.expertise-item:nth-child(5) { animation-delay: 0.5s; }
.expertise-item:nth-child(6) { animation-delay: 0.6s; }

.expertise-item:hover {
    border-color: var(--accent-blue);
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 10px 40px var(--shadow),
                0 0 30px var(--glow-color);
}

.expertise-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px var(--glow-color));
    transition: transform 0.3s ease;
}

.expertise-item:hover .expertise-icon {
    transform: scale(1.2) rotateY(360deg);
    transition: transform 0.6s ease;
}

.expertise-item h3 {
    font-size: 1rem;
    color: var(--text-primary);
}

/* ==========================================
   Programs Section
   ========================================== */

.programs {
    padding: 80px 0;
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    position: relative;
}

.programs .section-overlay {
    background: linear-gradient(135deg, 
        rgba(var(--bg-rgb), 0.94) 0%, 
        rgba(var(--bg-rgb), 0.90) 50%,
        rgba(var(--bg-rgb), 0.94) 100%);
}

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

.programs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns */
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.program-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px var(--shadow);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    animation: cardFloat 6s ease-in-out infinite;
}

.program-card:nth-child(1) { animation-delay: 0s; }
.program-card:nth-child(2) { animation-delay: 1.5s; }
.program-card:nth-child(3) { animation-delay: 3s; }
.program-card:nth-child(4) { animation-delay: 4.5s; }

.program-card.featured {
    border-color: var(--highlight-cyan);
    position: relative;
    box-shadow: 
        0 8px 30px var(--shadow),
        0 0 40px var(--glow-color);
    animation: borderGlow 3s ease-in-out infinite, cardFloat 6s ease-in-out infinite;
}

.program-card.featured::before {
    content: 'MOST POPULAR';
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(135deg, var(--highlight-cyan), var(--accent-blue));
    color: white;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 4px 15px var(--glow-color);
    animation: glowPulse 2s ease-in-out infinite;
}

.program-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 
        0 20px 60px var(--shadow),
        0 0 50px var(--glow-color);
    border-color: var(--accent-blue);
}

.program-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.program-header h3 {
    color: var(--accent-blue);
    flex: 1;
}

.program-duration {
    background: var(--bg-secondary);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.program-ideal {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.program-desc {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.program-topics {
    list-style: none;
    margin-bottom: 2rem;
}

.program-topics li {
    padding: 8px 0;
    padding-left: 30px;
    position: relative;
    color: var(--text-secondary);
}

.program-topics li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--highlight-cyan);
    font-weight: 700;
}

.program-cta {
    margin-top: auto;
}

/* ==========================================
   organisations Table
   ========================================== */

.organisations {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.org-table-wrapper {
    overflow-x: auto;
}

.org-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow);
}

.org-table thead {
    background: var(--deep-blue);
    color: white;
}

.org-table th {
    padding: 20px;
    text-align: left;
    font-weight: 600;
}

.org-table td {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.org-table tr:last-child td {
    border-bottom: none;
}

.org-table tr:hover {
    background: var(--bg-secondary);
}

/* ==========================================
   Testimonials
   ========================================== */

.testimonials {
    padding: 80px 0;
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    position: relative;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(var(--bg-rgb), 0.92) 0%, 
        rgba(var(--bg-rgb), 0.88) 50%,
        rgba(var(--bg-rgb), 0.92) 100%);
    z-index: 0;
}

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

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
}

.testimonial-card {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 4px 20px var(--shadow);
    position: relative;
    border-left: 4px solid var(--highlight-cyan);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    animation: scaleIn 0.8s ease both;
}

.testimonial-card:nth-child(1) { animation-delay: 0.2s; }
.testimonial-card:nth-child(2) { animation-delay: 0.4s; }

.testimonial-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 15px 50px var(--shadow),
        0 0 40px var(--glow-color);
    border-left-color: var(--accent-blue);
}

.quote-mark {
    font-size: 4rem;
    color: var(--highlight-cyan);
    opacity: 0.2;
    position: absolute;
    top: 20px;
    left: 20px;
    animation: glowPulse 4s ease-in-out infinite;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
}

.testimonial-author strong {
    color: var(--accent-blue);
    font-size: 1.125rem;
}

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

/* ==========================================
   Differentiators
   ========================================== */

.differentiators {
    padding: 80px 0;
    background: var(--bg-secondary);
}

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

.diff-card {
    background: var(--card-bg);
    padding: 35px 25px;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px var(--shadow);
}

.diff-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px var(--shadow);
}

.diff-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.diff-card h3 {
    color: var(--accent-blue);
    margin-bottom: 1rem;
}

.diff-card p {
    color: var(--text-secondary);
}

/* ==========================================
   CTA Section
   ========================================== */

.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--deep-yellow) 0%, var(--accent-red) 50%, var(--highlight-cyan) 100%);
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-animation-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 700px;
    opacity: 0.12;
    z-index: 0;
    pointer-events: none;
    animation: breathe 6s ease-in-out infinite;
}

.cta-animation-bg .lottie-animation {
    width: 100%;
    height: 100%;
    filter: blur(3px);
}

.dark-mode .cta-animation-bg {
    opacity: 0.18;
}

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

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(104, 212, 254, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(99, 167, 232, 0.3) 0%, transparent 50%);
    animation: pulseOverlay 6s ease-in-out infinite;
}

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

.cta-content h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.cta-subtext {
    font-style: italic;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.cta-section .highlight {
    color: var(--highlight-cyan);
}

/* ==========================================
   Contact Section
   ========================================== */

.contact {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h3 {
    color: var(--accent-blue);
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-item p {
    color: var(--text-secondary);
    margin: 0;
}

.contact-item a {
    color: var(--accent-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--highlight-cyan);
}

.cta-box {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px var(--shadow);
    border-top: 4px solid var(--accent-blue);
}

.cta-box h3 {
    color: var(--accent-blue);
    margin-bottom: 1rem;
}

.cta-box p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.cta-benefits {
    list-style: none;
    margin-bottom: 2rem;
}

.cta-benefits li {
    padding: 10px 0;
    color: var(--text-secondary);
}

.cta-note {
    background: var(--bg-secondary);
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid var(--highlight-cyan);
}

/* ==========================================
   Footer
   ========================================== */

.footer {
    background: var(--bg-secondary);
    padding: 60px 0 30px;
    border-top: 2px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--accent-blue);
    margin-bottom: 1rem;
}

.footer-col p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

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

.footer-col a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    padding: 5px 0;
}

.footer-col a:hover {
    color: var(--accent-blue);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
}

/* ==========================================
   Animations - Premium Effects
   ========================================== */

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

@keyframes floatImage {
    0%, 100% {
        transform: translateY(0) rotateY(0deg);
    }
    25% {
        transform: translateY(-20px) rotateY(5deg);
    }
    50% {
        transform: translateY(-10px) rotateY(0deg);
    }
    75% {
        transform: translateY(-20px) rotateY(-5deg);
    }
}

@keyframes glowPulse {
    0%, 100% {
        filter: drop-shadow(0 0 10px var(--glow-color)) 
                drop-shadow(0 0 20px var(--glow-color));
    }
    50% {
        filter: drop-shadow(0 0 20px var(--glow-strong)) 
                drop-shadow(0 0 40px var(--glow-color));
    }
}

@keyframes rotateOverlay {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

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

@keyframes breathe {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.5;
    }
}

@keyframes floatCircle {
    0%, 100% {
        transform: translate(0, 0);
    }
    33% {
        transform: translate(30px, -30px);
    }
    66% {
        transform: translate(-20px, 20px);
    }
}

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

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

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

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

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

@keyframes borderGlow {
    0%, 100% {
        border-color: var(--accent-blue);
        box-shadow: 0 0 20px var(--glow-color);
    }
    50% {
        border-color: var(--highlight-cyan);
        box-shadow: 0 0 40px var(--glow-strong);
    }
}

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

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-image {
        order: -1;
        display: flex;
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

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

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .profile-toggle {
        position: static;
        margin: 20px;
        width: calc(100% - 40px);
    }

    .theme-toggle {
        top: 100px;
    }

    .hero {
        padding: 140px 0 60px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .programs-grid,
    .value-grid,
    .diff-grid {
        grid-template-columns: 1fr;
    }

    .org-table {
        font-size: 0.875rem;
    }

    .org-table th,
    .org-table td {
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    .profile-btn {
        padding: 8px 16px;
        font-size: 12px;
    }
}

/* ==========================================
   Floating Program Animations
   ========================================== */

.floating-program-icon {
    position: absolute;
    width: 140px;
    height: 140px;
    opacity: 0.2;
    z-index: 0;
    pointer-events: none;
}

.floating-program-icon .lottie-animation {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 20px var(--glow-color));
}

.dark-mode .floating-program-icon {
    opacity: 0.3;
}

.floating-program-1 {
    top: 15%;
    right: 8%;
    animation: floatCircle 14s ease-in-out infinite;
}

.floating-program-2 {
    bottom: 15%;
    left: 8%;
    animation: floatCircle 16s ease-in-out infinite reverse;
}

/* ==========================================
   Lottie Icon Styles
   ========================================== */

.lottie-icon {
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.expertise-icon {
    width: 80px !important;
    height: 80px !important;
    margin: 0 auto 1rem !important;
}

.diff-icon {
    width: 80px !important;
    height: 80px !important;
    margin: 0 auto 1rem !important;
}

/* ==========================================
   Testimonial Slider Improvements
   ========================================== */

.testimonials-grid {
    position: relative;
    min-height: auto;
}

.testimonial-card {
    position: relative;
    width: 100%;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card:not(.active-testimonial) {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.testimonial-card.active-testimonial {
    opacity: 1;
    transform: translateX(0) scale(1);
    position: relative;
}

.testimonials {
    cursor: grab;
}

.testimonials:active {
    cursor: grabbing;
}

/* ==========================================
   Footer Overlay
   ========================================== */

.footer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(var(--bg-rgb), 0.93) 0%, 
        rgba(var(--bg-rgb), 0.90) 50%,
        rgba(var(--bg-rgb), 0.93) 100%);
    z-index: 0;
}

.footer {
    background-size: cover;
    background-position: center;
    position: relative;
}

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

/* ==========================================
   Performance & Accessibility
   ========================================== */

.lottie-animation,
.lottie-icon {
    will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
    .lottie-animation,
    .lottie-icon,
    .floating-icon,
    .floating-program-icon {
        animation: none !important;
        transition: none !important;
    }
}

/* ==========================================
   Mobile Responsive Adjustments
   ========================================== */

@media (max-width: 768px) {
    .floating-icon,
    .floating-program-icon {
        display: none;
    }
    
    .expertise-icon,
    .diff-icon {
        width: 60px !important;
        height: 60px !important;
    }
    
    .programs-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
    }
}
