/* ============================================================
   ST. JOSEPH'S PUBLIC SCHOOL - MASTER STYLESHEET
   Consolidated global + per-page styles
   ============================================================ */

/* ============================================================
   GLOBAL BASE STYLES
   ============================================================ */
html,
body {
    background-color: #ffffff;
    color: #0b0f19;
    font-family: 'Plus Jakarta Sans', sans-serif;
    overflow-x: hidden;
}

/* Hide scrollbars for smooth aesthetic */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #ffffff;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.font-display {
    font-family: 'Syne', sans-serif;
}

.split-line {
    overflow: hidden;
    display: block;
}

/* Minimal Border Highlights */
.hairline-border {
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.hairline-bottom {
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

/* Custom Gradient Pill */
.adobe-badge {
    background: linear-gradient(135deg, #fa233b 0%, #8b5cf6 50%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Overlay Shadow for Section 2 overlaying Hero */
.hero-overlay-shadow {
    box-shadow: 0 -30px 60px -15px rgba(0, 0, 0, 0.35);
}

.glass-nav {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* ============================================================
   ABOUT PAGE STYLES
   ============================================================ */
/* Hero Particles & Animations */
.about-hero-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(197, 160, 89, 0.4);
    border-radius: 50%;
    pointer-events: none;
}

.hero-particle-glow {
    position: absolute;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(197, 160, 89, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

@keyframes heroParticleFloat {
    0%, 100% { transform: translateY(0px) translateX(0px); opacity: 0.2; }
    25% { transform: translateY(-30px) translateX(15px); opacity: 0.6; }
    50% { transform: translateY(-10px) translateX(-10px); opacity: 0.3; }
    75% { transform: translateY(-40px) translateX(20px); opacity: 0.5; }
}

@keyframes heroGlowPulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.5); opacity: 0.6; }
}

/* Title Line Revealer */
.title-line {
    display: block;
    overflow: hidden;
}

.title-line-inner {
    display: block;
    transform: translateY(100%);
    opacity: 0;
}

/* Interactive Value Card Accent */
.value-card-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #c5a059, #fa233b);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-value-card:hover .value-card-accent {
    transform: scaleX(1);
}

.about-value-card:hover .value-icon-wrap {
    background: #c5a059;
    color: #ffffff;
    border-radius: 50%;
    transform: scale(1.1) rotateY(360deg);
}

.about-value-card:hover h3 {
    color: #c5a059;
}

/* Academic Pillars Hover Effects */
.academic-pillar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(197, 160, 89, 0.05) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.academic-pillar:hover::before {
    opacity: 1;
}

.academic-pillar:hover .pillar-icon-box {
    background: #c5a059;
    color: #ffffff;
    transform: scale(1.05);
}

.academic-pillar:hover h3::after {
    width: 60px;
}

.academic-pillar h3::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: #c5a059;
    margin-top: 12px;
    transition: width 0.4s ease;
}

/* Goals Timeline Centered Line */
@media (min-width: 1024px) {
    .goals-timeline::before {
        content: '';
        position: absolute;
        left: 50%;
        top: 0;
        bottom: 0;
        width: 2px;
        background: linear-gradient(180deg, transparent, rgba(197, 160, 89, 0.4), rgba(197, 160, 89, 0.4), transparent);
        transform: translateX(-50%);
    }
}

/* ============================================================
   CBSE MPD PAGE STYLES
   ============================================================ */
/* Custom Table Styling for Infrastructure */
.mpd-table th,
.mpd-table td {
    padding: 14px 18px;
    font-size: 0.85rem;
}

.mpd-table tr:nth-child(even) {
    background-color: #f8fafc;
}

/* ============================================================
   KINDERGARTEN ACADEMICS - Custom Stylesheet
   6-Step Play-Way Experiential Learning Model
   ============================================================ */

/* --- Section Base --- */
.kg-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .kg-section {
        padding: 60px 0;
    }
}

/* --- HERO SECTION - Pastel Dreamscape --- */
.kg-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, #fde8e8 0%, #fce4ec 15%, #fff3e0 35%, #e8f5e9 55%, #e3f2fd 75%, #f3e5f5 100%);
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
}

.kg-hero::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 183, 77, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.kg-hero::after {
    content: '';
    position: absolute;
    bottom: -15%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(129, 199, 132, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* Cloud decorations */
.kg-cloud {
    position: absolute;
    font-size: 6rem;
    color: rgba(255, 255, 255, 0.4);
    pointer-events: none;
    z-index: 1;
}

.kg-cloud-1 { top: 8%; left: 5%; }
.kg-cloud-2 { top: 12%; right: 10%; }
.kg-cloud-3 { bottom: 15%; left: 8%; }

/* Floating playful icons */
.kg-float-icon {
    position: absolute;
    font-size: 2.2rem;
    pointer-events: none;
    z-index: 2;
    opacity: 0.6;
}

.kg-float-icon-1 { top: 18%; left: 8%; color: #FFB74D; }
.kg-float-icon-2 { top: 22%; right: 12%; color: #64B5F6; }
.kg-float-icon-3 { bottom: 28%; left: 12%; color: #F06292; }
.kg-float-icon-4 { bottom: 18%; right: 8%; color: #81C784; }
.kg-float-icon-5 { top: 50%; left: 4%; color: #BA68C8; }
.kg-float-icon-6 { top: 55%; right: 4%; color: #FFD54F; }

.kg-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
}

.kg-hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.7);
    border: 2px solid rgba(255, 183, 77, 0.4);
    color: #FF8A65;
    padding: 10px 28px;
    border-radius: 50px;
    font-family: 'Quicksand', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 25px;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 15px rgba(255, 183, 77, 0.15);
}

.kg-hero-title {
    font-family: 'Fredoka One', cursive;
    font-size: 4rem;
    color: #5D4037;
    margin-bottom: 15px;
    line-height: 1.15;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.5);
}

.kg-hero-title .highlight {
    background: linear-gradient(135deg, #FF8A65, #FFB74D);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.kg-hero-subtitle {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.15rem;
    color: #8D6E63;
    max-width: 650px;
    margin: 0 auto 35px;
    line-height: 1.8;
    font-weight: 500;
}

.kg-hero-steps-preview {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 35px;
}

.kg-hero-step-dot {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    border: 3px solid rgba(255, 183, 77, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Fredoka One', cursive;
    font-size: 1rem;
    font-weight: 700;
    color: #BCAAA4;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: default;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.kg-hero-step-dot.active {
    background: linear-gradient(135deg, #FFB74D, #FF8A65);
    border-color: #FF8A65;
    color: #ffffff;
    transform: scale(1.2);
    box-shadow: 0 6px 25px rgba(255, 183, 77, 0.4);
}

@media (max-width: 768px) {
    .kg-hero-title { font-size: 2.5rem; }
    .kg-hero-subtitle { font-size: 1rem; }
    .kg-hero-step-dot { width: 36px; height: 36px; font-size: 0.85rem; }
    .kg-cloud { font-size: 3rem; }
    .kg-float-icon { font-size: 1.5rem; }
}

/* --- Section Header --- */
.kg-section-header {
    text-align: center;
    margin-bottom: 50px;
}

.kg-section-tag {
    display: inline-block;
    color: #FF8A65;
    font-family: 'Quicksand', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.kg-section-title {
    font-family: 'Fredoka One', cursive;
    font-size: 2.8rem;
    color: #5D4037;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.kg-section-title::after {
    content: '🌈';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.5rem;
}

.kg-section-desc {
    font-family: 'Quicksand', sans-serif;
    color: #8D6E63;
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.7;
    font-weight: 500;
}

@media (max-width: 768px) {
    .kg-section-title { font-size: 2rem; }
}

/* --- Progress Indicator - Stepping Stones / Garden Path --- */
.kg-progress-wrapper {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.kg-progress-line {
    width: 4px;
    height: 260px;
    background: rgba(255, 183, 77, 0.2);
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(255, 183, 77, 0.05);
}

.kg-progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(180deg, #FFB74D, #FF8A65, #EC407A);
    border-radius: 4px;
    transition: height 0.3s ease;
}

.kg-progress-dots {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 260px;
    justify-content: space-between;
    padding: 6px 0;
}

.kg-progress-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #FFE0B2;
    border: 3px solid rgba(255, 183, 77, 0.3);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.kg-progress-dot.active {
    background: linear-gradient(135deg, #FFB74D, #FF8A65);
    border-color: #FF8A65;
    transform: scale(1.5);
    box-shadow: 0 0 25px rgba(255, 183, 77, 0.5);
}

.kg-progress-dot .dot-tooltip {
    position: absolute;
    right: calc(100% + 18px);
    top: 50%;
    transform: translateY(-50%);
    background: #5D4037;
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 12px;
    font-family: 'Quicksand', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.kg-progress-dot .dot-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-left: 6px solid #5D4037;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

.kg-progress-dot:hover .dot-tooltip,
.kg-progress-dot.active .dot-tooltip {
    opacity: 1;
}

@media (max-width: 991px) {
    .kg-progress-wrapper { display: none; }
}

/* --- Step Cards - Main workflow sections --- */
.kg-step {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.kg-step-inner {
    display: flex;
    align-items: center;
    gap: 60px;
    min-height: 500px;
}

.kg-step-visual {
    flex: 0 0 42%;
    max-width: 42%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 350px;
}

.kg-step-content {
    flex: 1;
    max-width: 58%;
}

.kg-step-number {
    font-family: 'Fredoka One', cursive;
    font-size: 7rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.4);
    position: absolute;
    top: -30px;
    right: 20px;
    line-height: 1;
    pointer-events: none;
}

.kg-step-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.6);
    border: 2px solid rgba(255, 183, 77, 0.3);
    padding: 6px 20px;
    border-radius: 50px;
    font-family: 'Quicksand', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    color: #FF8A65;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    backdrop-filter: blur(5px);
}

.kg-step-label .step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFB74D, #FF8A65);
    color: #ffffff;
    font-family: 'Fredoka One', cursive;
    font-size: 0.75rem;
    font-weight: 800;
}

.kg-step-title {
    font-family: 'Fredoka One', cursive;
    font-size: 2.2rem;
    color: #5D4037;
    margin-bottom: 15px;
    line-height: 1.25;
}

.kg-step-desc {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.05rem;
    color: #8D6E63;
    line-height: 1.8;
    margin-bottom: 25px;
    font-weight: 500;
}

.kg-step-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.kg-step-feat {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 183, 77, 0.2);
    padding: 8px 16px;
    border-radius: 12px;
    font-family: 'Quicksand', sans-serif;
    font-size: 0.85rem;
    color: #5D4037;
    font-weight: 600;
    backdrop-filter: blur(5px);
}

.kg-step-feat i {
    color: #FF8A65;
    font-size: 0.8rem;
}

/* Alternate layout */
.kg-step-alt .kg-step-inner {
    flex-direction: row-reverse;
}

@media (max-width: 991px) {
    .kg-step-inner {
        flex-direction: column !important;
        gap: 40px;
        min-height: auto;
    }
    .kg-step-visual {
        flex: none;
        max-width: 100%;
        min-height: 250px;
    }
    .kg-step-content {
        max-width: 100%;
        text-align: center;
    }
    .kg-step-features { justify-content: center; }
    .kg-step-title { font-size: 1.7rem; }
    .kg-step-number { font-size: 5rem; }
}

/* --- Step Background Themes - Pastel Color Palettes --- */
.kg-step-1-bg { background: linear-gradient(160deg, #fff3e0 0%, #fbe9e7 50%, #fce4ec 100%); }
.kg-step-1-bg .kg-step-number { color: rgba(255, 138, 101, 0.15); }

.kg-step-2-bg { background: linear-gradient(160deg, #e3f2fd 0%, #e0f7fa 50%, #e8eaf6 100%); }
.kg-step-2-bg .kg-step-label { border-color: rgba(100, 181, 246, 0.3); color: #64B5F6; }
.kg-step-2-bg .kg-step-label .step-num { background: linear-gradient(135deg, #64B5F6, #42A5F5); }
.kg-step-2-bg .kg-step-feat i { color: #64B5F6; }
.kg-step-2-bg .kg-step-number { color: rgba(100, 181, 246, 0.12); }

.kg-step-3-bg { background: linear-gradient(160deg, #f3e5f5 0%, #ede7f6 50%, #fce4ec 100%); }
.kg-step-3-bg .kg-step-label { border-color: rgba(186, 104, 200, 0.3); color: #BA68C8; }
.kg-step-3-bg .kg-step-label .step-num { background: linear-gradient(135deg, #BA68C8, #AB47BC); }
.kg-step-3-bg .kg-step-feat i { color: #BA68C8; }
.kg-step-3-bg .kg-step-number { color: rgba(186, 104, 200, 0.12); }

.kg-step-4-bg { background: linear-gradient(160deg, #e8f5e9 0%, #f1f8e9 50%, #e0f2f1 100%); }
.kg-step-4-bg .kg-step-label { border-color: rgba(129, 199, 132, 0.3); color: #66BB6A; }
.kg-step-4-bg .kg-step-label .step-num { background: linear-gradient(135deg, #81C784, #66BB6A); }
.kg-step-4-bg .kg-step-feat i { color: #66BB6A; }
.kg-step-4-bg .kg-step-number { color: rgba(129, 199, 132, 0.12); }

.kg-step-5-bg { background: linear-gradient(160deg, #fff8e1 0%, #fffde7 50%, #fff3e0 100%); }
.kg-step-5-bg .kg-step-label { border-color: rgba(255, 213, 79, 0.3); color: #FFB300; }
.kg-step-5-bg .kg-step-label .step-num { background: linear-gradient(135deg, #FFD54F, #FFB300); }
.kg-step-5-bg .kg-step-feat i { color: #FFB300; }
.kg-step-5-bg .kg-step-number { color: rgba(255, 213, 79, 0.15); }

.kg-step-6-bg { background: linear-gradient(160deg, #fce4ec 0%, #f8bbd0 15%, #fff3e0 60%, #e8f5e9 100%); }
.kg-step-6-bg .kg-step-label { border-color: rgba(236, 64, 122, 0.3); color: #EC407A; }
.kg-step-6-bg .kg-step-label .step-num { background: linear-gradient(135deg, #EC407A, #D81B60); }
.kg-step-6-bg .kg-step-feat i { color: #EC407A; }
.kg-step-6-bg .kg-step-number { color: rgba(236, 64, 122, 0.12); }

/* --- Step Visual Elements --- */
.kg-visual-box {
    width: 260px;
    height: 260px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.kg-visual-box i {
    font-size: 5rem;
    transition: all 0.3s ease;
}

/* STEP 1: Storybook & Stars */
.storybook-container {
    position: relative;
    width: 280px;
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.storybook {
    position: relative;
    width: 200px;
    height: 160px;
    perspective: 800px;
    cursor: pointer;
}

.storybook-cover {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #FF8A65, #FFB74D);
    border-radius: 8px 20px 20px 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(255, 138, 101, 0.3);
    transform-origin: left center;
    transition: transform 0.6s ease;
    z-index: 2;
}

.storybook-cover i {
    font-size: 3rem;
    color: #ffffff;
}

.storybook-page {
    position: absolute;
    width: 96%;
    height: 94%;
    background: #ffffff;
    border-radius: 4px 16px 16px 4px;
    top: 3%;
    left: 2%;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    z-index: 1;
}

.storybook-page .page-star {
    font-size: 1.2rem;
    color: #FFD54F;
    opacity: 0;
    position: absolute;
}

.storybook-page .page-star:nth-child(1) { top: 15%; left: 20%; }
.storybook-page .page-star:nth-child(2) { top: 30%; right: 25%; }
.storybook-page .page-star:nth-child(3) { bottom: 25%; left: 30%; }
.storybook-page .page-star:nth-child(4) { bottom: 15%; right: 20%; }
.storybook-page .page-star:nth-child(5) { top: 50%; left: 50%; transform: translate(-50%, -50%); }

.storybook-page .page-text {
    font-family: 'Bubblegum Sans', cursive;
    font-size: 1.4rem;
    color: #FF8A65;
    opacity: 0;
}

/* Floating stars around storybook */
.floating-star {
    position: absolute;
    font-size: 1.5rem;
    color: #FFD54F;
    pointer-events: none;
    opacity: 0;
}

.floating-star-1 { top: 0; left: 10%; }
.floating-star-2 { top: 15%; right: 5%; }
.floating-star-3 { bottom: 10%; left: 5%; }
.floating-star-4 { bottom: 5%; right: 15%; }
.floating-star-5 { top: 40%; right: 0; }

/* STEP 2: Flashcards & Blocks */
.flashcards-container {
    position: relative;
    width: 280px;
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    perspective: 1000px;
}

.flashcard {
    width: 80px;
    height: 110px;
    border-radius: 10px;
    position: relative;
    cursor: pointer;
    transform-style: preserve-3d;
    transition: transform 0.6s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.flashcard .card-face {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    backface-visibility: hidden;
}

.flashcard .card-front {
    font-family: 'Fredoka One', cursive;
    font-size: 2rem;
    color: #ffffff;
}

.flashcard .card-back {
    transform: rotateY(180deg);
    font-size: 1.5rem;
    color: #ffffff;
}

.flashcard-1 .card-front { background: linear-gradient(135deg, #FFB74D, #FF8A65); }
.flashcard-1 .card-back { background: linear-gradient(135deg, #64B5F6, #42A5F5); }
.flashcard-2 .card-front { background: linear-gradient(135deg, #81C784, #66BB6A); }
.flashcard-2 .card-back { background: linear-gradient(135deg, #BA68C8, #AB47BC); }
.flashcard-3 .card-front { background: linear-gradient(135deg, #64B5F6, #42A5F5); }
.flashcard-3 .card-back { background: linear-gradient(135deg, #FFB74D, #FF8A65); }

/* STEP 3: Crayon / Playwork */
.crayon-container {
    position: relative;
    width: 280px;
    height: 240px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.crayon-row {
    display: flex;
    gap: 10px;
    align-items: flex-end;
}

.crayon {
    width: 30px;
    border-radius: 4px 4px 8px 8px;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
    opacity: 0;
    transform: scaleY(0);
    transform-origin: bottom;
}

.crayon:hover {
    transform: scaleY(1.1) !important;
}

.crayon::before {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: inherit;
    border-radius: 50%;
    filter: brightness(0.8);
}

.crayon-1 { height: 80px; background: #FF7043; }
.crayon-2 { height: 100px; background: #EC407A; }
.crayon-3 { height: 70px; background: #AB47BC; }
.crayon-4 { height: 90px; background: #42A5F5; }
.crayon-5 { height: 60px; background: #66BB6A; }
.crayon-6 { height: 75px; background: #FFA726; }
.crayon-7 { height: 85px; background: #8D6E63; }

.crayon-stroke-line {
    position: absolute;
    bottom: -30px;
    left: 0;
    width: 100%;
    height: 3px;
    border-radius: 3px;
    opacity: 0;
}

.crayon-stroke-line-1 { background: #FF7043; }
.crayon-stroke-line-2 { background: #EC407A; }
.crayon-stroke-line-3 { background: #AB47BC; }

/* STEP 4: Star Stamp / Sticker */
.stamp-container {
    position: relative;
    width: 260px;
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stamp-star {
    font-size: 8rem;
    color: #FFD54F;
    filter: drop-shadow(0 8px 25px rgba(255, 213, 79, 0.4));
    position: relative;
    opacity: 0;
    transform: scale(0) rotate(-30deg);
}

.stamp-star-inner {
    position: absolute;
    font-size: 2.5rem;
    color: #FF8A65;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
}

.stamp-glow {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 213, 79, 0.2), transparent 70%);
    opacity: 0;
    transform: scale(0);
}

.stamp-sparkle {
    position: absolute;
    font-size: 1.2rem;
    color: #FFD54F;
    opacity: 0;
}

.stamp-sparkle-1 { top: 5%; left: 20%; }
.stamp-sparkle-2 { top: 15%; right: 10%; }
.stamp-sparkle-3 { bottom: 10%; left: 10%; }
.stamp-sparkle-4 { bottom: 5%; right: 20%; }

/* STEP 5: Circle Time Animals */
.circle-container {
    position: relative;
    width: 280px;
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.circle-ring {
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 4px dashed rgba(255, 183, 77, 0.3);
    opacity: 0;
    transform: scale(0);
}

.circle-animal {
    position: absolute;
    font-size: 2rem;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
    cursor: pointer;
}

.circle-animal:hover {
    transform: scale(1.3) !important;
}

.circle-animal-1 { top: 5%; left: 50%; transform: translateX(-50%) scale(0); color: #FF7043; }
.circle-animal-2 { top: 25%; right: 5%; color: #42A5F5; }
.circle-animal-3 { bottom: 25%; right: 5%; color: #66BB6A; }
.circle-animal-4 { bottom: 5%; left: 50%; transform: translateX(-50%) scale(0); color: #AB47BC; }
.circle-animal-5 { bottom: 25%; left: 5%; color: #FFA726; }
.circle-animal-6 { top: 25%; left: 5%; color: #EC407A; }

.circle-speech-bubble {
    position: absolute;
    background: #ffffff;
    border-radius: 20px;
    padding: 10px 16px;
    font-family: 'Bubblegum Sans', cursive;
    font-size: 0.9rem;
    color: #5D4037;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid rgba(255, 183, 77, 0.2);
    opacity: 0;
    pointer-events: none;
    white-space: nowrap;
}

.circle-speech-bubble::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #ffffff;
}

.circle-bubble-1 { top: 0; right: 5%; }
.circle-bubble-2 { bottom: 35%; right: -5%; }
.circle-bubble-3 { top: 40%; left: -10%; }

/* STEP 6: Trophy / Confetti */
.trophy-container {
    position: relative;
    width: 260px;
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trophy-icon {
    font-size: 6rem;
    color: #FFD54F;
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: scale(0);
    filter: drop-shadow(0 10px 30px rgba(255, 213, 79, 0.4));
}

.trophy-pulse-ring {
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid rgba(255, 213, 79, 0.2);
    opacity: 0;
    transform: scale(0.5);
}

.trophy-glow {
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 213, 79, 0.15), transparent 70%);
    opacity: 0;
    transform: scale(0);
}

.confetti-piece {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 2px;
    opacity: 0;
}

.confetti-piece:nth-child(1) { background: #FF7043; top: 20%; left: 10%; }
.confetti-piece:nth-child(2) { background: #42A5F5; top: 10%; right: 20%; }
.confetti-piece:nth-child(3) { background: #66BB6A; bottom: 30%; left: 5%; }
.confetti-piece:nth-child(4) { background: #EC407A; bottom: 15%; right: 10%; }
.confetti-piece:nth-child(5) { background: #FFD54F; top: 40%; right: 5%; }
.confetti-piece:nth-child(6) { background: #AB47BC; bottom: 5%; left: 30%; }
.confetti-piece:nth-child(7) { background: #FF8A65; top: 5%; left: 40%; }
.confetti-piece:nth-child(8) { background: #64B5F6; bottom: 20%; right: 30%; }
.confetti-piece:nth-child(9) { background: #FFB74D; top: 25%; right: 35%; }
.confetti-piece:nth-child(10) { background: #81C784; bottom: 10%; left: 20%; }

/* CTA Section - Colorful Gradient */
.kg-cta {
    background: linear-gradient(135deg, #FF8A65 0%, #EC407A 50%, #AB47BC 100%);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.kg-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M20 0L25 15L40 20L25 25L20 40L15 25L0 20L15 15Z'/%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.kg-cta-title {
    font-family: 'Fredoka One', cursive;
    font-size: 2.8rem;
    color: #ffffff;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.kg-cta-desc {
    font-family: 'Quicksand', sans-serif;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
    line-height: 1.7;
    position: relative;
    z-index: 1;
    font-weight: 500;
}

.kg-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    color: #EC407A;
    padding: 16px 40px;
    border-radius: 50px;
    font-family: 'Fredoka One', cursive;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 3px solid #ffffff;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    z-index: 1;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.kg-cta-btn:hover {
    background: transparent;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.kg-cta-btn i {
    transition: transform 0.3s ease;
}

.kg-cta-btn:hover i {
    transform: translateX(5px) scale(1.1);
}

@media (max-width: 768px) {
    .kg-cta-title { font-size: 2rem; }
    .kg-cta-btn { padding: 14px 30px; font-size: 0.9rem; }
}

/* Responsive Visual Elements */
@media (max-width: 991px) {
    .storybook-container { width: 220px; height: 200px; }
    .storybook { width: 160px; height: 130px; }
    .storybook-cover i { font-size: 2rem; }
    .flashcards-container { width: 220px; height: 200px; }
    .flashcard { width: 65px; height: 90px; }
    .flashcard .card-front { font-size: 1.5rem; }
    .crayon-container { width: 220px; height: 200px; }
    .crayon { width: 24px; }
    .crayon-1 { height: 60px; }
    .crayon-2 { height: 80px; }
    .crayon-3 { height: 55px; }
    .crayon-4 { height: 70px; }
    .crayon-5 { height: 50px; }
    .crayon-6 { height: 60px; }
    .crayon-7 { height: 65px; }
    .stamp-star { font-size: 6rem; }
    .circle-container { width: 220px; height: 220px; }
    .circle-ring { width: 140px; height: 140px; }
    .circle-animal { font-size: 1.5rem; }
    .trophy-icon { font-size: 4.5rem; }
    .kg-visual-box { width: 200px; height: 200px; }
    .kg-visual-box i { font-size: 3.5rem; }
}

/* ============================================================
   PRIMARY & MIDDLE ACADEMICS - Custom Stylesheet
   6-Step Hybrid Education Workflow
   ============================================================ */

/* --- Section Base --- */
.primary-middle-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .primary-middle-section {
        padding: 60px 0;
    }
}

/* --- Hero Section --- */
.pm-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0b2240 0%, #1a3a6a 40%, #2d5a8e 100%);
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
}

.pm-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(197, 160, 89, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.pm-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(197, 160, 89, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* Floating educational icons */
.pm-float-icon {
    position: absolute;
    font-size: 2rem;
    color: rgba(197, 160, 89, 0.15);
    pointer-events: none;
    z-index: 1;
}

.pm-float-icon-1 { top: 15%; left: 8%; }
.pm-float-icon-2 { top: 25%; right: 12%; }
.pm-float-icon-3 { bottom: 30%; left: 15%; }
.pm-float-icon-4 { bottom: 20%; right: 8%; }
.pm-float-icon-5 { top: 50%; left: 5%; }
.pm-float-icon-6 { top: 60%; right: 5%; }

.pm-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
}

.pm-hero-badge {
    display: inline-block;
    background: rgba(197, 160, 89, 0.15);
    border: 1px solid rgba(197, 160, 89, 0.3);
    color: #c5a059;
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.pm-hero-title {
    font-size: 4rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.pm-hero-title .highlight {
    color: #c5a059;
    position: relative;
}

.pm-hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.75);
    max-width: 650px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.pm-hero-steps-preview {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.pm-hero-step-dot {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
}

.pm-hero-step-dot.active {
    background: #c5a059;
    border-color: #c5a059;
    color: #ffffff;
    transform: scale(1.15);
    box-shadow: 0 0 20px rgba(197, 160, 89, 0.3);
}

@media (max-width: 768px) {
    .pm-hero-title { font-size: 2.5rem; }
    .pm-hero-subtitle { font-size: 1rem; }
    .pm-hero-step-dot { width: 32px; height: 32px; font-size: 0.7rem; }
}

/* --- Section Title --- */
.pm-section-header {
    text-align: center;
    margin-bottom: 60px;
}

.pm-section-tag {
    display: inline-block;
    color: #c5a059;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.pm-section-title {
    font-size: 2.8rem;
    color: #0b2240;
    font-weight: 800;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.pm-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #c5a059, #0b2240);
    border-radius: 2px;
}

.pm-section-desc {
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .pm-section-title { font-size: 2rem; }
}

/* --- Progress Indicator - Sticky sidebar --- */
.pm-progress-wrapper {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.pm-progress-line {
    width: 3px;
    height: 250px;
    background: rgba(197, 160, 89, 0.15);
    position: relative;
    border-radius: 3px;
    overflow: hidden;
}

.pm-progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(180deg, #c5a059, #e8c87a);
    border-radius: 3px;
    transition: height 0.3s ease;
}

.pm-progress-dots {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    margin-top: -10px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 250px;
    justify-content: space-between;
    padding: 5px 0;
}

.pm-progress-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    border: 3px solid rgba(197, 160, 89, 0.3);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.pm-progress-dot.active {
    background: #c5a059;
    border-color: #c5a059;
    transform: scale(1.4);
    box-shadow: 0 0 20px rgba(197, 160, 89, 0.4);
}

.pm-progress-dot .dot-tooltip {
    position: absolute;
    right: calc(100% + 15px);
    top: 50%;
    transform: translateY(-50%);
    background: #0b2240;
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.pm-progress-dot .dot-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-left: 6px solid #0b2240;
    border-top: 6px solid transparent;
    border-bottom: 6px transparent;
}

.pm-progress-dot:hover .dot-tooltip,
.pm-progress-dot.active .dot-tooltip {
    opacity: 1;
}

@media (max-width: 991px) {
    .pm-progress-wrapper {
        display: none;
    }
}

/* --- Step Cards - Main workflow sections --- */
.pm-step {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.pm-step-inner {
    display: flex;
    align-items: center;
    gap: 60px;
    min-height: 500px;
}

.pm-step-visual {
    flex: 0 0 45%;
    max-width: 45%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 350px;
}

.pm-step-content {
    flex: 1;
    max-width: 55%;
}

.pm-step-number {
    font-size: 7rem;
    font-weight: 800;
    color: rgba(197, 160, 89, 0.06);
    position: absolute;
    top: -30px;
    right: 20px;
    line-height: 1;
    pointer-events: none;
    font-family: 'Syne', sans-serif;
}

.pm-step-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(197, 160, 89, 0.1);
    border: 1px solid rgba(197, 160, 89, 0.2);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #c5a059;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.pm-step-label .step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #c5a059;
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 800;
}

.pm-step-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #0b2240;
    margin-bottom: 15px;
    line-height: 1.2;
    font-family: 'Syne', sans-serif;
}

.pm-step-desc {
    font-size: 1.05rem;
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 25px;
}

.pm-step-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.pm-step-feat {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(197, 160, 89, 0.06);
    border: 1px solid rgba(197, 160, 89, 0.12);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    color: #1e293b;
    font-weight: 500;
}

.pm-step-feat i {
    color: #c5a059;
    font-size: 0.8rem;
}

/* Visual Icon containers */
.pm-icon-box {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(197, 160, 89, 0.08), rgba(11, 34, 64, 0.02));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 2px solid rgba(197, 160, 89, 0.1);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.pm-icon-box:hover {
    border-color: rgba(197, 160, 89, 0.3);
    transform: scale(1.03);
    box-shadow: 0 20px 60px rgba(197, 160, 89, 0.1);
}

.pm-icon-box i {
    font-size: 5rem;
    color: #c5a059;
    transition: all 0.3s ease;
}

.pm-icon-box:hover i {
    transform: scale(1.1) rotate(-5deg);
    color: #d4b26a;
}

/* SVG Icon styling */
.pm-svg-icon {
    width: 160px;
    height: 160px;
}

.pm-svg-icon svg {
    width: 100%;
    height: 100%;
}

/* Step 1 - Book & Speech Bubbles */
.step-1-bg { background: linear-gradient(135deg, #fdfbf7 0%, #f5f0e8 100%); }
.step-1-bg .pm-icon-box { background: radial-gradient(circle, rgba(197, 160, 89, 0.12), rgba(197, 160, 89, 0.02)); }

/* Step 2 - Notebook */
.step-2-bg { background: linear-gradient(135deg, #f0f4f8 0%, #e8edf5 100%); }
.step-2-bg .pm-icon-box { background: radial-gradient(circle, rgba(11, 34, 64, 0.06), rgba(11, 34, 64, 0.01)); }

/* Step 3 - Puzzle */
.step-3-bg { background: linear-gradient(135deg, #f5f0f8 0%, #ece4f0 100%); }
.step-3-bg .pm-icon-box { background: radial-gradient(circle, rgba(130, 80, 180, 0.08), rgba(130, 80, 180, 0.01)); }
.step-3-bg .pm-icon-box i { color: #8250b4; }
.step-3-bg .pm-step-label { color: #8250b4; border-color: rgba(130, 80, 180, 0.2); background: rgba(130, 80, 180, 0.08); }
.step-3-bg .pm-step-label .step-num { background: #8250b4; }
.step-3-bg .pm-step-feat i { color: #8250b4; }
.step-3-bg .pm-step-feat { border-color: rgba(130, 80, 180, 0.12); background: rgba(130, 80, 180, 0.05); }

/* Step 4 - Target */
.step-4-bg { background: linear-gradient(135deg, #f0f8f4 0%, #e5f0ea 100%); }
.step-4-bg .pm-icon-box { background: radial-gradient(circle, rgba(40, 160, 80, 0.08), rgba(40, 160, 80, 0.01)); }
.step-4-bg .pm-icon-box i { color: #28a050; }
.step-4-bg .pm-step-label { color: #28a050; border-color: rgba(40, 160, 80, 0.2); background: rgba(40, 160, 80, 0.08); }
.step-4-bg .pm-step-label .step-num { background: #28a050; }
.step-4-bg .pm-step-feat i { color: #28a050; }
.step-4-bg .pm-step-feat { border-color: rgba(40, 160, 80, 0.12); background: rgba(40, 160, 80, 0.05); }

/* Step 5 - Chalkboard */
.step-5-bg { background: linear-gradient(135deg, #1a2a1a 0%, #0d1a0d 100%); }
.step-5-bg .pm-step-title { color: #e8dcc8; }
.step-5-bg .pm-step-desc { color: rgba(232, 220, 200, 0.7); }
.step-5-bg .pm-step-label { color: #c5a059; border-color: rgba(197, 160, 89, 0.3); background: rgba(197, 160, 89, 0.1); }
.step-5-bg .pm-step-label .step-num { background: #c5a059; }
.step-5-bg .pm-step-feat { color: rgba(232, 220, 200, 0.8); border-color: rgba(197, 160, 89, 0.15); background: rgba(197, 160, 89, 0.06); }
.step-5-bg .pm-step-feat i { color: #c5a059; }
.step-5-bg .pm-icon-box { background: radial-gradient(circle, rgba(197, 160, 89, 0.1), rgba(197, 160, 89, 0.01)); border-color: rgba(197, 160, 89, 0.2); }
.step-5-bg .pm-icon-box i { color: #e8dcc8; }

/* Step 6 - Micro Test */
.step-6-bg { background: linear-gradient(135deg, #f8f4f0 0%, #f0ece8 100%); }
.step-6-bg .pm-icon-box { background: radial-gradient(circle, rgba(200, 80, 50, 0.08), rgba(200, 80, 50, 0.01)); }
.step-6-bg .pm-icon-box i { color: #c85032; }
.step-6-bg .pm-step-label { color: #c85032; border-color: rgba(200, 80, 50, 0.2); background: rgba(200, 80, 50, 0.08); }
.step-6-bg .pm-step-label .step-num { background: #c85032; }
.step-6-bg .pm-step-feat i { color: #c85032; }
.step-6-bg .pm-step-feat { border-color: rgba(200, 80, 50, 0.12); background: rgba(200, 80, 50, 0.05); }

/* Alternate layout on odd steps (visual on right) */
.pm-step-alt .pm-step-inner {
    flex-direction: row-reverse;
}

@media (max-width: 991px) {
    .pm-step-inner {
        flex-direction: column !important;
        gap: 40px;
        min-height: auto;
    }
    .pm-step-visual {
        flex: none;
        max-width: 100%;
        min-height: 250px;
    }
    .pm-step-content {
        max-width: 100%;
        text-align: center;
    }
    .pm-step-features {
        justify-content: center;
    }
    .pm-step-title { font-size: 1.8rem; }
    .pm-step-number { font-size: 5rem; }
    .pm-icon-box { width: 200px; height: 200px; }
    .pm-icon-box i { font-size: 3.5rem; }
    .pm-svg-icon { width: 120px; height: 120px; }
}

/* --- CTA Section --- */
.pm-cta {
    background: linear-gradient(135deg, #0b2240 0%, #1a3a6a 50%, #0b2240 100%);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pm-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c5a059' 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");
    opacity: 0.5;
}

.pm-cta-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    font-family: 'Syne', sans-serif;
}

.pm-cta-desc {
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.pm-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #c5a059;
    color: #ffffff;
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid #c5a059;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    z-index: 1;
    text-decoration: none;
}

.pm-cta-btn:hover {
    background: transparent;
    color: #c5a059;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(197, 160, 89, 0.25);
}

.pm-cta-btn i {
    transition: transform 0.3s ease;
}

.pm-cta-btn:hover i {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .pm-cta-title { font-size: 2rem; }
    .pm-cta-btn { padding: 14px 30px; font-size: 0.9rem; }
}

/* --- Step Visual - SVG / ICON Animation Wrappers --- */
.pm-visual-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Speech bubbles for Step 1 */
.speech-bubble {
    position: absolute;
    background: #ffffff;
    border-radius: 20px;
    padding: 12px 18px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #0b2240;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 2px solid rgba(197, 160, 89, 0.2);
    white-space: nowrap;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

.speech-bubble::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #ffffff;
}

.speech-bubble-1 { top: 10%; right: -10%; }
.speech-bubble-2 { bottom: 15%; left: -15%; }
.speech-bubble-3 { top: 50%; right: -20%; transform: translateY(-50%); }

/* Step 2 - Notebook lines */
.note-lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    padding: 30px;
    opacity: 0;
}

.note-line {
    height: 3px;
    background: rgba(11, 34, 64, 0.1);
    border-radius: 3px;
    transform-origin: left;
    transform: scaleX(0);
}

.note-line:nth-child(1) { width: 80%; }
.note-line:nth-child(2) { width: 60%; }
.note-line:nth-child(3) { width: 90%; }
.note-line:nth-child(4) { width: 50%; }
.note-line:nth-child(5) { width: 75%; }

/* Step 3 - Puzzle piece */
.puzzle-container {
    position: relative;
    width: 160px;
    height: 160px;
}

.puzzle-piece {
    position: absolute;
    width: 70px;
    height: 70px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.puzzle-piece-1 {
    top: 10px;
    left: 10px;
    background: #8250b4;
    transform: translate(-30px, -30px) rotate(-15deg);
    opacity: 0;
}

.puzzle-piece-2 {
    top: 10px;
    right: 10px;
    background: #a070d0;
    transform: translate(30px, -30px) rotate(15deg);
    opacity: 0;
}

.puzzle-piece-3 {
    bottom: 10px;
    left: 10px;
    background: #6030a0;
    transform: translate(-30px, 30px) rotate(15deg);
    opacity: 0;
}

.puzzle-piece-4 {
    bottom: 10px;
    right: 10px;
    background: #9060c0;
    transform: translate(30px, 30px) rotate(-15deg);
    opacity: 0;
}

.puzzle-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background: #c5a059;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: #ffffff;
    font-weight: 700;
    opacity: 0;
    z-index: 2;
}

.puzzle-check {
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 40px;
    height: 40px;
    background: #28a050;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.2rem;
    opacity: 0;
    transform: scale(0);
    z-index: 3;
    box-shadow: 0 5px 15px rgba(40, 160, 80, 0.3);
}

/* Step 4 - Target board */
.target-container {
    position: relative;
    width: 200px;
    height: 200px;
}

.target-ring {
    position: absolute;
    border-radius: 50%;
    border: 3px solid;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
}

.target-ring-1 { width: 180px; height: 180px; border-color: rgba(40, 160, 80, 0.15); }
.target-ring-2 { width: 140px; height: 140px; border-color: rgba(40, 160, 80, 0.25); }
.target-ring-3 { width: 100px; height: 100px; border-color: rgba(40, 160, 80, 0.4); }
.target-ring-4 { width: 60px; height: 60px; border-color: rgba(40, 160, 80, 0.6); }
.target-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: #28a050;
    border-radius: 50%;
    opacity: 0;
    box-shadow: 0 0 30px rgba(40, 160, 80, 0.3);
}

.target-crosshair-h,
.target-crosshair-v {
    position: absolute;
    background: rgba(40, 160, 80, 0.15);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.target-crosshair-h { width: 100%; height: 2px; }
.target-crosshair-v { width: 2px; height: 100%; }

/* Step 5 - Chalkboard */
.chalkboard-container {
    position: relative;
    width: 280px;
    height: 220px;
    background: #1d3a1d;
    border-radius: 12px;
    border: 8px solid #5a3a1a;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), inset 0 0 60px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
    overflow: hidden;
}

.chalkboard-text {
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
    color: rgba(232, 220, 200, 0.9);
    line-height: 1.8;
    text-align: left;
    white-space: pre-wrap;
    width: 100%;
}

.chalkboard-text .char {
    display: inline;
    opacity: 0;
}

.chalk-highlight {
    display: inline-block;
    background: rgba(197, 160, 89, 0.2);
    padding: 0 4px;
    border-radius: 2px;
}

.chalk-dust {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(232, 220, 200, 0.3);
    border-radius: 50%;
    pointer-events: none;
}

/* Step 6 - Countdown Ring */
.countdown-container {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.countdown-ring-svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.countdown-ring-bg {
    fill: none;
    stroke: rgba(200, 80, 50, 0.1);
    stroke-width: 6;
}

.countdown-ring-fill {
    fill: none;
    stroke: #c85032;
    stroke-width: 6;
    stroke-linecap: round;
    stroke-dasharray: 565.48;
    stroke-dashoffset: 565.48;
    transition: stroke-dashoffset 0.5s ease;
}

.countdown-center-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.countdown-center-text .num {
    font-size: 3rem;
    font-weight: 800;
    color: #c85032;
    line-height: 1;
    display: block;
}

.countdown-center-text .label {
    font-size: 0.7rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.success-badge {
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 50px;
    height: 50px;
    background: #28a050;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.5rem;
    opacity: 0;
    transform: scale(0);
    box-shadow: 0 8px 25px rgba(40, 160, 80, 0.3);
}

/* Responsive containers */
@media (max-width: 991px) {
    .chalkboard-container { width: 230px; height: 180px; }
    .chalkboard-text { font-size: 0.8rem; }
    .countdown-container { width: 160px; height: 160px; }
    .target-container { width: 160px; height: 160px; }
    .puzzle-container { width: 130px; height: 130px; }
    .puzzle-piece { width: 55px; height: 55px; }
    .speech-bubble { font-size: 0.7rem; padding: 8px 12px; }
}

/* ============================================================
   SENIOR SECONDARY ACADEMICS - Custom Stylesheet
   Competitive Exam Focus (IIT-JEE / NEET)
   ============================================================ */

/* --- Section Base --- */
.sr-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .sr-section {
        padding: 60px 0;
    }
}

/* --- HERO SECTION --- */
.sr-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, #0a0e1a 0%, #141c2e 35%, #1a2a4a 65%, #0d1520 100%);
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
}

.sr-hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(197, 160, 89, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.sr-hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 150, 255, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* Grid overlay for tech feel */
.sr-hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(197, 160, 89, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(197, 160, 89, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 1;
}

.sr-float-icon {
    position: absolute;
    font-size: 2rem;
    color: rgba(197, 160, 89, 0.12);
    pointer-events: none;
    z-index: 2;
}

.sr-float-icon-1 { top: 12%; left: 6%; }
.sr-float-icon-2 { top: 20%; right: 10%; }
.sr-float-icon-3 { bottom: 25%; left: 12%; }
.sr-float-icon-4 { bottom: 15%; right: 6%; }
.sr-float-icon-5 { top: 50%; left: 4%; }
.sr-float-icon-6 { top: 55%; right: 4%; }

.sr-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 920px;
    padding: 0 20px;
}

.sr-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(197, 160, 89, 0.15), rgba(0, 150, 255, 0.08));
    border: 1px solid rgba(197, 160, 89, 0.25);
    color: #c5a059;
    padding: 10px 28px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 30px;
    box-shadow: 0 0 30px rgba(197, 160, 89, 0.05);
}

.sr-hero-badge i {
    font-size: 1rem;
    color: #0096ff;
}

.sr-hero-title {
    font-size: 4.2rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    font-family: 'Syne', sans-serif;
}

.sr-hero-title .highlight-gold {
    color: #c5a059;
    position: relative;
}

.sr-hero-title .highlight-blue {
    background: linear-gradient(135deg, #0096ff, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sr-hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 680px;
    margin: 0 auto 35px;
    line-height: 1.9;
    font-weight: 400;
}

.sr-hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.sr-hero-stat {
    text-align: center;
}

.sr-hero-stat .stat-num {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    display: block;
    line-height: 1.2;
    font-family: 'Syne', sans-serif;
}

.sr-hero-stat .stat-num .gold {
    color: #c5a059;
}

.sr-hero-stat .stat-num .blue {
    color: #0096ff;
}

.sr-hero-stat .stat-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 600;
}

.sr-hero-steps-preview {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 35px;
}

.sr-hero-step-dot {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: default;
}

.sr-hero-step-dot.active {
    background: #c5a059;
    border-color: #c5a059;
    color: #ffffff;
    transform: scale(1.15);
    box-shadow: 0 0 25px rgba(197, 160, 89, 0.35);
}

@media (max-width: 768px) {
    .sr-hero-title { font-size: 2.6rem; }
    .sr-hero-subtitle { font-size: 1rem; }
    .sr-hero-step-dot { width: 34px; height: 34px; font-size: 0.65rem; }
    .sr-hero-stats { gap: 20px; }
    .sr-hero-stat .stat-num { font-size: 1.5rem; }
}

/* --- Section Header --- */
.sr-section-header {
    text-align: center;
    margin-bottom: 60px;
}

.sr-section-tag {
    display: inline-block;
    color: #c5a059;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.sr-section-title {
    font-size: 2.8rem;
    color: #ffffff;
    font-weight: 800;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
    font-family: 'Syne', sans-serif;
}

.sr-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #c5a059, #0096ff);
    border-radius: 2px;
}

.sr-section-desc {
    color: rgba(255, 255, 255, 0.5);
    max-width: 640px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .sr-section-title { font-size: 2rem; }
}

/* --- Progress Indicator - Sticky sidebar --- */
.sr-progress-wrapper {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.sr-progress-line {
    width: 3px;
    height: 260px;
    background: rgba(197, 160, 89, 0.12);
    position: relative;
    border-radius: 3px;
    overflow: hidden;
}

.sr-progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(180deg, #c5a059, #0096ff);
    border-radius: 3px;
    transition: height 0.3s ease;
}

.sr-progress-dots {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 260px;
    justify-content: space-between;
    padding: 6px 0;
}

.sr-progress-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
    border: 3px solid rgba(197, 160, 89, 0.2);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.sr-progress-dot.active {
    background: #c5a059;
    border-color: #c5a059;
    transform: scale(1.4);
    box-shadow: 0 0 25px rgba(197, 160, 89, 0.4);
}

.sr-progress-dot .dot-tooltip {
    position: absolute;
    right: calc(100% + 15px);
    top: 50%;
    transform: translateY(-50%);
    background: #0a0e1a;
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(197, 160, 89, 0.15);
}

.sr-progress-dot .dot-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-left: 6px solid #0a0e1a;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

.sr-progress-dot:hover .dot-tooltip,
.sr-progress-dot.active .dot-tooltip {
    opacity: 1;
}

@media (max-width: 991px) {
    .sr-progress-wrapper { display: none; }
}

/* --- Step Cards - Senior Secondary workflow sections --- */
.sr-step {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.sr-step-inner {
    display: flex;
    align-items: center;
    gap: 60px;
    min-height: 520px;
}

.sr-step-visual {
    flex: 0 0 42%;
    max-width: 42%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 350px;
}

.sr-step-content {
    flex: 1;
    max-width: 58%;
}

.sr-step-number {
    font-size: 7rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.03);
    position: absolute;
    top: -30px;
    right: 20px;
    line-height: 1;
    pointer-events: none;
    font-family: 'Syne', sans-serif;
}

.sr-step-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(197, 160, 89, 0.08);
    border: 1px solid rgba(197, 160, 89, 0.15);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #c5a059;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.sr-step-label .step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #c5a059;
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 800;
}

.sr-step-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 15px;
    line-height: 1.25;
    font-family: 'Syne', sans-serif;
}

.sr-step-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.8;
    margin-bottom: 25px;
}

.sr-step-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.sr-step-feat {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 7px 15px;
    border-radius: 8px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.sr-step-feat i {
    color: #c5a059;
    font-size: 0.75rem;
}

/* Alternate layout */
.sr-step-alt .sr-step-inner {
    flex-direction: row-reverse;
}

/* Step backgrounds */
.sr-step-dark-1 { background: linear-gradient(160deg, #080c16 0%, #0e1628 50%, #0a101e 100%); }
.sr-step-dark-2 { background: linear-gradient(160deg, #0a101e 0%, #111c30 50%, #0c1424 100%); }
.sr-step-dark-3 { background: linear-gradient(160deg, #0c1424 0%, #1a1a2e 50%, #0e1628 100%); }

@media (max-width: 991px) {
    .sr-step-inner {
        flex-direction: column !important;
        gap: 40px;
        min-height: auto;
    }
    .sr-step-visual {
        flex: none;
        max-width: 100%;
        min-height: 250px;
    }
    .sr-step-content {
        max-width: 100%;
        text-align: center;
    }
    .sr-step-features { justify-content: center; }
    .sr-step-title { font-size: 1.7rem; }
    .sr-step-number { font-size: 5rem; }
}

/* --- Step Visual Elements --- */

/* STEP 1: Data Nodes (Analytical Thinking) */
.data-nodes-container {
    position: relative;
    width: 280px;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.data-node-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.data-node {
    position: absolute;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #ffffff;
    box-shadow: 0 0 20px rgba(0, 150, 255, 0.2);
    transition: all 0.3s ease;
    z-index: 2;
}

.data-node i {
    font-size: 1.2rem;
}

.data-node-1 {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #0096ff, #00d4ff);
    top: 15%;
    left: 10%;
    opacity: 0;
    transform: scale(0);
}

.data-node-2 {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #c5a059, #e8c87a);
    top: 10%;
    right: 15%;
    opacity: 0;
    transform: scale(0);
}

.data-node-3 {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
    bottom: 20%;
    left: 8%;
    opacity: 0;
    transform: scale(0);
}

.data-node-4 {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #00b894, #55efc4);
    bottom: 10%;
    right: 10%;
    opacity: 0;
    transform: scale(0);
}

.data-node-5 {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #fd79a8, #e84393);
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    z-index: 3;
}

.data-node-pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid rgba(0, 150, 255, 0.3);
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    z-index: 1;
}

/* STEP 2: Formula / Reference Card */
.formula-card {
    position: relative;
    width: 300px;
    background: linear-gradient(145deg, rgba(20, 28, 46, 0.95), rgba(10, 14, 26, 0.98));
    border-radius: 16px;
    border: 1px solid rgba(197, 160, 89, 0.15);
    padding: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.formula-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #c5a059, #0096ff);
    opacity: 0.8;
}

.formula-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.formula-card-header i {
    font-size: 1.5rem;
    color: #c5a059;
}

.formula-card-header h5 {
    font-size: 0.9rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.formula-card-header span {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.formula-line {
    display: block;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    opacity: 0;
    transform: translateX(-20px);
}

.formula-line .highlight-formula {
    color: #c5a059;
    font-weight: 700;
}

.formula-line .highlight-blue {
    color: #0096ff;
    font-weight: 600;
}

.formula-line .highlight-green {
    color: #00b894;
}

.formula-highlight-overlay {
    position: absolute;
    top: 0;
    opacity: 0;
    pointer-events: none;
    border-radius: 4px;
    background: rgba(197, 160, 89, 0.08);
    transition: all 0.3s ease;
}

/* STEP 3: Code / Equation Blocks */
.code-blocks-container {
    position: relative;
    width: 300px;
    min-height: 220px;
    background: rgba(10, 14, 26, 0.8);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 20px;
    font-family: 'Courier New', monospace;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.code-block-header {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.code-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.code-dot-1 { background: #ff5f57; }
.code-dot-2 { background: #ffbd2e; }
.code-dot-3 { background: #28c840; }

.code-line {
    display: block;
    font-size: 0.85rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.45);
    opacity: 0;
    transform: translateY(10px);
}

.code-line .keyword { color: #c792ea; font-weight: 600; }
.code-line .function { color: #82aaff; }
.code-line .number { color: #f78c6c; }
.code-line .string { color: #c3e88d; }
.code-line .operator { color: #89ddff; }
.code-line .comment { color: #546e7a; font-style: italic; }
.code-line .variable { color: #f07178; }

.code-cursor {
    display: inline-block;
    width: 2px;
    height: 16px;
    background: #c5a059;
    margin-left: 2px;
    animation: blink 1s step-end infinite;
    vertical-align: text-bottom;
    opacity: 0;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* STEP 4: Progress Tracker Bars */
.progress-tracker-container {
    position: relative;
    width: 300px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.progress-track-item {
    display: flex;
    align-items: center;
    gap: 14px;
    opacity: 0;
    transform: translateX(-20px);
}

.progress-track-item .track-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.track-icon-physics { background: rgba(0, 150, 255, 0.15); color: #0096ff; }
.track-icon-chemistry { background: rgba(0, 184, 148, 0.15); color: #00b894; }
.track-icon-maths { background: rgba(197, 160, 89, 0.15); color: #c5a059; }
.track-icon-biology { background: rgba(253, 121, 168, 0.15); color: #fd79a8; }

.progress-track-item .track-info {
    flex: 1;
    min-width: 0;
}

.progress-track-item .track-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
}

.progress-track-item .track-bar-bg {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 3px;
    overflow: hidden;
}

.progress-track-item .track-bar-fill {
    height: 100%;
    border-radius: 3px;
    width: 0%;
    transition: width 0.3s ease;
}

.track-bar-fill-physics { background: linear-gradient(90deg, #0096ff, #00d4ff); }
.track-bar-fill-chemistry { background: linear-gradient(90deg, #00b894, #55efc4); }
.track-bar-fill-maths { background: linear-gradient(90deg, #c5a059, #e8c87a); }
.track-bar-fill-biology { background: linear-gradient(90deg, #fd79a8, #e84393); }

.progress-track-item .track-percent {
    font-size: 0.8rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
    min-width: 36px;
    text-align: right;
    opacity: 0;
}

/* STEP 5: Dark Chalkboard */
.sr-chalkboard {
    position: relative;
    width: 320px;
    height: 240px;
    background: #0d1a0d;
    border-radius: 14px;
    border: 10px solid #3a2a1a;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), inset 0 0 80px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
    overflow: hidden;
}

.sr-chalkboard-text {
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    color: rgba(220, 210, 190, 0.85);
    line-height: 2;
    text-align: left;
    width: 100%;
    position: relative;
}

.sr-chalkboard-text .chalk-char {
    display: inline;
    opacity: 0;
}

.chalk-stroke {
    position: absolute;
    pointer-events: none;
    opacity: 0;
    border-radius: 2px;
}

.chalk-stroke.yellow {
    background: rgba(197, 160, 89, 0.3);
    box-shadow: 0 0 10px rgba(197, 160, 89, 0.1);
}

.chalk-stroke.white {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.05);
}

.chalk-stroke.blue {
    background: rgba(0, 150, 255, 0.2);
    box-shadow: 0 0 10px rgba(0, 150, 255, 0.08);
}

.chalk-dust-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(220, 210, 190, 0.2);
    border-radius: 50%;
    pointer-events: none;
}

/* STEP 6: Timer Ring + Achievement */
.sr-timer-container {
    position: relative;
    width: 220px;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sr-timer-ring-svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.sr-timer-ring-bg {
    fill: none;
    stroke: rgba(197, 160, 89, 0.08);
    stroke-width: 6;
}

.sr-timer-ring-fill {
    fill: none;
    stroke: #c5a059;
    stroke-width: 6;
    stroke-linecap: round;
    stroke-dasharray: 628.32;
    stroke-dashoffset: 628.32;
    filter: drop-shadow(0 0 8px rgba(197, 160, 89, 0.3));
}

.sr-timer-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.sr-timer-inner .num {
    font-size: 3.5rem;
    font-weight: 800;
    color: #c5a059;
    line-height: 1;
    display: block;
    font-family: 'Syne', sans-serif;
}

.sr-timer-inner .label {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.35);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.sr-timer-pulse {
    position: absolute;
    inset: -15px;
    border-radius: 50%;
    border: 2px solid rgba(197, 160, 89, 0.1);
    opacity: 0;
    transform: scale(0.8);
}

.sr-achievement-badge {
    position: absolute;
    bottom: -5px;
    right: -5px;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #c5a059, #e8c87a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0a0e1a;
    font-size: 1.5rem;
    opacity: 0;
    transform: scale(0);
    box-shadow: 0 8px 30px rgba(197, 160, 89, 0.35);
}

/* --- CTA Section --- */
.sr-cta {
    background: linear-gradient(135deg, #080c16 0%, #141c2e 50%, #1a2a4a 100%);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(197, 160, 89, 0.08);
}

.sr-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 40px,
        rgba(197, 160, 89, 0.02) 40px,
        rgba(197, 160, 89, 0.02) 41px
    );
}

.sr-cta-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    font-family: 'Syne', sans-serif;
}

.sr-cta-title .gold {
    color: #c5a059;
}

.sr-cta-desc {
    color: rgba(255, 255, 255, 0.5);
    max-width: 600px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.sr-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #c5a059, #d4b26a);
    color: #0a0e1a;
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    z-index: 1;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(197, 160, 89, 0.2);
}

.sr-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(197, 160, 89, 0.35);
    color: #0a0e1a;
}

.sr-cta-btn i {
    transition: transform 0.3s ease;
}

.sr-cta-btn:hover i {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .sr-cta-title { font-size: 2rem; }
    .sr-cta-btn { padding: 14px 30px; font-size: 0.9rem; }
}

/* --- Responsive Adjustments --- */
@media (max-width: 991px) {
    .data-nodes-container { width: 220px; height: 220px; }
    .data-node-1 { width: 44px; height: 44px; }
    .data-node-2 { width: 36px; height: 36px; }
    .data-node-3 { width: 40px; height: 40px; }
    .data-node-4 { width: 48px; height: 48px; }
    .data-node-5 { width: 34px; height: 34px; }
    .formula-card { width: 260px; padding: 22px; }
    .code-blocks-container { width: 260px; }
    .progress-tracker-container { width: 260px; }
    .sr-chalkboard { width: 260px; height: 200px; }
    .sr-chalkboard-text { font-size: 0.85rem; }
    .sr-timer-container { width: 180px; height: 180px; }
    .sr-timer-inner .num { font-size: 2.8rem; }
}

/* ============================================================
   GALLERY PAGE (gallery.php) - Custom Styles
   Scoped to gallery-only classes so other pages are unaffected.
   ============================================================ */
/* Floating Particles for the Gallery Hero */
.gallery-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(197, 160, 89, 0.35);
    border-radius: 50%;
    animation: galleryParticleFloat 18s linear infinite;
}

@keyframes galleryParticleFloat {
    0% { transform: translateY(0) translateX(0) scale(1); opacity: 0.3; }
    25% { transform: translateY(-30px) translateX(15px) scale(1.2); opacity: 0.6; }
    50% { transform: translateY(-60px) translateX(-10px) scale(0.8); opacity: 0.4; }
    75% { transform: translateY(-40px) translateX(20px) scale(1.1); opacity: 0.7; }
    100% { transform: translateY(-80px) translateX(5px) scale(0.9); opacity: 0.2; }
}

/* ============================================================
   E-CALENDAR PAGE (e-calander.php) - Custom Styles
   Scoped to e-calendar-only classes / selectors so that other
   pages and sections remain unaffected.
   ============================================================ */
/* Print styles: hide the fixed header, page footer, hero overlay,
   and the calendar controls bar when printing the schedule. */
@media print {
    header,
    footer,
    #smooth-wrapper > div > section:first-child,
    .calendar-controls {
        display: none !important;
    }

.month-card {
        break-inside: avoid;
        border: 1px solid #ccc !important;
        box-shadow: none !important;
    }
}

/* ============================================================
   TESTIMONIALS PAGE (testimonials.php) - Custom Styles
   Scoped to testimonials-only classes so that other pages and
   sections remain unaffected.
   ============================================================ */
/* Hero Particles */
.testimonial-hero-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(197, 160, 89, 0.45);
    border-radius: 50%;
    pointer-events: none;
    animation: testimonialParticleFloat 16s ease-in-out infinite;
}

@keyframes testimonialParticleFloat {
    0%, 100% { transform: translateY(0px) translateX(0px); opacity: 0.2; }
    25% { transform: translateY(-30px) translateX(15px); opacity: 0.6; }
    50% { transform: translateY(-10px) translateX(-10px); opacity: 0.3; }
    75% { transform: translateY(-40px) translateX(20px); opacity: 0.5; }
}

/* Spinning Ring for Avatars */
@keyframes portraitSpin {
    to { transform: rotate(360deg); }
}

.portrait-ring {
    animation: portraitSpin 16s linear infinite;
}

/* CTA Icon Floating */
@keyframes ctaIconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.cta-icon-animate {
    animation: ctaIconFloat 3.5s ease-in-out infinite;
}

/* ============================================================
   NEWS & EVENTS PAGE (news.php) - Custom Styles
   Scoped to news-only classes so that other pages and sections
   remain unaffected.
   ============================================================ */
.news-item.hidden-page {
    display: none !important;
}

/* ============================================================
   DETAILED NEWS PAGE (detailed-news.php) - Custom Styles
   Scoped to detailed-news-only classes so that other pages and
   sections remain unaffected.
   ============================================================ */

/* Article reveal helper — initial state is set by GSAP only,
   so content remains visible if JS is disabled. */
.article-reveal {
    will-change: transform, opacity;
}

/* Featured article drop cap / elegant first-letter styling */
.article-body > p:first-of-type::first-letter {
    font-family: 'Playfair Display', serif;
    font-size: 3.2em;
    font-weight: 700;
    float: left;
    line-height: 0.85;
    padding-right: 10px;
    color: #c5a059;
}

/* Sidebar widget subtle hover lift (scoped to detail page) */
.news-widget-card {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.news-widget-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px -12px rgba(15, 23, 42, 0.12);
}

/* ============================================================
   CONTACT PAGE (pages/contact.php) - Custom Styles
   Scoped to contact-* classes so that other pages and sections
   remain completely unaffected.
   ============================================================ */

/* ─── Contact Hero Section ─── */
.contact-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0b2240 0%, #0a1a30 40%, #051222 100%);
    overflow: hidden;
    padding: 160px 0 80px;
}

.contact-hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(197, 160, 89, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(197, 160, 89, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 1;
    pointer-events: none;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(197, 160, 89, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
}

.contact-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
}

.contact-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
}

.contact-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(197, 160, 89, 0.12);
    border: 1px solid rgba(197, 160, 89, 0.25);
    padding: 10px 24px;
    border-radius: 50px;
    color: #c5a059;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
}

.contact-hero-badge i {
    font-size: 1rem;
}

.contact-hero-title {
    font-family: 'Syne', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 25px;
}

.contact-hero-title .highlight-gold {
    color: #c5a059;
}

.contact-hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 35px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-hero-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 50px;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 20px;
    padding: 24px 32px;
}

.contact-hero-stat {
    text-align: center;
}

.contact-stat-num {
    display: block;
    font-family: 'Syne', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
}

.contact-stat-num-sm {
    font-size: 1rem;
}

.contact-stat-label {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

/* ─── Contact Form Section ─── */
.contact-form-section {
    padding: 100px 0;
    background: #f8fafc;
    position: relative;
}

.contact-form-wrapper {
    background: #ffffff;
    border-radius: 20px;
    padding: 50px 40px;
    box-shadow: 0 20px 60px rgba(11, 34, 64, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #c5a059, #fa233b, #c5a059);
}

.contact-form-title {
    font-family: 'Syne', sans-serif;
    font-size: 2.2rem;
    color: #0b2240;
    margin-bottom: 10px;
}

.contact-form-subtitle {
    color: #64748b;
    font-size: 1rem;
    margin-bottom: 35px;
}

/* ─── Floating Label Inputs ─── */
.contact-floating-group {
    position: relative;
    margin-bottom: 25px;
}

.contact-floating-group .contact-field {
    height: 60px;
    border: 2px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 20px 18px 8px;
    font-size: 1rem;
    background: #ffffff;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    color: #0f172a;
    width: 100%;
    outline: none;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.contact-floating-group .contact-field:focus {
    border-color: #c5a059;
    box-shadow: 0 0 0 4px rgba(197, 160, 89, 0.12), 0 0 20px rgba(197, 160, 89, 0.08);
}

.contact-floating-group .contact-field.is-valid {
    border-color: #28a745;
    box-shadow: 0 0 0 4px rgba(40, 167, 69, 0.1);
}

.contact-floating-group .contact-field.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.1);
}

.contact-floating-group textarea.contact-field {
    height: auto;
    min-height: 140px;
    padding: 24px 18px 12px;
    resize: vertical;
}

.contact-floating-group label {
    position: absolute;
    top: 20px;
    left: 18px;
    font-size: 0.95rem;
    color: #64748b;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 0 4px;
    font-weight: 500;
}

.contact-floating-group .contact-field:focus ~ label,
.contact-floating-group .contact-field.filled ~ label,
.contact-floating-group .contact-field:not(:placeholder-shown) ~ label {
    top: 8px;
    font-size: 0.75rem;
    color: #c5a059;
    font-weight: 600;
}

.contact-floating-group .contact-field.is-valid ~ label {
    color: #28a745;
}

.contact-floating-group .contact-field.is-invalid ~ label {
    color: #dc3545;
}

.contact-input-icon {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(0, 0, 0, 0.2);
    font-size: 1.1rem;
    transition: all 0.3s ease;
    pointer-events: none;
}

.contact-floating-group .contact-field:focus ~ .contact-input-icon {
    color: #c5a059;
}

.contact-floating-group textarea ~ .contact-input-icon {
    top: 22px;
    transform: none;
}

.contact-floating-group select.contact-field {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236c757d' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    padding-right: 40px;
    cursor: pointer;
}

/* ─── Submit Button ─── */
.contact-btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, #0b2240 0%, #0d2a4d 100%);
    color: #ffffff;
    border: none;
    padding: 16px 40px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 12px;
    width: 100%;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.contact-btn-submit::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #c5a059, #d4b06a);
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-btn-submit:hover::before {
    opacity: 1;
}

.contact-btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(197, 160, 89, 0.35);
}

.contact-btn-submit span,
.contact-btn-submit i {
    position: relative;
    z-index: 1;
}

.contact-btn-submit:active {
    transform: translateY(0);
}

.contact-btn-submit.loading {
    pointer-events: none;
}

.contact-btn-submit.loading .contact-btn-text {
    opacity: 0;
}

.contact-btn-submit.loading .contact-btn-loader {
    display: flex;
}

.contact-btn-loader {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    gap: 6px;
}

.contact-btn-loader span {
    width: 8px;
    height: 8px;
    background: #ffffff;
    border-radius: 50%;
    display: inline-block;
    animation: contactLoaderBounce 0.6s ease-in-out infinite alternate;
}

.contact-btn-loader span:nth-child(2) {
    animation-delay: 0.2s;
}

.contact-btn-loader span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes contactLoaderBounce {
    from { transform: translateY(0); opacity: 0.4; }
    to { transform: translateY(-8px); opacity: 1; }
}

.contact-btn-submit.success {
    background: linear-gradient(135deg, #28a745, #20c997);
}

.contact-btn-submit.success .contact-btn-loader {
    display: none;
}

.contact-btn-submit.success .contact-btn-text {
    opacity: 0;
}

.contact-btn-submit.success .contact-btn-success-icon {
    display: flex;
}

.contact-btn-success-icon {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    color: #ffffff;
}

/* ─── Contact Sidebar Cards ─── */
.contact-sidebar-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #ffffff;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(11, 34, 64, 0.04);
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.contact-sidebar-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: rgba(197, 160, 89, 0.15);
    color: #c5a059;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-sidebar-title {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: #0b2240;
    margin-bottom: 4px;
}

.contact-sidebar-text {
    font-size: 0.8rem;
    color: #475569;
    font-weight: 600;
    line-height: 1.5;
}

.contact-sidebar-meta {
    font-size: 0.7rem;
    color: #94a3b8;
    margin-top: 2px;
}

/* ─── Contact Info Cards ─── */
.contact-info-section {
    padding: 100px 0;
    background: #ffffff;
}

.contact-section-title {
    font-family: 'Syne', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #0b2240;
    margin-bottom: 16px;
    line-height: 1.1;
}

.contact-info-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    padding: 35px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(11, 34, 64, 0.04);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #c5a059, #fa233b);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-info-card:hover::before {
    transform: scaleX(1);
}

.contact-info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(11, 34, 64, 0.1);
    border-color: rgba(197, 160, 89, 0.2);
}

.contact-info-card-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(197, 160, 89, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.6rem;
    color: #c5a059;
    transition: all 0.4s ease;
}

.contact-info-card:hover .contact-info-card-icon {
    background: #c5a059;
    color: #ffffff;
    transform: scale(1.1) rotateY(360deg);
}

.contact-info-card h4 {
    font-family: 'Syne', sans-serif;
    font-size: 1.2rem;
    color: #0b2240;
    margin-bottom: 12px;
}

.contact-info-card p {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* ─── Contact Map Section ─── */
.contact-map-section {
    padding: 100px 0;
    background: #f8fafc;
    position: relative;
    overflow: hidden;
}

.contact-map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(11, 34, 64, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
    height: 450px;
}

.contact-map-container iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: none;
}

.contact-map-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 20px 25px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 280px;
    z-index: 5;
}

.contact-map-overlay h5 {
    font-family: 'Syne', sans-serif;
    color: #0b2240;
    font-size: 1rem;
    margin-bottom: 5px;
}

.contact-map-overlay h5 i {
    color: #c5a059;
    margin-right: 6px;
}

.contact-map-overlay p {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 8px;
}

.contact-map-overlay a {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    color: #c5a059;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-map-overlay a:hover {
    color: #0b2240;
}

/* ─── Contact Success Modal ─── */
.contact-success-overlay {
    position: fixed;
    inset: 0;
    background: rgba(11, 34, 64, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.contact-success-overlay.show {
    display: flex;
    opacity: 1;
}

.contact-success-modal {
    background: #ffffff;
    border-radius: 24px;
    padding: 60px 50px;
    text-align: center;
    max-width: 480px;
    width: 90%;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3);
    position: relative;
    transform: scale(0.8);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.contact-success-overlay.show .contact-success-modal {
    transform: scale(1);
}

.contact-success-checkmark {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    position: relative;
}

.contact-checkmark-circle {
    stroke-dasharray: 260;
    stroke-dashoffset: 260;
    stroke: #28a745;
    stroke-width: 4;
    fill: none;
    animation: contactDrawCircle 0.6s ease forwards 0.3s;
}

.contact-checkmark-check {
    stroke-dasharray: 70;
    stroke-dashoffset: 70;
    stroke: #28a745;
    stroke-width: 5;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    animation: contactDrawCheck 0.4s ease forwards 0.9s;
}

@keyframes contactDrawCircle {
    to { stroke-dashoffset: 0; }
}

@keyframes contactDrawCheck {
    to { stroke-dashoffset: 0; }
}

.contact-success-modal h3 {
    font-family: 'Syne', sans-serif;
    font-size: 1.8rem;
    color: #0b2240;
    margin-bottom: 10px;
}

.contact-success-modal p {
    color: #64748b;
    font-size: 1rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

.contact-btn-success-dismiss {
    background: #c5a059;
    color: #ffffff;
    border: none;
    padding: 14px 35px;
    border-radius: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.contact-btn-success-dismiss:hover {
    background: #0b2240;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(11, 34, 64, 0.2);
}

.contact-confetti-container {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    border-radius: 24px;
}

.contact-confetti-piece {
    position: absolute;
    top: -10px;
    width: 10px;
    height: 10px;
    opacity: 0;
}

/* ─── Contact Responsive ─── */
@media (max-width: 991.98px) {
    .contact-form-wrapper {
        padding: 35px 25px;
    }
    .contact-form-title {
        font-size: 1.8rem;
    }
    .contact-info-card {
        padding: 25px 20px;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        min-height: 60vh;
        padding: 140px 0 60px;
    }
    .contact-hero-title {
        font-size: 2.5rem;
    }
    .contact-hero-subtitle {
        font-size: 1rem;
    }
    .contact-hero-stats {
        gap: 24px;
        padding: 18px;
    }
    .contact-stat-num {
        font-size: 1.2rem;
    }
    .contact-stat-num-sm {
        font-size: 0.9rem;
    }
    .contact-section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 576px) {
    .contact-form-section,
    .contact-info-section,
    .contact-map-section {
        padding: 60px 0;
    }
    .contact-form-wrapper {
        padding: 25px 18px;
        border-radius: 14px;
    }
    .contact-floating-group .contact-field {
        height: 54px;
        font-size: 0.95rem;
    }
    .contact-floating-group label {
        top: 18px;
        font-size: 0.9rem;
    }
    .contact-btn-submit {
        padding: 14px 30px;
        font-size: 0.9rem;
    }
    .contact-success-modal {
        padding: 40px 25px;
    }
    .contact-success-modal h3 {
        font-size: 1.4rem;
    }
    .contact-map-container {
        height: 400px;
    }
    .contact-map-overlay {
        display: none;
    }
}
