@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Outfit:wght@500;600;700;800&display=swap');

/* CSS Variables */
:root {
    --i5-navy: #0f2347;
    --i5-blue-dark: #12317d;
    --i5-blue-accent: #2563eb;
    --i5-blue-soft: #eff6ff;
    --i5-amber: #f59e0b;
    --i5-amber-gold: #d97706;
    --i5-text-dark: #1e293b;
    --i5-text-muted: #64748b;
    --i5-border-light: #e2e8f0;
    
    /* Pillar Colors */
    --clr-inquire: #2563eb;
    --clr-inspire: #10b981;
    --clr-innovate: #f59e0b;
    --clr-integrate: #6366f1;
    --clr-impact: #f43f5e;
}

.academy-section {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--i5-text-dark);
    background-color: #fafbfe;
}

/* Background Blobs for Premium Aesthetic */
.i5-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.35;
    z-index: 1;
    pointer-events: none;
    animation: floatBlob 20s infinite alternate ease-in-out;
}

.i5-blob-1 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.3) 0%, rgba(37, 99, 235, 0) 70%);
    top: 5%;
    left: -10%;
}

.i5-blob-2 {
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.25) 0%, rgba(245, 158, 11, 0) 70%);
    top: 35%;
    right: -10%;
    animation-delay: -5s;
}

.i5-blob-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.25) 0%, rgba(99, 102, 241, 0) 70%);
    bottom: 15%;
    left: 10%;
    animation-delay: -10s;
}

@keyframes floatBlob {
    0% { transform: translateY(0) scale(1) rotate(0deg); }
    100% { transform: translateY(50px) scale(1.1) rotate(15deg); }
}

/* Stats Counter Grid */
.i5-stats-row {
    background: #ffffff;
    border: 1px solid rgba(18, 49, 125, 0.08);
    border-radius: 24px;
    padding: 2.25rem 1.5rem;
    box-shadow: 0 15px 35px rgba(15, 35, 71, 0.04);
}

.i5-stat-card {
    text-align: center;
    border-right: 1px solid var(--i5-border-light);
}

.i5-stat-card:last-child {
    border-right: none;
}

.i5-stat-num {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--i5-blue-dark), var(--i5-blue-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 4px;
}

.i5-stat-label {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--i5-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0;
}

/* Eyebrow & Badges */
.i5-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(245, 158, 11, 0.08));
    border: 1px solid rgba(37, 99, 235, 0.15);
    color: var(--i5-blue-dark);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 8px 18px;
    border-radius: 50rem;
}

.i5-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    color: var(--i5-navy);
    letter-spacing: -0.5px;
}

.i5-title-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--i5-blue-accent), var(--i5-amber));
    border-radius: 2px;
}

/* Section Sub-heading styling */
.i5-section-title-wrap {
    text-align: center;
    margin-bottom: 3.5rem;
    margin-top: 4.5rem;
}

.i5-section-badge {
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.15);
    color: var(--i5-blue-accent);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 6px 16px;
    border-radius: 50rem;
    display: inline-block;
}

/* Image Showcase */
.i5-image-container {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(15, 35, 71, 0.1);
}

.i5-image-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(15, 35, 71, 0) 60%, rgba(15, 35, 71, 0.3) 100%);
    z-index: 1;
    pointer-events: none;
}

.i5-image-container img {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.i5-image-container:hover img {
    transform: scale(1.04);
}

.i5-img-tag {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--i5-navy);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 10px 20px;
    border-radius: 12px;
    z-index: 2;
}

/* Vision & Mission Cards */
.i5-vm-card {
    background: #ffffff;
    border: 1px solid var(--i5-border-light);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: all 0.35s ease;
    box-shadow: 0 10px 30px rgba(15, 35, 71, 0.02);
}

.i5-vm-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: var(--vm-gradient);
}

.i5-vm-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(15, 35, 71, 0.06);
    border-color: rgba(37, 99, 235, 0.2);
}

.i5-vm-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--vm-bg-soft);
    color: var(--vm-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
}

.i5-vm-card-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--i5-navy);
    margin-bottom: 1rem;
}

.i5-vm-card-text {
    font-size: 1.02rem;
    line-height: 1.8;
    color: var(--i5-text-muted);
    margin-bottom: 0;
}

/* Pillar Card Styles */
.i5-pillar-card {
    background: #ffffff;
    border: 1px solid var(--i5-border-light);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(15, 35, 71, 0.02);
}

.i5-card-number {
    position: absolute;
    right: 20px;
    top: 10px;
    font-family: 'Outfit', sans-serif;
    font-size: 5.5rem;
    font-weight: 800;
    color: #f8fafc;
    line-height: 1;
    pointer-events: none;
    transition: color 0.4s ease;
    z-index: 1;
}

.i5-pillar-card:hover .i5-card-number {
    color: rgba(241, 245, 249, 0.7);
}

.i5-card-content {
    position: relative;
    z-index: 2;
}

.i5-pillar-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--accent-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.i5-pillar-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(15, 35, 71, 0.08);
    border-color: rgba(15, 35, 71, 0.12);
}

.i5-pillar-card:hover::after {
    transform: scaleX(1);
}

.i5-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: var(--accent-bg);
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.4s ease;
}

.i5-pillar-card:hover .i5-icon-box {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 20px var(--accent-shadow);
}

.i5-pillar-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.35rem;
    color: var(--i5-navy);
}

.i5-pillar-text {
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--i5-text-muted);
}

/* Core Values Section */
.i5-value-card {
    background: #ffffff;
    border: 1px solid var(--i5-border-light);
    border-radius: 20px;
    padding: 2.25rem 2rem;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(15, 35, 71, 0.01);
}

.i5-value-card:hover {
    transform: translateY(-5px);
    border-color: rgba(37, 99, 235, 0.2);
    box-shadow: 0 15px 30px rgba(15, 35, 71, 0.05);
}

.i5-value-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.25rem;
}

.i5-value-badge {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(37, 99, 235, 0.06);
    color: var(--i5-blue-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    font-weight: 700;
}

.i5-value-card:nth-child(even) .i5-value-badge {
    background: rgba(245, 158, 11, 0.06);
    color: var(--i5-amber-gold);
}

.i5-value-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--i5-navy);
    margin-bottom: 0;
}

.i5-value-text {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--i5-text-muted);
    margin-bottom: 0;
}

/* Philosophy Quote styling */
.i5-philosophy-quote {
    background: linear-gradient(135deg, var(--i5-blue-soft) 0%, #ffffff 100%);
    border-left: 5px solid var(--i5-blue-accent);
    border-radius: 0 24px 24px 0;
    padding: 3rem 2.5rem;
    position: relative;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.03);
}

.i5-philosophy-quote::before {
    content: "\f10d";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 4rem;
    color: rgba(37, 99, 235, 0.04);
    pointer-events: none;
}

.i5-philosophy-text {
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1.75;
    color: var(--i5-navy);
    font-style: italic;
    margin-bottom: 0;
}

/* Curriculum Accordion/Grid style */
.i5-curriculum-card {
    background: #ffffff;
    border: 1px solid var(--i5-border-light);
    border-radius: 20px;
    padding: 1.75rem;
    height: 100%;
    display: flex;
    gap: 16px;
    transition: all 0.3s ease;
}

.i5-curriculum-card:hover {
    transform: translateY(-3px);
    border-color: rgba(16, 185, 129, 0.2);
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.03);
}

.i5-curriculum-indicator {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.08);
    color: #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}

.i5-curriculum-text {
    font-size: 0.98rem;
    line-height: 1.75;
    color: var(--i5-text-dark);
    margin-bottom: 0;
}

/* Interactive Timeline Path */
.i5-timeline-section {
    background-color: #ffffff;
    border-radius: 30px;
    border: 1px solid var(--i5-border-light);
    padding: 4rem 2rem;
    box-shadow: 0 20px 40px rgba(15, 35, 71, 0.02);
}

.i5-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.i5-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: linear-gradient(180deg, var(--i5-blue-accent) 0%, var(--i5-amber) 100%);
    transform: translateX(-50%);
    border-radius: 2px;
}

.i5-timeline-item {
    position: relative;
    margin-bottom: 3.5rem;
    width: 50%;
    padding-right: 40px;
}

.i5-timeline-item:nth-child(even) {
    left: 50%;
    padding-right: 0;
    padding-left: 40px;
}

.i5-timeline-dot {
    position: absolute;
    right: -12px;
    top: 10px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #ffffff;
    border: 4px solid var(--i5-blue-accent);
    z-index: 10;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}

.i5-timeline-item:nth-child(even) .i5-timeline-dot {
    left: -12px;
    border-color: var(--i5-amber);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.15);
}

.i5-timeline-content {
    background: #f8fafc;
    border: 1px solid var(--i5-border-light);
    border-radius: 20px;
    padding: 1.75rem;
    transition: all 0.3s ease;
}

.i5-timeline-content:hover {
    transform: translateY(-3px);
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(15, 35, 71, 0.05);
    border-color: var(--i5-blue-accent);
}

.i5-timeline-item:nth-child(even) .i5-timeline-content:hover {
    border-color: var(--i5-amber);
}

.i5-timeline-step {
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--i5-blue-accent);
}

.i5-timeline-item:nth-child(even) .i5-timeline-step {
    color: var(--i5-amber-gold);
}

.i5-timeline-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--i5-navy);
    margin: 4px 0 8px 0;
}

.i5-timeline-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--i5-text-muted);
    margin-bottom: 0;
}

/* Admissions Call-To-Action Banner */
.i5-cta-section {
    background: linear-gradient(135deg, var(--i5-navy) 0%, #17356c 100%);
    border-radius: 30px;
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(15, 35, 71, 0.12);
}

.i5-cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.2) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
}

.i5-cta-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.i5-cta-btn {
    background: linear-gradient(135deg, var(--i5-amber) 0%, var(--i5-amber-gold) 100%);
    color: var(--i5-navy) !important;
    font-weight: 700;
    padding: 14px 36px;
    border-radius: 12px;
    border: none;
    box-shadow: 0 10px 20px rgba(245, 158, 11, 0.2);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.i5-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(245, 158, 11, 0.35);
    background: linear-gradient(135deg, var(--i5-amber-gold) 0%, var(--i5-amber) 100%);
}

/* Responsiveness */
@media (max-width: 991.98px) {
    .i5-stat-card {
        border-right: none;
        border-bottom: 1px solid var(--i5-border-light);
        padding-bottom: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .i5-stat-card:last-child {
        border-bottom: none;
        padding-bottom: 0;
        margin-bottom: 0;
    }
    
    .i5-timeline-item {
        width: 100%;
        padding-left: 45px !important;
        padding-right: 0 !important;
        margin-bottom: 2.5rem;
    }
    
    .i5-timeline-item:nth-child(even) {
        left: 0;
    }
    
    .i5-timeline-dot {
        left: 8px !important;
        right: auto !important;
    }
    
    .i5-timeline::before {
        left: 20px;
    }
    
    .i5-cta-section {
        padding: 3rem 1.5rem;
    }
    
    .i5-cta-title {
        font-size: 1.8rem;
    }
}
