/* ============================================
   NALINI LEARNERS POINT – Main Stylesheet
   ============================================ */

/* --- CSS Variables / Design Tokens --- */
:root {
    --red: #C0392B;
    --red-dark: #96281B;
    --red-light: #E74C3C;
    --blue: #1A237E;
    --blue-mid: #283593;
    --blue-light: #3949AB;
    --blue-pale: #E8EAF6;
    --gold: #F39C12;
    --gold-light: #F9C74F;
    --white: #FFFFFF;
    --off-white: #F7F8FC;
    --text-dark: #1C1C2E;
    --text-muted: #6B7280;
    --border: #E5E7EB;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.10);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.14);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --transition: all 0.3s ease;
    --font-head: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 92%;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.65rem 1.6rem;
    border-radius: var(--radius-md);
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(192, 57, 43, 0.35);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--red-light), var(--red));
    box-shadow: 0 6px 20px rgba(192, 57, 43, 0.50);
    transform: translateY(-2px);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.7);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--white);
}

.btn-large {
    padding: 0.9rem 2rem;
    font-size: 1rem;
}

.btn-block-card {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: auto;
    padding: 0.7rem 1rem;
}

.btn-submit {
    width: 100%;
    justify-content: center;
    padding: 0.85rem;
    font-size: 1rem;
    margin-top: 0.5rem;
}

/* --- Section Shared --- */
.section {
    padding: 5.5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-label {
    display: inline-block;
    font-family: var(--font-head);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--red);
    background: rgba(192, 57, 43, 0.08);
    padding: 0.3rem 1rem;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-family: var(--font-head);
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
}

.section-header p {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto;
}

.section-header.light .section-label {
    color: var(--gold-light);
    background: rgba(249, 199, 79, 0.15);
}

.section-header.light h2 {
    color: var(--white);
}

.section-header.light p {
    color: rgba(255, 255, 255, 0.75);
}

/* ============================================
   HEADER
   ============================================ */
.header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: var(--white);
    box-shadow: 0 2px 16px rgba(26, 35, 126, 0.10);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 74px;
    gap: 1.5rem;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo-img {
    width: 54px;
    height: 54px;
    object-fit: contain;
    border-radius: 50%;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-name {
    font-family: var(--font-head);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--blue);
}

.logo-tag {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--red);
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    font-family: var(--font-head);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    transition: color 0.2s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--red);
    transition: width 0.3s;
    border-radius: 2px;
}

.nav-links a:hover {
    color: var(--red);
}

.nav-links a:hover::after {
    width: 100%;
}

/* --- Fixed Dropdown Styles --- */
.nav-item-dropdown {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    background: var(--white);
    min-width: 240px;
    border-radius: var(--radius-sm);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border);
    padding: 0.5rem 0;
    z-index: 1000;
}

.nav-item-dropdown:hover > .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu li a {
    display: block;
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--text-dark) !important;
    transition: background 0.2s, color 0.2s;
    text-align: left;
    white-space: nowrap;
}

.dropdown-menu li a::after {
    display: none !important;
}

.dropdown-menu li a:hover {
    background: var(--off-white);
    color: var(--text-dark) !important;
}

.nav-cta {
    padding: 0.5rem 1.3rem;
    font-size: 0.88rem;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--blue);
    cursor: pointer;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    background: linear-gradient(140deg, var(--blue) 0%, var(--blue-mid) 50%, #1a237ecc 100%);
    padding: 6rem 0 5rem;
    position: relative;
    overflow: hidden;
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.06;
    background: var(--white);
}

.shape-1 {
    width: 500px;
    height: 500px;
    top: -200px;
    right: -150px;
}

.shape-2 {
    width: 300px;
    height: 300px;
    bottom: -100px;
    left: -80px;
}

.shape-3 {
    width: 200px;
    height: 200px;
    top: 60%;
    right: 30%;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 4rem;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
    color: var(--white);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(243, 156, 18, 0.2);
    border: 1px solid rgba(243, 156, 18, 0.5);
    color: var(--gold-light);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.35rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.hero-badge i {
    color: var(--gold);
}

.hero-name {
    display: block;
    font-family: var(--font-head);
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.15;
    background: linear-gradient(90deg, #FFFFFF, #E8EAF6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.hero-tagline {
    display: block;
    font-family: var(--font-head);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gold-light);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.hero-desc {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.82);
    max-width: 480px;
    margin-bottom: 2.2rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.hero-highlights {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
}

.highlight-item i {
    color: var(--gold);
    font-size: 1rem;
}

/* Hero Logo */
.hero-logo-wrap {
    flex-shrink: 0;
    position: relative;
    width: 280px;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.18) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
}

.hero-logo-img {
    width: 240px;
    height: 240px;
    object-fit: contain;
    border-radius: 50%;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 8px 32px rgba(0, 0, 0, 0.35));
    animation: floatLogo 4s ease-in-out infinite;
}

@keyframes floatLogo {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.6;
    }

    50% {
        transform: scale(1.15);
        opacity: 1;
    }
}

/* ============================================
   COURSES SECTION
   ============================================ */
.courses-section {
    background: var(--off-white);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 2rem;
}

.course-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1.5px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.course-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--blue-light);
}

.course-card.featured {
    border-color: var(--red);
    background: linear-gradient(160deg, #fff8f7 0%, #ffffff 100%);
    position: relative;
}

.course-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.course-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--blue-pale), #c5cae9);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--blue);
    flex-shrink: 0;
}

.course-icon.olympiad {
    background: linear-gradient(135deg, #fff3e0, #ffe0b2);
    color: #e65100;
}

.course-icon.vedic {
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    color: #2e7d32;
}

.course-tag {
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0.25rem 0.8rem;
    border-radius: 50px;
}

.course-card h3 {
    font-family: var(--font-head);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
}

.course-desc {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.course-details {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.course-details li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-dark);
    font-weight: 500;
}

.course-details i {
    color: var(--red);
    font-size: 0.85rem;
    flex-shrink: 0;
}

/* ============================================
   COMPETITIVE CORNER
   ============================================ */
.competitive-section {
    background: linear-gradient(140deg, var(--blue) 0%, #0d1b6e 100%);
    position: relative;
    overflow: hidden;
}

.competitive-section::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    pointer-events: none;
}

.competitive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.comp-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    transition: var(--transition);
    backdrop-filter: blur(6px);
}

.comp-card-content {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    width: 100%;
}

.comp-card-action {
    width: 100%;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: flex-start;
}

.comp-card:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateX(6px);
}

.comp-card:hover .comp-card-action {
    border-top-color: rgba(255, 255, 255, 0.2);
}

.comp-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    background: rgba(243, 156, 18, 0.2);
    border: 1px solid rgba(243, 156, 18, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--gold);
    flex-shrink: 0;
}

.comp-info h3 {
    font-family: var(--font-head);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.2rem;
}

.comp-info p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 0.4rem;
}

.comp-class {
    display: inline-block;
    background: rgba(249, 199, 79, 0.15);
    border: 1px solid rgba(249, 199, 79, 0.35);
    color: var(--gold-light);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.15rem 0.7rem;
    border-radius: 50px;
}

/* --- "Know More About the Exam" Button --- */
.btn-know-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.3rem 0;
    font-family: var(--font-head);
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-know-more:hover {
    color: var(--gold-light);
    transform: translateX(4px);
    box-shadow: none;
}

.btn-know-more:active {
    transform: translateX(2px);
}

.btn-know-more i {
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}

.btn-know-more:hover i {
    transform: translateX(3px);
}

/* ============================================
   EXAM IMAGE MODAL (Fullscreen Viewer)
   ============================================ */
.exam-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    pointer-events: none;
}

.exam-modal.open {
    visibility: visible;
    pointer-events: auto;
}

/* Backdrop */
.exam-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.exam-modal.open .exam-modal-backdrop {
    opacity: 1;
}

/* Close button (top-right corner) */
.exam-modal-close {
    position: absolute;
    top: 20px;
    right: 24px;
    z-index: 10002;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    opacity: 0;
    transform: scale(0.7);
}

.exam-modal.open .exam-modal-close {
    opacity: 1;
    transform: scale(1);
    transition-delay: 0.15s;
}

.exam-modal-close:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1) rotate(90deg);
}

/* Side click zones to close the modal */
.exam-modal-side {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 14%;
    z-index: 10001;
    cursor: pointer;
}

.exam-modal-left  { left: 0; }
.exam-modal-right { right: 0; }

/* Image content wrapper – zoom-in animation */
.exam-modal-content {
    position: relative;
    z-index: 10001;
    max-width: 82vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.82);
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.exam-modal.open .exam-modal-content {
    opacity: 1;
    transform: scale(1);
    transition-delay: 0.08s;
}

/* Loading spinner */
.exam-modal-spinner {
    position: absolute;
    color: rgba(255, 255, 255, 0.75);
    font-size: 2.2rem;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.exam-modal-spinner.hidden {
    opacity: 0;
}

/* Modal image */
.exam-modal-img {
    display: block;
    max-width: 82vw;
    max-height: 88vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: var(--radius-md);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.exam-modal-img.loaded {
    opacity: 1;
}

/* Scroll-lock when modal is active */
body.modal-open {
    overflow: hidden;
}

@media (max-width: 600px) {
    .exam-modal-side {
        width: 8%;
    }

    .exam-modal-content,
    .exam-modal-img {
        max-width: 96vw;
    }

    .exam-modal-close {
        top: 12px;
        right: 12px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* ============================================
   FACULTY SECTION
   ============================================ */
.faculty-section {
    background: var(--white);
}

.faculty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 2rem;
}

.faculty-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1.5px solid var(--border);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.faculty-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--blue-light);
}

.faculty-img-wrap {
    position: relative;
    width: 100%;
    height: 220px;
    background: var(--blue-pale);
    overflow: hidden;
}

.faculty-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.4s ease;
}

.faculty-card:hover .faculty-img {
    transform: scale(1.04);
}

.faculty-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #9fa8da;
    background: var(--blue-pale);
}

.faculty-subject {
    position: absolute;
    bottom: 12px;
    right: 12px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
}

.faculty-subject.maths {
    background: #e8f4ff;
    color: #1565c0;
}

.faculty-subject.science {
    background: #e8f5e9;
    color: #2e7d32;
}

.faculty-subject.english {
    background: #fff3e0;
    color: #e65100;
}

.faculty-subject.arts {
    background: #fce4ec;
    color: #c62828;
}

.faculty-subject.management {
    background: #ede7f6;
    color: #4527a0;
}

.faculty-info {
    padding: 1.2rem 1.4rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.faculty-info h3 {
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
}

.faculty-qual,
.faculty-exp {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.faculty-qual i {
    color: var(--blue);
    margin-top: 2px;
    flex-shrink: 0;
}

.faculty-exp i {
    color: var(--red);
    margin-top: 2px;
    flex-shrink: 0;
}

/* ============================================
   WHY CHOOSE US
   ============================================ */
.why-section {
    background: var(--off-white);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.why-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem 1.8rem;
    border: 1.5px solid var(--border);
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.why-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--red);
}

.why-icon {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fce8e6, #fbd1cd);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--red);
    margin: 0 auto 1.4rem;
    transition: var(--transition);
}

.why-card:hover .why-icon {
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    color: var(--white);
    transform: rotate(5deg) scale(1.05);
}

.why-card h3 {
    font-family: var(--font-head);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.why-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
    background: var(--white);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: start;
}

.contact-info-block h3 {
    font-family: var(--font-head);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 0.6rem;
}

.contact-intro {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1.8rem;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    width: 46px;
    height: 46px;
    background: linear-gradient(135deg, var(--blue-pale), #c5cae9);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--blue);
    flex-shrink: 0;
}

.contact-item h4 {
    font-family: var(--font-head);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.contact-item p {
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 500;
    line-height: 1.5;
}

.contact-item a {
    color: var(--red);
    font-weight: 600;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* Map placeholder */
.map-placeholder {
    background: var(--blue-pale);
    border: 2px dashed #9fa8da;
    border-radius: var(--radius-md);
    height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-align: center;
    color: var(--blue);
    padding: 1rem;
}

.map-placeholder i {
    font-size: 2.5rem;
    opacity: 0.6;
}

.map-placeholder p {
    font-weight: 600;
    font-size: 0.95rem;
}

.map-placeholder small {
    color: var(--text-muted);
    font-size: 0.78rem;
}

.map-placeholder code {
    background: rgba(26, 35, 126, 0.1);
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    font-size: 0.78rem;
}

/* When an actual iframe is added inside #mapEmbed, hide the placeholder styles */
#mapEmbed iframe {
    width: 100%;
    height: 300px;
    border: 0;
    border-radius: var(--radius-md);
}

/* Inquiry Form */
.inquiry-form-block {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.2rem;
    box-shadow: var(--shadow-md);
}

.inquiry-form-block h3 {
    font-family: var(--font-head);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 1.8rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--red);
    display: flex;
    align-items: center;
    gap: 8px;
}

.inquiry-form {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.45rem;
}

.form-group label span {
    color: var(--red);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: var(--text-dark);
    transition: border-color 0.25s, box-shadow 0.25s;
    background: var(--white);
    outline: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(26, 35, 126, 0.12);
}

.form-message {
    margin-top: 0.8rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    display: none;
    text-align: center;
}

.form-message.success {
    display: block;
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

.form-message.error {
    display: block;
    background: #fce8e6;
    color: #c62828;
    border: 1px solid #ef9a9a;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: linear-gradient(160deg, #111827, #1a237e);
    color: var(--white);
    padding: 4rem 0 1.5rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1.3fr 1.4fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1.5rem;
}

.footer-brand p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 1rem;
    line-height: 1.7;
    max-width: 280px;
}

.footer-logo-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo-img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: contain;
    flex-shrink: 0;
}

.footer-name {
    display: block;
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 800;
    color: var(--white);
}

.footer-tag {
    display: block;
    font-size: 0.7rem;
    color: var(--gold-light);
    font-weight: 500;
}

.footer-col h4 {
    font-family: var(--font-head);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--red);
    display: inline-block;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.footer-col ul li {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.4;
}

.footer-col ul li i {
    color: var(--gold);
    margin-top: 2px;
    flex-shrink: 0;
    font-size: 0.8rem;
}

.footer-col ul a {
    color: rgba(255, 255, 255, 0.65);
    transition: color 0.2s;
}

.footer-col ul a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ============================================
   ACHIEVERS SECTION (Meet Our Stars)
   ============================================ */
.achievers-section {
    background: #ffffff;
    padding: 4rem 0;
    overflow: hidden;
}

.stars-header {
    margin-bottom: 2rem;
}

.stars-title-wrap h2 {
    font-family: var(--font-head);
    font-size: 2.2rem;
    font-weight: 700;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 1.5rem;
}

.sparkle-wrap {
    color: #f39c12;
    font-size: 1.4rem;
}

.star-filters {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none;
}

.star-filters::-webkit-scrollbar {
    display: none;
}

.filter-btn {
    padding: 0.5rem 1.5rem;
    border: 1px solid #d1d5db;
    background: #fff;
    color: #4b5563;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.filter-btn.active {
    background: #eff6ff;
    color: #2563eb;
    border-color: #2563eb;
}

.stars-carousel-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
}

.scroll-btn:hover {
    background: #f8fafc;
    color: #2563eb;
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.scroll-btn.left {
    left: -24px;
}

.scroll-btn.right {
    right: -24px;
}

.stars-container {
    padding: 1rem 0 2rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    cursor: grab;
    flex: 1;
}

.stars-container::-webkit-scrollbar {
    display: none;
}

.stars-wrapper {
    display: flex;
    gap: 1.5rem;
    padding: 0 0.5rem;
}

.star-card {
    width: 250px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    flex-shrink: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.star-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.star-img-box {
    height: 220px;
    background: #fff;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.star-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.star-img-placeholder {
    font-size: 5rem;
    color: #94a3b8;
    margin-bottom: 3rem;
}

.star-banner {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #262626;
    color: #fff;
    text-align: center;
    padding: 0.4rem;
    font-size: 0.8rem;
    font-weight: 600;
}

.star-info {
    padding: 1rem 1.2rem;
}

.star-name {
    font-family: var(--font-head);
    font-size: 1.15rem;
    color: #1a1a1a;
    margin-bottom: 0.2rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.star-course, .star-exam {
    font-size: 0.75rem;
    color: #64748b;
    margin-bottom: 0.1rem;
}

.star-exam {
    margin-bottom: 1rem;
}

.star-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.star-score {
    font-size: 1.6rem;
    font-weight: 800;
    color: #2563eb;
    letter-spacing: -0.5px;
}

.star-arrow {
    width: 24px;
    height: 24px;
    border: 1px solid #2563eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.star-arrow:hover {
    background: #2563eb;
    color: #fff;
}

.star-card.hidden {
    display: none;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }

    .hero-name {
        font-size: 2.4rem;
    }
}

@media (max-width: 900px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }

    .hero-content {
        align-items: center;
    }

    .hero-desc {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-highlights {
        justify-content: center;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .hero-logo-wrap {
        width: 220px;
        height: 220px;
    }

    .hero-logo-img {
        width: 190px;
        height: 190px;
    }
}
/* ============================================
   INSPIRATION SECTION
   ============================================ */
.inspiration-section {
    background: var(--white);
}

.inspiration-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.inspiration-card {
    background: var(--off-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.insp-img-wrap {
    height: 480px;
    width: 100%;
    background: var(--blue-pale);
    overflow: hidden;
    position: relative;
}

.insp-img-wrap.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef2ff;
}

.insp-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.insp-img-placeholder {
    font-size: 5rem;
    color: #cbd5e1;
}

.insp-content {
    padding: 2.2rem;
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.quote-icon {
    font-size: 2rem;
    color: var(--red);
    opacity: 0.15;
    margin-bottom: 0.8rem;
}

.insp-message {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-dark);
    font-style: italic;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.insp-name {
    font-family: var(--font-head);
    font-size: 1.25rem;
    color: var(--blue);
    font-weight: 700;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

@media (max-width: 992px) {
    .insp-img-wrap {
        height: 380px;
    }
}

@media (max-width: 768px) {

    .nav-links,
    .nav-cta {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 74px;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 1.5rem 2rem;
        gap: 0.8rem;
        box-shadow: var(--shadow-md);
        z-index: 998;
        border-top: 2px solid var(--red);
        max-height: 80vh;
        overflow-y: auto;
    }

    .nav-item-dropdown {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links.open .dropdown-menu {
        display: none;
        position: static;
        box-shadow: none;
        border: none;
        padding: 0.5rem 0 0.5rem 1.2rem;
        min-width: auto;
    }

    .nav-item-dropdown.active .dropdown-menu {
        display: block;
    }

    .nav-links.open .dropdown-menu li a {
        padding: 0.4rem 0;
        font-size: 0.85rem;
    }

    .section-header h2 {
        font-size: 1.9rem;
    }

    .faculty-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 500px) {
    .hero {
        padding: 4rem 0;
    }

    .hero-name {
        font-size: 1.9rem;
    }

    .hero-tagline {
        font-size: 1rem;
    }

    .competitive-grid {
        grid-template-columns: 1fr;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .courses-grid {
        grid-template-columns: 1fr;
    }

    .inquiry-form-block {
        padding: 1.5rem;
    }
}