:root {
    --primary: #4a90e2;
    --primary-glow: rgba(74, 144, 226, 0.3);
    --secondary: #f39c12;
    --accent-red: #e74c3c;
    --accent-purple: #9b59b6;
    --accent-teal: #1abc9c;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --white: #ffffff;
    --bg-light: #fdfdfd;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
    --premium-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-4: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-dark);
    background: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-weight: 700;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Premium Header Refined */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 8%;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.navbar.scrolled {
    padding: 0.8rem 8%;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.mobile-toggle {
    display: none;
}

.nav-logo {
    font-family: 'Gaegu', cursive;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-dark);
    text-decoration: none;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    line-height: 1;
}

.nav-logo:hover {
    transform: scale(1.05);
    color: var(--primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    display: block;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--primary);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.wheel-icon {
    width: 45px !important;
    height: 45px !important;
    transition: transform 0.5s ease;
}

.wheel-icon:hover {
    transform: rotate(180deg);
}

.lms-btn {
    background: linear-gradient(135deg, #e1f5fe 0%, #b3e5fc 100%);
    color: #0277bd;
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(2, 119, 189, 0.1);
    box-shadow: 0 4px 15px rgba(2, 119, 189, 0.1);
}

.lms-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(2, 119, 189, 0.2);
    background: linear-gradient(135deg, #b3e5fc 0%, #e1f5fe 100%);
}

.lms-btn span {
    font-size: 1.1rem;
}

/* Hero Section - Exact Layout */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 180px 10% 100px;
    position: relative;
    overflow: hidden;
    background: #fdfdfd;
}

.parallax-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background-size: cover;
    background-position: center;
    pointer-events: none;
    z-index: 0;
}

.layer-1 {
    transform: scale(1.1);
    z-index: 0;
}

.layer-2 {
    transform: scale(1.2);
    z-index: 0;
    filter: blur(4px);
}

.hero-content {
    max-width: 900px;
    z-index: 10;
    position: relative;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05);
}

.hero-title {
    font-size: 4.8rem;
    line-height: 1.1;
    color: #333;
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -2px;
    text-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 2rem;
    opacity: 0.8;
}

.hero-badge {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background: rgba(74, 144, 226, 0.08);
    color: var(--primary);
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    border: 1px solid rgba(74, 144, 226, 0.15);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.hero-badge:hover {
    background: rgba(74, 144, 226, 0.12);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.1);
}

.glass-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow:
        0 40px 100px rgba(0, 0, 0, 0.05),
        0 0 0 1px rgba(255, 255, 255, 0.2) inset;
    border-radius: 40px;
    padding: 4rem;
}

.services-hero .hero-content {
    text-align: left;
    margin-right: auto;
    max-width: 750px;
}

.services-hero .parallax-layer.layer-2 {
    z-index: 1;
    filter: none;
}


.hero-title span.red {
    color: #e91e63;
}

.hero-title span.blue {
    color: #3f51b5;
}

.btn-cta {
    font-size: 1.5rem;
    color: #3f51b5;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    border-bottom: 2px dashed #3f51b5;
    margin-top: 1rem;
    transition: transform 0.3s;
}

.btn-cta:hover {
    transform: translateY(-5px);
}

.magnetic-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--primary), var(--accent-purple));
    color: white;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(74, 144, 226, 0.3);
    border: none;
    cursor: pointer;
    z-index: 1;
}

.magnetic-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(74, 144, 226, 0.4);
}

.magnetic-btn.large-btn {
    padding: 1.2rem 3.5rem;
    font-size: 1.2rem;
}

.btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.magnetic-btn:hover .btn-glow {
    left: 100%;
}

.scroll-indicator {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-bottom: 2px solid var(--primary);
    border-right: 2px solid var(--primary);
    transform: rotate(45deg);
    animation: scroll-bounce 2s infinite;
}

@keyframes scroll-bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) rotate(45deg);
    }

    40% {
        transform: translateY(-10px) rotate(45deg);
    }

    60% {
        transform: translateY(-5px) rotate(45deg);
    }
}

/* Floating Elements (Background) */
.floating-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
    opacity: 0.5;
    pointer-events: none;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: var(--primary-glow);
    top: -100px;
    right: -100px;
    animation: float-blob 20s infinite alternate;
}

.blob-2 {
    width: 300px;
    height: 300px;
    background: rgba(243, 156, 18, 0.15);
    bottom: -50px;
    left: -50px;
    animation: float-blob 25s infinite alternate-reverse;
}

.blob-3 {
    width: 250px;
    height: 250px;
    background: rgba(155, 89, 182, 0.15);
    top: 20%;
    left: 10%;
    animation: float-blob 18s infinite alternate;
}

@keyframes float-blob {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(50px, 50px) scale(1.1);
    }
}

.floating-elements {
    animation: floating-elements 10s ease-in-out infinite alternate;
}

@keyframes floating-elements {
    0% {
        transform: scale(0.7) translateX(5%) translateY(0);
    }

    100% {
        transform: scale(0.72) translateX(6%) translateY(-20px);
    }
}

/* Floating Elements (Background) */
.floating-asset {
    position: absolute;
    pointer-events: none;
    z-index: 1;
}

/* Bottom Icons - Circular like screenshot */
.icon-row {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 3rem;
    z-index: 20;
    position: relative;
}

.icon-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    padding: 2rem 1.5rem;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    min-width: 180px;
}

.icon-box:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--primary);
}

.icon-box .circle-img {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.95) 100%);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.08),
        0 0 0 2px rgba(255, 255, 255, 0.8) inset,
        0 0 20px rgba(102, 126, 234, 0.1);
    font-size: 2.5rem;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.icon-box .circle-img::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent 30%,
            rgba(255, 255, 255, 0.5) 50%,
            transparent 70%);
    transform: rotate(45deg) translateX(-100%);
    transition: transform 0.6s ease;
}

.icon-box:hover .circle-img::before {
    transform: rotate(45deg) translateX(100%);
}

.icon-box .circle-img::after {
    content: '';
    position: absolute;
    inset: 3px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(157, 78, 221, 0.1));
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.icon-box:hover .circle-img::after {
    opacity: 1;
}

.icon-box:hover .circle-img {
    transform: translateY(-15px) scale(1.08) rotate(5deg);
    box-shadow:
        0 25px 50px rgba(102, 126, 234, 0.2),
        0 0 40px rgba(102, 126, 234, 0.15),
        0 0 0 4px rgba(102, 126, 234, 0.1) inset;
}

.icon-text {
    font-weight: 700;
    color: #333;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    text-align: center;
    line-height: 1.2;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.icon-box:hover .icon-text {
    color: var(--primary);
    transform: translateY(-5px);
}

/* Side Action Buttons */
.side-actions {
    position: fixed;
    right: 30px;
    bottom: 30%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 1000;
}

.side-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-wa {
    background: #25D366;
}

.btn-ph {
    background: #1a237e;
}

.btn-ml {
    background: #f39c12;
}

/* Sections */
section {
    padding: 60px 0;
}

.section-title {
    font-family: 'Gaegu', cursive;
    font-size: 2.2rem !important;
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: none;
    background: linear-gradient(135deg, var(--text-dark) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    width: 100%;
}

/* Removed underline to keep it minimal */
.section-title::after {
    display: none;
}

/* Form Styling - Clean & Modern */
.contact-container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 5rem;
    border-radius: 40px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05);
}

input,
textarea {
    width: 100%;
    padding: 1.2rem;
    border: 2px solid #eee;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    font-family: inherit;
    font-size: 1.1rem;
}

.submit-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
}

/* Pedagogy Pillars & Services */
.pillar-card {
    padding: 4rem 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.pillar-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
}

.pillar-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    display: inline-block;
    animation: pulse 3s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

/* Dynamic Reveal Classes - Professional Animations */
.reveal-item {
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.reveal-item.fade-up {
    transform: translateY(40px);
}

.reveal-item.fade-left {
    transform: translateX(-40px);
}

.reveal-item.fade-right {
    transform: translateX(40px);
}

.reveal-item.scale-in {
    transform: scale(0.85);
}

.reveal-item.visible {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}

/* Staggered delays for children - faster */
.reveal-item.stagger-1 {
    transition-delay: 0.08s;
}

.reveal-item.stagger-2 {
    transition-delay: 0.15s;
}

.reveal-item.stagger-3 {
    transition-delay: 0.22s;
}

.reveal-item.stagger-4 {
    transition-delay: 0.3s;
}

.reveal-item.stagger-5 {
    transition-delay: 0.38s;
}

/* Vision & Mission Enhanced */
.vision-mission-wrapper {
    position: relative;
    padding: 2rem 0;
}

.section-bg-sketch {
    position: absolute;
    inset: -100px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: -1;
    pointer-events: none;
}

.vm-badge {
    position: absolute;
    top: 2rem;
    right: 2rem;
    padding: 0.4rem 1rem;
    background: rgba(74, 144, 226, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-footer-accent {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent-purple));
    opacity: 0.5;
}

/* Program Card Enhancements */
.program-visual-accent {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    z-index: -1;
    opacity: 0.4;
    transition: all 0.6s ease;
}

.program-card:hover .program-visual-accent {
    transform: scale(1.5) translate(-20px, 20px);
    opacity: 0.6;
}

.feature-icon-box {
    width: 45px;
    height: 45px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
}

.feature-text {
    display: flex;
    flex-direction: column;
}

.feature-text strong {
    font-size: 0.85rem;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.feature-text span {
    font-size: 0.9rem;
    color: var(--text-light);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3.5rem;
}

.header-badge {
    display: inline-flex;
    align-items: center;
    padding-left: 1rem;
    border-left: 2px solid var(--primary);
    color: var(--primary);
    font-weight: 700;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1rem;
}

/* Removed the pulsing dot to keep it clean */
.header-badge::before {
    display: none;
}

@keyframes badge-pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.tagline {
    font-size: 1rem;
    color: var(--text-light);
    letter-spacing: 1px;
    font-weight: 400;
    margin-top: 0.5rem;
}

/* Vision & Mission Cards */
.vision-mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.vision-card,
.mission-card {
    padding: 4rem;
    position: relative;
    overflow: hidden;
}

.about {
    position: relative;
    padding-bottom: 0 !important;
}

.vm-icon {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    display: block;
}

.vision-card h3,
.mission-card h3 {
    font-family: 'Gaegu', cursive;
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
    color: var(--text-dark);
    font-weight: 700;
}

.mission-list {
    list-style: none;
    padding: 0;
}

.mission-list li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    align-items: center;
}

.mission-list li span {
    font-size: 1.2rem;
    color: var(--primary);
}

/* Value Cards */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 4rem;
}

.value-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 30px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.03);
    border: 1px solid #f0f0f0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.value-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(74, 144, 226, 0.1);
    border-color: rgba(74, 144, 226, 0.2);
}

.value-icon-wrapper {
    width: 80px;
    height: 80px;
    background: #f1f4f8;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    transition: all 0.3s ease;
}

.value-card:hover .value-icon-wrapper {
    background: var(--primary);
    transform: rotate(10deg);
}

.value-card:hover .value-icon {
    filter: brightness(0) invert(1);
}

.value-icon {
    font-size: 2.5rem;
}

.value-card h4 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

/* Pillar Grid (Services Overview) */
.pillar-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

/* About Section Background */
.about {
    background: linear-gradient(180deg, #f8f9ff 0%, #fff5f7 50%, #f0f9ff 100%);
    position: relative;
    overflow: hidden;
    padding: 120px 0;
}

@keyframes gradientPulse {
    0% {
        transform: scale(1) translateX(0);
    }

    50% {
        transform: scale(1.03) translateX(1%);
    }

    100% {
        transform: scale(1) translateX(0);
    }
}

.about .container {
    position: relative;
    z-index: 2;
}

.about .section-title {
    background: linear-gradient(90deg, var(--primary), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about .section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent-purple));
    border-radius: 2px;
    opacity: 0;
    transform: translateX(-50%) scaleX(0);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.about .section-title.visible::after {
    opacity: 1;
    transform: translateX(-50%) scaleX(1);
}

.about p {
    line-height: 1.9;
    font-size: 1.15rem;
    color: #444;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
}

.about p::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 0;
    height: 100%;
    width: 3px;
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    border-radius: 2px;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s ease;
}

.about.visible p::before {
    transform: scaleY(1);
}

.about p:hover {
    color: var(--text-dark);
    transform: translateX(10px);
}

/* Pedagogy Section - Vibrant with animated background */
.pedagogy {
    background: linear-gradient(180deg, #fff5f7 0%, #f0f9ff 50%, #f8f9ff 100%);
    position: relative;
    overflow: hidden;
}

.pedagogy::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 30% 20%, rgba(157, 78, 221, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 70% 60%, rgba(79, 172, 254, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 20% 80%, rgba(240, 147, 251, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(67, 233, 123, 0.08) 0%, transparent 40%);
    pointer-events: none;
    animation: backgroundFloat 15s ease-in-out infinite;
}

@keyframes backgroundFloat {

    0%,
    100% {
        transform: scale(1) rotate(0deg);
    }

    50% {
        transform: scale(1.02) rotate(1deg);
    }
}

/* Pedagogy title consolidated */

.pedagogy .section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-purple), var(--primary), var(--secondary));
    border-radius: 2px;
    opacity: 0;
    transform: translateX(-50%) scaleX(0);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.pedagogy .section-title.visible::after {
    opacity: 1;
    transform: translateX(-50%) scaleX(1);
}

/* Enhanced pillar cards with gradient accents */
.pillar-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    padding: 3rem 2rem;
    border-radius: 30px;
    text-align: center;
    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.03),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: visible;
}

.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-purple), var(--primary), var(--secondary), var(--accent-teal));
    transform: scaleX(0) translateY(-100%);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 0 0 30px 30px;
}

.pillar-card:hover::before {
    transform: scaleX(1) translateY(0);
}

.pillar-card:hover {
    transform: translateY(-20px) scale(1.02) rotateX(3deg);
    box-shadow:
        0 30px 60px rgba(102, 126, 234, 0.12),
        0 0 60px rgba(102, 126, 234, 0.08);
    border-color: rgba(102, 126, 234, 0.25);
}

.pillar-card .pillar-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 1;
}

.pillar-card .pillar-icon::after {
    content: '';
    position: absolute;
    inset: -15px;
    background: inherit;
    filter: blur(20px);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
    border-radius: 50%;
}

.pillar-card:hover .pillar-icon::after {
    opacity: 0.4;
}

.pillar-card:hover .pillar-icon {
    transform: scale(1.15) rotate(8deg) translateY(-5px);
}

.pillar-card h3 {
    font-family: 'Gaegu', cursive;
    font-size: 1.8rem;
    margin: 1rem 0;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.pillar-card:hover h3 {
    background: linear-gradient(90deg, var(--accent-purple), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transform: translateY(-3px);
}

.pillar-card p {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.7;
    transition: color 0.3s ease;
}

.pillar-card:hover p {
    color: #555;
}

.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-purple), var(--primary), var(--secondary), var(--accent-teal));
    transform: scaleX(0) translateY(-100%);
    transform-origin: left;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 0 0 30px 30px;
}

.pillar-card:hover::before {
    transform: scaleX(1) translateY(0);
}

.pillar-card:hover {
    transform: translateY(-25px) scale(1.03) rotateX(5deg);
    box-shadow:
        0 40px 80px rgba(102, 126, 234, 0.15),
        0 0 60px rgba(102, 126, 234, 0.1);
    border-color: rgba(102, 126, 234, 0.3);
}

.pillar-card .pillar-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 1;
}

.pillar-card .pillar-icon::after {
    content: '';
    position: absolute;
    inset: -15px;
    background: inherit;
    filter: blur(20px);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
    border-radius: 50%;
}

.pillar-card:hover .pillar-icon::after {
    opacity: 0.4;
}

.pillar-card:hover .pillar-icon {
    transform: scale(1.2) rotate(10deg) translateY(-5px);
}

.pillar-card h3 {
    font-family: 'Gaegu', cursive;
    font-size: 1.8rem;
    margin: 1rem 0;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.pillar-card:hover h3 {
    background: linear-gradient(90deg, var(--accent-purple), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transform: translateY(-3px);
}

.pillar-card p {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.7;
    transition: color 0.3s ease;
}

.pillar-card:hover p {
    color: #555;
}

/* Contact Section - Vibrant with gradient background */
.contact {
    background: linear-gradient(180deg, #fff5f7 0%, #f0f9ff 100%);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 80% 20%, rgba(157, 78, 221, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 20% 80%, rgba(67, 233, 123, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(74, 144, 226, 0.05) 0%, transparent 50%);
    pointer-events: none;
    animation: contactBgFloat 15s ease-in-out infinite alternate;
}

@keyframes contactBgFloat {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    100% {
        transform: translateY(-20px) rotate(2deg);
    }
}

.contact-container {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(30px) saturate(150%);
    padding: 5rem;
    border-radius: 40px;
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.05),
        0 10px 40px rgba(102, 126, 234, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.9);
    position: relative;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.contact-container::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: glowingOrb 8s ease-in-out infinite;
}

@keyframes glowingOrb {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.6;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

.contact-container::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(240, 147, 251, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: glowingOrb 10s ease-in-out infinite reverse;
}

.contact-container:hover {
    transform: translateY(-5px);
    box-shadow:
        0 40px 80px rgba(0, 0, 0, 0.08),
        0 15px 50px rgba(102, 126, 234, 0.12);
}

.contact input,
.contact textarea {
    width: 100%;
    padding: 1.2rem 1.5rem;
    border: 2px solid rgba(74, 144, 226, 0.15);
    border-radius: 15px;
    margin-bottom: 1.5rem;
    font-family: inherit;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    position: relative;
    overflow: hidden;
}

.contact input::before,
.contact textarea::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.contact input:hover::before,
.contact textarea:hover::before {
    left: 100%;
    transition: left 0.4s ease;
}

.contact input:focus,
.contact textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow:
        0 0 0 4px rgba(74, 144, 226, 0.08),
        0 8px 20px rgba(74, 144, 226, 0.12);
    transform: translateY(-2px);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact input::placeholder,
.contact textarea::placeholder {
    color: #aaa;
    transition: color 0.3s ease;
}

.contact input:focus::placeholder,
.contact textarea:focus::placeholder {
    color: var(--primary);
}

.submit-btn {
    background: linear-gradient(135deg, var(--primary) 0%, #3f51b5 100%);
    color: white;
    border: none;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(74, 144, 226, 0.3);
    position: relative;
    overflow: hidden;
}

.submit-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #3f51b5 0%, var(--primary) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.submit-btn:hover::after {
    opacity: 1;
}

.submit-btn {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent-purple) 50%, #3f51b5 100%);
    background-size: 200% 200%;
    animation: gradientShift 4s ease infinite;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.submit-btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 30px rgba(74, 144, 226, 0.35);
}

.submit-btn span,
.submit-btn text {
    position: relative;
    z-index: 2;
}

.btn-cta {
    font-size: 1.5rem;
    color: #3f51b5;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    border-bottom: 2px dashed #3f51b5;
    margin-top: 1rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    padding-bottom: 5px;
}

.btn-cta:hover {
    transform: translateY(-4px);
    color: var(--accent-purple);
}

/* Custom Scrollbar - Gradient */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: linear-gradient(180deg, #f8f9ff, #fff5f7);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--accent-purple), var(--primary));
    border-radius: 6px;
    min-height: 40px;
    transition: background 0.2s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--primary), var(--accent-purple));
}

.hero-title span.red {
    color: #e91e63;
    background: linear-gradient(90deg, #e91e63, #ff6b9d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title span.blue {
    color: #3f51b5;
    background: linear-gradient(90deg, #3f51b5, #667eea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Enhanced CTA button with animated gradient border */
.btn-cta {
    font-size: 1.5rem;
    color: #3f51b5;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    border-bottom: 2px dashed #3f51b5;
    margin-top: 1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    padding-bottom: 5px;
}

.btn-cta::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-purple), var(--secondary));
    transition: width 0.4s ease;
}

.btn-cta:hover::after {
    width: 100%;
}

.btn-cta:hover {
    transform: translateY(-5px);
    color: var(--accent-purple);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* ===== ABOUT SECTION - VISION & MISSION ===== */
.about-content {
    position: relative;
    z-index: 2;
}

.vision-mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 1.5rem auto;
    max-width: 1100px;
}

.vision-card,
.mission-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    padding: 3rem;
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.04),
        0 0 0 1px rgba(255, 255, 255, 0.8) inset;
    border: 1px solid rgba(255, 255, 255, 0.9);
    position: relative;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.vision-card::before,
.mission-card::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    filter: blur(50px);
    opacity: 0.3;
    transition: all 0.5s ease;
}

.vision-card::before {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.6), rgba(157, 78, 221, 0.6));
}

.mission-card::before {
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.6), rgba(0, 242, 254, 0.6));
}

.vision-card:hover::before,
.mission-card:hover::before {
    transform: scale(1.5);
    opacity: 0.5;
}

.vision-card:hover,
.mission-card:hover {
    transform: translateY(-10px);
    box-shadow:
        0 30px 60px rgba(102, 126, 234, 0.1),
        0 0 0 1px rgba(102, 126, 234, 0.15) inset;
}

.vm-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.1));
}

.vision-card h3,
.mission-card h3 {
    font-family: 'Gaegu', cursive;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.vision-card p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-light);
}

.mission-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mission-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.mission-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-teal);
    font-weight: bold;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.mission-list li:hover {
    transform: translateX(5px);
    color: var(--text-dark);
}

.mission-list li:hover::before {
    transform: scale(1.2);
}

/* Values Section */

/* Journey Path UI */
.journey-wrapper {
    position: relative;
    padding: 2rem 0 3rem;
    /* Restored some bottom padding for the divider */
    overflow: hidden;
}







.journey-container {
    position: relative;
    width: 100%;
    height: 700px;
    /* Refined height */
    margin-top: 2rem;
}



.journey-path-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.journey-path-svg path {
    stroke-dasharray: 12, 12;
    animation: dash-flow 30s linear infinite;
}

@keyframes dash-flow {
    to {
        stroke-dashoffset: -1000;
    }
}

.journey-point {
    position: absolute;
    z-index: 10;
    transform: translate(-50%, -50%);
    width: 280px;
    /* Reduced width to prevent clumping */
}


.journey-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(25px);
    padding: 1.5rem;
    border-radius: 35px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Centered alignment for cleaner look */
    text-align: center;
    gap: 1rem;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}


.journey-card:hover {
    transform: translateY(-15px) scale(1.03);
    background: white;
    box-shadow: 0 30px 70px rgba(74, 144, 226, 0.12);
    border-color: var(--primary);
}

.journey-stage-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 10px 20px rgba(74, 144, 226, 0.3);
    z-index: 2;
}

.journey-icon {
    font-size: 2.2rem;
    background: #f8f9ff;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    flex-shrink: 0;
    box-shadow: inset 0 0 10px rgba(74, 144, 226, 0.1);
}

.journey-content h4 {
    font-family: 'Gaegu', cursive;
    font-size: 1.6rem;
    margin-bottom: 0.4rem;
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.2;
}

.journey-content p {
    font-size: 0.95rem;
    line-height: 1.4;
    color: var(--text-light);
    margin: 0;
}



.path-decoration {
    position: absolute;
    font-size: 2rem;
    z-index: 5;
    animation: float-simple 4s ease-in-out infinite alternate;
}

.journey-character {
    position: absolute;
    z-index: 1;
    pointer-events: none;
}

@keyframes float-simple {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-15px);
    }
}

/* Mobile Responsiveness for Journey */
@media (max-width: 992px) {
    .journey-container {
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 3rem;
        padding: 4rem 1.5rem;
        position: relative;
    }

    /* Vertical dashed line for mobile */
    .journey-container::before {
        content: '';
        position: absolute;
        left: 25px;
        top: 0;
        bottom: 0;
        width: 2px;
        border-left: 2px dashed #d1d1d1;
        z-index: 0;
    }

    .journey-point {
        position: relative !important;
        left: 0 !important;
        top: 0 !important;
        transform: none !important;
        width: 100%;
        padding-left: 50px;
    }

    .journey-card {
        text-align: left;
        align-items: flex-start;
        padding: 1.5rem;
    }

    .journey-stage-badge {
        left: 0;
        transform: none;
        top: -12px;
        font-size: 0.65rem;
    }

    .journey-path-svg,
    .path-decoration,
    .journey-character {
        display: none;
    }
}


/*
 * ===== PROGRAMS SECTION =====
 */

.programs {
    background: linear-gradient(180deg, #fff5f7 0%, #f0f9ff 50%, #fff5f7 100%);
    position: relative;
    overflow: hidden;
    padding: 60px 0;
    /* Restored standard padding */
    margin-top: 0;
}

.wavy-divider {
    width: 100%;
    line-height: 0;
    margin-top: 2rem;
}

.wavy-divider svg {
    width: 100%;
    height: 60px;
    display: block;
}

.wavy-divider path {
    fill: #fff5f7;
    /* Matching the top color of the programs section gradient */
}





.programs::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 30%, rgba(157, 78, 221, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(102, 126, 234, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(240, 147, 251, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.programs .container {
    position: relative;
    z-index: 2;
}

.section-subtitle {
    text-align: center;
    font-size: 1.3rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.programs-wrapper {
    display: flex;
    gap: 3rem;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.program-card {
    flex: 1;
    min-width: 400px;
    max-width: 550px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(25px);
    border-radius: 40px;
    overflow: hidden;
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.05),
        0 10px 30px rgba(102, 126, 234, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.5);
    position: relative;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hauna-card {
    transform-origin: center bottom;
}

.nurture-card {
    transform-origin: center bottom;
}

.program-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow:
        0 30px 60px rgba(102, 126, 234, 0.12),
        0 10px 30px rgba(102, 126, 234, 0.08);
}

.card-glow {
    height: 5px;
}

.hauna-card .card-glow {
    background: linear-gradient(90deg, var(--primary), #667eea, var(--accent-purple));
    animation: glowShift1 3s ease-in-out infinite;
}

.nurture-card .card-glow {
    background: linear-gradient(90deg, var(--accent-teal), #00f2fe, var(--secondary));
    animation: glowShift2 3s ease-in-out infinite;
}

@keyframes glowShift1 {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes glowShift2 {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.program-header {
    padding: 2.5rem 2.5rem 1.5rem;
    text-align: center;
    position: relative;
}

.hauna-card .program-header {
    background: linear-gradient(180deg, rgba(102, 126, 234, 0.08) 0%, transparent 100%);
}

.nurture-card .program-header {
    background: linear-gradient(180deg, rgba(26, 188, 156, 0.08) 0%, transparent 100%);
}

.program-logo {
    font-family: 'Gaegu', cursive;
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--accent-purple), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nurture-logo {
    background: linear-gradient(135deg, var(--accent-teal), #00f2fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.program-type {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hauna-card .program-type {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15), rgba(157, 78, 221, 0.15));
    color: var(--accent-purple);
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.nurture-card .program-type {
    background: linear-gradient(135deg, rgba(26, 188, 156, 0.15), rgba(0, 242, 254, 0.15));
    color: var(--accent-teal);
    border: 1px solid rgba(26, 188, 156, 0.2);
}

.program-content {
    padding: 0 2.5rem 2.5rem;
}

.program-content h3 {
    font-family: 'Gaegu', cursive;
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
    font-weight: 700;
}

.program-content>p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.program-features {
    display: grid;
    gap: 1rem;
    margin-bottom: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.feature:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.08);
    transition: all 0.25s ease;
}

.mission-list li {
    transition: all 0.25s ease;
}

.mission-list li:hover::before {
    transform: scale(1.1);
}

/* Contact container hover */
.contact-container:hover {
    transform: translateY(-5px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hauna-card .feature:hover {
    border-color: rgba(102, 126, 234, 0.3);
}

.nurture-card .feature:hover {
    border-color: rgba(26, 188, 156, 0.3);
}

.feature-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature span:last-child {
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 500;
}

.program-cta {
    text-align: center;
    margin-top: 1.5rem;
}

.program-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
}

.hauna-btn {
    background: linear-gradient(135deg, var(--primary), var(--accent-purple));
    color: white;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.hauna-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

.nurture-btn {
    background: linear-gradient(135deg, var(--accent-teal), #00f2fe);
    color: white;
    box-shadow: 0 10px 30px rgba(26, 188, 156, 0.3);
}

.nurture-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(26, 188, 156, 0.4);
}

.program-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.program-btn:hover::after {
    left: 100%;
}

.programs-cta {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.2rem;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.programs-cta:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.1);
}

.programs-cta strong {
    color: var(--accent-purple);
    font-weight: 700;
}

/* Custom Scrollbar - Gradient */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: linear-gradient(180deg, #f8f9ff, #fff5f7);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary), var(--accent-purple));
    border-radius: 6px;
    min-height: 40px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--accent-purple), var(--primary));
}

/* Premium Mesh Gradient Backgrounds */
.about::before {
    background:
        radial-gradient(ellipse 60% 60% at 20% 30%, rgba(102, 126, 234, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse 70% 50% at 70% 60%, rgba(240, 147, 251, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse 80% 80% at 50% 90%, rgba(67, 233, 123, 0.1) 0%, transparent 60%);
    z-index: 0;
    opacity: 1;
}

.about::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
    opacity: 0.4;
}

.pedagogy::before {
    background:
        radial-gradient(circle at 30% 20%, rgba(157, 78, 221, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 70% 60%, rgba(79, 172, 254, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 20% 80%, rgba(240, 147, 251, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(67, 233, 123, 0.08) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
    opacity: 1;
}

.pedagogy::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
    opacity: 0.4;
}

.contact::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
    opacity: 0.4;
}

/* Icon row staggered animation */
.icon-row .icon-box:nth-child(1) {
    animation-delay: 0.1s;
}

.icon-row .icon-box:nth-child(2) {
    animation-delay: 0.2s;
}

.icon-row .icon-box:nth-child(3) {
    animation-delay: 0.3s;
}

.icon-row .icon-box:nth-child(4) {
    animation-delay: 0.4s;
}

/* Form input animation on focus */
input:focus,
textarea:focus {
    animation: inputFocus 0.2s ease;
}

@keyframes inputFocus {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-2px);
    }

    100% {
        transform: translateY(0);
    }
}

/* Smooth transitions for all interactive elements */
button,
a,
input,
textarea {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Custom selection color */
::selection {
    background: rgba(102, 126, 234, 0.2);
    color: var(--text-dark);
}

/* Better focus states for accessibility */
*:focus-visible {
    outline: 2px solid var(--accent-purple);
    outline-offset: 3px;
}

/* Premium Mesh Gradient Backgrounds */
.about::before,
.programs::before,
.pedagogy::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    transition: opacity 1s ease;
}

.about::before {
    background:
        radial-gradient(ellipse 60% 60% at 20% 30%, rgba(102, 126, 234, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse 70% 50% at 70% 60%, rgba(240, 147, 251, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse 80% 80% at 50% 90%, rgba(67, 233, 123, 0.08) 0%, transparent 60%);
}

.programs::before {
    background:
        radial-gradient(circle at 30% 40%, rgba(157, 78, 221, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 70% 60%, rgba(79, 172, 254, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 50% 80%, rgba(240, 147, 251, 0.08) 0%, transparent 40%);
    animation: backgroundFloat 20s ease-in-out infinite;
}

@keyframes backgroundFloat {

    0%,
    100% {
        transform: scale(1) rotate(0deg);
    }

    50% {
        transform: scale(1.05) rotate(1deg);
    }
}

.programs.visible::before,
.about.visible::before {
    opacity: 1;
}

/* Noise texture overlay for depth */
.about::after,
.programs::after,
.pedagogy::after,
.contact::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.025'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 1s ease;
}

.about.visible::after,
.programs.visible::after,
.pedagogy.visible::after,
.contact.visible::after {
    opacity: 1;
}

/* Glass effect for form container */
.contact-container {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(30px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.95);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.pedagogy .container {
    position: relative;
    z-index: 2;
}

/* consolidated */

.pedagogy .section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-purple), var(--primary), var(--secondary));
    border-radius: 2px;
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.pedagogy .section-title.visible::after {
    opacity: 1;
    transform: translateX(-50%) scaleX(1);
}

/* Active section indicator in navbar */
.navbar.scrolled {
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
}

/* Side Action Buttons - Gradient */
.side-actions {
    position: fixed;
    right: 30px;
    bottom: 30%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 1000;
}

.side-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.side-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.side-btn:hover::before {
    left: 100%;
}

.btn-wa {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.btn-ph {
    background: linear-gradient(135deg, #1a237e, #3949ab);
}

.btn-ml {
    background: linear-gradient(135deg, #f39c12, #e67e22);
}

.side-btn:hover {
    transform: translateX(-5px) scale(1.1);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

/* Form success animation */
@keyframes success-pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.4);
    }

    50% {
        transform: scale(1.02);
        box-shadow: 0 0 0 10px rgba(46, 204, 113, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(46, 204, 113, 0);
    }
}

.form-success {
    animation: success-pulse 0.6s ease;
}

.icon-box .circle-img {
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.08),
        0 0 0 2px rgba(255, 255, 255, 0.8) inset;
}

.icon-box:hover .circle-img {
    box-shadow:
        0 20px 40px rgba(102, 126, 234, 0.18),
        0 0 0 3px rgba(102, 126, 234, 0.2) inset,
        0 0 25px rgba(102, 126, 234, 0.12);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-purple), var(--primary), var(--secondary), var(--accent-teal));
    background-size: 300% 100%;
    animation: progressGradient 3s ease infinite;
    z-index: 9999;
    transform-origin: left;
    transition: transform 0.1s ease;
}

@keyframes progressGradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Glow effect on form container on visible */
.contact-container.visible {
    animation: containerReveal 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes containerReveal {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Title animation with underline consolidated */

.section-title.visible {
    animation: titlePop 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes titlePop {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Custom selection color */
::selection {
    background: rgba(102, 126, 234, 0.2);
    color: var(--text-dark);
}

/* Better focus states for accessibility */
*:focus-visible {
    outline: 2px solid var(--accent-purple);
    outline-offset: 3px;
}

.deco-circle {
    width: 300px;
    height: 300px;
    border: 3px solid var(--primary);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.deco-square {
    width: 150px;
    height: 150px;
    border: 2px solid var(--secondary);
    transform: rotate(45deg);
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(45deg);
    }

    50% {
        transform: translateY(-30px) rotate(45deg);
    }
}

/* Pedegogy Section - Enhanced Grid */
.pedagogy .container {
    position: relative;
    z-index: 2;
}

/* consolidated */

.pedagogy .section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
    opacity: 0;
    transition: all 0.6s ease;
}

.pedagogy .section-title.visible::after {
    opacity: 1;
    width: 100px;
}

/* Active section indicator in navbar */
.navbar.scrolled {
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.98);
}

/* Form success animation */
@keyframes success-pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.form-success {
    animation: success-pulse 0.5s ease;
}

/* Icon box hover effect enhancement */
.icon-box .circle-img {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.icon-box:hover .circle-img {
    box-shadow: 0 20px 40px rgba(74, 144, 226, 0.15);
}

/* Scroll progress indicator (optional) */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    z-index: 9999;
    transform-origin: left;
    transition: transform 0.1s ease;
}

/* Premium Mesh Gradient Backgrounds */
.about::after,
.pedagogy::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(74, 144, 226, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 60% 60% at 80% 60%, rgba(243, 156, 18, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse 100% 100% at 50% 100%, rgba(233, 30, 99, 0.04) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    transition: opacity 1s ease;
}

.about.visible::after,
.pedagogy.visible::after {
    opacity: 1;
}

/* Glass effect for form container */
.contact-container {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: all 0.6s ease;
}

.contact-container:hover {
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

/* Enhanced floating shapes animation */
@keyframes floatShape1 {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(20px, -20px) rotate(120deg);
    }

    66% {
        transform: translate(-10px, 20px) rotate(240deg);
    }
}

@keyframes floatShape2 {

    0%,
    100% {
        transform: translate(0, 0) rotate(45deg);
    }

    50% {
        transform: translate(30px, 15px) rotate(225deg);
    }
}

.deco-circle {
    animation: floatShape1 15s ease-in-out infinite;
}

.deco-square {
    animation: floatShape2 12s ease-in-out infinite;
}

/* Icon row staggered animation */
.icon-row .icon-box:nth-child(1) {
    animation-delay: 0.1s;
}

.icon-row .icon-box:nth-child(2) {
    animation-delay: 0.2s;
}

.icon-row .icon-box:nth-child(3) {
    animation-delay: 0.3s;
}

.icon-row .icon-box:nth-child(4) {
    animation-delay: 0.4s;
}

/* Form input animation on focus */
input:focus,
textarea:focus {
    animation: inputFocus 0.3s ease;
}

@keyframes inputFocus {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-3px);
    }

    100% {
        transform: translateY(0);
    }
}

/* Smooth transitions for all interactive elements */
button,
a,
input,
textarea {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Enhanced pillar card inner glow */
.pillar-card .pillar-icon {
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.1) 0%, rgba(243, 156, 18, 0.1) 100%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
}

.pillar-card .pillar-icon::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    background: inherit;
    filter: blur(10px);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.pillar-card:hover .pillar-icon::before {
    opacity: 0.5;
}

/* Custom selection color */
::selection {
    background: rgba(74, 144, 226, 0.2);
    color: var(--text-dark);
}

/* Better focus states for accessibility */
*:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

/* Mobile-responsive adjustments */
/* ===== CONTACT PAGE SPECIFIC STYLES ===== */
.contact-page-content {
    padding: 100px 0;
    background: linear-gradient(180deg, #fdfdfd 0%, #f1f4f8 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
}

.info-card {
    display: flex;
    gap: 1.5rem;
    background: white;
    padding: 2rem;
    border-radius: 25px;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid #f0f0f0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.info-card:hover {
    transform: translateY(-10px) translateX(5px);
    box-shadow: 0 20px 40px rgba(74, 144, 226, 0.1);
    border-color: rgba(74, 144, 226, 0.2);
}

.info-icon {
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
    background: #f1f4f8;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.info-card:hover .info-icon {
    background: var(--primary);
    color: white;
    transform: rotate(10deg);
}

.info-text h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.info-text p {
    color: var(--text-light);
    line-height: 1.6;
}

.social-connect {
    margin-top: 3rem;
    padding: 2rem;
}

.social-connect h3 {
    font-family: 'Gaegu', cursive;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 0.8rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-5px);
}

.contact-form-col .contact-container {
    padding: 3.5rem;
    width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Map Section */
.map-section {
    padding: 0 0 100px;
}

.map-placeholder {
    height: 500px;
    border-radius: 40px;
    background: #e0e0e0;
    overflow: hidden;
    position: relative;
}

.map-bg {
    width: 100%;
    height: 100%;
    background-image: url('https://api.mapbox.com/styles/v1/mapbox/light-v10/static/77.2090,28.6139,12/1200x500?access_token=pk.eyJ1IjoiYm90LWd1eSIsImEiOiJja2x6enp6enowMDAwMnBsdDdkY3p6enp6In0.fake-token');
    background-size: cover;
    background-position: center;
    filter: grayscale(100%) opacity(0.6);
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(74, 144, 226, 0.05);
    backdrop-filter: blur(2px);
    z-index: 2;
}

.map-badge {
    padding: 1rem 2.5rem;
    background: white;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    color: var(--primary);
}

@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .pillar-card {
        padding: 2rem 1.5rem;
    }

    .contact-container {
        padding: 3rem 2rem;
    }

    .vision-mission-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .programs-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .program-card {
        min-width: 100%;
        max-width: 500px;
    }

    .program-header {
        padding: 2rem 2rem 1rem;
    }

    .program-content {
        padding: 0 2rem 2rem;
    }
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 3rem;
    }

    .section-title {
        font-size: 1.3rem !important;
    }

    .nav-links {
        display: none;
    }

    .program-logo {
        font-size: 2.2rem;
    }

    .icon-row {
        gap: 2rem;
    }

    .about p {
        font-size: 1.05rem;
    }
}

/* Ensure sections have proper z-index and positioning */
.about,
.programs,
.pedagogy,
.contact {
    position: relative;
    z-index: 1;
}

/* About section gradient background - move to use more colors */
.about {
    background: linear-gradient(180deg, #f0f9ff 0%, #f8f9ff 50%, #fff5f7 100%);
}

.programs {
    margin-top: -1px;
}

/* Values section cards */
.value-card {
    transition-delay: calc(var(--index) * 0.1s);
}

.value-card:nth-child(1) {
    --index: 0;
}

.value-card:nth-child(2) {
    --index: 1;
}

.value-card:nth-child(3) {
    --index: 2;
}

/* Program card inner animations */
.program-card .feature {
    transition-delay: calc(var(--f-index) * 0.05s);
}

.feature:nth-child(1) {
    --f-index: 0;
}

.feature:nth-child(2) {
    --f-index: 1;
}

.feature:nth-child(3) {
    --f-index: 2;
}

.feature:nth-child(4) {
    --f-index: 3;
}

/*
 * ===== DECORATIVE ELEMENTS =====
 */

/* Animated gradient blobs */
.about .blob,
.programs .blob,
.pedagogy .blob,
.contact .blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
    animation: blobFloat 12s ease-in-out infinite;
}

.about .blob-1 {
    top: 5%;
    left: 5%;
    width: 220px;
    height: 220px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.5), rgba(157, 78, 221, 0.5));
}

.about .blob-2 {
    top: 65%;
    right: 8%;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(240, 147, 251, 0.45), rgba(157, 78, 221, 0.45));
    animation-delay: 2s;
}

.about .blob-3 {
    bottom: 15%;
    left: 40%;
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, rgba(67, 233, 123, 0.4), rgba(79, 172, 254, 0.4));
    animation-delay: 4s;
}

.programs .blob-1 {
    top: 10%;
    right: 15%;
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, rgba(157, 78, 221, 0.45), rgba(102, 126, 234, 0.45));
}

.programs .blob-2 {
    bottom: 10%;
    left: 10%;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(26, 188, 156, 0.4), rgba(0, 242, 254, 0.4));
    animation-delay: 2s;
}

.pedagogy .blob-1 {
    top: 30%;
    left: 10%;
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, rgba(157, 78, 221, 0.35), rgba(102, 126, 234, 0.35));
}

.pedagogy .blob-2 {
    top: 60%;
    right: 20%;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.3), rgba(0, 242, 254, 0.3));
    animation-delay: 3s;
}

@keyframes blobFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }

    25% {
        transform: translate(20px, -20px) scale(1.08) rotate(90deg);
    }

    50% {
        transform: translate(-10px, 15px) scale(0.95) rotate(180deg);
    }

    75% {
        transform: translate(-15px, -10px) scale(1.02) rotate(270deg);
    }
}

/* Floating geometric shapes */
.geo-shape {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    opacity: 0.12;
}

.geo-circle {
    border: 2px solid var(--accent-purple);
    border-radius: 50%;
    animation: geoFloat1 12s ease-in-out infinite;
}

.geo-square {
    border: 2px solid var(--accent-teal);
    transform: rotate(45deg);
    animation: geoFloat2 15s ease-in-out infinite;
}

.geo-triangle {
    width: 0 !important;
    height: 0 !important;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 50px solid var(--secondary);
    opacity: 0.08;
    animation: geoFloat3 18s ease-in-out infinite;
}

@keyframes geoFloat1 {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(15px, -20px) rotate(90deg);
    }

    50% {
        transform: translate(-8px, 15px) rotate(180deg);
    }

    75% {
        transform: translate(-20px, -15px) rotate(270deg);
    }
}

@keyframes geoFloat2 {

    0%,
    100% {
        transform: translate(0, 0) rotate(45deg);
    }

    50% {
        transform: translate(20px, 15px) rotate(225deg);
    }
}

@keyframes geoFloat3 {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(15px, -25px) rotate(120deg);
    }

    66% {
        transform: translate(-25px, 10px) rotate(240deg);
    }
}

/* Shapes positioned in sections */
.about .shape-1 {
    top: 15%;
    left: 8%;
    width: 80px;
    height: 80px;
    animation-delay: 0s;
}

.about .shape-2 {
    top: 65%;
    right: 12%;
    width: 60px;
    height: 60px;
    animation-delay: 2s;
}

.about .shape-3 {
    bottom: 35%;
    left: 55%;
    width: 90px;
    height: 90px;
    animation-delay: 4s;
}

.programs .shape-1 {
    top: 20%;
    left: 5%;
    width: 70px;
    height: 70px;
    animation-delay: 1s;
}

.programs .shape-2 {
    top: 70%;
    right: 10%;
    width: 100px;
    height: 100px;
    animation-delay: 3s;
}

.programs .shape-3 {
    bottom: 20%;
    left: 20%;
    width: 60px;
    height: 60px;
    animation-delay: 5s;
}

.pedagogy .shape-1 {
    top: 25%;
    right: 8%;
    width: 90px;
    height: 90px;
    animation-delay: 1s;
}

.pedagogy .shape-2 {
    bottom: 20%;
    left: 15%;
    width: 70px;
    height: 70px;
    animation-delay: 3s;
}

.pedagogy .shape-3 {
    top: 50%;
    left: 5%;
    width: 110px;
    height: 110px;
    animation-delay: 5s;
}

.contact .shape-1 {
    top: 10%;
    left: 10%;
    width: 120px;
    height: 120px;
    animation-delay: 0s;
}

.contact .shape-2 {
    bottom: 20%;
    right: 10%;
    width: 80px;
    height: 80px;
    animation-delay: 2s;
}

.contact .shape-3 {
    top: 40%;
    right: 5%;
    width: 60px;
    height: 60px;
    animation-delay: 4s;
}

/* Shooting stars */
.shooting-star {
    position: absolute;
    width: 4px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--secondary), var(--primary));
    border-radius: 50%;
    animation: shoot 3s ease-in-out infinite;
    pointer-events: none;
    opacity: 0;
    z-index: 1;
}

@keyframes shoot {
    0% {
        transform: translateX(0) translateY(0) scale(0);
        opacity: 0;
    }

    10% {
        transform: translateX(80px) translateY(-30px) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(250px) translateY(-90px) scale(0.5);
        opacity: 0;
    }
}

.about .star-1 {
    top: 25%;
    left: 8%;
    animation-delay: 0s;
}

.about .star-2 {
    top: 45%;
    left: 35%;
    animation-delay: 1.5s;
}

.programs .star-1 {
    top: 15%;
    right: 20%;
    animation-delay: 0.5s;
}

.programs .star-2 {
    top: 55%;
    left: 12%;
    animation-delay: 2.5s;
}

/* Scroll progress gradient */
.scroll-progress {
    height: 4px;
    background: linear-gradient(90deg, var(--accent-purple), var(--primary), var(--secondary), var(--accent-teal));
    background-size: 300% 100%;
    animation: progressGradient 3s ease infinite;
}

@keyframes progressGradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Contact hover */
.contact-container:hover {
    transform: translateY(-8px);
    box-shadow:
        0 45px 90px rgba(0, 0, 0, 0.1),
        0 18px 60px rgba(102, 126, 234, 0.15);
}

/* Enhanced pillar card glow */
.pillar-card:hover {
    box-shadow:
        0 35px 70px rgba(102, 126, 234, 0.12),
        0 0 80px rgba(102, 126, 234, 0.08);
}

/* Title reveal animation */
.section-title.visible {
    animation: titlePop 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes titlePop {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ===== VIBRANT DECORATIVE ELEMENTS ===== */

/* Animated gradient blobs */
.about .blob,
.pedagogy .blob,
.contact .blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
    pointer-events: none;
    animation: blobFloat 10s ease-in-out infinite;
}

.about .blob-1 {
    top: 10%;
    left: 5%;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.6), rgba(157, 78, 221, 0.6));
    animation-delay: 0s;
}

.about .blob-2 {
    top: 60%;
    right: 10%;
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, rgba(240, 147, 251, 0.5), rgba(157, 78, 221, 0.5));
    animation-delay: 2s;
}

.about .blob-3 {
    bottom: 20%;
    left: 30%;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, rgba(67, 233, 123, 0.5), rgba(79, 172, 254, 0.5));
    animation-delay: 4s;
}

.pedagogy .blob-1 {
    top: 20%;
    right: 15%;
    width: 220px;
    height: 220px;
    background: linear-gradient(135deg, rgba(157, 78, 221, 0.5), rgba(102, 126, 234, 0.5));
    animation-delay: 1s;
}

.pedagogy .blob-2 {
    bottom: 15%;
    left: 10%;
    width: 190px;
    height: 190px;
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.5), rgba(0, 242, 254, 0.5));
    animation-delay: 3s;
}

.contact .blob-1 {
    top: 5%;
    left: 20%;
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.4), rgba(157, 78, 221, 0.4));
    animation-delay: 0s;
}

.contact .blob-2 {
    bottom: 10%;
    right: 15%;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(67, 233, 123, 0.4), rgba(56, 249, 215, 0.4));
    animation-delay: 2.5s;
}

@keyframes blobFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -30px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

/* Floating geometric shapes */
.geo-shape {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    opacity: 0.15;
}

.geo-circle {
    border: 2px solid var(--primary);
    border-radius: 50%;
    animation: geoFloat1 12s ease-in-out infinite;
}

.geo-square {
    border: 2px solid var(--secondary);
    transform: rotate(45deg);
    animation: geoFloat2 15s ease-in-out infinite;
}

.geo-triangle {
    width: 0 !important;
    height: 0 !important;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 50px solid var(--accent-purple);
    opacity: 0.1;
    animation: geoFloat3 18s ease-in-out infinite;
}

@keyframes geoFloat1 {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(20px, -30px) rotate(90deg);
    }

    50% {
        transform: translate(-10px, 20px) rotate(180deg);
    }

    75% {
        transform: translate(-30px, -20px) rotate(270deg);
    }
}

@keyframes geoFloat2 {

    0%,
    100% {
        transform: translate(0, 0) rotate(45deg);
    }

    50% {
        transform: translate(40px, 30px) rotate(225deg);
    }
}

@keyframes geoFloat3 {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(-20px, -40px) rotate(120deg);
    }
}

/* Add shapes to sections via JS */
.about .shape-1 {
    top: 15%;
    left: 8%;
    width: 80px;
    height: 80px;
}

.about .shape-2 {
    top: 70%;
    right: 12%;
    width: 60px;
    height: 60px;
    animation-delay: 2s;
}

.about .shape-3 {
    bottom: 30%;
    left: 60%;
    width: 100px;
    height: 100px;
    animation-delay: 4s;
}

.pedagogy .shape-1 {
    top: 25%;
    right: 8%;
    width: 90px;
    height: 90px;
    animation-delay: 1s;
}

.pedagogy .shape-2 {
    bottom: 20%;
    left: 15%;
    width: 70px;
    height: 70px;
    animation-delay: 3s;
}

.pedagogy .shape-3 {
    top: 50%;
    left: 5%;
    width: 110px;
    height: 110px;
    animation-delay: 5s;
}

.contact .shape-1 {
    top: 10%;
    left: 10%;
    width: 120px;
    height: 120px;
}

.contact .shape-2 {
    bottom: 20%;
    right: 10%;
    width: 80px;
    height: 80px;
    animation-delay: 2s;
}

.contact .shape-3 {
    top: 40%;
    right: 5%;
    width: 60px;
    height: 60px;
    animation-delay: 4s;
}

/* Subtle noise texture overlay */
.about::after,
.pedagogy::after,
.contact::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 1s ease;
}

.about.visible::after,
.pedagogy.visible::after,
.contact.visible::after {
    opacity: 1;
}

/* Light ray effects + radial mesh for about, simple for pedagogy */
.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse 60% 60% at 20% 30%, rgba(102, 126, 234, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse 70% 50% at 70% 60%, rgba(240, 147, 251, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse 80% 80% at 50% 90%, rgba(67, 233, 123, 0.08) 0%, transparent 60%),
        linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%),
        linear-gradient(-120deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    animation: lightRays 20s linear infinite;
}

.pedagogy::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 30% 20%, rgba(157, 78, 221, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 70% 60%, rgba(79, 172, 254, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 20% 80%, rgba(240, 147, 251, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(67, 233, 123, 0.08) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
    opacity: 1;
}

@keyframes lightRays {
    0% {
        transform: translateX(-100%) translateY(-100%);
    }

    100% {
        transform: translateX(100%) translateY(100%);
    }
}

/* Glowing border effect on section hover (desktop) */
@media (hover: hover) {
    .pillar-card {
        position: relative;
    }

    .pillar-card:hover {
        box-shadow:
            0 40px 80px rgba(102, 126, 234, 0.15),
            0 0 100px rgba(102, 126, 234, 0.1),
            inset 0 0 0 1px rgba(102, 126, 234, 0.2);
    }
}

/* Shooting star animation for decorative effect */
.shooting-star {
    position: absolute;
    width: 4px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--secondary), var(--primary));
    border-radius: 50%;
    animation: shoot 3s ease-in-out infinite;
    pointer-events: none;
    opacity: 0;
}

@keyframes shoot {
    0% {
        transform: translateX(0) translateY(0) scale(0);
        opacity: 0;
    }

    10% {
        transform: translateX(100px) translateY(-50px) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(300px) translateY(-150px) scale(0.5);
        opacity: 0;
    }
}

/* Add shooting stars to about and pedagogy */
.about .star-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.about .star-2 {
    top: 40%;
    left: 30%;
    animation-delay: 1.5s;
}

.pedagogy .star-1 {
    top: 30%;
    right: 20%;
    animation-delay: 0.5s;
}

.pedagogy .star-2 {
    top: 60%;
    left: 15%;
    animation-delay: 2s;
}

/* Contact submit button enhanced */
.submit-btn {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent-purple) 50%, #3f51b5 100%);
    background-size: 200% 200%;
    animation: gradientShift 4s ease infinite;
    position: relative;
    overflow: hidden;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.submit-btn:hover::before {
    left: 100%;
}

/* Text gradient overlay effect */
.about p,
.pillar-card p {
    position: relative;
}

.about p::after,
.pillar-card p::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: width 0.4s ease;
}

.about p:hover::after,
.pillar-card.visible p::after {
    width: 100%;
}

/* ===== SERVICES PAGE - CREATIVE & VIBRANT ===== */

/* Services Hero with animated background */
.services-hero {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 180px 10% 120px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #fff5f7 0%, #f0f9ff 50%, #f8f9ff 100%);
}

.floating-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: blobFloatCreative 10s ease-in-out infinite;
    pointer-events: none;
}

.blob-1 {
    top: 10%;
    left: 10%;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.6), rgba(157, 78, 221, 0.6));
    animation-delay: 0s;
}

.blob-2 {
    top: 60%;
    right: 10%;
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, rgba(240, 147, 251, 0.5), rgba(233, 30, 99, 0.5));
    animation-delay: 2s;
}

.blob-3 {
    bottom: 20%;
    left: 40%;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(26, 188, 156, 0.5), rgba(0, 242, 254, 0.5));
    animation-delay: 4s;
}

@keyframes blobFloatCreative {

    0%,
    100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }

    33% {
        transform: translate(30px, -40px) scale(1.1) rotate(120deg);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9) rotate(240deg);
    }
}

.hero-subtitle {
    font-size: 1.8rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 1.5rem auto 3rem;
    line-height: 1.6;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    animation: bounceDown 2s ease-in-out infinite;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border-right: 3px solid rgba(255, 255, 255, 0.6);
    border-bottom: 3px solid rgba(255, 255, 255, 0.6);
    transform: rotate(45deg);
}

@keyframes bounceDown {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

/* Section Header Styling */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.header-badge {
    font-size: 3.5rem;
    display: block;
    margin-bottom: 1rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.service-main-title {
    font-size: 3.2rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    position: relative;
}

.tagline {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Section Card with glassmorphism */
.section-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(30px) saturate(200%);
    border-radius: 40px;
    padding: 4rem;
    box-shadow:
        0 40px 80px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.9) inset;
    border: 1px solid rgba(255, 255, 255, 0.95);
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
}

.section-card::before {
    content: '';
    position: absolute;
    top: -150px;
    left: -150px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: orbFloat1 12s ease-in-out infinite;
}

.section-card::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(240, 147, 251, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: orbFloat2 15s ease-in-out infinite;
}

@keyframes orbFloat1 {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(50px, 30px);
    }
}

@keyframes orbFloat2 {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(-30px, -40px);
    }
}

/* ===== LEVELS SHOWCASE (H1/H2/H3) ===== */
.levels-showcase {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
    position: relative;
    flex-wrap: wrap;
}

.level-card {
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    padding: 3rem 2rem;
    text-align: center;
    flex: 1;
    min-width: 280px;
    max-width: 320px;
    box-shadow:
        0 25px 50px rgba(102, 126, 234, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.9) inset;
    border: 2px solid rgba(102, 126, 234, 0.2);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 2;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.level-card[data-level="h1"] {
    border-color: rgba(157, 78, 221, 0.3);
    box-shadow: 0 25px 50px rgba(157, 78, 221, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.9) inset;
}

.level-card[data-level="h2"] {
    border-color: rgba(74, 144, 226, 0.3);
    transform: scale(1.05);
    z-index: 3;
}

.level-card[data-level="h3"] {
    border-color: rgba(243, 156, 18, 0.3);
    box-shadow: 0 25px 50px rgba(243, 156, 18, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.9) inset;
}

.level-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.level-card:hover .level-glow {
    opacity: 1;
}

.level-card:hover {
    transform: translateY(-20px);
    box-shadow: 0 35px 70px rgba(102, 126, 234, 0.2);
}

.level-card[data-level="h2"]:hover {
    transform: scale(1.05) translateY(-20px);
    box-shadow: 0 35px 70px rgba(74, 144, 226, 0.25);
}

.level-number {
    font-family: 'Gaegu', cursive;
    font-size: 3rem;
    font-weight: 700;
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

[data-level="h1"] .level-number {
    background: linear-gradient(135deg, rgba(157, 78, 221, 0.2), rgba(102, 126, 234, 0.2));
    color: var(--accent-purple);
    border: 2px solid rgba(157, 78, 221, 0.3);
}

[data-level="h2"] .level-number {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2), rgba(79, 172, 254, 0.2));
    color: var(--primary);
    border: 2px solid rgba(102, 126, 234, 0.3);
}

[data-level="h3"] .level-number {
    background: linear-gradient(135deg, rgba(243, 156, 18, 0.2), rgba(230, 126, 34, 0.2));
    color: var(--secondary);
    border: 2px solid rgba(243, 156, 18, 0.3);
}

.level-label {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 1.5rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.level-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    position: relative;
    z-index: 2;
}

.level-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    width: 40px;
    z-index: 1;
}

.connector-line {
    flex: 1;
    width: 3px;
    background: linear-gradient(180deg, var(--accent-purple), var(--primary), var(--secondary));
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.level-card:hover+.level-connector .connector-line,
.level-connector:hover .connector-line {
    transform: scaleX(1);
}

.connector-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 10px rgba(102, 126, 234, 0.5);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.6;
    }
}

/* ===== DAILY ROUTINE GRID ===== */
.daily-routine-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    perspective: 1000px;
}

.routine-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 25px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.06),
        0 0 0 1px rgba(255, 255, 255, 0.8) inset;
    border: 1px solid rgba(255, 255, 255, 0.9);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    cursor: pointer;
}

.routine-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.routine-card:hover::before {
    left: 100%;
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.routine-card:hover .card-glow {
    opacity: 1;
}

.routine-card:hover {
    transform: translateY(-15px) rotateX(5deg) rotateY(5deg);
    box-shadow:
        0 30px 60px rgba(102, 126, 234, 0.15),
        0 0 40px rgba(102, 126, 234, 0.1);
}

.routine-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: block;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.routine-card:hover .routine-icon {
    transform: scale(1.2) rotate(10deg);
}

.routine-card h4 {
    font-family: 'Gaegu', cursive;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    position: relative;
    z-index: 2;
}

.routine-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-light);
    position: relative;
    z-index: 2;
}

.card-shine {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.routine-card:hover .card-shine {
    opacity: 1;
}

/* ===== 3D TIMELINE ===== */
.progression-timeline {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
    margin-top: 4rem;
    padding: 2rem 0;
    perspective: 1500px;
    position: relative;
}

.timeline-3d {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    position: relative;
    transform-style: preserve-3d;
}

.timeline-marker-3d {
    flex: 1;
    max-width: 320px;
    text-align: center;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.timeline-marker-3d:hover {
    transform: translateY(-20px);
}

.marker-circle {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--accent-purple), var(--primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow:
        0 15px 40px rgba(102, 126, 234, 0.4),
        0 0 0 5px rgba(255, 255, 255, 0.9),
        inset 0 -5px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 4px solid #fff;
}

.timeline-marker-3d:hover .marker-circle {
    transform: rotateY(180deg);
}

.marker-text {
    font-family: 'Gaegu', cursive;
    font-size: 2.2rem;
    font-weight: 700;
    color: white;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.marker-label {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1.5rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.marker-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.9);
    text-align: left;
    transform-style: preserve-3d;
    transform: translateZ(30px);
    transition: transform 0.5s ease, box-shadow 0.3s ease;
}

.timeline-marker-3d:hover .marker-content {
    transform: translateZ(50px);
    box-shadow: 0 25px 50px rgba(102, 126, 234, 0.15);
}

.marker-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.marker-content li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
    transition: transform 0.2s ease, color 0.2s ease;
}

.marker-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-teal);
    font-weight: bold;
    font-size: 1.1rem;
    transition: transform 0.2s ease;
}

.marker-content li:hover {
    transform: translateX(5px);
    color: var(--text-dark);
}

.marker-content li:hover::before {
    transform: scale(1.2);
}

.timeline-line-3d {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-purple), var(--primary), var(--secondary));
    border-radius: 2px;
    margin: 0 -20px;
    position: relative;
    transform: scaleY(0);
    transform-origin: center;
    transition: transform 0.5s ease;
    box-shadow: 0 2px 10px rgba(102, 126, 234, 0.3);
}

.timeline-line-3d.visible {
    transform: scaleY(1);
}

/* ===== SERVICES SHOWCASE (3 CARDS) ===== */
.services-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
    position: relative;
}

.service-card {
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 35px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.05),
        0 0 0 1px rgba(255, 255, 255, 0.9) inset;
    border: 2px solid transparent;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
    perspective: 1000px;
    cursor: pointer;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.service-card:hover::before {
    opacity: 1;
}

[data-service="student"] {
    border-color: rgba(157, 78, 221, 0.2);
}

[data-service="teacher"] {
    border-color: rgba(74, 144, 226, 0.2);
}

[data-service="school"] {
    border-color: rgba(26, 188, 156, 0.2);
}

.service-card:hover {
    transform: translateY(-20px) rotateX(5deg) rotateY(5deg) scale(1.03);
    box-shadow:
        0 40px 80px rgba(102, 126, 234, 0.2),
        0 0 60px rgba(102, 126, 234, 0.1);
}

.icon-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.service-icon {
    font-size: 4rem;
    position: relative;
    z-index: 2;
    transition: transform 0.4s ease;
}

.icon-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(157, 78, 221, 0.1));
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 1;
}

.service-card:hover .icon-ring {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.2);
}

.service-card:hover .service-icon {
    transform: scale(1.15) rotate(10deg);
}

.service-card h3 {
    font-family: 'Gaegu', cursive;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.service-card:hover h3 {
    background: linear-gradient(90deg, var(--accent-purple), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-card p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.card-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.card-features span {
    font-size: 0.9rem;
    color: #777;
    transition: color 0.2s ease, transform 0.2s ease;
}

.card-features span:hover {
    color: var(--text-dark);
    transform: translateX(5px);
}

/* ===== INFRASTRUCTURE GRID ===== */
.infrastructure-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.infra-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    padding: 2.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.infra-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-purple), var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.infra-card:hover::before {
    transform: scaleX(1);
}

[data-color="purple"] {
    border-color: rgba(157, 78, 221, 0.2);
}

[data-color="teal"] {
    border-color: rgba(26, 188, 156, 0.2);
}

[data-color="blue"] {
    border-color: rgba(102, 126, 234, 0.2);
}

[data-color="orange"] {
    border-color: rgba(243, 156, 18, 0.2);
}

.infra-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 60px rgba(102, 126, 234, 0.12);
}

.infra-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
}

.infra-icon-large {
    font-size: 2.5rem;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.1));
}

.infra-header h3 {
    font-family: 'Gaegu', cursive;
    font-size: 1.6rem;
    color: var(--text-dark);
}

.infra-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.infra-checklist li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.infra-checklist li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent-teal);
    font-size: 1.2rem;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.infra-card:hover .infra-checklist li {
    color: var(--text-dark);
}

.infra-card:hover .infra-checklist li::before {
    transform: translateX(3px) scale(1.2);
}

/* ===== CTA BUTTONS ===== */
.cta-wrapper {
    text-align: center;
    margin-top: 3rem;
}

.magnetic-btn {
    display: inline-block;
    padding: 1.3rem 3.5rem;
    border-radius: 60px;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    color: white;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    background-size: 200% 200%;
    animation: gradientShift 4s ease infinite;
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
}

.large-btn {
    padding: 1.5rem 4rem;
    font-size: 1.3rem;
}

.magnetic-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
    z-index: 2;
}

.magnetic-btn:hover::after {
    left: 100%;
}

.btn-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.magnetic-btn:hover .btn-glow {
    opacity: 1;
}

.magnetic-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.5);
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* ===== SPECIAL FEATURES PAGE ===== */

/* Features Overview Section */
.features-overview {
    background: linear-gradient(180deg, #f8f9ff 0%, #fff5f7 50%, #f0f9ff 100%);
    position: relative;
    overflow: hidden;
    padding: 60px 0 100px;
}

.features-overview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 30%, rgba(157, 78, 221, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 60%, rgba(240, 147, 251, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 50% 80%, rgba(102, 126, 234, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
    opacity: 1;
}

.features-overview::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.025'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
    opacity: 0.4;
}

/* Assessment Overview Tiles Grid */
.features-5-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.feature-tile {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.9);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.feature-tile::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    transition: all 0.5s ease;
}

.feature-tile:hover::before {
    transform: scale(1.5);
}

.tile-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    display: block;
    transition: transform 0.4s ease;
    position: relative;
    z-index: 1;
}

.feature-tile:hover .tile-icon {
    transform: scale(1.2) rotate(10deg);
}

.feature-tile h4 {
    font-family: 'Gaegu', cursive;
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.feature-tile:hover h4 {
    background: linear-gradient(90deg, var(--primary), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-tile p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.feature-tile:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(102, 126, 234, 0.1);
    border-color: rgba(102, 126, 234, 0.2);
}

/* CTA Section for Features */
.cta-section {
    background: linear-gradient(180deg, #fff5f7 0%, #f0f9ff 100%);
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 60% 20%, rgba(157, 78, 221, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 30% 70%, rgba(102, 126, 234, 0.08) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
}

.cta-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(30px) saturate(150%);
    border-radius: 50px;
    padding: 4rem 3rem;
    box-shadow:
        0 40px 80px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.95) inset;
    border: 2px solid rgba(255, 255, 255, 0.95);
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.cta-card h3 {
    margin-bottom: 1.5rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .features-grid {
        gap: 2.5rem;
    }

    .feature-card-large {
        padding: 2.5rem 2rem;
    }

    .feature-card-large h3 {
        font-size: 1.8rem;
    }

    .features-5-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .stakeholders-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .features-grid {
        gap: 2rem;
    }

    .feature-card-large {
        padding: 2rem 1.5rem;
        border-radius: 30px;
    }

    .feature-icon-large {
        font-size: 3rem;
    }

    .feature-card-large h3 {
        font-size: 1.6rem;
    }

    .feature-quick-desc {
        font-size: 1rem;
    }

    .stakeholder-item {
        padding: 1.25rem;
    }

    .stakeholder-icon {
        font-size: 2rem;
    }

    .features-5-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .feature-tile {
        padding: 2rem 1.5rem;
    }

    .feature-tile h4 {
        font-size: 1.4rem;
    }

    .cta-card {
        padding: 3rem 2rem;
        border-radius: 30px;
    }

    .cta-card h3 {
        font-size: 2rem;
    }

    .services-hero {
        min-height: 70vh;
        padding: 150px 5% 80px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .feature-card-large {
        padding: 1.5rem 1.25rem;
    }

    .feature-header-row {
        flex-direction: column;
        gap: 1rem;
    }

    .feature-number-badge {
        align-self: flex-end;
    }

    .stakeholder-card {
        padding: 1rem;
    }

    .implementation-section {
        padding: 1.25rem;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .levels-showcase {
        flex-direction: column;
        gap: 2rem;
    }

    .level-card[data-level="h2"] {
        transform: scale(1);
    }

    .level-connector {
        flex-direction: row;
        width: auto;
        height: 40px;
    }

    .connector-line {
        width: auto;
        height: 3px;
        flex: 1;
    }

    .daily-routine-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .progression-timeline {
        flex-direction: column;
    }

    .timeline-3d {
        flex-direction: column;
        gap: 2rem;
    }

    .timeline-line-3d {
        width: 4px;
        height: 40px;
        margin: 0 auto;
        transform: scaleX(1);
    }

    .services-showcase {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .infrastructure-grid {
        grid-template-columns: 1fr;
    }

    .services-hero {
        min-height: 70vh;
        padding: 150px 5% 80px;
    }

    .section-card {
        padding: 3rem 2rem;
    }
}

@media (max-width: 768px) {
    .hero-subtitle {
        font-size: 1.4rem;
    }

    .daily-routine-grid {
        grid-template-columns: 1fr;
    }

    .service-main-title {
        font-size: 2.2rem;
    }

    .header-badge {
        font-size: 2.5rem;
    }

    .level-card {
        min-width: 100%;
    }

    .magnetic-btn {
        padding: 1.2rem 2.5rem;
        font-size: 1.1rem;
    }

    .nav-links {
        display: none;
    }
}

/* Animation delays for revealing */
.stagger-1 {
    transition-delay: 0.08s;
}

.stagger-2 {
    transition-delay: 0.15s;
}

.stagger-3 {
    transition-delay: 0.22s;
}

.stagger-4 {
    transition-delay: 0.3s;
}

.stagger-5 {
    transition-delay: 0.38s;
}

.stagger-6 {
    transition-delay: 0.45s;
}

/* ===== FEATURES PAGE - SPECIAL FEATURES ===== */

/* Feature detail section with alternating backgrounds */
.feature-detail-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.feature-detail-section.alt-bg {
    background: linear-gradient(180deg, #f8f9ff 0%, #fff5f7 50%, #f0f9ff 100%);
}

.feature-detail-section:not(.alt-bg) {
    background: linear-gradient(180deg, #fff5f7 0%, #f0f9ff 50%, #f8f9ff 100%);
}

/* Feature section wrapper with glassmorphism */
.feature-section-wrapper {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(30px) saturate(200%);
    border-radius: 50px;
    padding: 5rem 4rem;
    box-shadow:
        0 50px 100px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.95) inset;
    border: 1px solid rgba(255, 255, 255, 0.95);
    position: relative;
    overflow: hidden;
}

/* Decorative gradient blobs inside feature wrapper */
.feature-section-wrapper::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: orbFloatLarge 20s ease-in-out infinite;
}

.feature-section-wrapper::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(240, 147, 251, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: orbFloatLarge 25s ease-in-out infinite reverse;
}

@keyframes orbFloatLarge {

    0%,
    100% {
        transform: translate(0, 0);
    }

    33% {
        transform: translate(30px, -30px);
    }

    66% {
        transform: translate(-20px, 20px);
    }
}

/* Feature header large with icon and accent line */
.feature-header-large {
    text-align: center;
    margin-bottom: 3.5rem;
    position: relative;
    z-index: 2;
}

.feature-icon-large {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

.feature-main-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
}

.feature-accent-line {
    width: 120px;
    height: 5px;
    margin: 0 auto;
    background: linear-gradient(90deg, var(--accent-purple), var(--primary), var(--secondary), var(--accent-teal));
    border-radius: 3px;
    position: relative;
}

.feature-accent-line::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: var(--accent-teal);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-teal);
}

/* Feature content grid with goal and implementation cards */
.feature-content-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.feature-goal-card,
.feature-implementation-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    padding: 2.5rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.9);
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-goal-card::before,
.feature-implementation-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: 25px 25px 0 0;
    transition: height 0.4s ease;
}

.feature-goal-card::before {
    background: linear-gradient(90deg, var(--accent-purple), var(--primary));
}

.feature-implementation-card::before {
    background: linear-gradient(90deg, var(--accent-teal), #00f2fe);
}

.feature-goal-card:hover::before,
.feature-implementation-card:hover::before {
    height: 8px;
}

.feature-goal-card:hover,
.feature-implementation-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 25px 50px rgba(102, 126, 234, 0.12),
        0 0 0 1px rgba(102, 126, 234, 0.1) inset;
}

.goal-badge,
.implementation-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.goal-badge {
    background: linear-gradient(135deg, rgba(157, 78, 221, 0.15), rgba(102, 126, 234, 0.15));
    color: var(--accent-purple);
    border: 1px solid rgba(157, 78, 221, 0.25);
}

.implementation-badge {
    background: linear-gradient(135deg, rgba(26, 188, 156, 0.15), rgba(0, 242, 254, 0.15));
    color: var(--accent-teal);
    border: 1px solid rgba(26, 188, 156, 0.25);
}

.feature-goal-card p,
.feature-implementation-card p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-dark);
}

/* Stakeholders section */
.stakeholders-section {
    position: relative;
    z-index: 2;
}

.stakeholders-title {
    font-family: 'Gaegu', cursive;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-dark);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.stakeholders-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-purple), var(--primary));
    border-radius: 2px;
}

.stakeholders-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.stakeholder-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.stakeholder-card::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 5px;
    border-radius: 3px;
    transition: width 0.4s ease;
}

[data-color="purple"]::before {
    background: linear-gradient(90deg, var(--accent-purple), var(--primary));
    border-bottom: 2px solid rgba(157, 78, 221, 0.3);
}

[data-color="blue"]::before {
    background: linear-gradient(90deg, var(--primary), #3f51b5);
    border-bottom: 2px solid rgba(74, 144, 226, 0.3);
}

[data-color="teal"]::before {
    background: linear-gradient(90deg, var(--accent-teal), #00f2fe);
    border-bottom: 2px solid rgba(26, 188, 156, 0.3);
}

[data-color="orange"]::before {
    background: linear-gradient(90deg, var(--secondary), #e67e22);
    border-bottom: 2px solid rgba(243, 156, 18, 0.3);
}

.stakeholder-card:hover::before {
    width: 80px;
}

.stakeholder-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow:
        0 30px 60px rgba(102, 126, 234, 0.15),
        0 0 40px rgba(102, 126, 234, 0.08);
}

[data-color="purple"]:hover {
    border-color: rgba(157, 78, 221, 0.25);
}

[data-color="blue"]:hover {
    border-color: rgba(74, 144, 226, 0.25);
}

[data-color="teal"]:hover {
    border-color: rgba(26, 188, 156, 0.25);
}

[data-color="orange"]:hover {
    border-color: rgba(243, 156, 18, 0.25);
}

.stakeholder-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    transition: transform 0.4s ease;
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.1));
}

.stakeholder-card:hover .stakeholder-icon {
    transform: scale(1.2) rotate(10deg);
}

.stakeholder-card h4 {
    font-family: 'Gaegu', cursive;
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.stakeholder-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* CTA Section for features */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #f0f9ff 0%, #fff5f7 50%, #f8f9ff 100%);
    position: relative;
}

.cta-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(30px) saturate(200%);
    border-radius: 50px;
    padding: 4rem 3rem;
    text-align: center;
    box-shadow:
        0 50px 100px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.95) inset;
    border: 1px solid rgba(255, 255, 255, 0.95);
    position: relative;
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.08) 0%, transparent 70%);
    pointer-events: none;
    animation: rotateOrb 30s linear infinite;
}

@keyframes rotateOrb {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.cta-wrapper {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

/* Responsive for features page */
@media (max-width: 1024px) {
    .feature-content-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .stakeholders-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-section-wrapper {
        padding: 4rem 2.5rem;
    }

    .feature-main-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .feature-section-wrapper {
        padding: 3rem 1.5rem;
        border-radius: 30px;
    }

    .feature-content-grid {
        grid-template-columns: 1fr;
    }

    .stakeholders-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stakeholder-card {
        padding: 1.5rem 1.2rem;
    }

    .feature-main-title {
        font-size: 2.2rem;
    }

    .feature-icon-large {
        font-size: 3rem;
    }

    .cta-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .magnetic-btn {
        width: 100%;
        max-width: 300px;
    }

    .services-hero {
        min-height: 80vh;
        padding: 120px 5% 60px;
        text-align: center;
    }

    .services-hero .hero-content {
        text-align: center;
        margin: 0 auto;
        padding: 2.5rem 1.5rem;
    }

    .services-hero .parallax-layer.layer-2 {
        opacity: 0.2;
        background-position: center;
        transform: scale(0.6);
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }
}

/* Combined hover effects for stakeholder cards */
.stakeholder-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-purple), var(--primary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.stakeholder-item:hover::before {
    transform: scaleX(1);
}

/* Subtle pattern overlay for feature sections */
.feature-detail-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 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='%239C92AC' fill-opacity='0.03'%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");
    pointer-events: none;
    z-index: 0;
    opacity: 0.5;
}

/* Smooth scroll reveal for feature sections */
.feature-section-wrapper {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-section-wrapper.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Ensure proper z-index stacking */
.feature-detail-section {
    position: relative;
    z-index: 1;
}

/* Accessibility focus states for new elements */
.stakeholder-card:focus-visible,
.feature-goal-card:focus-visible,
.feature-implementation-card:focus-visible {
    outline: 2px solid var(--accent-purple);
    outline-offset: 3px;
}

/* ===== SPECIAL FEATURES CLEAN LIST LAYOUT ===== */

.features-list-section {
    background: linear-gradient(180deg, #f8f9ff 0%, #fff5f7 100%);
    padding: 80px 0 120px;
    position: relative;
}

.features-list-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 30%, rgba(157, 78, 221, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 80% 60%, rgba(102, 126, 234, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 50% 80%, rgba(240, 147, 251, 0.04) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.features-vertical-list {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

/* Feature Item - Horizontal list style */
.feature-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2.5rem;
    margin-bottom: 4rem;
    position: relative;
    padding: 2.5rem 2rem 2.5rem 0;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.23, 1, 0.32, 1),
        transform 0.7s cubic-bezier(0.23, 1, 0.32, 1),
        padding-left 0.3s ease;
}

.feature-item:last-child {
    margin-bottom: 0;
}

.feature-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Connecting vertical line */
.feature-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 35px;
    top: 100%;
    width: 2px;
    height: 60px;
    background: linear-gradient(180deg, var(--accent-purple) 0%, rgba(157, 78, 221, 0.2) 100%);
    transition: all 0.5s ease;
}

.feature-item:hover::after {
    background: linear-gradient(180deg, var(--primary) 0%, rgba(102, 126, 234, 0.3) 100%);
    height: 80px;
}

/* Feature marker - circle with number */
.feature-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.marker-number {
    font-family: 'Gaegu', cursive;
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-purple), var(--primary));
    color: white;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(157, 78, 221, 0.3);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    flex-shrink: 0;
}

.marker-number::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid var(--accent-purple);
    opacity: 0;
    transition: all 0.4s ease;
}

.feature-item.visible .marker-number {
    animation: markerPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes markerPop {
    0% {
        transform: scale(0);
    }

    70% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.feature-item:hover .marker-number {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(157, 78, 221, 0.4);
}

.feature-item:hover .marker-number::before {
    opacity: 0.6;
    transform: scale(1.2);
}

.marker-line {
    width: 2px;
    flex: 1;
    background: rgba(157, 78, 221, 0.15);
    margin: 0.5rem 0;
    transition: all 0.5s ease;
}

.feature-item:hover .marker-line {
    background: linear-gradient(180deg, var(--accent-purple), transparent);
}

/* Feature content area */
.feature-content {
    flex: 1;
    padding-bottom: 2rem;
}

.feature-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.feature-header-row h3 {
    font-family: 'Gaegu', cursive;
    font-size: 2.8rem;
    color: var(--text-dark);
    margin: 0;
    transition: color 0.3s ease;
}

.feature-item:hover .feature-header-row h3 {
    background: linear-gradient(90deg, var(--accent-purple), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Responsive for special features */
@media (max-width: 768px) {
    .feature-header-row h3 {
        font-size: 2.2rem;
    }
}

.feature-item:hover .feature-header-row h3 {
    background: linear-gradient(90deg, var(--accent-purple), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-icon {
    font-size: 3rem;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.feature-item:hover .feature-icon {
    transform: scale(1.15) rotate(10deg);
}

.feature-goal {
    font-size: 1.15rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(102, 126, 234, 0.12);
    transition: border-color 0.3s ease;
}

.feature-goal strong {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.3rem;
}

/* Implementation box */
.implementation-detail {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.25rem;
    border-left: 3px solid var(--primary);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.implementation-detail::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.feature-item:hover .implementation-detail::before {
    left: 100%;
}

.feature-item:hover .implementation-detail {
    background: rgba(255, 255, 255, 0.95);
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.08);
}

.implementation-detail h4 {
    font-size: 1.1rem;
}

.implementation-detail h4::before {
    font-size: 1rem;
}

.implementation-detail h4::before {
    content: '✦';
    font-size: 1.1rem;
}

.implementation-detail p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

.implementation-detail h4::before {
    content: '✦';
    font-size: 0.9rem;
}

.implementation-detail p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.65;
    margin: 0;
}

/* Stakeholders as tags */
.stakeholders-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.stakeholder-tag {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 50px;
    padding: 0.7rem 1.4rem;
    font-size: 1rem;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.stakeholder-tag:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.12);
    border-color: rgba(102, 126, 234, 0.2);
}

.tag-icon {
    font-size: 1.3rem;
}

/* Simple CTA section */
.simple-cta {
    background: linear-gradient(180deg, #fff5f7 0%, #f0f9ff 100%);
    padding: 80px 0;
}

.cta-simple {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.06);
}

.cta-simple h3 {
    font-family: 'Gaegu', cursive;
    font-size: 2.8rem;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, var(--text-dark), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-simple p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    align-items: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-purple), var(--primary));
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    position: relative;
    transition: color 0.3s ease;
}

.btn-secondary::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-purple);
    transition: width 0.3s ease;
}

.btn-secondary:hover::after {
    width: 100%;
}

.btn-secondary:hover {
    color: var(--accent-purple);
}

/* Progress bar */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-purple), var(--primary), var(--accent-teal));
    z-index: 9999;
    transition: width 0.1s linear;
    box-shadow: 0 0 10px rgba(102, 126, 234, 0.5);
}

/* Remove default gradient from service-main-title on this page */
.features-list-section .service-main-title {
    background: none;
    -webkit-text-fill-color: initial;
}

/* Responsive for special features */
@media (max-width: 768px) {
    .feature-item {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding-left: 2rem;
    }

    .feature-marker {
        position: absolute;
        left: 0;
        top: 0;
    }

    .marker-number {
        width: 50px;
        height: 50px;
        font-size: 1.8rem;
    }

    .marker-line {
        display: none;
    }

    .feature-header-row h3 {
        font-size: 2rem;
    }

    .feature-icon {
        font-size: 2.6rem;
    }

    .stakeholders-row {
        gap: 0.5rem;
    }

    .stakeholder-tag {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }

    .cta-simple {
        padding: 2rem 1.5rem;
    }

    .cta-simple h3 {
        font-size: 2rem;
    }

    .cta-actions {
        flex-direction: column;
        gap: 1rem;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }
}

/* About Page Specific Styles */
.about-hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 120px 0 80px;
    text-align: center;
}

.main-about-card {
    padding: 5rem;
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.essence-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.highlight-text {
    font-size: 1.4rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 2rem;
    line-height: 1.4;
}

.essence-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-light);
}

/* Visual Circle & Orbit Animation */
.essence-visual {
    display: flex;
    justify-content: center;
}

.visual-circle {
    width: 300px;
    height: 300px;
    border: 2px dashed rgba(74, 144, 226, 0.3);
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.center-icon {
    font-size: 5rem;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

.orbit {
    position: absolute;
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.orbit-1 {
    animation: rotateOrbit1 12s linear infinite;
}

.orbit-2 {
    animation: rotateOrbit2 15s linear infinite;
}

.orbit-3 {
    animation: rotateOrbit3 10s linear infinite;
}

@keyframes rotateOrbit1 {
    from {
        transform: rotate(0deg) translateX(150px) rotate(0deg);
    }

    to {
        transform: rotate(360deg) translateX(150px) rotate(-360deg);
    }
}

@keyframes rotateOrbit2 {
    from {
        transform: rotate(120deg) translateX(150px) rotate(-120deg);
    }

    to {
        transform: rotate(480deg) translateX(150px) rotate(-480deg);
    }
}

@keyframes rotateOrbit3 {
    from {
        transform: rotate(240deg) translateX(150px) rotate(-240deg);
    }

    to {
        transform: rotate(600deg) translateX(150px) rotate(-600deg);
    }
}

/* Pillars Grid */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.development-pillars {
    padding: 100px 0;
    background: #fdfdfd;
}

/* Methodology */
.methodology-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.method-card {
    padding: 3.5rem;
}

.method-card h3 {
    font-family: 'Gaegu', cursive;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

/* Community & Vision */
.about-community {
    padding: 100px 0;
    background: linear-gradient(to bottom, #fff, #f8faff);
}

.community-box {
    text-align: center;
    padding: 5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.vision-quote {
    font-size: 2.2rem;
    color: var(--text-dark);
    font-style: italic;
    max-width: 900px;
    margin: 0 auto 2rem;
    line-height: 1.4;
}

.vision-footer {
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

/* ===== COMPREHENSIVE MOBILE OVERHAUL ===== */
@media (max-width: 1024px) {

    .essence-grid,
    .pillars-grid,
    .methodology-grid,
    .vision-mission-grid,
    .pillar-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 0 1.5rem;
    }

    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {

    /* Navbar Mobile Styles */
    .navbar {
        padding: 0.8rem 5%;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.6s cubic-bezier(0.23, 1, 0.32, 1);
        z-index: 1100;
        gap: 1.5rem;
        display: flex !important;
        background-image: url('assets/sketches.png');
        background-size: cover;
        background-blend-mode: overlay;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        opacity: 0;
        transform: translateX(50px);
        transition: 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateX(0);
    }

    /* Staggered animation for menu items */
    .nav-links.active li:nth-child(1) {
        transition-delay: 0.1s;
    }

    .nav-links.active li:nth-child(2) {
        transition-delay: 0.2s;
    }

    .nav-links.active li:nth-child(3) {
        transition-delay: 0.3s;
    }

    .nav-links.active li:nth-child(4) {
        transition-delay: 0.4s;
    }

    .nav-links.active li:nth-child(5) {
        transition-delay: 0.5s;
    }

    .nav-links.active li:nth-child(6) {
        transition-delay: 0.6s;
    }

    .nav-links a {
        font-family: 'Gaegu', cursive;
        font-size: 2.2rem;
        color: var(--text-dark);
        font-weight: 700;
        letter-spacing: 1px;
    }

    .nav-links a.active {
        color: var(--primary);
        transform: scale(1.1);
    }

    .mobile-toggle {
        display: flex;
        flex-direction: column;
        gap: 6px;
        cursor: pointer;
        z-index: 1200;
        padding: 5px;
        background: rgba(255, 255, 255, 0.5);
        backdrop-filter: blur(5px);
        border-radius: 10px;
    }

    .mobile-toggle span {
        display: block;
        width: 28px;
        height: 3px;
        background: var(--text-dark);
        border-radius: 3px;
        transition: 0.3s;
        pointer-events: none;
        /* Let clicks pass to parent */
    }

    /* Hamburger Animation */
    .mobile-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .nav-right {
        gap: 1rem;
    }

    .lms-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
    }

    .wheel-icon {
        width: 35px !important;
        height: 35px !important;
    }

    /* Hero Responsive */
    .hero {
        padding: 120px 5% 60px;
        min-height: auto;
    }

    .hero-title {
        font-size: 2.4rem;
        letter-spacing: -1px;
    }

    .hero-content {
        padding: 2rem 1.5rem;
        border-radius: 30px;
    }

    .icon-row {
        flex-wrap: wrap;
        gap: 2rem;
    }

    .icon-box {
        max-width: 45%;
        min-width: 140px;
        padding: 1.5rem 1rem;
    }

    .icon-box .circle-img {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }

    /* Content Sections */
    section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.8rem !important;
    }

    .glass-card {
        padding: 2rem 1.5rem;
        border-radius: 30px;
    }

    .vision-mission-grid {
        gap: 1.5rem;
    }

    .vision-card,
    .mission-card {
        padding: 2rem 1.2rem;
        border-radius: 30px;
        position: relative;
        overflow: hidden;
    }

    .vision-card {
        background: rgba(255, 245, 247, 0.9);
        /* Soft Pink Accent */
        border: 1px solid rgba(255, 182, 193, 0.3);
    }

    .mission-card {
        background: rgba(240, 249, 255, 0.9);
        /* Soft Blue Accent */
        border: 1px solid rgba(173, 216, 230, 0.3);
    }

    .vm-badge {
        top: 1.2rem;
        right: 1.2rem;
        font-size: 0.6rem;
        padding: 0.3rem 0.8rem;
    }

    .vm-icon {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }

    .vision-card h3,
    .mission-card h3 {
        font-size: 1.6rem;
        margin-bottom: 0.8rem;
    }

    .vision-card p,
    .mission-list li {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .mission-list {
        gap: 0.8rem;
    }


    /* About Essence specific */
    .visual-circle {
        width: 240px;
        height: 240px;
    }

    .center-icon {
        font-size: 3.5rem;
    }

    .orbit {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    @keyframes rotateOrbit1 {
        from {
            transform: rotate(0deg) translateX(120px) rotate(0deg);
        }

        to {
            transform: rotate(360deg) translateX(120px) rotate(-360deg);
        }
    }

    @keyframes rotateOrbit2 {
        from {
            transform: rotate(120deg) translateX(120px) rotate(-120deg);
        }

        to {
            transform: rotate(480deg) translateX(120px) rotate(-480deg);
        }
    }

    @keyframes rotateOrbit3 {
        from {
            transform: rotate(240deg) translateX(120px) rotate(-240deg);
        }

        to {
            transform: rotate(600deg) translateX(120px) rotate(-600deg);
        }
    }

    /* Form Responsive */
    .contact-container {
        padding: 2.5rem 1.5rem;
    }

    input,
    textarea {
        padding: 1rem;
        font-size: 1rem;
    }

    /* Side Actions Mobile - Hidden */
    .side-actions {
        display: none !important;
    }
}


@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .btn-cta {
        font-size: 1.2rem;
    }

    .magnetic-btn {
        padding: 0.8rem 2rem;
        width: 100%;
    }

    .icon-box {
        max-width: 100%;
    }
}

/* HIGH-LIFE MOBILE OVERRIDES */
@media screen and (max-width: 768px) {
    .vision-mission-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 40px !important;
        padding: 20px 10px !important;
        align-items: center !important;
    }

    .vision-card,
    .mission-card {
        width: 100% !important;
        margin: 0 !important;
        min-height: auto !important;
    }
}

/* Programs Page Specific Styles */
.programs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    margin-top: 4rem;
}

.program-detail-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 4rem;
}

.program-detail-card.reverse {
    grid-template-columns: 1fr 1.2fr;
}

.program-info h2 {
    font-family: 'Gaegu', cursive;
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.program-info .program-tag {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: rgba(74, 144, 226, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.program-info p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.program-features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.prog-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.prog-feature-icon {
    font-size: 2rem;
    background: white;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
}

.prog-feature-text h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.prog-feature-text span {
    font-size: 0.9rem;
    color: #888;
}

.program-visual {
    position: relative;
}

.program-visual img {
    width: 100%;
    border-radius: 40px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease;
}

.program-visual:hover img {
    transform: scale(1.02);
}

.visual-decoration {
    position: absolute;
    z-index: -1;
    filter: blur(40px);
    opacity: 0.4;
    border-radius: 50%;
}

.deco-1 {
    width: 300px;
    height: 300px;
    background: var(--primary);
    top: -50px;
    right: -50px;
}

.deco-2 {
    width: 250px;
    height: 250px;
    background: var(--accent-purple);
    bottom: -30px;
    left: -30px;
}

@media (max-width: 1024px) {

    .program-detail-card,
    .program-detail-card.reverse {
        grid-template-columns: 1fr;
        padding: 3rem 2rem;
        gap: 3rem;
    }

    .program-visual {
        order: -1;
    }
}

/* ===== MOBILE WHITE SCREEN FIX =====
 * Root cause: .reveal-item has opacity:0 by default and needs JS to become visible.
 * On mobile, a JS crash prevents that script from running, so content stays invisible.
 * Fix: Force all hero elements to be visible on mobile without needing JavaScript.
 * ===================================== */
@media (max-width: 992px) {
    .reveal-item {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) translateX(0) scale(1) !important;
        transition: none !important;
    }

    .hero-content {
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background: rgba(255, 255, 255, 0.95) !important;
    }

    .hero-title,
    .hero-subtitle,
    .hero-cta-group,
    .icon-row,
    .icon-box,
    .icon-text {
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        animation: none !important;
    }

    .hero-blob,
    .hero-stars,
    .hero-float,
    .parallax-layer {
        display: none !important;
    }

    .hero-subtitle {
        opacity: 1 !important;
    }
}