/* =================================================================
   SARA LEARNING GLOBAL - PREMIUM PROFESSIONAL DESIGN
   Ultimate Version - Best Quality
   ================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Premium Color Palette */
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #dbeafe;
    --secondary: #0f172a;
    --accent: #10b981;
    --accent-light: #d1fae5;

    /* Neutrals */
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;

    /* Typography */
    --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);

    /* Transitions */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --transition: all 0.3s var(--ease);
    --transition-slow: all 0.5s var(--ease);
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    overflow-x: hidden; /* Prevent horizontal scroll at root */
    width: 100%;
}

body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-600);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden; /* Prevent horizontal scroll on body */
    width: 100%;
    position: relative;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

/* =================================================================
   PAGE LOADER
   ================================================================= */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.6s var(--ease), visibility 0.6s var(--ease);
}

/* Global Layout Utilities */
.container-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-logo {
    width: 150px;
    height: auto;
    animation: logoLoader 1.5s ease-in-out infinite;
}

@keyframes logoLoader {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.7;
    }

    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--gray-900);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
}

h2 {
    font-size: clamp(1.875rem, 4vw, 2.5rem);
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

/* =================================================================
   LOGO IMAGE
   ================================================================= */
.logo-image {
    height: 50px;
    width: auto;
    transition: var(--transition);
}

@media (max-width: 768px) {
    .logo-image {
        height: 40px; /* Refined for mobile to maintain header balance */
    }
}

.logo:hover .logo-image {
    transform: scale(1.05);
}

.footer-logo {
    height: 45px;
    filter: brightness(0) invert(1);
}

/* =================================================================
   BUTTONS
   ================================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.6s var(--ease);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    box-shadow: 0 4px 14px 0 rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px 0 rgba(37, 99, 235, 0.45);
}

.btn-secondary {
    background: var(--white);
    color: var(--gray-900);
    border: 2px solid var(--gray-200);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent), #059669);
    color: var(--white);
    box-shadow: 0 4px 14px 0 rgba(16, 185, 129, 0.4);
}

.btn-accent:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px 0 rgba(16, 185, 129, 0.5);
    color: var(--white);
}

/* =================================================================
   ABOUT PAGE STATS
   ================================================================= */
.about-mission-section {
    padding: 80px 0; /* Standardized */
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.about-stats-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
    position: relative;
    overflow: hidden;
}

.about-stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(37, 99, 235, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.about-stats-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
}

.about-stats-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

@media (max-width: 992px) {
    .about-stats-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        justify-items: center;
    }

    .about-stat-item {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .about-stats-container {
        grid-template-columns: 1fr;
        justify-items: center;
    }
}

.about-stat-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    position: relative;
    padding: 36px 24px;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    flex: 1;
    min-width: 220px;
    max-width: 280px;
}

.about-stat-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.about-stat-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #10b981; /* Stronger emerald */
    font-size: 32px; /* Increased for better visibility */
    margin-bottom: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.about-stat-item:hover .about-stat-icon {
    transform: scale(1.1) rotate(5deg);
    color: #10b981;
}

.about-stat-item .stat-number {
    font-size: 52px;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    line-height: 1;
}

.about-stat-item .stat-label {
    font-size: 14px;
    color: var(--gray-400);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.news-bar {
    background: linear-gradient(90deg, #0f172a, #1e3a5f);
    padding: 0;
    overflow: hidden;
    display: flex;
    align-items: stretch;
    margin-top: 82px;
    /* Height of the navbar */
    position: relative;
    z-index: 5;
}


.news-label {
    background: linear-gradient(135deg, var(--accent), #059669);
    color: white;
    padding: 12px 20px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    text-transform: uppercase;
    position: relative;
    z-index: 10;
    box-shadow: 4px 0 15px rgba(0, 0, 0, 0.3);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    animation: pulseDot 1.5s ease-in-out infinite;
}

@keyframes pulseDot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.3);
    }
}

.news-ticker {
    display: flex;
    animation: defaultTicker 200s linear infinite;
    /* Adjusted for full content width */
    padding: 12px 0;
    width: max-content;
    /* Ensure it takes full width of content */
    min-width: 100%;
    will-change: transform;
    flex-shrink: 0;
    /* Critical fix for desktop loop */
}

.news-ticker:hover {
    animation-play-state: paused;
}

@keyframes defaultTicker {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.news-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 40px;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    font-weight: 500;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
    /* Prevent shrinking */
}

.news-item strong {
    color: #60a5fa;
    font-weight: 600;
}

/* =================================================================
   FLOATING SOCIAL
   ================================================================= */
.floating-social {
    position: fixed;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.floating-social a {
    width: 48px;
    height: 48px;
    background: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    color: var(--gray-500);
}

.floating-social a:hover {
    transform: translateX(8px) scale(1.05);
}

.floating-social a.linkedin:hover {
    background: #0077b5;
    color: white;
}



.floating-social a.instagram:hover {
    background: #e1306c;
    color: white;
}

.floating-social a.facebook:hover {
    background: #1877f2;
    color: white;
}

.floating-social a.youtube:hover {
    background: #ff0000;
    color: white;
}

/* =================================================================
   NAVIGATION
   ================================================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    padding: 16px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    /* Padding removed to prevent squeezing effect on scroll */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-600);
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-cta {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white) !important;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-toggle span {
    width: 26px;
    height: 2px;
    background: var(--gray-900);
    border-radius: 2px;
    transition: var(--transition);
}

.navbar.scrolled .mobile-toggle span {
    background: var(--gray-900);
}

/* =================================================================
   HERO SECTION
   ================================================================= */
.hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 40%, #1d4ed8 100%);
    display: flex;
    align-items: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(37, 99, 235, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(16, 185, 129, 0.1) 0%, transparent 40%);
}

.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    opacity: 0;
    animation: floatParticle 20s infinite;
}

@keyframes floatParticle {
    0% {
        transform: translateY(100vh);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-100vh);
        opacity: 0;
    }
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 0 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    grid-column: 1;
    grid-row: 1;
    max-width: 600px;
}

.hero-buttons {
    grid-column: 1;
    grid-row: 2;
    display: flex;
    gap: 16px;
    margin-top: 40px;
}

.hero-visual {
    grid-column: 2;
    grid-row: 1 / span 2;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: -60px;
    /* Offset to center vertically relative to content blocks */
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 28px;
    backdrop-filter: blur(10px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulseDot 1.5s ease-in-out infinite;
}

.hero-title {
    font-size: clamp(2.2rem, 5.2vw, 3.2rem);
    color: var(--white);
    margin-bottom: 24px;
    line-height: 1.2;
}

.hero-title span {
    display: block;
    white-space: nowrap;
}

.hero-title .highlight {
    background: linear-gradient(135deg, #60a5fa, #34d399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
    /* Removed margin here as handled by container gap/margins */
    line-height: 1.8;
}

.hero-stats {
    display: flex;
    gap: 48px;
    padding-top: 36px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-size: 42px;
    font-weight: 800;
    color: var(--white);
    display: block;
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 6px;
    font-weight: 500;
}

/* Grouped with main hero-visual block above */

.illustration-svg {
    width: 100%;
    max-width: 540px;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
}

/* Character & Shape Animations */
.char-body {
    animation: charFloat 4s ease-in-out infinite;
}

.arm-right {
    animation: handWaveRight 3s ease-in-out infinite;
    transform-origin: 220px 270px;
}

.arm-left {
    animation: handWaveLeft 3.5s ease-in-out infinite;
    transform-origin: 320px 270px;
}

.floating-shape {
    animation: shapeDrift 6s ease-in-out infinite;
}

.star-pop {
    animation: starPulse 3s ease-in-out infinite;
}

@keyframes charFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes shapeDrift {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(10px, -10px) rotate(5deg);
    }
}

@keyframes starPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.2);
        opacity: 1;
    }
}

@keyframes handWaveRight {

    0%,
    100% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(-15deg);
    }
}

@keyframes handWaveLeft {

    0%,
    100% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(15deg);
    }
}

@media (max-width: 992px) {
    .hero {
        padding: 40px 0; /* Optimized to reduce mobile whitespace */
    }

    .hero-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 16px; /* Reduced from 20px */
    }

    .hero-content {
        margin-bottom: 0;
        /* Removing margin to ensure symmetry is controlled solely by container gap */
    }

    .hero-badge {
        justify-content: center;
    }

    .hero-title span {
        white-space: normal;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
        gap: 12px;
        order: 3;
        /* Buttons always last */
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-visual {
        margin: 0 auto;
        order: 2;
        /* Visual before buttons */
        margin-top: 0 !important;
        transform: translateX(-15px) !important;
        /* Optically center character */
        width: 100%;
        max-width: 380px;
        /* Allowing it to be larger on mobile */
    }

    .floating-social {
        display: none;
    }

}

@media (max-width: 480px) {
    .hero {
        padding: 40px 0;
    }

    .hero-title {
        font-size: 2.2rem; /* Significantly increased for impact */
        line-height: 1.1; /* Tighter for a more premium stacked look */
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-badge {
        padding: 8px 16px;
        font-size: 12px;
        margin-bottom: 20px;
    }

    .hero-visual {
        max-width: 100%;
        /* Fill screen width */
        margin: 0 auto 10px;
        transform: translateX(-15px) !important;
    }
}

/* Hint removed */

/* Old Hero Visual Styles - Commented Out */
/*
.hero-image-container { ... }
.hero-image { ... }
.hero-floating-card {
    gap: 14px;
    box-shadow: var(--shadow-xl);
    animation: cardFloat 6s ease-in-out infinite;
}

.floating-card-1 {
    top: 5%;
    right: 10%;
}

.floating-card-2 {
    bottom: 10%;
    right: 0;
    animation-delay: 2s;
}

@keyframes cardFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.floating-card-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-light), var(--accent-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}
*/

.floating-card-text h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-900);
}

.floating-card-text p {
    font-size: 13px;
    color: var(--gray-500);
}

/* =================================================================
   SECTIONS
   ================================================================= */
.section {
    padding: 80px 0;
    border-top: 1px solid var(--gray-100);
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 60px; /* Standardized from 72px */
}

.section-label {
    display: inline-flex;
    align-items: center;
    width: max-content;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px; /* Standardized Index gap */
    background: rgba(37, 99, 235, 0.08);
    padding: 6px 18px;
    border-radius: 30px;
}

.section-title {
    margin-bottom: 20px; /* Standardized Index gap */
}

.section-subtitle {
    font-size: 18px;
    color: var(--gray-500);
    line-height: 1.8;
}

.bg-light {
    background: var(--gray-50);
}

.text-accent {
    color: var(--primary);
}

/* =================================================================
   PARTNERS
   ================================================================= */
/* =================================================================
   PARTNERS CAROUSEL
   ================================================================= */
.partners {
    padding: 60px 0;
    overflow: hidden;
}

.partners-title {
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 40px;
}

.partners-carousel {
    position: relative;
    width: 100%;
    overflow: hidden; /* Prevent horizontal scroll */
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.partners-track {
    display: flex;
    align-items: center;
    gap: 60px;
    width: max-content;
    animation: scrollLogos 45s linear infinite;
}

.partners-track:hover {
    animation-play-state: paused;
}

.partner-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 220px; /* Uniform width for all logos */
    height: 120px; /* Uniform height for all logos */
    padding: 15px;
    background: transparent;
    transition: var(--transition);
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain; /* Ensures logos maintain aspect ratio without distortion */
    filter: grayscale(1) opacity(0.7);
    transition: var(--transition);
}

/* 
   FUTURE UPLOAD COMPATIBILITY: 
   The styles above ensure any future logo uploaded will automatically 
   be scaled to fit within a 220x120px container while maintaining its 
   original proportions. grayscale and opacity filters provide a 
   uniform, premium look that reveals color on hover.
*/

.partner-logo:hover img {
    filter: grayscale(0) opacity(1);
    transform: scale(1.05);
}

@keyframes scrollLogos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50% - 40px));
    }
}

/* Tablet Adjustments */
@media (max-width: 1024px) {
    .partners-track {
        gap: 60px;
    }
    .partner-logo {
        width: 160px;
    }
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .partners {
        padding: 40px 0;
    }
    .partners-track {
        gap: 40px;
    }
    .partner-logo {
        width: 180px; /* Further increased for visibility */
    }
    .partner-logo img {
        max-height: 75px; /* Further increased from 65px */
    }
}

/* =================================================================
   SERVICES
   ================================================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.values-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.process-grid {
    grid-template-columns: repeat(4, 1fr);
}

.grid-2-col {
    grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 1024px) {
    .process-grid,
    .values-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .process-grid,
    .grid-2-col,
    .values-grid-4 {
        grid-template-columns: 1fr;
    }
}

.service-card {
    background: var(--white);
    padding: 36px;
    border-radius: 20px;
    border: 1px solid var(--gray-100);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--ease);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    border-color: transparent;
    box-shadow: var(--shadow-2xl);
    transform: translateY(-8px);
}

.service-icon {
    width: 72px;
    height: 72px;
    background: var(--primary-light);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 28px;
    transition: var(--transition);
    color: var(--white);
}

/* Icon Gradient Variants */
.icon-blue {
    background: linear-gradient(135deg, #2563eb, #3b82f6) !important;
}

.icon-purple {
    background: linear-gradient(135deg, #7c3aed, #a78bfa) !important;
}

.icon-teal {
    background: linear-gradient(135deg, #0891b2, #22d3ee) !important;
}

.icon-orange {
    background: linear-gradient(135deg, #f59e0b, #fbbf24) !important;
}

.icon-emerald {
    background: linear-gradient(135deg, #10b981, #34d399) !important;
}

#approach,
.about-values-section {
    background-color: var(--gray-50);
}

.icon-blue-green {
    background: linear-gradient(135deg, #2563eb 0%, #10b981 100%) !important;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.2);
    position: relative;
    z-index: 2;
}

/* Energy Rings */
.service-icon {
    position: relative;
}

.icon-energy-rings {
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
}

.icon-energy-rings::before,
.icon-energy-rings::after,
.icon-energy-rings .ring-3 {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: inherit;
    animation: ringPulse 3s infinite;
}

.icon-energy-rings::after {
    animation-delay: 1.5s;
    border-color: rgba(16, 185, 129, 0.2);
}

.icon-energy-rings .ring-3 {
    animation-delay: 2.2s;
    border-color: rgba(37, 99, 235, 0.1);
    border-style: dashed;
    animation-duration: 4s;
}

@keyframes ringPulse {
    0% { transform: scale(0.8); opacity: 0; }
    50% { opacity: 0.5; }
    100% { transform: scale(1.4); opacity: 0; }
}

.icon-rose {
    background: linear-gradient(135deg, #e11d48, #fb7185) !important;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-title {
    font-size: 20px;
    margin-bottom: 14px;
}

.service-description {
    font-size: 16px;
    color: var(--gray-600);
    margin-bottom: 24px;
    line-height: 1.7;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
}

.service-link:hover {
    gap: 14px;
}

.service-link svg {
    width: 18px;
    height: 18px;
}

/* =================================================================
   NEW DYNAMIC SERVICE CARDS (DB-driven, minimal)
   ================================================================= */
.services-grid-dynamic {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.services-loading {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--gray-400);
    padding: 60px 0;
    font-size: 15px;
}

.svc-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    gap: 0;
    transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
    position: relative;
    overflow: hidden;
}

.svc-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), #60a5fa);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.svc-card:hover {
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.10);
    transform: translateY(-6px);
    border-color: rgba(37, 99, 235, 0.15);
}

.svc-card:hover::before {
    opacity: 1;
}

.svc-card--coming {
    background: var(--gray-50);
    border-style: dashed;
    border-color: var(--gray-200);
}

.svc-card--coming:hover {
    transform: none;
    box-shadow: none;
}

.svc-icon-bubble {
    width: 60px;
    height: 60px;
    background: rgba(37, 99, 235, 0.08);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: var(--primary);
    margin-bottom: 22px;
    transition: background 0.25s ease, transform 0.25s ease;
}

.svc-card:hover .svc-icon-bubble {
    background: rgba(37, 99, 235, 0.14);
    transform: scale(1.08);
}

.svc-icon-bubble--muted {
    background: var(--gray-100);
    color: var(--gray-400);
}

.svc-name {
    font-size: 19px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px;
    line-height: 1.3;
}

.svc-desc {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.75;
    flex: 1;
    margin-bottom: 24px;
}

.svc-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: 0.3px;
    transition: gap 0.2s ease, color 0.2s ease;
    margin-top: auto;
}

.svc-link:hover {
    gap: 10px;
    color: #1d4ed8;
}

@media (max-width: 1024px) {
    .services-grid-dynamic {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .services-grid-dynamic {
        grid-template-columns: 1fr;
    }

    .svc-card {
        padding: 28px 24px;
    }
}


/* =================================================================
   ANIMATED WORLD MAP - GLOBAL PRESENCE (Image-Based)
   ================================================================= */
.global-section {
    position: relative;
}

.world-map-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto 60px;
    padding: 20px;
}

.world-map-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    user-select: none;
    pointer-events: none;
}

/* SVG Connection Lines Overlay */
.connection-lines-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    pointer-events: none;
}

.connection-line {
    stroke-dasharray: 1.2, 0.8;
    animation: dashMove 20s linear infinite;
}

@keyframes dashMove {
    0% {
        stroke-dashoffset: 0;
    }

    100% {
        stroke-dashoffset: -20;
    }
}

/* Map Markers - HTML-based absolute positioning */
.map-marker {
    position: absolute;
    width: 40px;
    height: 40px;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.marker-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    position: absolute;
    z-index: 3;
    box-shadow: 0 0 10px currentColor;
    transition: transform 0.3s ease;
}

.map-marker:hover .marker-dot {
    transform: scale(1.3);
}

.marker-pulse {
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid var(--marker-color, var(--primary));
    animation: markerPulse 2.5s ease-out infinite;
    z-index: 2;
}

.marker-pulse.delay-1 {
    animation-delay: 0.5s;
}

@keyframes markerPulse {
    0% {
        width: 14px;
        height: 14px;
        opacity: 0.8;
    }

    100% {
        width: 50px;
        height: 50px;
        opacity: 0;
    }
}

/* Map Tooltips */
.map-tooltip {
    position: absolute;
    padding: 8px 16px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--primary);
    color: var(--gray-900);
    font-weight: 700;
    font-size: 14px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s var(--ease);
    z-index: 100;
    pointer-events: none;
    white-space: nowrap;
}

.map-tooltip.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.tooltip-info strong {
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-900);
}

.tooltip-info span {
    font-size: 13px;
    color: var(--primary);
    font-weight: 600;
}

.tooltip-info small {
    font-size: 11px;
    color: var(--gray-500);
}

/* Map Stats Row */
.map-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.map-stat {
    text-align: center;
    padding: 24px 40px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
}

.map-stat:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.map-stat-number {
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    line-height: 1;
}

.map-stat-label {
    font-size: 14px;
    color: var(--gray-500);
    font-weight: 500;
    margin-top: 8px;
    display: block;
}

/* Responsive Map */
@media (max-width: 768px) {
    .world-map-container {
        height: auto;
        min-height: 200px;
        padding: 10px 0;
        overflow: visible;
    }

    .connection-line {
        stroke-width: 0.2;
    }

    .map-marker {
        width: 28px;
        height: 28px;
    }

    .marker-dot {
        width: 10px;
        height: 10px;
    }

    .marker-pulse {
        width: 10px;
        height: 10px;
    }

    @keyframes markerPulse {
        0% {
            width: 10px;
            height: 10px;
            opacity: 0.8;
        }

        100% {
            width: 36px;
            height: 36px;
            opacity: 0;
        }
    }

    .map-tooltip {
        font-size: 13px;
        padding: 6px 12px;
        z-index: 1000;
    }

    .map-stats {
        gap: 16px;
        margin-top: 30px;
    }

    .map-stat {
        padding: 20px;
        flex: 1 1 140px;
    }

    .map-stat-number {
        font-size: 28px;
    }
}



/* =================================================================
   PROJECTS / EVENTS / BLOGS CARDS - PREMIUM DESIGN
   ================================================================= */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 32px;
}

.project-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: all 0.4s var(--ease);
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
}

.project-card:hover {
    border-color: transparent;
    box-shadow:
        0 25px 50px -12px rgba(37, 99, 235, 0.15),
        0 12px 24px -8px rgba(0, 0, 0, 0.1);
    transform: translateY(-10px);
}

/* Image container with fixed aspect ratio */
.project-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
    flex-shrink: 0;
}

/* Gradient overlay - premium dark gradient */
.project-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            transparent 0%,
            transparent 40%,
            rgba(15, 23, 42, 0.4) 70%,
            rgba(15, 23, 42, 0.8) 100%);
    z-index: 2;
    opacity: 0.8;
    transition: opacity 0.4s var(--ease);
}

.project-card:hover .project-image::before {
    opacity: 0.6;
}

/* Image styles - absolutely positioned to fill container */
.project-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s var(--ease), filter 0.4s var(--ease);
    z-index: 1;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
    filter: brightness(1.05);
}

/* Content area */
.project-content {
    flex: 1 1 auto;
    padding: 28px 28px 32px;
    display: flex;
    flex-direction: column;
    background: var(--white);
    position: relative;
}

/* Tag styling with gradient */
.project-tag {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 6px 14px;
    background: linear-gradient(135deg, var(--primary-light) 0%, #e0e7ff 100%);
    color: var(--primary);
    font-size: 11px;
    font-weight: 700;
    border-radius: 100px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(37, 99, 235, 0.1);
}

/* Title styling */
.project-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--gray-900);
    line-height: 1.4;
    transition: color 0.3s var(--ease);
}

.project-card:hover .project-title {
    color: var(--primary);
}

/* Description styling */
.project-description {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 20px;
    line-height: 1.7;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-clamp: 3;
    overflow: hidden;
}

/* Tagline styling - shown on cards only, clean one-liner */
.project-tagline {
    font-size: 13px;
    color: var(--gray-400);
    margin-bottom: 16px;
    font-style: italic;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Handle Quill-generated <p> tags inside the tagline */
.project-tagline p {
    font-size: 13px;
    color: var(--gray-400);
    font-style: italic;
    font-weight: 500;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Meta info styling */
.project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-100);
    margin-top: auto;
}

.project-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--gray-500);
    font-weight: 500;
    background: var(--gray-50);
    padding: 6px 12px;
    border-radius: 8px;
    transition: all 0.3s var(--ease);
}

.project-meta-item:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.project-meta-item svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    flex-shrink: 0;
}

/* Date badge for events/blogs */
.project-date {
    font-size: 13px;
    color: var(--gray-400);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.project-date::before {
    content: '📅';
    font-size: 14px;
}

/* Read more link */
.project-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    margin-top: auto;
    padding-top: 16px;
    transition: gap 0.3s var(--ease);
}

.project-link:hover {
    gap: 12px;
}

.project-link svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s var(--ease);
}

.project-link:hover svg {
    transform: translateX(4px);
}

/* =====================================================
   PROJECT DETAIL MODAL
   ===================================================== */
.project-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.85); /* Slightly more opaque */
    backdrop-filter: blur(12px); /* Stronger blur for premium feel */
    z-index: 20000; /* Extremely high to clear all nav/news elements */
    align-items: center;
    justify-content: center;
    padding: 2rem;
    overflow-y: auto;
}

.project-modal.active {
    display: flex;
    animation: modalFadeIn 0.3s var(--ease);
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.project-modal-content {
    background: var(--white);
    border-radius: 24px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-2xl); /* Consistent with premium theme */
    animation: modalSlideUp 0.4s var(--ease);
    display: flex;
    flex-direction: column;
}

/* Mobile Fix for Project Modal Centering */
@media (max-width: 768px) {
    .project-modal {
        padding: 1rem;
        align-items: center; /* Center vertically on mobile */
    }

    .project-modal-content {
        margin: 0; /* Remove top margin, rely on centering */
        max-height: calc(100vh - 40px);
        border-radius: 20px;
    }

    .project-modal-close {
        top: 15px;
        right: 15px;
        width: 36px;
        height: 36px;
        font-size: 20px;
        background: rgba(255, 255, 255, 0.9);
        box-shadow: var(--shadow-md);
    }
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.project-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    color: var(--gray-600);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.project-modal-close:hover {
    background: var(--primary);
    color: var(--white);
    transform: rotate(90deg);
}

.project-modal-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.project-modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-modal-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, var(--white) 0%, transparent 100%);
}

.project-modal-body {
    padding: 32px;
    overflow-y: auto;
}

.project-modal-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--gray-900);
    margin: 12px 0 16px;
    line-height: 1.3;
}

.project-modal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
}

.project-modal-meta span {
    font-size: 14px;
    color: var(--gray-500);
    font-weight: 500;
}

.project-detail-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.project-detail-stat {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--primary-light) 0%, #e0e7ff 100%);
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    border-radius: 100px;
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.project-modal-description {
    font-size: 16px;
    line-height: 1.8;
    color: var(--gray-600);
}

/* Rendered rich text styles inside modal */
.project-modal-description h1,
.project-modal-description h2,
.project-modal-description h3 {
    color: var(--gray-900);
    margin: 16px 0 8px;
    font-weight: 700;
}

.project-modal-description h1 {
    font-size: 1.5rem;
}

.project-modal-description h2 {
    font-size: 1.25rem;
}

.project-modal-description h3 {
    font-size: 1.1rem;
}

.project-modal-description ul,
.project-modal-description ol {
    padding-left: 24px;
    margin: 8px 0;
}

.project-modal-description li {
    margin-bottom: 4px;
}

.project-modal-description strong {
    color: var(--gray-900);
}

.project-modal-description a {
    color: var(--primary);
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .project-content {
        padding: 24px;
    }

    .project-title {
        font-size: 18px;
    }
}

/* =================================================================
   TEAM
   ================================================================= */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.team-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--gray-100);
    transition: var(--transition);
    text-align: center;
}

.team-card:hover {
    box-shadow: var(--shadow-2xl);
    transform: translateY(-8px);
}

.team-photo {
    height: 280px;
    background: linear-gradient(135deg, var(--primary-light), var(--gray-100));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 90px;
    position: relative;
    overflow: hidden;
}

.team-info {
    padding: 28px;
}

.team-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
}

.team-role {
    font-size: 14px;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 16px;
}

.team-bio {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 20px;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.team-social a {
    width: 38px;
    height: 38px;
    background: var(--gray-50);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    transition: var(--transition);
}

.team-social a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-4px);
}

/* =================================================================
   ABOUT
   ================================================================= */
/* =================================================================
   ABOUT
   ================================================================= */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
    align-items: center;
}

@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .about-text {
        order: 2;
    }

    .abstract-learning-visual, .approach-visual, .connectivity-visual {
        order: 1;
        margin-top: 0;
        margin-bottom: 30px; /* Reduced for tighter layout */
    }
    
    /* margin-bottom standardized globally */

    .about-tags {
        justify-content: center;
    }
}

.about-visual {
    position: relative;
    height: 560px;
    perspective: 1000px;
}

/* Premium Abstract Learning Visual */
.abstract-learning-visual {
    position: relative;
    width: 100%;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* Clip orbital rings and particles */
}

/* Central Core */
.visual-core {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.core-orb {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark, #059669));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    color: #fff;
    z-index: 10;
    box-shadow: 0 0 40px rgba(16, 185, 129, 0.4);
    position: relative;
}

.core-orb::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: linear-gradient(135deg, #34d399, #059669);
    z-index: -1;
    opacity: 0.5;
    filter: blur(8px);
    animation: orbPulse 4s ease-in-out infinite;
}

@keyframes orbPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

/* Animated Rings */
.core-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(16, 185, 129, 0.2);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.core-ring-1 {
    width: 180px;
    height: 180px;
    border-top-color: var(--accent);
    animation: spin 12s linear infinite;
}

.core-ring-2 {
    width: 260px;
    height: 260px;
    border-right-color: var(--accent-light, #d1fae5);
    animation: spin 18s linear infinite reverse;
}

.core-ring-3 {
    width: 340px;
    height: 340px;
    border-bottom-color: rgba(16, 185, 129, 0.4);
    border-style: dashed;
    animation: spin 24s linear infinite;
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Pulsing Nodes */
.pulse-node {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--accent);
    transform: translate(-50%, -50%);
}

.pulse-node::after {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 1px solid var(--accent);
    opacity: 0;
    animation: nodeRipple 3s ease-out infinite;
}

@keyframes nodeRipple {
    0% {
        transform: scale(0.5);
        opacity: 1;
    }

    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

/* Orbiting dots positioned on the ring borders */
.node-top-left {
    top: 50%;
    left: 0;
    transform: translate(-50%, -50%);
}

.node-top-right {
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
}

.node-bottom-left {
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%);
}

.node-bottom-right {
    top: 50%;
    right: 0;
    transform: translate(50%, -50%);
}

/* Floating Glass Stats */
.floating-stats {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.glass-stat-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 16px 24px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
    pointer-events: auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.12);
}

.stat-1 {
    top: 10%;
    right: 5%;
    animation: floatVertical 6s ease-in-out infinite;
}

.stat-2 {
    bottom: 10%;
    left: 5%;
    animation: floatVertical 7s ease-in-out infinite reverse;
}

@media (max-width: 768px) {
    .visual-core {
        width: 220px;
        height: 220px;
    }
    
    .core-orb {
        width: 70px;
        height: 70px;
        font-size: 32px;
    }

    .core-ring-1 { width: 130px; height: 130px; }
    .core-ring-2 { width: 180px; height: 180px; }
    .core-ring-3 { width: 240px; height: 240px; }

    .floating-stats {
        position: absolute;
        inset: 0;
        display: block;
        margin-top: 0;
    }

    .glass-stat-card {
        padding: 12px 18px;
        transform: scale(0.8);
        position: absolute;
        width: max-content;
    }

    .glass-stat-card {
        padding: 12px 18px;
        transform: scale(0.75);
        position: absolute;
        width: max-content;
    }

    .glass-stat-card {
        padding: 12px 18px;
        transform: scale(0.65);
        position: absolute;
        width: max-content;
    }

    .stat-1 {
        top: 5% !important; /* Moved away from edge to prevent clipping */
        right: 5% !important;
        left: auto !important;
        bottom: auto !important;
        transform-origin: center center;
        transform: scale(0.9) !important;
    }

    .stat-2 {
        bottom: 5% !important; /* Moved away from edge to prevent clipping */
        left: 5% !important;
        right: auto !important;
        top: auto !important;
        transform-origin: center center;
        transform: scale(0.9) !important;
    }

    .abstract-learning-visual {
        height: 460px !important; /* Increased to provide more vertical space */
        margin-bottom: 60px !important;
        margin-top: 40px !important;
    }

    .about-visual {
        height: auto !important;
    }
}

@keyframes floatVertical {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.stat-icon {
    width: 48px;
    height: 48px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-info .num {
    font-size: 24px;
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1.1;
}

.stat-info .label {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.experience-badge .text {
    font-size: 15px;
    color: var(--gray-600);
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.about-text .section-label {
    /* margin-bottom standardized globally */
    font-size: 13px;
    background: rgba(37, 99, 235, 0.08);
    padding: 6px 18px;
    border-radius: 30px;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}


.about-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.about-tags .tag {
    background: var(--gray-50);
    color: var(--gray-800);
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.about-tags .tag:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.about-tags .tag i {
    color: var(--primary);
}

.about-tags .tag:hover i {
    color: #fff;
}

/* =================================================================
   ABOUT PAGE: MISSION & VISION & VALUES
   ================================================================= */
.about-mission-section {
    background: linear-gradient(135deg, var(--gray-50) 0%, rgba(37, 99, 235, 0.03) 100%);
    position: relative;
}


.premium-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.05),
        0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border-radius: 24px;
    transition: all 0.4s var(--ease);
    padding: 44px 36px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden; /* For light sweep */
    z-index: 1;
}

/* Light Beam Sweep */
.premium-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transform: skewX(-20deg);
    transition: 0.7s;
    z-index: 2;
}

.premium-card:hover::before {
    left: 150%;
}

.premium-card:hover {
    box-shadow: 
        0 25px 50px -12px rgba(37, 99, 235, 0.15),
        0 0 20px rgba(16, 185, 129, 0.2); /* Emerald glow */
    border-color: rgba(16, 185, 129, 0.4);
    transform: translateY(-12px) scale(1.02);
}

/* Reflective Gloss Shine */
.card-gloss-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0.05) 50%,
        transparent 100%
    );
    z-index: 2;
    pointer-events: none;
    opacity: 0.5;
    transition: transform 0.6s var(--ease);
}

.premium-card:hover .card-gloss-shine {
    transform: scale(1.1) rotate(5deg);
    opacity: 0.8;
}

/* Floating Particles */
.floating-particle {
    position: absolute;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 4px;
    z-index: 0;
}

.particle-1 { width: 10px; height: 10px; top: 15%; left: 10%; animation: floatSlow 8s infinite alternate; }
.particle-2 { width: 15px; height: 15px; bottom: 20%; right: 10%; background: rgba(16, 185, 129, 0.08); border-radius: 50%; animation: floatSlow 12s infinite alternate-reverse; }

@keyframes floatSlow {
    from { transform: translate(0, 0) rotate(0); }
    to { transform: translate(20px, -20px) rotate(45deg); }
}

/* Icon Elevate Effect */
.premium-card .service-icon {
    width: 64px;
    height: 64px;
    color: var(--white);
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    transition: all 0.5s var(--ease);
    z-index: 5;
}

.premium-card:hover .service-icon {
    transform: translateY(-8px) rotate(8deg);
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.3));
}

.premium-card .service-icon {
    width: 64px;
    height: 64px;
    color: var(--white);
    font-size: 28px;
    margin-bottom: 28px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s var(--ease);
}

.premium-card:hover .service-icon {
    transform: scale(1.1) rotate(8deg);
    box-shadow: 0 12px 25px rgba(37, 99, 235, 0.3);
}

.premium-card .service-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 16px;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

.premium-card .service-description {
    font-size: 15px;
    color: var(--gray-500);
    line-height: 1.8;
}

/* =================================================================
   CTA
   ================================================================= */
.cta {
    padding: 120px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #1d4ed8 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(37, 99, 235, 0.2), transparent 60%);
    animation: ctaPulse 8s ease-in-out infinite;
}

@keyframes ctaPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.3);
        opacity: 1;
    }
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: clamp(1.875rem, 4vw, 2.5rem);
    line-height: 1.25;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 36px;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* =================================================================
   PAGE HEADER
   ================================================================= */
.page-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #1d4ed8 100%);
    padding: 160px 0 80px; /* Standardized from 180px 0 100px */
    text-align: center;
    position: relative;
}

.page-header-content {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    color: var(--white);
    margin-bottom: 16px;
}

.page-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
}

.breadcrumb {
    margin-top: 24px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.4);
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a:hover {
    color: var(--white);
}

/* =================================================================
   CONTACT
   ================================================================= */
.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.contact-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border-radius: 20px;
    padding: 40px 24px;
    text-align: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px rgba(37, 99, 235, 0.12);
    border-color: transparent;
}

.contact-card:hover::before {
    opacity: 1;
}

.contact-card-icon {
    width: 72px;
    height: 72px;
    background: rgba(37, 99, 235, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 24px;
    transition: transform 0.4s ease, background 0.4s ease, color 0.4s ease;
}

.contact-card:hover .contact-card-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--primary);
    color: var(--white);
}

.contact-card h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 14px;
}

.contact-card p {
    font-size: 16px;
    color: var(--gray-600);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 1024px) {
    .contact-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .contact-cards-grid {
        grid-template-columns: 1fr;
    }
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 72px;
    align-items: start;
}



.contact-info h2 {
    margin-bottom: 24px;
    font-size: clamp(1.875rem, 4vw, 2.5rem);
    line-height: 1.25;
}

.contact-info>p {
    margin-bottom: 36px;
    font-size: 18px;
    color: var(--gray-500);
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px 22px;
    background: var(--gray-50);
    border-radius: 16px;
    transition: var(--transition);
}

.contact-item:hover {
    background: var(--primary-light);
    transform: translateX(8px);
}

.contact-icon {
    width: 54px;
    height: 54px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-item p,
.contact-item a {
    font-size: 15px;
    color: var(--gray-600);
}

.contact-item a:hover {
    color: var(--primary);
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
}

.contact-form-container {
    background: var(--white);
    padding: 44px;
    border-radius: 24px;
    box-shadow: var(--shadow-2xl);
    border: 1px solid var(--gray-100);
}

.contact-form h3 {
    font-size: 24px;
    margin-bottom: 32px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 10px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-light);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

/* =================================================================
   FOOTER
   ================================================================= */
.footer {
    background: #0a0f1a;
    padding: 120px 0 60px; /* Standardized from 100px 0 40px */
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
}

.footer-content {
    display: grid;
    grid-template-columns: 1.4fr 1.2fr 1.4fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    margin-bottom: 24px;
}

.footer-brand p {
    font-size: 15px;
    color: var(--gray-400);
    line-height: 1.8;
    max-width: 300px;
    margin-bottom: 28px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-4px);
}

.footer-column h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 32px;
    position: relative;
    padding-bottom: 12px;
    display: inline-block;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-link {
    font-size: 15px;
    color: var(--gray-400);
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--white);
    padding-left: 8px;
}

.footer-bottom {
    padding-top: 36px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-bottom p {
    font-size: 14px;
    color: var(--gray-500);
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 28px;
}

.footer-bottom-links a {
    font-size: 14px;
    color: var(--gray-500);
}

.footer-bottom-links a:hover {
    color: var(--white);
}

/* Brand name highlight in copyright */
.footer-bottom .brand-link {
    color: var(--gray-300);
    font-weight: 600;
}

/* Developer credit */
.dev-credit {
    font-size: 13px;
    color: var(--gray-500);
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.dev-credit i.fa-code {
    color: var(--gray-600);
    font-size: 11px;
}

.dev-credit a {
    color: var(--gray-300);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.25s ease;
}

.dev-credit a:hover {
    color: #0077b5;
}

.dev-credit a .fa-linkedin {
    font-size: 14px;
    transition: color 0.25s ease;
}

.dev-credit a:hover .fa-linkedin {
    color: #0077b5;
}

/* =================================================================
   ANIMATIONS
   ================================================================= */
.fade-up {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.fade-left {
    opacity: 0;
    transform: translateX(-32px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.fade-up.visible,
.fade-left.visible {
    opacity: 1;
    transform: translate(0);
}

.stagger-1 {
    transition-delay: 0.1s;
}

.stagger-2 {
    transition-delay: 0.15s;
}

.stagger-3 {
    transition-delay: 0.2s;
}

.stagger-4 {
    transition-delay: 0.25s;
}

.stagger-5 {
    transition-delay: 0.3s;
}

.stagger-6 {
    transition-delay: 0.35s;
}

/* =================================================================
 /* --- ENHANCED EVENT CARDS --- */
.event-date-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 8px 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    z-index: 2;
    min-width: 60px;
}

.event-date-badge .day {
    display: block;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.event-date-badge .month {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--dark);
}

.event-timer {
    background: #f0f7ff;
    color: var(--primary);
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.event-timer.expired {
    background: #f0fdf4;
    color: #16a34a;
    border-color: rgba(22, 163, 74, 0.1);
}

.event-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: var(--gray-600);
}

.event-meta-row span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.event-meta-row i {
    color: var(--secondary);
}

.event-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.btn-readmore,
.btn-register {
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
}

.btn-readmore {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-readmore:hover {
    background: var(--primary);
    color: white;
}

.btn-register {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    color: white;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.2);
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(37, 99, 235, 0.3);
}

/* Modal tweaks for registration form */
#registration-modal .project-modal-content {
    max-width: 500px;
}

/* =================================================================
   RESPONSIVE
   ================================================================= */
@media (max-width: 1024px) {
    .floating-social {
        display: none;
    }

    .hero-container,
    .about-content,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 56px;
    }

    .hero-visual {
        display: flex;
        /* Ensure visible on smaller screens as well */
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .global-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .location-cards {
        grid-template-columns: repeat(2, 1fr);
        height: auto;
        padding: 0;
    }

    .globe-visual {
        display: none;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .news-bar {
        flex-direction: column;
    }

    .news-label {
        justify-content: center;
    }

    .navbar {
        z-index: 10002; /* Ensure navbar covers bot on mobile */
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        max-width: 300px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 100px 36px 40px;
        gap: 20px;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
        z-index: 10001; /* Above chatbot */
    }

    .nav-links li:last-child {
        display: flex;
        align-items: center;
        gap: 10px;
        width: 100%;
        justify-content: center;
        margin-top: auto; /* Push to bottom */
    }

    .nav-cta {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        max-width: 200px;
        padding: 12px 20px;
        font-size: 14px;
    }

    .nav-hint-icon {
        margin-top: 0;
        margin-left: 0;
        flex-shrink: 0;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-link {
        color: var(--gray-700) !important;
        font-size: 17px;
    }

    .mobile-toggle {
        display: flex;
        z-index: 10002; /* Above nav drawer */
    }

    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .section {
        padding: 45px 0; /* Standardized for mobile */
    }

    .section-header {
        margin-bottom: 40px; /* Standardized mobile gap */
    }

    .section-label {
        margin-bottom: 8px !important; /* Unified mobile gap */
    }

    .section-title {
        margin-bottom: 12px !important; /* Unified mobile gap */
    }

    .section-subtitle {
        margin-bottom: 16px !important; /* Unified mobile gap */
        font-size: 16px;
    }

    .page-header {
        padding: 100px 0 40px !important; /* Unified mobile header spacing */
    }

    .services-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        padding: 0 10px;
        margin-bottom: 30px;
    }

    .team-card {
        padding: 30px 20px 24px;
    }

    .container {
        padding: 0 16px;
    }

    .global-stats {
        grid-template-columns: 1fr;
    }

    .location-cards {
        grid-template-columns: 1fr;
    }

    .hero-buttons,
    .cta-buttons {
        flex-direction: column;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 16px; /* Reduced from 28px */
        padding-top: 20px; /* Added to reduce top whitespace */
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer {
        padding: 60px 0 40px; /* Standardized for mobile */
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
    }
}

.two-column-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 30px;
}

/* =================================================================
   PAGE HEADER (Sub-pages)
   ================================================================= */
.page-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
    padding: 160px 0 80px; /* Synchronized with main definition */
    position: relative;
    overflow: hidden;
    color: var(--white);
    text-align: center;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.1;
}

.page-header h1 {
    font-size: clamp(2.2rem, 5.2vw, 3.2rem);
    margin-bottom: 16px;
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-header p {
    font-size: clamp(1.1rem, 2.5vw, 1.25rem);
    color: rgba(255, 255, 255, 0.85);
    max-width: 700px;
    margin: 0 auto 24px;
    line-height: 1.6;
}

.breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 100px;
    backdrop-filter: blur(10px);
    font-size: 14px;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--white);
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.4);
}



/* =================================================================
   CONTACT PAGE
   ================================================================= */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    padding: 40px 0;
}

@media (max-width: 992px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.contact-info .section-label {
    display: block;
    margin-bottom: 16px;
}

.contact-info h2 {
    font-size: clamp(1.875rem, 4vw, 2.5rem);
    margin-bottom: 24px;
    line-height: 1.25;
}

.contact-details {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 16px;
    margin-bottom: 4px;
    color: var(--gray-900);
}

.contact-item p {
    color: var(--gray-600);
    font-size: 15px;
}

.contact-item a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.contact-form-container {
    background: var(--white);
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-form h3 {
    margin-bottom: 32px;
    font-size: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--gray-700);
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    font-family: inherit;
    font-size: 15px;
    transition: var(--transition);
    background: var(--gray-50);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px var(--primary-light);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-400);
}

/* =================================================================
   ANIMATION UTILITIES
   ================================================================= */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

.stagger-1 {
    transition-delay: 0.1s;
}

.stagger-2 {
    transition-delay: 0.2s;
}

.stagger-3 {
    transition-delay: 0.3s;
}

.stagger-4 {
    transition-delay: 0.4s;
}

.stagger-5 {
    transition-delay: 0.5s;
}

/* =================================================================
   CARD IMAGE FIX - Ensures consistent card sizes across all pages
   ================================================================= */
.projects-grid .project-card,
.events-grid .project-card {
    display: flex;
    flex-direction: column;
    max-width: 100%;
}

.projects-grid .project-image,
.events-grid .project-image,
.project-card .project-image {
    height: 220px !important;
    min-height: 220px !important;
    max-height: 220px !important;
    width: 100%;
    overflow: hidden;
    background: var(--gray-100);
    display: block;
    position: relative;
}

.projects-grid .project-image img,
.events-grid .project-image img,
.project-card .project-image img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block;
}

/* =================================================================
   PRIME BUTTON (Added for Consistency)
   ================================================================= */
.prime-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    box-shadow: 0 4px 14px 0 rgba(37, 99, 235, 0.35);
    width: 100%;
    /* Full width for modal consistency */
}

.prime-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px 0 rgba(37, 99, 235, 0.45);
}

.prime-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* =================================================================
   TEAM SECTION
   ================================================================= */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.team-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px 28px 32px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0;
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.team-card:hover::before {
    opacity: 1;
}

.team-photo {
    width: 130px;
    height: 130px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-light), var(--gray-100));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    border: 4px solid var(--white);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.2);
    transition: var(--transition);
}

.team-card:hover .team-photo {
    transform: scale(1.05);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.25);
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-info {
    padding-top: 8px;
}

.team-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
    line-height: 1.3;
}

.team-role {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 16px;
    line-height: 1.4;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}

.team-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    font-size: 1rem;
    transition: var(--transition);
}

.team-social a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.team-social a.email-link:hover {
    background: #EA4335;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 16px;
    color: var(--gray-400);
    font-size: 0.95rem;
    line-height: 1.5;
}

.footer-contact li i {
    color: var(--primary);
    margin-top: 4px;
    min-width: 20px;
    text-align: center;
}

/* =================================================================
   LEGAL MODAL
   ================================================================= */
.legal-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.legal-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.legal-modal-content {
    background-color: var(--white);
    color: var(--dark);
    margin: 0;
    padding: 40px;
    border-radius: 20px;
    width: 90%;
    max-width: 800px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: translateY(20px);
    transition: transform 0.3s ease;
    max-height: 85vh;
    overflow-y: auto;
}

.legal-modal.active .legal-modal-content {
    transform: translateY(0);
}

.legal-modal-close {
    position: absolute;
    top: 20px;
    right: 25px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 10;
}

.legal-modal-close:hover,
.legal-modal-close:focus {
    color: var(--primary);
    text-decoration: none;
}

.legal-text h2 {
    color: var(--primary);
    margin-bottom: 24px;
    font-size: clamp(1.5rem, 3.5vw, 1.875rem);
    border-bottom: 2px solid var(--gray-100);
    padding-bottom: 16px;
    line-height: 1.3;
}

.legal-text h3 {
    margin-top: 32px;
    margin-bottom: 12px;
    font-size: 1.25rem;
    color: var(--gray-900);
    font-weight: 700;
}

.legal-text p {
    margin-bottom: 16px;
    line-height: 1.7;
    color: var(--gray-600);
    font-size: 16px;
}

@media (max-width: 768px) {
    .legal-modal-content {
        margin: 10% auto;
        padding: 25px;
        width: 95%;
    }
}

/* =================================================================
   MOBILE OPTIMIZATIONS
   ================================================================= */
/* =================================================================
   MOBILE OPTIMIZATIONS
   ================================================================= */
@media (max-width: 768px) {
    .news-ticker {
        animation-duration: 400s;
        /* Slower for mobile */
    }
}

/* =================================================================
   CONSENT BANNER
   ================================================================= */
.privacy-consent-banner {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    width: 90%;
    max-width: 800px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 24px;
    z-index: 9999;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    transition: all 0.6s var(--ease);
    opacity: 0;
}

.privacy-consent-banner.active {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.consent-content {
    flex: 1;
}

.consent-content h4 {
    color: var(--white);
    font-size: 16px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.consent-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

.consent-content a {
    color: var(--accent);
    text-decoration: underline;
    font-weight: 500;
}

.consent-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-accept {
    background: var(--accent);
    color: var(--white);
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-accept:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

@media (max-width: 768px) {
    .privacy-consent-banner {
        flex-direction: column;
        bottom: 16px;
        padding: 20px;
        gap: 16px;
        text-align: center;
    }

    .consent-actions {
        width: 100%;
    }
}

.legal-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.legal-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.legal-modal-content {
    background-color: var(--white);
    color: var(--dark);
    margin: 0;
    padding: 40px;
    border-radius: 20px;
    width: 90%;
    max-width: 800px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: translateY(20px);
    transition: transform 0.3s ease;
    max-height: 85vh;
    overflow-y: auto;
}

.legal-modal.active .legal-modal-content {
    transform: translateY(0);
}

.legal-modal-close {
    position: absolute;
    top: 20px;
    right: 25px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 10;
}

.legal-modal-close:hover,
.legal-modal-close:focus {
    color: var(--primary);
    text-decoration: none;
}

.legal-text h2 {
    color: var(--primary);
    margin-bottom: 24px;
    font-size: clamp(1.5rem, 3.5vw, 1.875rem);
    border-bottom: 2px solid var(--gray-100);
    padding-bottom: 16px;
    line-height: 1.3;
}

.legal-text h3 {
    margin-top: 32px;
    margin-bottom: 12px;
    font-size: 1.25rem;
    color: var(--gray-900);
    font-weight: 700;
}

.legal-text p {
    margin-bottom: 16px;
    line-height: 1.7;
    color: var(--gray-600);
    font-size: 16px;
}

@media (max-width: 768px) {
    .legal-modal-content {
        margin: 10% auto;
        padding: 25px;
        width: 95%;
    }
}

/* =================================================================
   MOBILE OPTIMIZATIONS
   ================================================================= */
/* =================================================================
   MOBILE OPTIMIZATIONS
   ================================================================= */
@media (max-width: 768px) {
    .news-ticker {
        animation-duration: 400s;
        /* Slower for mobile */
    }
}

/* =================================================================
   CONSENT BANNER
   ================================================================= */
.privacy-consent-banner {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    width: 90%;
    max-width: 800px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 24px;
    z-index: 9999;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    transition: all 0.6s var(--ease);
    opacity: 0;
}

.privacy-consent-banner.active {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.consent-content {
    flex: 1;
}

.consent-content h4 {
    color: var(--white);
    font-size: 16px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.consent-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

.consent-content a {
    color: var(--accent);
    text-decoration: underline;
    font-weight: 500;
}

.consent-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-accept {
    background: var(--accent);
    color: var(--white);
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-accept:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

@media (max-width: 768px) {
    .privacy-consent-banner {
        flex-direction: column;
        bottom: 16px;
        padding: 20px;
        gap: 16px;
        text-align: center;
    }

    .consent-actions {
        width: 100%;
    }

    .btn-accept {
        width: 100%;
    }
}


/* =================================================================
   SARA LMS PAGE STYLES
   ================================================================= */

/* Hint Icon in Navbar */
.nav-hint-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
    margin-left: 10px;
    cursor: pointer;
    transition: var(--transition);
    vertical-align: middle;
    margin-top: -4px;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-decoration: none !important;
}

.nav-hint-icon:hover {
    transform: scale(1.1);
    background: var(--primary-dark);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* =================================================================
   SARA LMS — PRICING SECTION (PREMIUM REDESIGN)
   ================================================================= */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 50px;
    align-items: start;
}

/* ── Base card ── */
.pricing-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 0 0 36px;
    border: 1px solid rgba(0, 0, 0, 0.07);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    display: flex;
    flex-direction: column;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 28px 56px rgba(0, 0, 0, 0.13);
}

/* ── Coloured hero banner at top of each card ── */
.pricing-card-banner {
    padding: 32px 30px 24px;
    margin-bottom: 28px;
    position: relative;
}

.pricing-card.standard .pricing-card-banner {
    background: linear-gradient(135deg, #3f4a5a 0%, #5a6478 100%);
}

.pricing-card.plus .pricing-card-banner {
    background: linear-gradient(135deg, #1a56db 0%, #4b86f7 100%);
}

.pricing-card.premium .pricing-card-banner {
    background: linear-gradient(135deg, #b91c1c 0%, #ef4444 100%);
}

/* ── Package name inside banner ── */
.pricing-card-banner h3 {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
    letter-spacing: 0.4px;
}

/* ── Big price inside banner ── */
.pricing-price {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 2px;
    margin-bottom: 4px;
}

.pricing-price .currency {
    font-size: 28px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1;
    margin-bottom: 10px;
}

.pricing-price .amount {
    font-size: 68px;
    font-weight: 800;
    line-height: 1;
    color: #ffffff;
}

.pricing-price .period {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    margin-bottom: 10px;
}

.billing {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0;
}

/* ── Body area below banner ── */
.pricing-header {
    padding: 0 28px;
}

.pricing-header p {
    font-size: 16px;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 24px;
    min-height: 68px;
}

/* ── CTA Button ── */
.pricing-card .btn {
    display: block;
    width: calc(100% - 56px);
    margin: 0 28px 28px;
    border-radius: 10px;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.3px;
    color: #ffffff;
    text-decoration: none;
    transition: filter 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    border: none;
    cursor: pointer;
}

.pricing-card.standard .btn {
    background: linear-gradient(135deg, #3f4a5a, #5a6478);
    box-shadow: 0 6px 20px rgba(63, 74, 90, 0.35);
}

.pricing-card.plus .btn {
    background: linear-gradient(135deg, #1a56db, #4b86f7);
    box-shadow: 0 6px 20px rgba(26, 86, 219, 0.38);
}

.pricing-card.premium .btn {
    background: linear-gradient(135deg, #b91c1c, #ef4444);
    box-shadow: 0 6px 20px rgba(185, 28, 28, 0.38);
}

.pricing-card .btn:hover {
    filter: brightness(1.12);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
}

/* ── "Most Popular" badge ── */
.pricing-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    background: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 50px;
}

/* ── Divider ── */
.pricing-divider {
    height: 1px;
    background: var(--gray-100);
    margin: 0 28px 24px;
}

/* ── Features ── */
.pricing-features-container {
    text-align: left;
    padding: 0 28px;
}

.pricing-features-container h4 {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--gray-400);
    margin-bottom: 16px;
}

.pricing-features-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-features-list li {
    display: flex;
    align-items: center;
    gap: 11px;
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-800);
}

.pricing-features-list li i {
    color: #22c55e;
    font-size: 18px;
    flex-shrink: 0;
}

/* =================================================================
   SARA LMS — FEATURES SECTION (PREMIUM REDESIGN)
   ================================================================= */

.lms-premium-box {
    background: linear-gradient(160deg, #f8faff 0%, #ffffff 100%);
    border: 1.5px solid rgba(37, 99, 235, 0.12);
    border-radius: 28px;
    padding: 56px 48px;
    margin-top: 40px;
    box-shadow: 0 16px 48px rgba(37, 99, 235, 0.07);
}

.lms-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 48px;
}

.lms-feature-card {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 22px 20px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid rgba(37, 99, 235, 0.08);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.lms-feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(37, 99, 235, 0.12);
    border-color: rgba(37, 99, 235, 0.2);
}

.lms-feature-icon {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
}

.lms-feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.lms-feature-content h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #1e3a8a;
    line-height: 1.3;
}

.lms-feature-content p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.6;
    margin: 0;
}

/* =================================================================
   RESPONSIVE
   ================================================================= */
@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .lms-features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .lms-premium-box {
        padding: 32px 20px;
    }

    .pricing-card .btn {
        width: calc(100% - 40px);
        margin-left: 20px;
        margin-right: 20px;
    }

    .pricing-features-container {
        padding: 0 20px;
    }

    .pricing-header {
        padding: 0 20px;
    }

    .pricing-divider {
        margin: 0 20px 20px;
    }
}

/* =================================================================
   SERVICES THREE PILLARS
   ================================================================= */
.services-pillars {
    position: relative;
    padding: 120px 0; /* Standardized from 100px */
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.pillar-card {
    background: var(--white);
    padding: 48px 32px;
    border-radius: 24px;
    text-align: center;
    border: 1px solid var(--gray-100);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #10b981);
    transform: scaleX(0);
    transition: transform 0.4s var(--ease);
    transform-origin: left;
    z-index: 2;
}

.pillar-card:nth-child(2)::before {
    background: linear-gradient(90deg, #10b981, #059669);
}

.pillar-card:nth-child(3)::before {
    background: linear-gradient(90deg, #ef4444, #b91c1c);
}

.pillar-card:hover::before {
    transform: scaleX(1);
}

.pillar-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.pillar-visual {
    width: 160px;
    height: 120px;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.pillar-card:hover .pillar-visual {
    transform: scale(1.1);
}

.pillar-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 20px;
}

.pillar-card p {
    color: var(--gray-600);
    font-size: 1rem;
    line-height: 1.7;
}

@media (max-width: 1024px) {
    .pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .pillars-grid {
        grid-template-columns: 1fr;
    }
    
    .pillar-card {
        padding: 40px 24px;
    }

    .services-pillars {
        padding: 60px 0; /* Standardized for mobile */
    }
}

/* =================================================================
   REVIEWS SECTION
   ================================================================= */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.review-card {
    background: var(--white);
    padding: 48px;
    border-radius: 24px;
    border: 1px solid var(--gray-100);
    box-shadow: var(--shadow-lg);
    transition: var(--transition-slow);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.review-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, transparent 100%);
    border-radius: 0 0 0 60px;
    transition: var(--transition);
}

.review-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl);
    border-color: var(--primary-light);
}

.review-card:hover::before {
    width: 80px;
    height: 80px;
}

.review-quote {
    flex-grow: 1;
    margin-bottom: 32px;
    position: relative;
}

.review-quote i {
    font-size: 24px;
    color: var(--primary-light);
    margin-bottom: 16px;
    display: block;
}

.review-quote p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--gray-600);
    font-style: italic;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid var(--gray-100);
}

.author-org {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    background: var(--gray-50);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border: 1px solid var(--gray-100);
}

.author-org img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(0.5);
    transition: var(--transition);
}

.review-card:hover .author-org img {
    filter: grayscale(0);
}

.author-info h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 2px;
}

.author-info p {
    font-size: 13px;
    color: var(--primary);
    font-weight: 600;
}

@media (max-width: 768px) {
    .review-card {
        padding: 32px;
    }
}