/* ==========================================================================
   Alkoda International Schools — Rich & Soft World-Class Design (SoftMagic)
   ========================================================================== */
:root {
    --ak-navy: #0f2d5c;
    --ak-navy-dark: #091d3e;
    --ak-teal: #0d9488;
    --ak-gold: #d97706;
    --ak-gold-soft: #f59e0b;
    --ak-bg: #f8fafc;
    --ak-surface: #ffffff;
    --ak-border: #e2e8f0;
    --ak-text: #0f172a;
    --ak-muted: #475569;
    --ak-shadow-sm: 0 2px 8px rgba(15, 45, 92, 0.05);
    --ak-shadow-md: 0 10px 28px rgba(15, 45, 92, 0.08);
    --ak-shadow-lg: 0 22px 48px rgba(15, 45, 92, 0.14);
    --ak-radius: 20px;
}

.ak-website-root {
    font-family: 'Cairo', 'Plus Jakarta Sans', 'Segoe UI', Tahoma, sans-serif;
    color: var(--ak-text);
    background-color: var(--ak-bg);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Glassmorphic Sticky Navbar */
.ak-navbar {
    background: rgba(9, 29, 62, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1030;
    box-shadow: 0 4px 20px rgba(9, 29, 62, 0.18);
}

.ak-nav-link {
    color: rgba(255, 255, 255, 0.88) !important;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 14px;
    border-radius: 10px;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.ak-nav-link:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.12);
}

/* Rich Hero Slider */
.ak-hero-slider {
    position: relative;
    min-height: 580px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #091d3e 0%, #0f2d5c 55%, #115e59 100%);
    color: #ffffff;
    overflow: hidden;
    padding: 72px 0 110px;
}

.ak-hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.9s ease-in-out;
    pointer-events: none;
}

.ak-hero-slide.active {
    opacity: 1;
}

.ak-hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.92;
}

.ak-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(95deg, rgba(9, 29, 62, 0.28) 0%, rgba(9, 29, 62, 0.72) 55%, rgba(9, 29, 62, 0.92) 100%);
    z-index: 1;
}

.ak-hero-showcase {
    border-radius: 20px;
    overflow: hidden;
    border: 3px solid rgba(245, 158, 11, 0.7);
    box-shadow: 0 24px 52px rgba(0, 0, 0, 0.42);
    height: 330px;
    background: #091d3e;
}

.ak-hero-showcase img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ak-hero-inner {
    position: relative;
    z-index: 2;
}

.ak-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245, 158, 11, 0.18);
    border: 1px solid rgba(245, 158, 11, 0.45);
    color: #fde68a;
    padding: 7px 18px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.9rem;
}

.ak-btn-gold {
    background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
    color: #ffffff !important;
    border: none;
    font-weight: 700;
    padding: 12px 26px;
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(217, 119, 6, 0.32);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.ak-btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(217, 119, 6, 0.42);
}

.ak-btn-glass {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.32);
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 12px;
    transition: all 0.2s ease;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.ak-btn-glass:hover {
    background: rgba(255, 255, 255, 0.22);
}

/* Floating KPI Strip */
.ak-floating-stats {
    margin-top: -58px;
    position: relative;
    z-index: 5;
}

.ak-stat-box {
    background: var(--ak-surface);
    border: 1px solid var(--ak-border);
    border-radius: 18px;
    padding: 22px 18px;
    text-align: center;
    box-shadow: var(--ak-shadow-md);
    transition: transform 0.25s ease;
    height: 100%;
}

.ak-stat-box:hover {
    transform: translateY(-4px);
}

.ak-stat-num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--ak-navy);
    line-height: 1.2;
}

/* Soft Cards & Bento Grid */
.ak-bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
}

.ak-bento-card {
    background: var(--ak-surface);
    border: 1px solid var(--ak-border);
    border-radius: var(--ak-radius);
    padding: 28px;
    box-shadow: var(--ak-shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ak-bento-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--ak-shadow-lg);
}

.ak-bento-wide { grid-column: span 7; }
.ak-bento-narrow { grid-column: span 5; }
.ak-bento-half { grid-column: span 6; }
.ak-bento-third { grid-column: span 4; }

@media (max-width: 991px) {
    .ak-bento-wide, .ak-bento-narrow, .ak-bento-half, .ak-bento-third {
        grid-column: span 12;
    }
}

.ak-img-frame {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--ak-shadow-sm);
}

.ak-img-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.ak-img-frame:hover img {
    transform: scale(1.04);
}

.ak-icon-circle {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 14px;
}

.ak-cta-banner {
    background: linear-gradient(135deg, #0f2d5c 0%, #1e3a8a 60%, #0d9488 100%);
    color: #ffffff;
    border-radius: 24px;
    padding: 48px 36px;
    box-shadow: var(--ak-shadow-lg);
}

.ak-page-hero {
    background: linear-gradient(135deg, #091d3e 0%, #0f2d5c 60%, #115e59 100%);
    color: #ffffff;
    padding: 58px 0;
    position: relative;
    overflow: hidden;
}

.ak-step-num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d97706, #f59e0b);
    color: #ffffff;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ak-filter-btn {
    border: 1px solid var(--ak-border);
    background: #ffffff;
    color: var(--ak-navy);
    border-radius: 999px;
    padding: 8px 18px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ak-filter-btn.active, .ak-filter-btn:hover {
    background: var(--ak-navy);
    color: #ffffff;
    border-color: var(--ak-navy);
}

/* Role Portal Shell */
.ak-portal-shell {
    min-height: 100vh;
    background: #f1f5f9;
    font-family: 'Cairo', 'Plus Jakarta Sans', sans-serif;
}

.ak-portal-topbar {
    background: linear-gradient(90deg, #091d3e, #0f2d5c);
    color: #fff;
    padding: 14px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    box-shadow: 0 4px 16px rgba(9, 29, 62, 0.2);
}

.ak-kpi-card {
    background: #fff;
    border: 1px solid var(--ak-border);
    border-radius: 16px;
    padding: 20px 22px;
    box-shadow: var(--ak-shadow-sm);
}

.ak-kpi-val {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--ak-navy);
}

.ak-role-pill {
    background: rgba(255, 255, 255, 0.14);
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    padding: 7px 15px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.ak-role-pill.active, .ak-role-pill:hover {
    background: var(--ak-gold);
    border-color: var(--ak-gold);
}
