/* ================================================================
   KALINGA UNIVERSITY — LANDING PAGE STYLES
   BCA in Game Design & Development with AI
   WHITE THEME + GLASSMORPHISM
   ================================================================ */

/* ===== CSS VARIABLES / DESIGN TOKENS ===== */
:root {
    /* Primary palette — NAVY BLUE (from new logo) */
    --primary: #014073;
    --primary-dark: #002d5a;
    --primary-light: #336690;
    
    /* Accent palette — GOLD (from new logo) */
    --accent: #fcad17;
    --accent-light: #ffd571;
    --accent-dark: #d48c00;
    
    /* Blues */
    --blue: #014073;
    --blue-light: #336690;
    --blue-dark: #001f3f;
    
    /* Neutrals — WHITE THEME */
    --white: #ffffff;
    --off-white: #f7f8fa;
    --light-gray: #e9ecef;
    --gray: #6c757d;
    --dark-gray: #343a40;
    --dark: #1a1a2e;
    --darker: #111827;
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.65);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-bg-light: rgba(255, 255, 255, 0.88);
    --glass-border-light: rgba(200, 210, 230, 0.35);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    
    /* Solid Colors instead of Gradients */
    --gradient-primary: var(--primary);
    --gradient-blue: var(--primary);
    --gradient-dark: var(--blue-dark);
    --gradient-accent: var(--highlight);
    
    /* Typography */
    --font-primary: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --section-padding: 100px 0;
    --container-width: 1240px;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-slow: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);

    /* Highlight color */
    --highlight: #ffff00;
    --highlight-soft: rgba(255, 255, 0, 0.15);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--dark-gray);
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Headings — Blue */
h1, h2, h3, h4, h5, h6 {
    color: var(--blue);
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }

.container { max-width: var(--container-width); margin: 0 auto; padding: 0 24px; }
.section-padding { padding: var(--section-padding); }

/* ===== UTILITY ===== */
.highlight-gradient {
    color: var(--highlight);
}

/* Force headings in light sections to be solid blue */
.programme-overview .section-title,
.curriculum .section-title,
.semesters .section-title,
.learning-approach .section-title,
.infrastructure .section-title,
.why-kalinga .section-title,
.testimonials .section-title,
.placements .section-title,
.faq-list .faq-question span,
.faq-section .section-title {
    color: var(--blue) !important;
}

.programme-overview .section-title span,
.curriculum .section-title span,
.semesters .section-title span,
.learning-approach .section-title span,
.infrastructure .section-title span,
.why-kalinga .section-title span,
.testimonials .section-title span,
.placements .section-title span,
.faq-section .section-title span {
    color: var(--blue) !important;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 32px; border-radius: 50px;
    font-family: var(--font-primary); font-weight: 600; font-size: 14px;
    letter-spacing: 1px; text-transform: uppercase;
    border: none; cursor: pointer; transition: var(--transition);
    position: relative; overflow: hidden;
}
.btn::before {
    display: none;
}

.btn-primary {
    background: var(--gradient-primary); color: var(--white);
    box-shadow: 0 4px 20px rgba(1, 64, 115, 0.3);
}
.btn-primary:hover { box-shadow: 0 8px 30px rgba(1, 64, 115, 0.5); transform: translateY(-2px); }

.btn-glass {
    background: rgba(255, 255, 255, 0.15); color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.btn-glass:hover { background: rgba(255, 255, 255, 0.25); transform: translateY(-2px); }

.btn-lg { padding: 16px 40px; font-size: 15px; }
.btn-full { width: 100%; justify-content: center; }

/* ===== HEADER ===== */
.header {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    padding: 12px 0; transition: var(--transition); background: transparent;
}
.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.06); padding: 8px 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; }

.logo { display: flex; align-items: center; z-index: 1001; }
.logo-img {
    height: 54px;
    width: auto;
    transition: var(--transition);
    object-fit: contain;
}
.header.scrolled .logo-img { height: 44px; }
.footer-logo { display: block; margin-bottom: 24px; }
.footer-logo .logo-img { height: 62px; } /* Removed filter that caused white block */


.nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
    padding: 8px 14px; font-family: var(--font-primary); font-size: 13px;
    font-weight: 500; color: rgba(255, 255, 255, 0.85); letter-spacing: 0.5px;
    border-radius: 8px; transition: var(--transition);
}
.nav-link:hover { color: var(--white); background: rgba(255, 255, 255, 0.1); }
.header.scrolled .nav-link { color: var(--dark-gray); }
.header.scrolled .nav-link:hover { color: var(--primary); background: rgba(1, 64, 115, 0.06); }

.btn-apply {
    background: var(--gradient-primary); color: var(--white);
    padding: 10px 24px; border-radius: 50px; font-size: 12px;
    font-weight: 700; letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(1, 64, 115, 0.4);
    border: none;
}
.btn-apply:hover { box-shadow: 0 6px 25px rgba(252, 173, 23, 0.5); transform: translateY(-1px); }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; z-index: 1001; }
.hamburger span { width: 24px; height: 2px; background: var(--white); transition: var(--transition); border-radius: 2px; }
.header.scrolled .hamburger span { background: var(--dark-gray); }

/* ===== HERO — LEFT ALIGNED + RIGHT FORM ===== */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; animation: heroZoom 25s ease-in-out infinite alternate; }
@keyframes heroZoom { 0% { transform: scale(1); } 100% { transform: scale(1.08); } }
.hero-overlay { position: absolute; inset: 0; background: rgba(1, 31, 63, 0.85); }

.hero-content {
    position: relative; z-index: 2;
    display: grid; grid-template-columns: 1fr 420px; gap: 50px; align-items: center;
    padding-top: 120px; padding-bottom: 80px;
}
.hero-left { text-align: left; }

.hero-badge {
    display: inline-flex; align-items: center; gap: 10px;
    background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    padding: 10px 24px; border-radius: 50px; color: var(--white);
    font-family: var(--font-primary); font-size: 13px; font-weight: 600;
    letter-spacing: 1px; margin-bottom: 24px;
}
.hero-badge i { color: var(--highlight); }

.hero-title {
    font-family: var(--font-primary); font-size: clamp(26px, 3.5vw, 48px);
    font-weight: 800; color: var(--white) !important; line-height: 1.2;
    margin-bottom: 18px; letter-spacing: -0.5px;
}
.hero-subtitle {
    font-size: clamp(15px, 1.5vw, 18px); color: var(--white) !important;
    max-width: 520px; margin-bottom: 32px; font-weight: 300; line-height: 1.6;
    opacity: 0.9;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }

.hero-stats {
    display: flex; align-items: center; gap: 24px;
    background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(15px); -webkit-backdrop-figure: blur(15px);
    border-radius: 16px; padding: 24px 30px;
}
.stat-item { text-align: center; }
.stat-number { font-family: var(--font-primary); font-size: 30px; font-weight: 800; color: var(--white) !important; display: inline; }
.stat-suffix { font-family: var(--font-primary); font-size: 20px; font-weight: 700; color: var(--highlight) !important; }
.stat-label { display: block; font-size: 11px; color: var(--white) !important; letter-spacing: 0.5px; margin-top: 2px; font-weight: 400; opacity: 0.8; }
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.15); }

/* Hero right form */
.hero-right { position: relative; }
.hero-form {
    padding: 32px 28px !important;
    background: rgba(255,255,255,0.95) !important;
    border: 1px solid rgba(255,255,255,0.6) !important;
    border-radius: 20px !important;
}
.hero-form:hover { transform: none !important; }
.hero-form h3 {
    font-family: var(--font-primary); font-size: 22px; font-weight: 700;
    color: var(--blue); text-align: center; margin-bottom: 4px;
}
.hero-form > p {
    font-size: 13px; color: var(--gray); text-align: center; margin-bottom: 20px;
}

/* ===== SECTION HEADERS ===== */
.section-header { text-align: center; margin-bottom: 60px; }
.section-tag {
    display: inline-block; font-family: var(--font-primary); font-size: 13px;
    font-weight: 700; color: var(--primary);
    background: var(--highlight-soft); padding: 6px 20px;
    border-radius: 50px; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 16px;
    border-left: 3px solid var(--highlight);
}
.section-title {
    font-family: var(--font-primary); font-size: clamp(28px, 3.5vw, 44px);
    font-weight: 800; color: var(--blue); letter-spacing: -0.5px;
    line-height: 1.2; margin-bottom: 16px;
}
.section-line { width: 60px; height: 4px; background: var(--highlight); border-radius: 4px; margin: 0 auto; }
.section-desc {
    max-width: 700px; margin: 20px auto 0; font-size: 15px;
    color: var(--gray); line-height: 1.7; text-align: center;
}

/* ===== GLASS CARD ===== */
.glass-card {
    background: var(--glass-bg-light); border: 1px solid var(--glass-border-light);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-radius: 20px; box-shadow: var(--glass-shadow); transition: var(--transition);
}
.glass-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.1); }

/* ===== PROGRAMME OVERVIEW ===== */
.programme-overview { background: var(--white); position: relative; overflow: hidden; }
.programme-content { display: grid; gap: 40px; }
.programme-text { max-width: 900px; margin: 0 auto; text-align: center; }
.programme-text p { font-size: 16px; color: var(--gray); margin-bottom: 16px; line-height: 1.8; }

.programme-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; max-width: 900px; margin: 0 auto; }
.mission-card, .vision-card { padding: 40px 30px; text-align: center; position: relative; overflow: hidden; }
.mission-card::before, .vision-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; }
.mission-card::before { background: var(--gradient-primary); }
.vision-card::before { background: var(--gradient-blue); }

.card-icon-wrap {
    width: 60px; height: 60px; background: var(--gradient-primary); border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    color: var(--white); font-size: 24px; margin: 0 auto 20px;
}
.vision-icon { background: var(--gradient-blue) !important; }
.mission-card h3, .vision-card h3 { font-family: var(--font-primary); font-size: 20px; font-weight: 700; color: var(--blue); margin-bottom: 12px; letter-spacing: 1px; }
.mission-card p, .vision-card p { font-size: 14px; color: var(--gray); line-height: 1.7; }

/* ===== CURRICULUM ===== */
.curriculum { background: var(--off-white); position: relative; }
.curriculum-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.curriculum-card { padding: 36px 28px; text-align: center; position: relative; overflow: hidden; background: var(--white) !important; }
.curriculum-card::after {
    content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 0; height: 3px; background: var(--gradient-primary); transition: var(--transition); border-radius: 3px;
}
.curriculum-card:hover::after { width: 60%; }
.curr-icon {
    width: 70px; height: 70px;
    background: var(--light-gray);
    border-radius: 20px; display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px; font-size: 28px; color: var(--primary); transition: var(--transition);
}
.curriculum-card:hover .curr-icon { background: var(--gradient-primary); color: var(--white); transform: rotateY(180deg); }
.curriculum-card h4 { font-family: var(--font-primary); font-size: 17px; font-weight: 700; color: var(--blue); margin-bottom: 10px; }
.curriculum-card p { font-size: 14px; color: var(--gray); line-height: 1.6; }

/* ===== SEMESTER-WISE BREAKDOWN ===== */
.semesters { background: var(--white); position: relative; overflow: hidden; }
.semester-tabs {
    display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 40px;
}
.sem-tab {
    padding: 12px 28px; border-radius: 50px; border: 2px solid var(--light-gray);
    background: var(--white); font-family: var(--font-primary); font-size: 14px;
    font-weight: 600; color: var(--gray); cursor: pointer; transition: var(--transition);
    letter-spacing: 0.5px;
}
.sem-tab:hover { border-color: var(--primary); color: var(--primary); }
.sem-tab.active {
    background: var(--gradient-primary); color: var(--white); border-color: transparent;
    box-shadow: 0 4px 15px rgba(230,57,70,0.3);
}

.sem-panel { display: none; }
.sem-panel.active { display: block; animation: fadeIn 0.4s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.sem-header {
    display: flex; align-items: center; gap: 24px; padding: 28px 32px;
    margin-bottom: 24px; background: var(--white) !important;
}
.sem-header:hover { transform: none; }
.sem-number {
    font-family: var(--font-primary); font-size: 48px; font-weight: 900;
    color: var(--primary); line-height: 1;
}
.sem-info h3 { font-family: var(--font-primary); font-size: 22px; font-weight: 700; color: var(--blue); margin-bottom: 4px; }
.sem-info p { font-size: 14px; color: var(--gray); }

.sem-subjects-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.sem-subject {
    display: flex; align-items: center; gap: 14px; padding: 20px 22px;
    background: var(--white) !important; border-radius: 14px !important;
}
.sem-subject:hover { transform: translateY(-2px); }
.sem-subject i {
    width: 42px; height: 42px; min-width: 42px;
    background: var(--off-white);
    border-radius: 12px; display: flex; align-items: center; justify-content: center;
    font-size: 18px; color: var(--primary);
}
.sem-subject span { font-family: var(--font-primary); font-size: 14px; font-weight: 600; color: var(--blue); }

/* ===== LEARNING APPROACH ===== */
.learning-approach { background: var(--off-white); position: relative; overflow: hidden; }
.learning-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.learning-image-col { position: relative; }
.learning-img-main { border-radius: 24px; overflow: hidden; position: relative; box-shadow: 0 20px 60px rgba(0,0,0,0.12); }
.learning-img-main img { width: 100%; height: 400px; object-fit: cover; transition: transform 0.8s ease; }
.learning-img-main:hover img { transform: scale(1.05); }
.img-badge {
    position: absolute; bottom: 20px; left: 20px; right: 20px;
    padding: 16px 20px; display: flex; align-items: center; gap: 10px;
    background: rgba(255,255,255,0.92) !important; border: 1px solid rgba(255,255,255,0.5) !important;
    border-radius: 14px !important; font-size: 12px; font-weight: 600;
    font-family: var(--font-primary); color: var(--blue); letter-spacing: 0.5px;
}
.img-badge i { color: var(--accent); font-size: 16px; }
.learning-img-secondary {
    position: absolute; bottom: -30px; right: -30px; width: 200px; height: 200px;
    border-radius: 20px; overflow: hidden; border: 5px solid var(--white);
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}
.learning-img-secondary img { width: 100%; height: 100%; object-fit: cover; }

.learning-steps-col { display: flex; flex-direction: column; gap: 24px; }
.learning-step {
    display: flex; gap: 24px; align-items: flex-start; padding: 24px;
    border-radius: 16px; transition: var(--transition);
    background: rgba(255,255,255,0.7); border: 1px solid transparent;
}
.learning-step:hover {
    background: var(--white); border-color: rgba(230,57,70,0.1);
    box-shadow: 0 8px 30px rgba(0,0,0,0.06); transform: translateX(8px);
}
.step-number {
    font-family: var(--font-primary); font-size: 36px; font-weight: 900;
    color: var(--primary); line-height: 1; min-width: 50px;
}
.step-content h4 { font-family: var(--font-primary); font-size: 17px; font-weight: 700; color: var(--blue); margin-bottom: 6px; }
.step-content p { font-size: 14px; color: var(--gray); line-height: 1.6; }

/* ===== INFRASTRUCTURE ===== */
.infrastructure { background: var(--white); }
.infra-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.infra-card { border-radius: 24px; overflow: hidden; position: relative; cursor: pointer; }
.infra-img { position: relative; height: 280px; overflow: hidden; }
.infra-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.infra-card:hover .infra-img img { transform: scale(1.1); }
.infra-overlay {
    position: absolute; inset: 0;
    background: rgba(1, 31, 63, 0.9);
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 30px; opacity: 0.8; transition: var(--transition);
}
.infra-card:hover .infra-overlay { opacity: 1; }
.infra-overlay h4 { font-family: var(--font-primary); font-size: 20px; font-weight: 700; color: var(--white); margin-bottom: 6px; }
.infra-overlay p { font-size: 13px; color: rgba(255,255,255,0.7); line-height: 1.5; }

/* ===== CAREER PATHS ===== */
.career-paths { background: var(--blue-dark); position: relative; overflow: hidden; }
.career-paths .section-tag { color: var(--accent-light); background: rgba(247,127,0,0.15); }
.career-paths .section-title { color: var(--white); }

.career-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; z-index: 2; }
.career-card {
    padding: 36px 28px; text-align: center;
    background: rgba(255,255,255,0.06) !important; border: 1px solid rgba(255,255,255,0.1) !important;
    position: relative; overflow: hidden;
}
.career-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: var(--gradient-primary); opacity: 0; transition: var(--transition); z-index: -1;
}
.career-card:hover::before { opacity: 0.1; }
.career-card:hover { border-color: rgba(230,57,70,0.3) !important; }
.career-icon {
    width: 60px; height: 60px; background: var(--gradient-primary); border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px; font-size: 24px; color: var(--white); transition: var(--transition);
}
.career-card:hover .career-icon { transform: scale(1.1) rotate(5deg); }
.career-card h4 { font-family: var(--font-primary); font-size: 17px; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.career-card p { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.6; margin-bottom: 16px; }
.career-salary {
    display: inline-block; padding: 6px 18px;
    background: rgba(247,127,0,0.15); color: var(--accent-light);
    font-family: var(--font-primary); font-size: 14px; font-weight: 700;
    border-radius: 50px; border: 1px solid rgba(247,127,0,0.2);
}

/* ===== WHY KALINGA ===== */
.why-kalinga { background: var(--off-white); position: relative; overflow: hidden; }
.why-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.why-image { border-radius: 24px; overflow: hidden; position: relative; box-shadow: 0 20px 60px rgba(0,0,0,0.12); }
.why-image img { width: 100%; height: 500px; object-fit: cover; transition: transform 0.8s ease; }
.why-image:hover img { transform: scale(1.05); }
.why-image-overlay { position: absolute; inset: 0; background: rgba(13, 27, 42, 0.4); }
.why-cards { display: flex; flex-direction: column; gap: 24px; }
.why-card { display: flex; gap: 24px; align-items: flex-start; padding: 30px; }
.why-number {
    font-family: var(--font-primary); font-size: 42px; font-weight: 900;
    color: var(--primary); line-height: 1; min-width: 60px;
}
.why-content h4 { font-family: var(--font-primary); font-size: 18px; font-weight: 700; color: var(--blue); margin-bottom: 8px; }
.why-content p { font-size: 14px; color: var(--gray); line-height: 1.7; }

/* Why highlights grid */
.why-highlights-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 50px;
}
.why-highlight-card {
    text-align: center; padding: 30px 20px; background: var(--white) !important;
}
.why-highlight-card i {
    font-size: 28px; color: var(--primary); margin-bottom: 14px;
    width: 56px; height: 56px;
    background: var(--off-white);
    border-radius: 16px; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px;
}
.why-highlight-card h5 { font-family: var(--font-primary); font-size: 15px; font-weight: 700; color: var(--blue); margin-bottom: 6px; }
.why-highlight-card p { font-size: 13px; color: var(--gray); line-height: 1.5; }

/* ===== TESTIMONIALS ===== */
.testimonials { background: var(--white); }
.testimonial-slider { position: relative; overflow: hidden; }
.testimonial-track { display: flex; gap: 24px; transition: transform 0.5s ease; }
.testimonial-card { min-width: calc(33.333% - 16px); padding: 36px 28px; flex-shrink: 0; }
.testimonial-card:hover { transform: translateY(-4px); }
.testimonial-stars { display: flex; gap: 4px; margin-bottom: 16px; }
.testimonial-stars i { color: #f59e0b; font-size: 14px; }
.testimonial-card > p { font-size: 14px; color: var(--gray); line-height: 1.7; font-style: italic; margin-bottom: 24px; position: relative; }
.testimonial-card > p::before { content: '"'; font-size: 60px; font-family: Georgia, serif; color: rgba(230,57,70,0.12); position: absolute; top: -20px; left: -5px; line-height: 1; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.author-avatar { width: 48px; height: 48px; background: var(--gradient-primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 18px; flex-shrink: 0; }
.author-info h5 { font-family: var(--font-primary); font-size: 15px; font-weight: 600; color: var(--blue); }
.author-info span { font-size: 12px; color: var(--gray); }

.slider-controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 40px; }
.slider-btn { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--light-gray); background: var(--white); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: var(--transition); color: var(--gray); }
.slider-btn:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }
.slider-dots { display: flex; gap: 8px; }
.slider-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--light-gray); cursor: pointer; transition: var(--transition); }
.slider-dot.active { background: var(--primary); width: 30px; border-radius: 10px; }

/* ===== GALLERY ===== */
.gallery { background: var(--blue-dark); }
.gallery .section-tag { color: var(--accent-light); background: rgba(247,127,0,0.15); }
.gallery .section-title { color: var(--white); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-item { border-radius: 16px; overflow: hidden; position: relative; height: 250px; cursor: pointer; }
.gallery-wide { grid-column: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.6); display: flex; align-items: flex-end; padding: 20px; opacity: 0; transition: var(--transition); }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span { font-family: var(--font-primary); font-size: 16px; font-weight: 600; color: var(--white); letter-spacing: 0.5px; }

/* ===== PLACEMENTS ===== */
.placements { background: var(--white); }
.partners-marquee { overflow: hidden; position: relative; padding: 20px 0; }
.partners-marquee::before, .partners-marquee::after { content: ''; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; }
.partners-marquee::before { left: 0; background: var(--white); opacity: 0.8; }
.partners-marquee::after { right: 0; background: var(--white); opacity: 0.8; }
.marquee-track { display: flex; gap: 40px; animation: marquee 30s linear infinite; width: fit-content; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.partner-logo {
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    min-width: 100px; padding: 20px 30px;
    background: var(--off-white); border-radius: 16px; border: 1px solid var(--light-gray);
    transition: var(--transition);
}
.partner-logo:hover { border-color: var(--primary); box-shadow: 0 4px 20px rgba(230,57,70,0.08); transform: translateY(-2px); }
.partner-logo i { font-size: 32px; color: var(--blue); }
.partner-logo span { font-family: var(--font-primary); font-size: 12px; font-weight: 600; color: var(--gray); letter-spacing: 0.5px; }

/* ===== FAQ SECTION ===== */
.faq-section { background: var(--off-white); position: relative; }
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { overflow: hidden; background: var(--white) !important; border-radius: 16px !important; }
.faq-item:hover { transform: none; }
.faq-question {
    width: 100%; padding: 22px 28px;
    display: flex; align-items: center; justify-content: space-between;
    background: none; border: none; cursor: pointer;
    font-family: var(--font-primary); font-size: 16px; font-weight: 600;
    color: var(--blue); text-align: left; transition: var(--transition); gap: 16px;
}
.faq-question i { font-size: 14px; color: var(--gray); transition: var(--transition); flex-shrink: 0; }
.faq-item.active .faq-question { color: var(--primary); }
.faq-item.active .faq-question i { transform: rotate(180deg); color: var(--primary); }
.faq-answer {
    max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 28px;
}
.faq-item.active .faq-answer { max-height: 300px; padding: 0 28px 22px; }
.faq-answer p { font-size: 14px; color: var(--gray); line-height: 1.8; }

/* ===== APPLICATION FORM ===== */
.apply-section { background: var(--blue-dark); position: relative; overflow: hidden; }
.apply-section::before { content: ''; position: absolute; top: -300px; right: -200px; width: 600px; height: 600px; background: rgba(255,255,0,0.05); border-radius: 50%; }
.apply-section .section-tag { color: var(--accent-light); background: rgba(247,127,0,0.15); }
.apply-section .section-title { color: var(--white); }
.apply-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.apply-info { color: var(--white); }
.apply-info p { font-size: 16px; color: rgba(255,255,255,0.7); line-height: 1.8; margin-bottom: 30px; }
.apply-features { display: flex; flex-direction: column; gap: 14px; }
.apply-feature { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 500; color: rgba(255,255,255,0.9); }
.apply-feature i { color: #22c55e; font-size: 18px; }

.apply-form-wrap { padding: 40px; background: rgba(255,255,255,0.97) !important; border: 1px solid rgba(255,255,255,0.6) !important; }
.apply-form-wrap:hover { transform: none; }
.apply-form-wrap h3 { font-family: var(--font-primary); font-size: 24px; font-weight: 700; color: var(--blue); text-align: center; margin-bottom: 24px; }

.form-group { position: relative; margin-bottom: 16px; }
.form-group input, .form-group select {
    width: 100%; padding: 14px 16px 14px 44px;
    border: 2px solid var(--light-gray); border-radius: 12px;
    font-family: var(--font-body); font-size: 14px; color: var(--dark-gray);
    background: var(--white); transition: var(--transition); outline: none;
}
.form-group input:focus, .form-group select:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(230,57,70,0.08); }
.form-group i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--gray); font-size: 14px; transition: var(--transition); }
.form-group input:focus + i, .form-group select:focus + i { color: var(--primary); }

/* ===== FOOTER ===== */
.footer { background: var(--darker); padding: 80px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.5fr; gap: 60px; padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.5); line-height: 1.7; margin-top: 16px; }
.footer-social { display: flex; gap: 12px; margin-top: 24px; }
.footer-social a { width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.6); font-size: 15px; transition: var(--transition); }
.footer-social a:hover { background: var(--primary); color: var(--white); border-color: var(--primary); transform: translateY(-2px); }
.footer-links h4, .footer-contact h4 { font-family: var(--font-primary); font-size: 16px; font-weight: 700; color: var(--white); margin-bottom: 20px; letter-spacing: 0.5px; }
.footer-links a { display: block; font-size: 14px; color: rgba(255,255,255,0.5); padding: 6px 0; transition: var(--transition); }
.footer-links a:hover { color: var(--primary-light); padding-left: 8px; }
.contact-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.contact-item i { color: var(--primary); margin-top: 4px; font-size: 14px; }
.contact-item span, .contact-item a { font-size: 14px; color: rgba(255,255,255,0.5); line-height: 1.6; }
.footer-bottom { padding: 24px 0; text-align: center; }
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.3); }
.footer-bottom a { color: rgba(255,255,255,0.4); }
.footer-bottom a:hover { color: var(--primary-light); }

/* ===== STICKY SIDE BUTTONS ===== */
.sticky-btns-wrapper {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-slow);
}

.sticky-btns-wrapper.visible {
    opacity: 1;
    visibility: visible;
}

.sticky-btn {
    position: absolute;
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    background: var(--gradient-primary);
    color: var(--white);
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(1, 64, 115, 0.4);
    transition: var(--transition);
    white-space: nowrap;
}

.btn-fee { background: var(--primary) !important; }
.btn-brochure { background: var(--accent) !important; }

/* Mobile Footer Styles */
.mobile-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: var(--primary);
    display: none;
    align-items: center;
    z-index: 10001;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
}

.m-footer-btn {
    flex: 1;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 1px;
    text-decoration: none;
    transition: var(--transition);
}

.m-footer-btn:active {
    background: rgba(255,255,255,0.1);
}

.m-footer-divider {
    width: 1px;
    height: 30px;
    background: rgba(255,255,255,0.2);
}

.m-call-btn {
    max-width: 80px;
    font-size: 20px;
}

/* Desktop: Side Tabs */
@media (min-width: 1025px) {
    .sticky-btn.left-btn {
        left: 0;
        top: 50%;
        transform: rotate(-90deg) translateX(-50%);
        transform-origin: left top;
        border-radius: 0 0 12px 12px;
    }
    
    .sticky-btn.left-btn:hover {
        padding-bottom: 24px;
    }

    .sticky-btn.right-btn {
        right: 0;
        top: 50%;
        transform: rotate(90deg) translateX(50%);
        transform-origin: right top;
        border-radius: 0 0 12px 12px;
    }

    .sticky-btn.right-btn:hover {
        padding-bottom: 24px;
    }
}

/* ===== POPUP FORM ENHANCED ===== */
.popup-overlay {
    position: fixed; inset: 0; 
    background: rgba(1, 31, 63, 0.4);
    backdrop-filter: blur(10px) saturate(180%); -webkit-backdrop-filter: blur(10px) saturate(180%);
    display: flex; align-items: center; justify-content: center;
    z-index: 10000; opacity: 0; visibility: hidden; transition: opacity 0.5s ease, visibility 0.5s ease;
}

.popup-overlay.active { opacity: 1; visibility: visible; }

.popup-form {
    width: 440px; max-width: 95vw; padding: 48px 40px;
    background: rgba(255, 255, 255, 0.95) !important; 
    border: 1px solid rgba(255, 255, 255, 0.7) !important;
    border-radius: 24px !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
    position: relative; 
    transform: scale(0.9) translateY(30px); 
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}

.popup-overlay.active .popup-form { transform: scale(1) translateY(0); }

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

.popup-close { 
    position: absolute; top: 20px; right: 20px; 
    width: 32px; height: 32px; border-radius: 50%; border: none; 
    background: var(--off-white); color: var(--primary); 
    cursor: pointer; display: flex; align-items: center; justify-content: center; 
    transition: var(--transition); z-index: 10;
}

.popup-close:hover { 
    background: var(--primary); color: var(--white); 
    transform: rotate(90deg);
}

.popup-form h3 { 
    font-family: var(--font-primary); font-size: 26px; font-weight: 800; 
    color: var(--blue); margin-bottom: 8px; letter-spacing: -0.5px;
}

.popup-form > p { 
    font-size: 14px; color: var(--gray); margin-bottom: 30px; line-height: 1.5;
}

/* Animations for popup content */
.popup-form > * {
    opacity: 0; transform: translateY(15px); transition: all 0.5s ease; transition-delay: 0.1s;
}

.popup-overlay.active .popup-form > * {
    opacity: 1; transform: translateY(0);
}

.popup-form h3 { transition-delay: 0.2s; }
.popup-form > p { transition-delay: 0.3s; }
.popup-form form { transition-delay: 0.4s; }

/* ===== ANIMATIONS ===== */
.animate-fade-up { opacity: 0; transform: translateY(30px); animation: fadeUp 0.8s ease forwards; }
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

.animate-on-scroll { opacity: 0; transform: translateY(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.animate-on-scroll.in-view { opacity: 1; transform: translateY(0); }

.curriculum-grid .animate-on-scroll:nth-child(1) { transition-delay: 0s; }
.curriculum-grid .animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.curriculum-grid .animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.curriculum-grid .animate-on-scroll:nth-child(4) { transition-delay: 0.3s; }
.curriculum-grid .animate-on-scroll:nth-child(5) { transition-delay: 0.4s; }
.curriculum-grid .animate-on-scroll:nth-child(6) { transition-delay: 0.5s; }

.career-grid .animate-on-scroll:nth-child(n) { transition-delay: calc(0.1s * (var(--i, 0))); }

.particle { position: absolute; width: 6px; height: 6px; background: rgba(230,57,70,0.2); border-radius: 50%; pointer-events: none; animation: float 15s linear infinite; }
@keyframes float { 0% { transform: translateY(100vh) rotate(0deg); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { transform: translateY(-100vh) rotate(720deg); opacity: 0; } }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .nav { display: none; }
    .hamburger { display: flex; }
    .nav.open {
        display: flex; flex-direction: column;
        position: fixed; top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(15,15,35,0.97);
        backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
        padding: 100px 40px 40px; z-index: 999; gap: 4px;
    }
    .nav.open .nav-link { color: var(--white); font-size: 18px; padding: 14px 20px; border-radius: 12px; }
    .nav.open .nav-link:hover { background: rgba(255,255,255,0.08); }
    .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

    .hero-content { grid-template-columns: 1fr; gap: 40px; }
    .hero-right { max-width: 450px; }
    .curriculum-grid { grid-template-columns: repeat(2, 1fr); }
    .career-grid { grid-template-columns: repeat(2, 1fr); }
    .learning-layout { grid-template-columns: 1fr; gap: 40px; }
    .why-layout { grid-template-columns: 1fr; gap: 40px; }
    .apply-layout { grid-template-columns: 1fr; gap: 40px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .hero-stats { flex-wrap: wrap; gap: 16px; padding: 20px 24px; }
    .stat-divider { display: none; }
    .stat-item { flex: 1; min-width: 100px; }
    .testimonial-card { min-width: calc(50% - 12px); }
    .sem-subjects-grid { grid-template-columns: repeat(2, 1fr); }
    .why-highlights-grid { grid-template-columns: repeat(2, 1fr); }

    .sticky-btns-wrapper {
        display: block !important;
        position: fixed !important;
        inset: 0 !important;
        pointer-events: none !important;
        z-index: 9998 !important;
    }
    
    .sticky-btn {
        position: fixed !important;
        right: 0 !important;
        left: auto !important;
        transform: rotate(-90deg) translateX(50%) !important;
        transform-origin: right bottom !important;
        border-radius: 12px 12px 0 0 !important; /* Rounded corners face the content */
        padding: 0 20px !important;
        width: 180px !important;
        height: 48px !important;
        justify-content: center !important;
        z-index: 9998 !important;
        margin: 0 !important;
        box-shadow: -5px 0 15px rgba(0,0,0,0.15) !important;
        font-size: 11px !important;
        letter-spacing: 0.5px !important;
    }

    .btn-brochure { 
        top: 32% !important; 
    } 
    
    .btn-fee { 
        top: 58% !important; 
    }

    .sticky-btn span { display: block; font-size: 11px; }

    .mobile-footer.visible {
        display: flex;
    }

    body { padding-bottom: 60px; }
}

@media (max-width: 768px) {
    :root { --section-padding: 70px 0; }
    .hero-title { font-size: 26px; }
    .hero-content { padding-top: 100px; padding-bottom: 60px; }
    .programme-cards { grid-template-columns: 1fr; }
    .curriculum-grid { grid-template-columns: 1fr; }
    .infra-grid { grid-template-columns: 1fr; }
    .career-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
    .gallery-wide { grid-column: span 2; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .testimonial-card { min-width: 100%; }
    .btn-apply { display: none; }
    .learning-img-secondary { width: 150px; height: 150px; bottom: -20px; right: -10px; }
    .apply-form-wrap { padding: 28px 22px; }
    .hero-stats { padding: 18px; }
    .stat-number { font-size: 24px; }
    .stat-label { font-size: 10px; }
    .section-header { margin-bottom: 40px; }
    .sem-subjects-grid { grid-template-columns: 1fr; }
    .why-highlights-grid { grid-template-columns: 1fr 1fr; }
    .semester-tabs { gap: 6px; }
    .sem-tab { padding: 10px 20px; font-size: 13px; }
}

@media (max-width: 480px) {
    .hero-cta { flex-direction: column; align-items: stretch; }
    .hero-cta .btn { justify-content: center; }
    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-wide { grid-column: span 1; }
    .hero-stats { flex-direction: column; gap: 12px; }
    .stat-item { min-width: unset; }
    .sticky-btns-wrapper {
        inset: auto 20px 20px auto;
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: auto;
        height: auto;
    }
    
    .sticky-btn {
        position: relative;
        bottom: auto;
        right: auto;
        transform: none !important;
        border-radius: 50px !important;
        padding: 12px 24px !important;
        width: 100%;
        justify-content: flex-end;
        box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    }

    .sticky-btn span { display: block; font-size: 11px; }
    .sticky-btn i { font-size: 14px; }
    .learning-step { flex-direction: column; gap: 12px; }
    .why-card { flex-direction: column; gap: 12px; }
    .why-highlights-grid { grid-template-columns: 1fr; }
    .sem-header { flex-direction: column; text-align: center; }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--off-white); }
::-webkit-scrollbar-thumb { background: var(--gradient-primary); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-dark); }

::selection { background: var(--highlight); color: var(--blue-dark); }
