/* ===== GOOGLE FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
    --primary: #0a1628;
    --primary-light: #1a2d4a;
    --accent: #1e3a5f;
    --accent-light: #5b9bd5;
    --accent-gradient: linear-gradient(135deg, #1e3a5f, #2c5f8a, #3a7bc8);
    --text: #2c2c2c;
    --text-light: #6b7280;
    --bg: #faf8f5;
    --bg-alt: #f0ece4;
    --white: #ffffff;
    --card-shadow: 0 1px 3px rgba(10, 22, 40, 0.04), 0 8px 30px rgba(10, 22, 40, 0.08);
    --card-shadow-hover: 0 2px 4px rgba(10, 22, 40, 0.04), 0 14px 36px rgba(10, 22, 40, 0.13), 0 36px 72px rgba(10, 22, 40, 0.05);
    --transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
    --transition-fast: all 0.25s ease;
    --radius: 12px;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 124px;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--text);
    background-color: var(--bg);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===== UTILITY ===== */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-padding {
    padding: 100px 0;
    position: relative;
}

/* ===== SECTION HEADERS — Enhanced Typography ===== */
.section-label {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.section-label::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 2px;
    background: var(--accent-gradient);
    border-radius: 1px;
}

.section-label.light {
    color: var(--accent-light);
}

.section-label.light::before {
    background: linear-gradient(90deg, var(--accent-light), transparent);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.15;
    margin-bottom: 16px;
    position: relative;
    letter-spacing: -0.5px;
}

.section-title.centered {
    text-align: center;
}

.section-title.light {
    color: var(--white);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent-gradient);
    margin-top: 16px;
    border-radius: 2px;
    transition: width 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.animate-on-scroll.visible .section-title::after,
.section-header.visible .section-title::after,
.section-title.visible::after {
    width: 80px;
}

.section-title.centered::after {
    margin-left: auto;
    margin-right: auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header .section-label {
    justify-content: center;
}

.section-header .section-title::after {
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.section-subtitle.light {
    color: rgba(255, 255, 255, 0.7);
}

/* ===== BUTTONS — Enhanced Micro-interactions ===== */
.btn {
    display: inline-block;
    padding: 14px 34px;
    border-radius: 6px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.4s ease, background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    text-align: center;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn-gold {
    background: var(--accent-gradient);
    color: #ffffff;
    border-color: var(--accent);
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(30, 58, 95, 0.4), 0 0 0 1px rgba(30, 58, 95, 0.1);
    background: var(--accent-light);
    color: #ffffff;
}

.btn-gold:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(30, 58, 95, 0.3);
}

.btn-outline-gold {
    background: transparent;
    color: var(--accent);
    border-color: var(--accent);
}

.btn-outline-gold:hover {
    background: var(--accent-gradient);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(30, 58, 95, 0.3), 0 0 0 1px rgba(30, 58, 95, 0.1);
}

.btn-outline-gold:active {
    transform: translateY(-1px);
}
header{background:#fff;}
header .animated-text{background: linear-gradient( 160deg, #0a1628 0%, #0f1f35 35%, #142744 65%, #0e1c30 100% ); padding:7px 0;}
header .animated-text p{color:#fff; font-size:14px;}
/* ===== NAVBAR — Premium with Blur & Shrink ===== */
.navbar {
    position: fixed;
    top: 40px;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.88);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    transition: padding 0.4s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.4s ease, background 0.4s ease;
    padding: 12px 0;
    border-bottom: 1px solid rgba(30, 58, 95, 0.08);
  transition: all 0.3s;
}

.navbar.scrolled {
    padding: 4px 0;
    box-shadow: 0 4px 24px rgba(10, 22, 40, 0.08), 0 1px 0 rgba(30, 58, 95, 0.1);
    background: rgba(255, 255, 255, 0.95);
    border-bottom-color: rgba(30, 58, 95, 0.15);
    top: 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1001;
}

.nav-logo {
    height: 90px;
    width: auto;
    transition: height 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.navbar.scrolled .nav-logo {
    height: 56px;
}

.navbar-brand img {
    max-width: 100%;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 8px 18px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    border-radius: 6px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: width 0.35s cubic-bezier(0.23, 1, 0.32, 1), left 0.35s cubic-bezier(0.23, 1, 0.32, 1);
    border-radius: 1px;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: calc(100% - 36px);
    left: 18px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-login {
    background: var(--accent) !important;
    color: #ffffff !important;
    padding: 8px 24px !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    margin-left: 12px;
    transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.35s ease, background 0.3s ease !important;
}

.nav-login::after {
    display: none !important;
}

.nav-login:hover {
    background: var(--accent-light) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 58, 95, 0.35);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
    background: none;
    border: none;
}

.hamburger-line {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
    transform-origin: center;
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile overlay */
.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 22, 40, 0.6);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ===== SECTION DIVIDERS ===== */
.section-divider {
    position: relative;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 2;
    background: transparent !important;
}

.section-divider svg {
    position: relative;
    display: block;
    width: 100%;
    height: 60px;
}

.section-divider.flip svg {
    transform: scaleY(-1);
}

/* ===== HERO SECTION — Carousel ===== */
.hero {
    min-height: calc(100vh - 114px);
    margin-top: 114px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: var(--primary);
}

/* Carousel container */
.hero-carousel {
    position: absolute;
    inset: 0;
    z-index: 0;
}

/* Individual slides */
.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    will-change: opacity;
}

.hero-slide.active {
    opacity: 1;
}

/* Subtle zoom animation on active slide */
.hero-slide.active {
    animation: heroSlideZoom 8s ease-out forwards;
}

@keyframes heroSlideZoom {
    from { transform: scale(1); }
    to { transform: scale(1.05); }
}

/* Primary gradient overlay */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 22, 40, 0.15) 0%,
        rgba(10, 22, 40, 0) 30%,
        rgba(10, 22, 40, 0.55) 65%,
        rgba(10, 22, 40, 0.88) 85%,
        rgba(10, 22, 40, 0.95) 100%
    );
    z-index: 1;
}

/* Animated gradient shimmer overlay */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        120deg,
        transparent 0%,
        rgba(30, 58, 95, 0.03) 25%,
        transparent 50%,
        rgba(30, 58, 95, 0.04) 75%,
        transparent 100%
    );
    background-size: 200% 200%;
    animation: heroShimmer 8s ease-in-out infinite;
    z-index: 2;
    pointer-events: none;
}

@keyframes heroShimmer {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Carousel Dots */
.hero-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 5;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(30, 58, 95, 0.6);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: background 0.4s ease, border-color 0.4s ease, transform 0.3s ease, width 0.3s ease;
}

.hero-dot:hover {
    border-color: var(--accent-light);
    transform: scale(1.2);
}

.hero-dot.active {
    background: var(--accent-light);
    border-color: var(--accent-light);
    width: 28px;
    border-radius: 5px;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 850px;
    padding: 0 20px 70px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.08;
    margin-bottom: 10px;
    text-shadow: 0 3px 24px rgba(0, 0, 0, 0.5);
    letter-spacing: -1px;
    position: relative;
    display: inline-block;
}

/* Decorative accent bar under hero title */
.hero-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--accent-gradient);
    margin: 16px auto 0;
    border-radius: 2px;
    box-shadow: 0 0 12px rgba(30, 58, 95, 0.4);
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
    letter-spacing: 0.3px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    padding: 16px 42px;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.hero-buttons .btn-gold:hover {
    box-shadow: 0 8px 30px rgba(30, 58, 95, 0.5), 0 0 60px rgba(30, 58, 95, 0.15);
}

.hero-buttons .btn-outline-gold {
    border-color: rgba(58, 123, 200, 0.7);
    color: #7ab3e0;
}

.hero-buttons .btn-outline-gold:hover {
    border-color: var(--accent-light);
    background: rgba(91, 155, 213, 0.15);
    color: #ffffff;
    box-shadow: 0 8px 30px rgba(30, 58, 95, 0.35), 0 0 60px rgba(30, 58, 95, 0.1);
}

/* ===== ABOUT SECTION ===== */
.about {
    background: var(--bg);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(135deg, transparent, rgba(30, 58, 95, 0.04));
    pointer-events: none;
}

/* Layered radial glow */
.about::after {
    content: '';
    position: absolute;
    top: 10%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(30, 58, 95, 0.04) 0%, transparent 70%);
    pointer-events: none;
    border-radius: 50%;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-description {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.8;
}

.trust-factors {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 35px;
}

.trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--white);
    border: 1px solid rgba(30, 58, 95, 0.25);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.4s ease, border-color 0.3s ease, background 0.3s ease;
    box-shadow: 0 2px 8px rgba(10, 22, 40, 0.04);
}

.trust-pill:hover {
    border-color: var(--accent);
    box-shadow: 0 6px 20px rgba(30, 58, 95, 0.15);
    transform: translateY(-3px);
    background: rgba(30, 58, 95, 0.04);
}

.trust-icon {
    font-size: 1.2rem;
}

.about-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* About decorative quote block */
.about-decorative {
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-quote-block {
    position: relative;
    background: var(--primary);
    color: var(--white);
    padding: 50px 40px 40px;
    border-radius: var(--radius);
    max-width: 400px;
    box-shadow: 0 20px 60px rgba(10, 22, 40, 0.25), 0 0 0 1px rgba(30, 58, 95, 0.08);
}

.about-quote-block::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(135deg, var(--accent), transparent 40%, transparent 60%, var(--accent));
    border-radius: calc(var(--radius) + 3px);
    z-index: -1;
    opacity: 0.5;
}

.quote-mark {
    font-family: var(--font-heading);
    font-size: 5rem;
    color: var(--accent);
    line-height: 0.8;
    margin-bottom: 10px;
    opacity: 0.6;
}

.quote-text {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 400;
    font-style: italic;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

.quote-author {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--accent-light);
    letter-spacing: 1px;
}

.quote-ornament {
    position: absolute;
    bottom: 16px;
    right: 20px;
    width: 40px;
    height: 40px;
    border: 2px solid rgba(30, 58, 95, 0.2);
    border-radius: 4px;
    transform: rotate(45deg);
}

/* ===== COURSES SECTION ===== */
.courses {
    background: linear-gradient(
        160deg,
        #0a1628 0%,
        #0f1f35 35%,
        #142744 65%,
        #0e1c30 100%
    );
    position: relative;
    overflow: hidden;
}

.courses::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 15% 10%, rgba(30, 58, 95, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 85% 80%, rgba(30, 58, 95, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(20, 39, 68, 0.4) 0%, transparent 70%);
    pointer-events: none;
}

/* Layered radial glow for courses */
.courses::after {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(30, 58, 95, 0.06) 0%, transparent 60%);
    pointer-events: none;
    border-radius: 50%;
    animation: floatOrb2 18s ease-in-out infinite;
}

/* Course section light-theme overrides for dark background */
.courses .section-label {
    color: var(--accent-light);
}

.courses .section-label::before {
    background: linear-gradient(90deg, var(--accent-light), transparent);
}

.courses .section-title {
    color: var(--white);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.courses .section-title::after {
    background: var(--accent-gradient);
}

.courses .section-subtitle {
    color: rgba(255, 255, 255, 0.65);
}

.course-categories {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.category-tag {
    padding: 10px 26px;
    background: rgba(255, 255, 255, 0.07);
    border: 2px solid rgba(30, 58, 95, 0.25);
    color: rgba(255, 255, 255, 0.75);
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 500;
    transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.35s ease, background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
    cursor: pointer;
    letter-spacing: 0.3px;
    position: relative;
    backdrop-filter: blur(4px);
}

/* Default hover/active — Short Term (gold) */
.category-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(30, 58, 95, 0.2);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(30, 58, 95, 0.4);
    color: rgba(255, 255, 255, 0.9);
}

.category-tag.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(30, 58, 95, 0.35);
    transform: translateY(-2px);
    font-weight: 600;
}

/* Job Oriented theme — teal tabs */
.theme-job-oriented .category-tag.active {
    background: #2a7a8c;
    border-color: #2a7a8c;
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(42, 122, 140, 0.3);
}

/* School theme — sage green tabs */
.theme-school .category-tag.active {
    background: #5b8c5a;
    border-color: #5b8c5a;
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(91, 140, 90, 0.3);
}

/* ── Tab Panels ── */
.courses-tab-panel {
    display: none;
    opacity: 0;
}

.courses-tab-panel.tab-active {
    display: block;
    animation: tabFadeIn 0.45s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

@keyframes tabFadeIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Staggered card entries on tab switch */
.courses-tab-panel.tab-active .course-card {
    animation: cardSlideIn 0.5s cubic-bezier(0.23, 1, 0.32, 1) both;
}

.courses-tab-panel.tab-active .course-card[data-delay="0"] { animation-delay: 0s; }
.courses-tab-panel.tab-active .course-card[data-delay="1"] { animation-delay: 0.06s; }
.courses-tab-panel.tab-active .course-card[data-delay="2"] { animation-delay: 0.12s; }
.courses-tab-panel.tab-active .course-card[data-delay="3"] { animation-delay: 0.18s; }
.courses-tab-panel.tab-active .course-card[data-delay="4"] { animation-delay: 0.24s; }
.courses-tab-panel.tab-active .course-card[data-delay="5"] { animation-delay: 0.30s; }
.courses-tab-panel.tab-active .course-card[data-delay="6"] { animation-delay: 0.36s; }

@keyframes cardSlideIn {
    from {
        opacity: 0;
        transform: translateY(24px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    position: relative;
    z-index: 1;
}

/* ── Course Card — Enhanced ── */
.course-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px 30px 36px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2), 0 12px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.45s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.45s ease, border-color 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(30, 58, 95, 0.12);
}

/* Left accent bar */
.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-gradient);
    transform: scaleY(0);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    transform-origin: top;
}

.course-card:hover::before {
    transform: scaleY(1);
}

/* Corner accent */
.course-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(225deg, rgba(30, 58, 95, 0.12) 0%, transparent 60%);
    transition: width 0.4s ease, height 0.4s ease;
    pointer-events: none;
}

.course-card:hover::after {
    width: 60px;
    height: 60px;
    background: linear-gradient(225deg, rgba(30, 58, 95, 0.2) 0%, transparent 60%);
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25), 0 20px 50px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(30, 58, 95, 0.1);
    border-color: rgba(30, 58, 95, 0.25);
}

.card-accent {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.course-card:hover .card-accent {
    opacity: 1;
}

.course-icon-wrap {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.1), rgba(30, 58, 95, 0.05));
    border-radius: 16px;
    border: 1px solid rgba(30, 58, 95, 0.15);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), background 0.3s ease, border-color 0.3s ease;
}

.course-card:hover .course-icon-wrap {
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.2), rgba(30, 58, 95, 0.08));
    border-color: var(--accent);
    transform: scale(1.1) rotate(3deg);
}

.course-icon {
    font-size: 2rem;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.course-card:hover .course-icon {
    transform: scale(1.1);
}

.course-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text);
    letter-spacing: -0.2px;
}

.course-card p {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 4px;
}

/* ── Card CTA ── */
.card-cta {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 14px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    transition: gap 0.35s cubic-bezier(0.23, 1, 0.32, 1), color 0.3s ease;
    letter-spacing: 0.2px;
}

.card-cta:hover {
    gap: 8px;
}

.cta-arrow {
    transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1);
    display: inline-block;
}

.course-card:hover .cta-arrow {
    transform: translateX(3px);
}

/* ── Job Oriented Theme — Card Accents ── */
.theme-job-oriented .course-card::before {
    background: linear-gradient(to bottom, #2a7a8c, #4db5c7);
}

.theme-job-oriented .course-card::after {
    background: linear-gradient(225deg, rgba(42, 122, 140, 0.12) 0%, transparent 60%);
}

.theme-job-oriented .course-card:hover::after {
    background: linear-gradient(225deg, rgba(42, 122, 140, 0.2) 0%, transparent 60%);
}

.theme-job-oriented .course-card:hover {
    border-color: rgba(42, 122, 140, 0.2);
}

.theme-job-oriented .card-accent {
    background: linear-gradient(90deg, #2a7a8c, transparent);
}

.theme-job-oriented .course-icon-wrap {
    background: linear-gradient(135deg, rgba(42, 122, 140, 0.1), rgba(42, 122, 140, 0.04));
    border-color: rgba(42, 122, 140, 0.15);
}

.theme-job-oriented .course-card:hover .course-icon-wrap {
    background: linear-gradient(135deg, rgba(42, 122, 140, 0.2), rgba(42, 122, 140, 0.08));
    border-color: #2a7a8c;
}

.theme-job-oriented .card-cta {
    color: #2a7a8c;
}

/* ── School Theme — Card Accents ── */
.theme-school .course-card::before {
    background: linear-gradient(to bottom, #5b8c5a, #8bc48a);
}

.theme-school .course-card::after {
    background: linear-gradient(225deg, rgba(91, 140, 90, 0.12) 0%, transparent 60%);
}

.theme-school .course-card:hover::after {
    background: linear-gradient(225deg, rgba(91, 140, 90, 0.2) 0%, transparent 60%);
}

.theme-school .course-card:hover {
    border-color: rgba(91, 140, 90, 0.2);
}

.theme-school .card-accent {
    background: linear-gradient(90deg, #5b8c5a, transparent);
}

.theme-school .course-icon-wrap {
    background: linear-gradient(135deg, rgba(91, 140, 90, 0.1), rgba(91, 140, 90, 0.04));
    border-color: rgba(91, 140, 90, 0.15);
}

.theme-school .course-card:hover .course-icon-wrap {
    background: linear-gradient(135deg, rgba(91, 140, 90, 0.2), rgba(91, 140, 90, 0.08));
    border-color: #5b8c5a;
}

.theme-school .card-cta {
    color: #5b8c5a;
}

/* ===== STUDENT SUCCESS SECTION ===== */
.students {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    position: relative;
}

.students::before {
    content: '';
    position: absolute;
    inset: 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='%23c8a84e' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.students-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    position: relative;
    z-index: 1;
}

.student-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(30, 58, 95, 0.15);
    border-radius: var(--radius);
    padding: 36px 24px 30px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    backdrop-filter: blur(5px);
}

.student-card:hover {
    transform: scale(1.03);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(30, 58, 95, 0.3);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}

.student-quote-mark {
    position: absolute;
    top: 12px;
    right: 20px;
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--accent);
    opacity: 0.2;
    line-height: 1;
}

.student-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(30, 58, 95, 0.3);
}

.student-card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 6px;
}

.student-card .company {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 4px;
}

.student-card .role {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
}

/* ===== WHY CHOOSE US SECTION ===== */
.why-choose {
    background: var(--bg);
    position: relative;
}

/* Layered radial glow */
.why-choose::after {
    content: '';
    position: absolute;
    top: 20%;
    right: -5%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(30, 58, 95, 0.04) 0%, transparent 70%);
    pointer-events: none;
    border-radius: 50%;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    position: relative;
    z-index: 1;
}

.why-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px 28px;
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: transform 0.45s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.45s ease, border-color 0.3s ease;
    border: 1px solid rgba(30, 58, 95, 0.08);
    position: relative;
    overflow: hidden;
}

/* Signature gold corner accent */
.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(225deg, rgba(30, 58, 95, 0.1) 0%, transparent 60%);
    transition: width 0.4s ease, height 0.4s ease;
    pointer-events: none;
}

.why-card:hover::before {
    width: 55px;
    height: 55px;
    background: linear-gradient(225deg, rgba(30, 58, 95, 0.18) 0%, transparent 60%);
}

.why-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--accent-gradient);
    transition: width 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.why-card:hover::after {
    width: 60px;
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-shadow-hover);
    border-color: rgba(30, 58, 95, 0.15);
}

.why-icon-wrap {
    width: 80px;
    height: 80px;
    margin: 0 auto 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid rgba(30, 58, 95, 0.25);
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.08), rgba(30, 58, 95, 0.02));
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), background 0.3s ease, border-color 0.3s ease;
}

.why-card:hover .why-icon-wrap {
    border-color: var(--accent);
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.15), rgba(30, 58, 95, 0.05));
    transform: scale(1.1);
}

.why-icon {
    font-size: 2rem;
}

.why-card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 10px;
    letter-spacing: -0.2px;
}

.why-card p {
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ===== CAREER GROWTH SECTION — With Floating Orbs ===== */
.career {
    background: linear-gradient(160deg, var(--primary) 0%, var(--primary-light) 60%, #233d5e 100%);
    position: relative;
    overflow: hidden;
}

.career::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 10% 90%, rgba(30, 58, 95, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 90% 10%, rgba(30, 58, 95, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

/* Floating gradient orbs — Wow Element */
.floating-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(60px);
    opacity: 0.35;
}

.orb-1 {
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(30, 58, 95, 0.3) 0%, transparent 70%);
    top: 10%;
    right: -5%;
    animation: floatOrb1 12s ease-in-out infinite;
}

.orb-2 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(30, 58, 95, 0.2) 0%, rgba(10, 22, 40, 0.1) 70%);
    bottom: 15%;
    left: -3%;
    animation: floatOrb2 15s ease-in-out infinite;
}

.orb-3 {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(232, 212, 139, 0.2) 0%, transparent 70%);
    top: 50%;
    right: 20%;
    animation: floatOrb3 10s ease-in-out infinite;
}

@keyframes floatOrb1 {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(-20px, -30px); }
    66% { transform: translate(15px, 20px); }
}

@keyframes floatOrb2 {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(25px, -15px); }
    66% { transform: translate(-10px, 25px); }
}

@keyframes floatOrb3 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-20px, -20px); }
}

.career-intro {
    max-width: 700px;
    margin: 0 auto 60px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.career-intro p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    padding: 20px 0;
    z-index: 1;
}

.timeline-line {
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent), rgba(30, 58, 95, 0.2));
}

.timeline-step {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 48px;
    position: relative;
}

.timeline-step:last-child {
    margin-bottom: 0;
}

.timeline-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary);
    border: 2px solid var(--accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 20px rgba(30, 58, 95, 0.2);
    transition: box-shadow 0.5s ease;
}

/* Glow pulse on visible */
.timeline-step.animate-on-scroll.visible .timeline-number {
    animation: timelinePulse 2s ease-in-out 0.5s 1;
}

@keyframes timelinePulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(30, 58, 95, 0.2); }
    50% { box-shadow: 0 4px 30px rgba(30, 58, 95, 0.45), 0 0 20px rgba(30, 58, 95, 0.15); }
}

.timeline-content {
    padding-top: 8px;
    flex: 1;
}

.timeline-content h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 8px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.timeline-content p {
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
}

/* ===== PARTNERS SECTION ===== */
.partners {
    background: var(--bg);
    overflow: hidden;
}

.partners-track-wrapper {
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.partners-track {
    display: flex;
    gap: 28px;
    animation: marquee 25s linear infinite;
    width: max-content;
}

.partner-box {
    flex-shrink: 0;
    width: 180px;
    height: 90px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    cursor: default;
}

.partner-inner {
    width: 100%;
    height: 100%;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 1px solid rgba(30, 58, 95, 0.2);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-light);
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.partner-box:hover .partner-inner {
    border-color: var(--accent);
    box-shadow: 0 4px 20px rgba(30, 58, 95, 0.15);
    transform: scale(1.05);
    color: var(--accent);
}

/* ===== FOOTER — Premium Polish ===== */
.footer {
    background: #070d18;
    color: rgba(255, 255, 255, 0.8);
    padding: 80px 0 0;
    position: relative;
    overflow: hidden;
}

/* Top gradient accent — thicker and more visible */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent 5%, var(--accent) 50%, transparent 95%);
}

/* Layered radial background glow */
.footer::after {
    content: '';
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(30, 58, 95, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 50px;
    padding-bottom: 40px;
    position: relative;
    z-index: 1;
}

.footer-col h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 20px;
    position: relative;
}

.footer-col h3::after {
    content: '';
    display: block;
    width: 35px;
    height: 2px;
    background: var(--accent-gradient);
    margin-top: 10px;
    border-radius: 1px;
    opacity: 0.6;
    transition: width 0.4s ease;
}

.footer-col:hover h3::after {
    width: 50px;
}

.footer-col > p {
    font-family: var(--font-body);
    font-size: 0.9rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.6);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s ease, transform 0.3s ease;
    position: relative;
    display: inline-block;
    padding-left: 0;
}

.footer-links a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.35s cubic-bezier(0.23, 1, 0.32, 1);
}

.footer-links a:hover {
    color: var(--accent);
    transform: translateX(6px);
}

.footer-links a:hover::before {
    width: 100%;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s ease;
}

.footer-contact-item:hover {
    color: rgba(255, 255, 255, 0.85);
}

.footer-icon {
    font-size: 1.1rem;
    min-width: 24px;
    margin-top: 2px;
}

.footer-separator {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(30, 58, 95, 0.25), transparent);
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

.footer-bottom {
    padding: 22px 0;
    text-align: center;
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    font-family: var(--font-body);
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.5px;
}

/* ===== PAGE HERO (About / Contact) ===== */
.page-hero {
    min-height: 400px;
    margin-top: 114px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: var(--primary);
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(30, 58, 95, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(30, 58, 95, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

.page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        120deg,
        transparent 0%,
        rgba(30, 58, 95, 0.03) 25%,
        transparent 50%,
        rgba(30, 58, 95, 0.04) 75%,
        transparent 100%
    );
    background-size: 200% 200%;
    animation: heroShimmer 8s ease-in-out infinite;
    pointer-events: none;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    max-width: 750px;
    padding: 60px 20px;
    margin: 0 auto;
}

.page-hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.12;
    margin-bottom: 16px;
    text-shadow: 0 3px 20px rgba(0, 0, 0, 0.4);
    letter-spacing: -0.5px;
}

.page-hero-title::after {
    content: '';
    display: block;
    width: 70px;
    height: 3px;
    background: var(--accent-gradient);
    margin: 18px auto 0;
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(30, 58, 95, 0.3);
}

.page-hero-subtitle {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
    letter-spacing: 0.3px;
}

/* ===== ABOUT PAGE — Mission Section ===== */
.about-mission {
    background: var(--bg);
    position: relative;
}

.about-mission-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.mission-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-card {
    background: var(--white);
    border: 1px solid rgba(30, 58, 95, 0.15);
    border-radius: var(--radius);
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.4s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    transform-origin: left;
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--card-shadow-hover);
    border-color: rgba(30, 58, 95, 0.25);
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 6px;
    line-height: 1.2;
}

.stat-label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-light);
    letter-spacing: 0.3px;
}

/* ===== ABOUT PAGE — Values Section ===== */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.value-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(30, 58, 95, 0.12);
    border-radius: var(--radius);
    padding: 36px 28px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    backdrop-filter: blur(5px);
}

.value-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(30, 58, 95, 0.25);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}

.value-icon {
    font-size: 2.2rem;
    margin-bottom: 16px;
    display: block;
}

.value-card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 10px;
}

.value-card p {
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
}

/* ===== ABOUT PAGE — Story Section ===== */
.about-story {
    background: var(--bg);
    position: relative;
}

.story-timeline {
    max-width: 700px;
    margin: 0 auto;
}

/* Timeline overrides for light background */
.about-story .timeline-content h3 {
    color: var(--text);
    text-shadow: none;
}

.about-story .timeline-content p {
    color: var(--text-light);
}

.about-story .timeline-line {
    background: linear-gradient(to bottom, var(--accent), rgba(30, 58, 95, 0.15));
}

.about-story .timeline-number {
    background: var(--white);
    border: 2px solid var(--accent);
    color: var(--accent);
    box-shadow: 0 4px 16px rgba(30, 58, 95, 0.15);
}

/* ===== CONTACT PAGE — Main Section ===== */
.contact-section {
    background: var(--bg);
    position: relative;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: flex-start;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 30px;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    border-radius: var(--radius);
    background: var(--white);
    border: 1px solid rgba(30, 58, 95, 0.1);
    box-shadow: 0 2px 8px rgba(10, 22, 40, 0.04);
    transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.35s ease, border-color 0.3s ease;
}

.contact-detail-item:hover {
    transform: translateX(6px);
    box-shadow: 0 4px 16px rgba(30, 58, 95, 0.1);
    border-color: rgba(30, 58, 95, 0.2);
}

.contact-detail-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.1), rgba(30, 58, 95, 0.04));
    border-radius: 10px;
    border: 1px solid rgba(30, 58, 95, 0.15);
}

.contact-detail-content h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 2px;
}

.contact-detail-content p {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Social Links */
.contact-social {
    margin-top: 36px;
}

.contact-social h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 14px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--white);
    border: 1px solid rgba(30, 58, 95, 0.2);
    color: var(--text-light);
    transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.35s ease, background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(30, 58, 95, 0.2);
    background: var(--accent);
    color: #ffffff;
    border-color: var(--accent);
}

/* ===== CONTACT FORM ===== */
.contact-form-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 44px 40px;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(30, 58, 95, 0.1);
    position: relative;
    overflow: hidden;
}

.contact-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-gradient);
}

.contact-form-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
}

.form-subtitle {
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.6;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    letter-spacing: 0.2px;
}

.required {
    color: #e74c3c;
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-body);
    font-size: 0.92rem;
    padding: 12px 16px;
    border: 2px solid rgba(10, 22, 40, 0.1);
    border-radius: 8px;
    background: var(--bg);
    color: var(--text);
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    outline: none;
    width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
    opacity: 0.6;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.12);
    background: var(--white);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit-btn {
    width: 100%;
    padding: 16px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-top: 6px;
}

/* Form Success State */
.form-success {
    text-align: center;
    padding: 40px 20px;
}

.success-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    display: block;
}

.form-success h4 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
}

.form-success p {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Form validation states */
.form-group input:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
    border-color: #e74c3c;
}

.form-group input:valid:not(:placeholder-shown) {
    border-color: rgba(91, 140, 90, 0.4);
}

/* ===== MAP SECTION ===== */
.map-container {
    max-width: 900px;
    margin: 0 auto;
}

.map-placeholder {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(30, 58, 95, 0.15);
    border-radius: var(--radius);
    padding: 60px 40px;
    text-align: center;
    backdrop-filter: blur(5px);
}

.map-pin {
    font-size: 3rem;
    margin-bottom: 16px;
    display: block;
}

.map-placeholder h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.map-placeholder p {
    font-family: var(--font-body);
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

/* ===== KEYFRAME ANIMATIONS ===== */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(2deg);
    }
    50% {
        transform: translateY(-10px) rotate(-1deg);
    }
    75% {
        transform: translateY(-25px) rotate(1deg);
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scrollPulse {
    0%, 100% {
        opacity: 0.3;
        height: 40px;
    }
    50% {
        opacity: 1;
        height: 60px;
    }
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ===== SCROLL ANIMATIONS ===== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays for data-delay attributes */
.animate-on-scroll[data-delay="1"] {
    transition-delay: 0.1s;
}

.animate-on-scroll[data-delay="2"] {
    transition-delay: 0.2s;
}

.animate-on-scroll[data-delay="3"] {
    transition-delay: 0.3s;
}

.animate-on-scroll[data-delay="4"] {
    transition-delay: 0.4s;
}

.animate-on-scroll[data-delay="5"] {
    transition-delay: 0.5s;
}

.animate-on-scroll[data-delay="6"] {
    transition-delay: 0.6s;
}

/* ===== LOGIN MODAL ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 22, 40, 0.7);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-box {
    background: var(--white);
    border-radius: var(--radius);
    padding: 44px 40px;
    max-width: 420px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 60px rgba(10, 22, 40, 0.3), 0 0 0 1px rgba(30, 58, 95, 0.1);
    transform: translateY(30px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.modal-overlay.active .modal-box {
    transform: translateY(0) scale(1);
}

.modal-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-gradient);
    border-radius: var(--radius) var(--radius) 0 0;
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 18px;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--text-light);
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease, transform 0.3s ease;
    padding: 4px;
}

.modal-close:hover {
    color: var(--text);
    transform: rotate(90deg);
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
}

.modal-subtitle {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 28px;
    line-height: 1.5;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.modal-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.modal-form-group label {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    letter-spacing: 0.2px;
}

.modal-form-group input {
    font-family: var(--font-body);
    font-size: 0.92rem;
    padding: 12px 16px;
    border: 2px solid rgba(10, 22, 40, 0.1);
    border-radius: 8px;
    background: var(--bg);
    color: var(--text);
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    outline: none;
    width: 100%;
}

.modal-form-group input::placeholder {
    color: var(--text-light);
    opacity: 0.6;
}

.modal-form-group input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.12);
    background: var(--white);
}

.modal-submit-btn {
    width: 100%;
    margin-top: 6px;
    padding: 14px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* ===== LOGIN PORTALS SECTION ===== */
.login-portals {
    background: var(--bg);
    position: relative;
}

.portals-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    max-width: 800px;
    margin: 0 auto;
}

.portal-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--white);
    border: 1px solid rgba(30, 58, 95, 0.12);
    border-radius: var(--radius);
    padding: 40px 30px 36px;
    box-shadow: var(--card-shadow);
    transition: transform 0.45s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.45s ease, border-color 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
}

.portal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    transform-origin: center;
}

.portal-card:hover::before {
    transform: scaleX(1);
}

.portal-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-shadow-hover);
    border-color: rgba(30, 58, 95, 0.25);
}

.portal-icon {
    font-size: 2.8rem;
    margin-bottom: 16px;
}

.portal-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.portal-card p {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 16px;
}

.portal-cta {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--accent);
    transition: gap 0.35s cubic-bezier(0.23, 1, 0.32, 1);
}

.portal-card:hover .portal-cta {
    gap: 8px;
}

.portal-card:hover .portal-cta .cta-arrow {
    transform: translateX(3px);
}

/* ===== ACCESSIBILITY — Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .floating-orb {
        display: none;
    }

    .hero::after {
        animation: none;
    }
}

/* ===== RESPONSIVE — Tablet (≤992px) ===== */
@media (max-width: 992px) {
    .section-padding {
        padding: 80px 0;
    }

    .section-title {
        font-size: 2.3rem;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .hero-subtitle {
        font-size: 1.05rem;
    }

    .courses-grid,
    .students-grid,
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-decorative {
        order: -1;
    }

    .about-quote-block {
        max-width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .floating-orb {
        opacity: 0.2;
    }

    .section-divider svg {
        height: 40px;
    }

    /* Page hero tablet */
    .page-hero-title {
        font-size: 2.8rem;
    }

    /* About page tablet */
    .about-mission-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Contact page tablet */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .mega-menu {
        width: min(92vw, 700px);
        padding: 22px 24px;
    }

    .mega-menu-inner {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
}

@media (max-width: 860px) {
    .mega-menu {
        width: min(94vw, 620px);
    }

    .mega-menu-inner {
        grid-template-columns: 1fr;
    }
}

/* ===== RESPONSIVE — Mobile (≤768px) ===== */
@media (max-width: 768px) {

    .section-padding {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.9rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .hero {
        min-height: calc(50vh - 50px);
        margin-top: 85px;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    /* Page hero mobile */
    .page-hero {
        min-height: 250px;
        margin-top: 85px;
    }

    .page-hero-title {
        font-size: 2.2rem;
    }

    .page-hero-subtitle {
        font-size: 0.95rem;
    }

    .page-hero-content {
        padding: 40px 20px;
    }

    /* Values mobile */
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .value-card {
        padding: 24px 18px;
    }

    /* Contact form mobile */
    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-card {
        padding: 30px 24px;
    }

    .map-placeholder {
        padding: 40px 24px;
    }

    /* Mobile navigation */
    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: min(88vw, 360px);
        height: 100vh;
        background: var(--primary);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 30px 30px;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        gap: 6px;
        z-index: 999;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        transform: translateX(100%);
    }

    .nav-menu.open {
        transform: translateX(0);
    }
    .nav-menu li{width: 100%;}
    .nav-link {
        width: 100%;
        padding: 12px 16px;
        font-size:14px;
        color: rgba(255, 255, 255, 0.85);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        display:block;
    }

    .nav-item-dropdown {
        width: 100%;
    }

    .nav-link::after {
        bottom: 8px;
        left: 16px;
    }

    .nav-login {
        margin-left: 0 !important;
        margin-top: 12px;
        text-align: center;
        width: auto;
    }

    .hamburger {
        display: flex;
    }

    .nav-logo {
        height: 62px;
    }

    .navbar.scrolled .nav-logo {
        height: 48px;
    }

    .courses-grid,
    .students-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .timeline-line {
        left: 20px;
    }

    .timeline-number {
        width: 42px;
        height: 42px;
        font-size: 0.9rem;
    }

    .timeline-step {
        gap: 20px;
    }

    .floating-orb {
        display: none;
    }

    .section-divider svg {
        height: 30px;
    }

    .section-label::before {
        width: 16px;
    }

    /* Portal cards mobile */
    .portals-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Modal mobile */
    .modal-box {
        padding: 24px 18px;
        width: min(94vw, 420px);
    }

    .modal-form-group input,
    .contact-form-card input,
    .contact-form-card select,
    .contact-form-card textarea {
        font-size: 16px;
        max-width: 100%;
    }
    .why-choose::after{right:0;}
    .about::after{display:none;}
    .nav-link.active{color:#3480bd;}
}

/* ===== RESPONSIVE — Small Mobile (≤480px) ===== */
@media (max-width: 480px) {

    .section-padding {
        padding: 50px 0;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 0.88rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 100%;
    }

    .courses-grid,
    .students-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }

    .course-categories {
        gap: 8px;
    }

    .category-tag {
        padding: 10px 18px;
        font-size: 0.9rem;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }

    .brand-text {
        font-size: 0.9rem;
    }

    .about-buttons {
        flex-direction: column;
    }

    .about-buttons .btn {
        text-align: center;
    }

    .trust-factors {
        flex-direction: column;
    }

    .trust-pill {
        justify-content: center;
    }

    .timeline-number {
        width: 38px;
        height: 38px;
        font-size: 0.8rem;
    }

    .timeline-line {
        left: 18px;
    }

    .timeline-step {
        gap: 16px;
        margin-bottom: 36px;
    }

    .timeline-content h3 {
        font-size: 1.05rem;
    }

    .timeline-content p {
        font-size: 0.85rem;
    }

    .about-quote-block {
        padding: 35px 25px 30px;
    }

    .quote-text {
        font-size: 1.1rem;
    }

    .partner-box {
        width: 150px;
        height: 75px;
    }

    .section-divider svg {
        height: 24px;
    }

    .section-label::before {
        width: 12px;
    }

    /* Page hero small mobile */
    .page-hero {
        min-height: 220px;
    }

    .page-hero-title {
        font-size: 1.8rem;
    }

    .page-hero-subtitle {
        font-size: 0.85rem;
    }

    /* Stats small mobile */
    .mission-stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .stat-card {
        padding: 20px 14px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    /* Values small mobile */
    .values-grid {
        grid-template-columns: 1fr;
    }

    /* Contact form small mobile */
    .contact-form-card {
        padding: 24px 18px;
    }

    .contact-detail-item {
        padding: 12px;
    }

    /* Portal cards small mobile */
    .portal-card {
        padding: 28px 20px 24px;
    }

    .portal-icon {
        font-size: 2.2rem;
    }

    .portal-card h3 {
        font-size: 1.1rem;
    }

    /* Modal small mobile */
    .modal-box {
        padding: 22px 16px;
        width: 96%;
    }

    .modal-title {
        font-size: 1.3rem;
    }

    .nav-menu {
        width: 100vw;
        padding: 92px 20px 24px;
    }
}

@media (max-width: 360px) {
    .hero-title {
        font-size: 1.95rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .hero-buttons .btn {
        font-size: 0.92rem;
        padding: 12px 16px;
    }

    .section-title {
        font-size: 1.45rem;
    }
}

@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
    }

    .hero-content {
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .hero-title {
        font-size: clamp(1.9rem, 5.5vw, 2.5rem);
        margin-bottom: 10px;
    }

    .hero-subtitle {
        margin-bottom: 14px;
    }

    .page-hero {
        min-height: 180px;
        padding-top: 16px;
        padding-bottom: 16px;
    }

    .nav-menu {
        padding-top: 78px;
    }
}

/* ===== MEGA DROPDOWN — Courses ===== */
.nav-item-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 18px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    border-radius: 6px;
    transition: color 0.3s ease;
    position: relative;
    background: none;
    border: none;
    user-select: none;
}

.nav-dropdown-toggle::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: width 0.35s cubic-bezier(0.23, 1, 0.32, 1), left 0.35s cubic-bezier(0.23, 1, 0.32, 1);
    border-radius: 1px;
}

.nav-dropdown-toggle:hover::after,
.nav-item-dropdown.open .nav-dropdown-toggle::after {
    width: calc(100% - 36px);
    left: 18px;
}

.nav-dropdown-toggle:hover,
.nav-item-dropdown.open .nav-dropdown-toggle {
    color: var(--primary);
}

.dropdown-chevron {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 2px;
}

.nav-item-dropdown.open .dropdown-chevron {
    transform: rotate(-135deg) translateY(0px);
}

/* Mega menu panel */
.mega-menu {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 780px;
    background: var(--white);
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(10, 22, 40, 0.18), 0 4px 16px rgba(10, 22, 40, 0.08), 0 0 0 1px rgba(30, 58, 95, 0.08);
    padding: 28px 32px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s cubic-bezier(0.23, 1, 0.32, 1), transform 0.3s cubic-bezier(0.23, 1, 0.32, 1), visibility 0.3s;
    z-index: 2000;
    pointer-events: none;
}

.mega-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    width: 12px;
    height: 12px;
    background: var(--white);
    border-left: 1px solid rgba(30, 58, 95, 0.08);
    border-top: 1px solid rgba(30, 58, 95, 0.08);
    transform: translateX(-50%) rotate(45deg);
}

.nav-item-dropdown.open .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.mega-menu-inner {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 32px;
}

.mega-col-title {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(30, 58, 95, 0.1);
    display: flex;
    align-items: center;
    gap: 8px;
}

.mega-links {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.mega-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    border-radius: 7px;
    font-family: var(--font-body);
    font-size: 0.84rem;
    font-weight: 500;
    color: var(--text);
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
    text-decoration: none;
    line-height: 1.3;
}

.mega-link:hover {
    background: rgba(30, 58, 95, 0.06);
    color: var(--accent);
    transform: translateX(3px);
}

.mega-link i {
    color: var(--accent-light);
    font-size: 0.75rem;
    flex-shrink: 0;
    width: 14px;
    text-align: center;
}

/* ===== DUAL LOGIN BUTTONS ===== */
.nav-login-group {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 8px;
}

.nav-btn-student,
.nav-btn-center {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.35s ease, background 0.3s ease, color 0.3s ease;
    text-decoration: none;
    white-space: nowrap;
    letter-spacing: 0.3px;
}

.nav-btn-student {
    background: var(--accent-gradient);
    color: #ffffff;
    border-color: var(--accent);
}

.nav-btn-student:hover {
    background: var(--accent-light);
    border-color: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 58, 95, 0.35);
    color: #ffffff;
}

.nav-btn-center {
    background: transparent;
    color: var(--accent);
    border-color: var(--accent);
}

.nav-btn-center:hover {
    background: var(--accent-gradient);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 58, 95, 0.3);
}

/* Mobile login buttons */
@media (max-width: 768px) {
    .nav-login-group {
        flex-direction: column;
        align-items: stretch;
        margin-left: 0;
        margin-top: 12px;
        gap: 10px;
        width: 100%;
    }

    .nav-btn-student,
    .nav-btn-center {
        justify-content: center;
        padding: 12px 16px;
        font-size: 0.9rem;
    }

    /* Mobile dropdown for courses */
    .mega-menu {
        position: static;
        transform: none !important;
        width: 100%;
        box-shadow: none;
        border-radius: 8px;
        padding: 10px 14px;
        margin-top: 2px;
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(255, 255, 255, 0.08);
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        display: none;
    }

    .mega-menu::before {
        display: none;
    }

    .nav-item-dropdown.open .mega-menu {
        display: block;
    }

    .mega-menu-inner {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .mega-col-title {
        color: rgba(255, 255, 255, 0.7);
        border-bottom-color: rgba(255, 255, 255, 0.1);
        font-size: 0.68rem;
    }

    .mega-link {
        color: rgba(255, 255, 255, 0.8);
        font-size: 0.82rem;
        padding: 6px 8px;
    }

    .mega-link:hover {
        background: rgba(255, 255, 255, 0.08);
        color: #ffffff;
    }

    .mega-link i {
        color: rgba(91, 155, 213, 0.8);
    }

    .nav-dropdown-toggle {
        color: rgba(255, 255, 255, 0.85);
        width: 100%;
        padding: 14px 16px;
        font-size: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        justify-content: space-between;
    }

    .nav-dropdown-toggle::after {
        display: none;
    }

    .nav-btn-student::after,
    .nav-btn-center::after {
        display: none;
    }
}

/* ===== COURSE PAGE STYLES ===== */
.course-page-hero {
    min-height: 420px;
    margin-top: 114px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: var(--primary);
}

.course-page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(30, 58, 95, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(30, 58, 95, 0.07) 0%, transparent 50%);
    pointer-events: none;
}

.course-page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 0%, rgba(30, 58, 95, 0.04) 50%, transparent 100%);
    background-size: 200% 200%;
    animation: heroShimmer 8s ease-in-out infinite;
    pointer-events: none;
}

.course-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(91, 155, 213, 0.15);
    border: 1px solid rgba(91, 155, 213, 0.3);
    color: var(--accent-light);
    padding: 6px 16px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.course-page-hero .page-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 60px 20px;
    margin: 0 auto;
}

/* Course info strip */
.course-info-strip {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.course-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
}

.course-info-item i {
    color: var(--accent-light);
    font-size: 1rem;
}

/* Course overview section */
.course-overview {
    background: var(--bg);
    position: relative;
}

.course-overview-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 50px;
    align-items: flex-start;
}

.course-overview-text h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 18px;
    letter-spacing: -0.3px;
}

.course-overview-text p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 16px;
}

.course-highlights {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}

.course-highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: var(--text);
    line-height: 1.5;
}

.course-highlight-item i {
    color: var(--accent);
    font-size: 0.9rem;
    margin-top: 3px;
    flex-shrink: 0;
}

/* Course fee card */
.course-fee-card {
    background: var(--primary);
    border-radius: var(--radius);
    padding: 36px 28px;
    color: var(--white);
    position: sticky;
    top: 130px;
    box-shadow: 0 20px 60px rgba(10, 22, 40, 0.25);
    overflow: hidden;
}

.course-fee-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-gradient);
}

.fee-card-label {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-light);
    margin-bottom: 8px;
}

.fee-card-price {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 4px;
}

.fee-card-price .fee-currency {
    font-size: 1.6rem;
    vertical-align: middle;
    font-weight: 600;
}

.fee-card-duration {
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.fee-card-separator {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
}

.fee-card-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
}

.fee-card-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.8);
}

.fee-card-feature i {
    color: var(--accent-light);
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

.fee-enroll-btn {
    width: 100%;
    padding: 14px;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    display: block;
}

/* Curriculum section */
.course-curriculum {
    background: linear-gradient(160deg, #0a1628 0%, #0f1f35 35%, #142744 65%, #0e1c30 100%);
    position: relative;
    overflow: hidden;
}

.curriculum-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.curriculum-module {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(30, 58, 95, 0.2);
    border-radius: var(--radius);
    padding: 24px 22px;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
    backdrop-filter: blur(4px);
}

.curriculum-module:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(30, 58, 95, 0.4);
    transform: translateY(-3px);
}

.module-number {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-light);
    margin-bottom: 6px;
}

.module-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 10px;
}

.module-topics {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.module-topic {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.83rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.4;
}

.module-topic::before {
    content: '›';
    color: var(--accent-light);
    font-size: 1rem;
    line-height: 1.2;
    flex-shrink: 0;
}

/* Why choose this course */
.course-why-choose {
    background: var(--bg-alt);
}

.course-why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.course-why-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px 24px;
    text-align: center;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(30, 58, 95, 0.08);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.4s ease;
}

.course-why-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--card-shadow-hover);
}

.course-why-icon {
    font-size: 2rem;
    margin-bottom: 14px;
    display: block;
}

.course-why-card h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.course-why-card p {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Enroll CTA section */
.course-enroll-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    position: relative;
    text-align: center;
}

.enroll-cta-content {
    max-width: 680px;
    margin: 0 auto;
}

.enroll-cta-content h2 {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.enroll-cta-content p {
    font-family: var(--font-body);
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 32px;
    line-height: 1.7;
}

/* School course badge */
.school-course-badge {
    background: rgba(91, 140, 90, 0.15) !important;
    border-color: rgba(91, 140, 90, 0.3) !important;
    color: #8bc48a !important;
}

/* Responsive course page */
@media (max-width: 992px) {
    .course-overview-grid {
        grid-template-columns: 1fr;
    }

    .course-fee-card {
        position: static;
    }

    .curriculum-grid {
        grid-template-columns: 1fr;
    }

    .course-why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .course-page-hero {
        min-height: 340px;
        margin-top: 100px;
    }

    .course-info-strip {
        gap: 18px;
    }

    .course-why-grid {
        grid-template-columns: 1fr;
    }

    .enroll-cta-content h2 {
        font-size: 1.8rem;
    }

    .fee-card-price {
        font-size: 2.2rem;
    }
}

/* ===== CENTER LOGIN MODAL TITLE ===== */
#centerLoginModal .modal-title { color: #1a237e; }

/* ===== Certificate Gallery CSS ===== */

.certificate-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
    background: #f5f5f5;
}

.certificate-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: 0.5s ease;
}

/* Overlay */
.certificate-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.4s ease;
}

/* Zoom Icon */
.certificate-overlay span {
    width: 70px;
    height: 70px;
    background: #ffffff;
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    transform: scale(0.7);
    transition: 0.4s ease;
}

/* Hover Effects */
.certificate-item:hover img {
    transform: scale(1.08);
}

.certificate-item:hover .certificate-overlay {
    opacity: 1;
}

.certificate-item:hover .certificate-overlay span {
    transform: scale(1);
}
/* ===== Certificate Gallery CSS ===== */

.certificate-gallery .row{
    display:flex;
    flex-wrap:wrap;
    margin-left:-15px;
    margin-right:-15px;
}

.certificate-gallery .col-lg-4,
.certificate-gallery .col-md-6,
.certificate-gallery .col-12{
    width:100%;
    padding-left:15px;
    padding-right:15px;
    margin-bottom:30px;
    box-sizing:border-box;
}

/* Tablet */
@media(min-width:768px){
    .certificate-gallery .col-md-6{
        width:50%;
    }
}

/* Desktop */
@media(min-width:992px){
    .certificate-gallery .col-lg-4{
        width:33.3333%;
    }
}


/* ===== Gallery Item ===== */

.certificate-item{
    position:relative;
    overflow:hidden;
    border-radius:15px;
    cursor:pointer;
    background:#f5f5f5;
}

.certificate-item img{
    width:100%;
    height:auto;
    aspect-ratio:16/10;
    object-fit:cover;
    display:block;
    transition:0.5s ease;
}

/* ===== Overlay ===== */

.certificate-overlay{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.55);
    display:flex;
    align-items:center;
    justify-content:center;
    opacity:0;
    transition:0.4s ease;
}

/* ===== Zoom Icon ===== */

.certificate-overlay span{
    width:70px;
    height:70px;
    background:#ffffff;
    color:#000000;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:28px;
    transform:scale(0.7);
    transition:0.4s ease;
}

/* ===== Hover Effect ===== */

.certificate-item:hover img{
    transform:scale(1.08);
}

.certificate-item:hover .certificate-overlay{
    opacity:1;
}

.certificate-item:hover .certificate-overlay span{
    transform:scale(1);
}


/* ===== Mobile ===== */

@media(max-width:767px){

    .certificate-gallery .row {
        margin-left: 0;
        margin-right: 0;
    }

    .certificate-gallery .col-lg-4,
    .certificate-gallery .col-md-6,
    .certificate-gallery .col-12 {
        padding-left: 0;
        padding-right: 0;
        margin-bottom: 18px;
    }

    .certificate-item img{
        height:auto;
    }

}
/* Mobile */
@media(max-width: 767px){

    .certificate-item img{
        height: auto;
    }

}

.contact-detail-content p,
.contact-detail-content a,
.mega-link {
    overflow-wrap: anywhere;
}

video,
iframe {
    max-width: 100%;
    height: auto;
}
