/* ========================================================
   COLLEGE STEP — Main Stylesheet
   Colors: Yellow #FEBA02 | Blue #012970
   Font: Poppins (Google Fonts)
======================================================== */

/* ===== CSS VARIABLES ===== */
:root {
    --yellow: #FEBA02;
    --blue: #012970;
    --white: #ffffff;
    --light-bg: #f7f8fc;
    --light-gray: #f0f1f5;
    --text-dark: #1a1a2e;
    --text-gray: #555;
    --card-shadow: 0 6px 30px rgba(1, 41, 112, 0.1);
    --radius: 12px;
    --transition: 0.3s ease;
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ===== UTILITIES ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-center {
    text-align: center;
}

.text-yellow {
    color: var(--yellow) !important;
}

.text-blue {
    color: var(--blue) !important;
}

.mt-40 {
    margin-top: 40px;
}

.section-title {
    font-family: 'Roboto', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.section-subtitle {
    font-family: 'Roboto', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 48px;
    margin-top: 24px;
}

/* ===== PRIMARY BUTTON ===== */
.btn-primary {
    display: inline-block;
    background: var(--yellow);
    color: var(--blue);
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 13px 34px;
    border-radius: 15px;
    border: none;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition);
    text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(254, 186, 2, 0.45);
}

/* ===== SKETCH DECORATIONS ===== */
.sketch {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.sketch-tl {
    top: 0;
    left: 0;
    width: 260px;
}

.sketch-tr {
    top: 0;
    right: 0;
    width: 260px;
}

.sketch-br {
    bottom: 0;
    right: 0;
    width: 280px;
}

.sketch-bl {
    bottom: 0;
    left: 0;
    width: 260px;
}

.sketch-ml {
    bottom: 50%;
    left: 0;
    width: 150px;
    transform: translateY(-50%);
}

.sketch-mr {
    top: 80%;
    right: 0;
    width: 100px;
    transform: translateY(-50%);
}

/* Mission section specific sketch positions — match design */
.sketch-mv-left {
    top: 55%;
    left: -20px;
    width: 110px;
}

.sketch-mv-right {
    top: 5%;
    right: -10px;
    width: 230px;
}

/* Lower area sketches (open book + paper plane) */
.sketch-mv-bl {
    bottom: 80px;
    left: 35%;
    top: 35%;
    width: 150px;
}

.sketch-mv-br {
    bottom: -40px;
    right: 200px;
    top: auto;
    width: 300px;
}


/* =========================================================
   HEADER (top-bar + navbar) — STICKY
========================================================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: 0 2px 12px rgba(1, 41, 112, 0.1);
}

/* --- Top Bar --- */
.top-bar {
    background: var(--yellow);
    padding: 9px 0;
}

.top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    flex-wrap: wrap;
    gap: 10px;
}

.top-contact {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--blue);
}

.top-contact i {
    color: var(--blue);
    margin-right: 6px;
}

.phone-icon {
    transform: scaleX(-1);
    display: inline-block;
}

.bar-divider {
    color: rgba(1, 41, 112, 0.4);
    font-weight: 300;
    font-size: 1.1rem;
}

.btn-enquiry {
    background: var(--blue);
    color: var(--white);
    font-family: 'Poppins', sans-serif;
    font-size: 0.825rem;
    font-weight: 600;
    padding: 8px 22px;
    border-radius: 6px;
    transition: background var(--transition);
    white-space: nowrap;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.btn-enquiry:hover {
    background: #0a3d8e;
}

/* --- Navbar --- */
.navbar {
    background: var(--white);
    padding: 10px 0;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo img {
    height: 58px;
    width: auto;
}

/* Nav links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-links li {
    position: relative;
}

.nav-link {
    display: block;
    padding: 8px 16px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--blue);
    transition: color var(--transition);
    white-space: nowrap;
    position: relative;
}

.nav-link.active,
.nav-link:hover {
    color: var(--yellow);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 3px;
    background: var(--yellow);
    border-radius: 3px;
}

.nav-link i {
    font-size: 0.7rem;
    margin-left: 4px;
    vertical-align: middle;
}

/* Dropdown */
.has-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: var(--white);
    min-width: 230px;
    border-radius: 10px;
    box-shadow: 0 12px 35px rgba(1, 41, 112, 0.15);
    padding: 8px 0;
    display: none;
    z-index: 200;
    border-top: 3px solid var(--yellow);
}

.has-dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 22px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--blue);
    transition: background var(--transition), padding-left var(--transition);
}

.dropdown-menu li a:hover {
    background: #fff8e1;
    padding-left: 28px;
    color: var(--blue);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 2.5px;
    background: var(--blue);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}

.hamburger.open span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}


/* =========================================================
   HERO BANNER
========================================================= */
.hero-banner {
    position: relative;
    min-height: 520px;
    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;
    object-position: center top;
}

/* Gradient overlay so text is readable */
.hero-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.5) 44.46%, rgba(255, 255, 255, 0) 103.59%);
}

.hero-banner .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 540px;
    color: var(--white);
    text-align: center;
}

.hero-content h1 {
    font-family: 'Roboto', sans-serif;
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 14px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.hero-content .hero-sub {
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 22px;
    opacity: 0.95;
}

.hero-content .admission-open {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 28px;
    color: var(--white);
}


/* =========================================================
   MISSION & VISION
========================================================= */
.section-mv {
    padding: 80px 0 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.mv-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 56px;
    align-items: start;
    margin-bottom: 56px;
    position: relative;
    z-index: 1;
}

.mv-block {
    margin-bottom: 36px;
}

.mv-block:last-child {
    margin-bottom: 0;
}

/* Label headings with yellow left border */
.label-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Roboto', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--yellow);
    margin-bottom: 14px;
    letter-spacing: 0.5px;
}

.label-heading .bar {
    display: inline-block;
    width: 5px;
    min-width: 5px;
    height: 28px;
    background: var(--blue);
    border-radius: 3px;
}

.mv-text p {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.75;
}

/* Video / Welcome card */
.mv-video-wrap {
    position: relative;
    z-index: 1;
}

.video-card {
    position: relative;
    background: linear-gradient(135deg, #0d7377, #14a085);
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 16/10;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--card-shadow);
}

.video-logo-wrap {
    text-align: center;
    padding: 20px;
}

.video-logo-wrap img {
    width: 110px;
    margin: 0 auto 10px;
    border-radius: 8px;
}

.welcome-text {
    font-family: 'Pacifico', cursive;
    font-size: 1.8rem;
    color: var(--white);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    margin-top: 6px;
}

.play-btn {
    position: absolute;
    bottom: 14px;
    right: 14px;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: var(--white);
    font-size: 2.4rem;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 8px;
    transition: background var(--transition), transform var(--transition);
    backdrop-filter: blur(4px);
}

.play-btn:hover {
    background: rgba(255, 0, 0, 0.75);
    transform: scale(1.1);
}

.video-frame-wrap iframe {
    border-radius: var(--radius);
    width: 100%;
    height: 230px;
    border: none;
}

/* WHY CHOOSE US heading (inside mission section) */
.wcu-heading-wrap {
    position: relative;
    z-index: 1;
    padding: 30px 0 42px;
    text-align: center;
}

.wcu-heading-wrap .section-subtitle {
    margin-bottom: 0;
}


/* =========================================================
   WHY CHOOSE US — Cards
========================================================= */
.section-wcu {
    position: relative;
    padding: 65px 0 75px;
    overflow: hidden;
}

.wcu-bg-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.wcu-bg-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.67);
}

/* WHY CHOOSE US — 4-corner stencil sketches */
.sketch-wcu-tl {
    top: 0;
    left: 0;
    width: 220px;
    opacity: 0.35 !important;
    z-index: 1;
}

.sketch-wcu-tr {
    top: 0;
    right: 0;
    width: 220px;
    opacity: 0.35 !important;
    z-index: 1;
}

.sketch-wcu-bl {
    bottom: 0;
    left: 0;
    width: 220px;
    opacity: 0.35 !important;
    z-index: 1;
}

.sketch-wcu-br {
    bottom: 0;
    right: 0;
    width: 220px;
    opacity: 0.35 !important;
    z-index: 1;
}

.section-wcu .container {
    position: relative;
    z-index: 1;
}

.wcu-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 200px;
}

.wcu-card {
    background: var(--white);
    border-radius: 0px 25px;
    padding: 42px 36px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.18);
    transition: transform var(--transition);
}

.wcu-card:hover {
    transform: translateY(-4px);
}

.wcu-card h4 {
    font-family: 'Roboto', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 14px;
}

.wcu-card p {
    font-size: 0.92rem;
    color: var(--text-gray);
    line-height: 1.75;
}


/* =========================================================
   OUR SERVICES
========================================================= */
.section-services {
    padding: 80px 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.section-services .container {
    position: relative;
    z-index: 1;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px 50px;
}

.service-card {
    background: url('../images/home/section-4/background-card.png'), linear-gradient(180deg, rgba(255, 255, 255, 0.084) 0%, rgba(217, 217, 217, 0.042) 100%);
    background-size: cover;
    background-position: center;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: 0px 30px;
    padding: 0px 32px 28px 28px;
    position: relative;
    overflow: hidden;
    transition: box-shadow var(--transition), transform var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.service-card:hover {
    box-shadow: var(--card-shadow);
    transform: translateY(-3px);
}

.service-num {
    font-size: 5rem;
    font-weight: 900;
    color: var(--yellow);
    line-height: 0.85;
    margin-bottom: 14px;
    letter-spacing: -4px;
    overflow: hidden;
    margin-left: -44px;
    padding-left: 4px;
}

.service-card h4 {
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 8px;
    display: inline-block;
}

.service-card h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 85%;
    height: 2.5px;
    background: linear-gradient(to right, var(--yellow) 50%, transparent 100%);
    border-radius: 2px;
}

.service-card p {
    font-size: 0.875rem;
    color: var(--text-gray);
    line-height: 1.75;
    width: 75%;
}


/* =========================================================
   COURSES
========================================================= */
.section-courses {
    padding: 80px 0;
    background: var(--white);
    position: relative;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 22px;
}

.course-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    display: block;
    text-decoration: none;
}

.course-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.course-card:hover img {
    transform: scale(1.06);
}

.course-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(1, 41, 112, 0.95) 60%, transparent 100%);
    padding: 22px 18px 18px;
    color: var(--white);
}

.course-overlay h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.course-overlay p {
    font-size: 0.78rem;
    opacity: 0.9;
    font-weight: 400;
}

/* Back to top */
.back-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #ff6b35;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
    transition: transform var(--transition), box-shadow var(--transition);
    opacity: 0;
    pointer-events: none;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.5);
}


/* =========================================================
   STATS
========================================================= */
.section-stats {
    background: var(--blue);
    padding: 55px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}

.stat-item {
    color: var(--white);
}

.stat-number {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
}

.stat-number .counter {
    font-size: 3.2rem;
    font-weight: 900;
    color: var(--yellow);
    line-height: 1;
}

.stat-number .plus {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--yellow);
    line-height: 1;
}

.stat-item p {
    font-size: 1rem;
    font-weight: 600;
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.9);
}


/* =========================================================
   CALCULATOR
========================================================= */
.section-calculator {
    padding: 80px 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.section-calculator .container {
    position: relative;
    z-index: 1;
}

.calc-grid {
    display: grid;
    grid-template-columns: 480px 1fr;
    gap: 60px;
    align-items: start;
}

/* Calculator Card */
.calc-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(1, 41, 112, 0.3);
}

.calc-header {
    background: var(--yellow);
    text-align: center;
    padding: 28px 32px 22px;
}

.calc-body {
    background: var(--blue);
    padding: 24px 28px 28px;
}

.free-text {
    font-family: 'Pacifico', cursive;
    font-size: 2rem;
    color: var(--blue);
    margin-bottom: 4px;
}

.calc-header h3 {
    font-family: 'Roboto', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--blue);
}

.calc-header h3 sup {
    font-size: 0.6em;
}

/* Dropdown */
.calc-field {
    position: relative;
    margin-bottom: 16px;
}

.calc-field select {
    width: 100%;
    padding: 12px 44px 12px 16px;
    border-radius: 25px;
    border: none;
    background: var(--white);
    font-family: 'Roboto', sans-serif;
    font-size: 0.875rem;
    color: var(--text-dark);
    text-align: center;
    text-align-last: center;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    outline: none;
}

.select-arrow {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--blue);
    pointer-events: none;
    font-size: 0.8rem;
}

.calc-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 16px;
}

.calc-field-group {
    margin-bottom: 16px;
}

.calc-label {
    display: block;
    font-size: 0.825rem;
    font-weight: 600;
    color: var(--yellow);
    margin-bottom: 5px;
}

.calc-field-group input {
    width: 100%;
    padding: 11px 14px;
    border-radius: 8px;
    border: none;
    font-family: 'Roboto', sans-serif;
    font-size: 0.875rem;
    outline: none;
    background: var(--white);
    color: var(--text-dark);
}

.calc-field-group input::placeholder {
    color: #aaa;
}

/* Solo row (single field, full-width) */
.calc-row-solo {
    grid-template-columns: 1fr;
}

/* Result box */
.calc-result {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 14px 16px;
    margin-bottom: 16px;
    font-size: 0.875rem;
    color: var(--white);
    font-weight: 500;
}

.calc-result strong {
    color: var(--yellow);
    font-size: 1.1rem;
}

/* ===== RESULT MODAL ===== */
.calc-result-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.calc-result-modal {
    background: var(--white);
    border-radius: 20px;
    padding: 36px 32px 32px;
    max-width: 420px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    animation: modalPop 0.25s ease;
}

@keyframes modalPop {
    from {
        transform: scale(0.85);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.calc-result-title {
    font-family: 'Roboto', sans-serif;
    font-size: 1.9rem;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 22px;
}

.calc-result-card {
    background: var(--yellow);
    border-radius: 16px;
    padding: 22px 28px 26px;
    margin-bottom: 18px;
}

.calc-result-card-title {
    font-family: 'Roboto', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--blue);
    margin-bottom: 10px;
}

.calc-result-your {
    font-size: 0.875rem;
    color: var(--blue);
    font-weight: 600;
    margin-bottom: 4px;
}

.calc-result-number {
    font-family: 'Roboto', sans-serif;
    font-size: 5rem;
    font-weight: 900;
    color: var(--text-dark);
    line-height: 1.1;
}

.calc-result-msg {
    font-size: 0.875rem;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 22px;
}

.calc-result-close-btn {
    background: var(--blue);
    color: var(--white);
    border: none;
    padding: 12px 40px;
    border-radius: 25px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background var(--transition);
}

.calc-result-close-btn:hover {
    background: #0a3d8e;
}

/* Buttons */
.calc-actions {
    display: flex;
    gap: 14px;
    margin-top: 4px;
}

.btn-calc-calculate {
    flex: 1;
    background: var(--yellow);
    border: none;
    color: var(--blue);
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 12px;
    border-radius: 25px;
    cursor: pointer;
    transition: background var(--transition), color var(--transition);
}

.btn-calc-calculate:hover {
    background: #e0a800;
    color: var(--blue);
}

.btn-calc-reset {
    flex: 1;
    background: #1a1a2e;
    border: none;
    color: var(--white);
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 12px;
    border-radius: 25px;
    cursor: pointer;
    transition: background var(--transition);
}

.btn-calc-reset:hover {
    background: #000;
}

/* Info panel */
.calc-info {
    position: relative;
}

.brain-sketch {
    position: absolute;
    right: -20px;
    top: -10px;
    width: 160px;
    opacity: 0.08;
    pointer-events: none;
}

.calc-info-text {
    font-size: 0.875rem;
    color: var(--text-gray);
    line-height: 1.8;
}

.calc-info-text p {
    margin-bottom: 12px;
}

.calc-info-text strong {
    color: var(--text-dark);
}

.calc-courses-list,
.calc-benefits-list {
    margin: 8px 0 14px 8px;
}

.calc-courses-list li,
.calc-benefits-list li {
    margin-bottom: 5px;
    font-size: 0.875rem;
}


/* =========================================================
   GALLERY
========================================================= */
.section-gallery {
    padding: 80px 0;
    background: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.06);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(1, 41, 112, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition);
    color: var(--white);
    font-size: 1.5rem;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-filter {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin: 32px 0 24px;
    flex-wrap: wrap;
}

.gallery-filter li {
    list-style: none;
}

.gallery-filter button {
    border: none;
    background: transparent;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    padding: 12px 16px;
    border-radius: 999px;
    transition: background var(--transition), color var(--transition);
}

.gallery-filter button:hover,
.gallery-filter button.active {
    background: rgba(254, 186, 2, 0.12);
    color: var(--yellow);
}

.gallery-grid.gallery-grid-page {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}


/* =========================================================
   REGISTRATION FORM
========================================================= */
.section-registration {
    background: var(--blue);
    padding: 70px 0 60px;
    position: relative;
    overflow: hidden;
}

/* Yellow left accent stripe */
.reg-yellow-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 16px;
    height: 100%;
    background: var(--yellow);
    border-radius: 0 4px 4px 0;
}

.section-registration .container {
    position: relative;
    z-index: 1;
}

.reg-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 50px;
    align-items: end;
}

.reg-img-wrap {
    align-self: flex-end;
}

.reg-img-wrap img {
    position: relative;
    right: 62%;
    width: 600px;
    max-width: 600px;
    border-radius: var(--radius);
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.3));
}

.reg-form-wrap .section-title {
    margin-bottom: 28px;
    text-align: center;
    padding-bottom: 48px;
}

/* Form fields */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.form-row.full {
    grid-template-columns: 1fr;
}

.form-row input,
.form-row textarea {
    width: 100%;
    padding: 13px 18px;
    border-radius: 8px;
    border: none;
    background: var(--white);
    font-family: 'Roboto', sans-serif;
    font-size: 0.875rem;
    color: var(--text-dark);
    outline: none;
    transition: box-shadow var(--transition);
}

.form-row input:focus,
.form-row textarea:focus {
    box-shadow: 0 0 0 3px rgba(254, 186, 2, 0.4);
}

.form-row input::placeholder,
.form-row textarea::placeholder {
    color: #aaa;
}

.form-row textarea {
    resize: vertical;
}

.form-terms {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 20px;
    text-align: center;
    line-height: 1.6;
}

.form-terms a {
    color: var(--yellow);
    text-decoration: underline;
}


/* =========================================================
   ADMISSION PARTNERS
========================================================= */
.section-partners {
    padding: 70px 0 60px;
    background: var(--white);
    overflow: hidden;
}

.partners-marquee {
    padding: 10px 0;
    overflow: hidden;
    width: 100%;
    margin-top: 10px;
    position: relative;
}

/* Fade edges */
.partners-marquee::before,
.partners-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}

.partners-marquee::before {
    left: 0;
    background: linear-gradient(to right, #fff, transparent);
}

.partners-marquee::after {
    right: 0;
    background: linear-gradient(to left, #fff, transparent);
}

.partners-track {
    display: flex;
    gap: 40px;
    width: max-content;
    animation: marquee 28s linear infinite;
}

.partners-track:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.partner-logo {
    background: var(--white);
    border: 1px solid #e4e8f0;
    border-radius: var(--radius);
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 14px;
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
    transition: box-shadow var(--transition);
}

.partner-logo:hover {
    box-shadow: 0 6px 24px rgba(1, 41, 112, 0.15);
}

.partner-logo img {
    max-width: 150px;
    max-height: 100px;
    object-fit: contain;
    width: 100%;
}


/* =========================================================
   FOOTER
========================================================= */
.footer {
    background: var(--white);
    padding: 55px 0 0;
    color: var(--text-dark);
    border-top: 1px solid #e8eaf0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 260px 1fr 1fr 1fr 1fr;
    gap: 36px;
    padding-bottom: 44px;
    border-bottom: 1px solid #e8eaf0;
}

/* Brand */
.footer-brand-logo-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-brand .footer-logo {
    width: 90%;
    border-radius: 4px;
    flex-shrink: 0;
}

.footer-brand-name {
    display: none;
    flex-direction: column;
    line-height: 1.25;
}

.footer-brand-title {
    font-family: 'Roboto', sans-serif;
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--blue);
    letter-spacing: 0.5px;
}

.footer-brand-sub {
    font-size: 0.72rem;
    color: var(--text-gray);
    font-style: italic;
}

.footer-brand p {
    font-size: 0.825rem;
    line-height: 1.75;
    color: var(--text-gray);
    margin-bottom: 16px;
}

.follow-label {
    font-size: 0.775rem;
    font-weight: 700;
    color: var(--text-dark) !important;
    letter-spacing: 1px;
    margin-bottom: 14px !important;
    position: relative;
    display: inline-block;
    padding-bottom: 8px;
}

.follow-label::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2.5px;
    background: var(--yellow);
    border-radius: 2px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: transparent;
    border: 1.5px solid #c8ccd8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: var(--text-dark);
    transition: border-color var(--transition), background var(--transition), color var(--transition), transform var(--transition);
}

.social-links a:hover {
    background: var(--yellow);
    border-color: var(--yellow);
    color: var(--blue);
    transform: translateY(-3px);
}

/* Footer columns */
.footer-col h5 {
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: 0.5px;
    margin-bottom: 18px;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.footer-col h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2.5px;
    background: var(--yellow);
    border-radius: 2px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.footer-col ul li a {
    font-size: 0.825rem;
    color: var(--text-gray);
    transition: color var(--transition), padding-left var(--transition);
}

.footer-col ul li a:hover {
    color: var(--blue);
    padding-left: 5px;
}

/* Contact column */
.footer-contact-col ul {
    gap: 16px;
}

.footer-contact-col ul li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 0.825rem;
    color: var(--text-gray);
    line-height: 1.65;
}

.footer-contact-col ul li i {
    background: var(--yellow);
    border: none;
    color: var(--white);
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    margin-top: 0;
    flex-shrink: 0;
}

/* Footer bottom */
.footer-bottom {
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    overflow: hidden;
    padding: 0;
    min-height: 50px;
    width: 100%;
}

/* Yellow left half with diagonal right edge */
.footer-bottom::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 58%;
    height: 100%;
    background: var(--yellow);
    clip-path: polygon(0 0, 95% 0, 100% 100%, 0 100%);
    z-index: 0;
}

/* Diagonal stripe block at the yellow/white boundary */
.footer-bottom::after {
    content: '';
    position: absolute;
    left: 68%;
    top: 0;
    width: 160px;
    height: 100%;
    background: repeating-linear-gradient(-55deg,
            transparent,
            transparent 8px,
            rgba(255, 255, 255, 0.6) 8px,
            rgba(255, 255, 255, 0.6) 13px);
    z-index: 1;
    pointer-events: none;
}

.footer-bottom p {
    font-size: 0.82rem;
    color: var(--text-dark);
    font-weight: 500;
    padding: 14px 0;
    position: relative;
    z-index: 2;
    text-align: left;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 24px;
}

.footer-bottom strong {
    font-weight: 800;
    color: var(--text-dark);
}

.footer-credit-link {
    color: var(--blue);
    font-weight: 700;
    text-decoration: none;
}

.footer-credit-link:hover {
    text-decoration: underline;
}


/* =========================================================
   RESPONSIVE — TABLET (≤ 1024px)
========================================================= */
@media (max-width: 1024px) {
    .mv-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .mv-video-wrap {
        max-width: 440px;
    }

    .calc-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .calc-card {
        max-width: 480px;
    }

    .courses-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

/* =========================================================
   RESPONSIVE — MOBILE (≤ 768px)
========================================================= */
@media (max-width: 768px) {

    /* Header top bar — stack on mobile */
    .top-bar-inner {
        justify-content: center;
        padding: 4px 0;
    }

    .top-contact {
        gap: 10px;
        font-size: 0.78rem;
    }

    .btn-enquiry {
        position: static;
        transform: none;
        display: none;
        /* hide on small screens, show hamburger menu instead */
    }

    /* Hamburger visible */
    .hamburger {
        display: flex;
    }

    /* Nav links collapse */
    .nav-links {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: 0 8px 20px rgba(1, 41, 112, 0.12);
        padding: 10px 0 20px;
        z-index: 500;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-link {
        padding: 12px 24px;
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        border-top: none;
        padding: 0 0 0 20px;
        display: block;
        border-radius: 0;
    }

    .has-dropdown:not(.dropdown-open) .dropdown-menu {
        display: none;
    }

    /* Hero */
    .hero-banner {
        min-height: 420px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content .admission-open {
        font-size: 1.2rem;
    }

    /* Mission grid */
    .mv-grid {
        grid-template-columns: 1fr;
    }

    /* WHY CHOOSE US */
    .wcu-cards {
        grid-template-columns: 1fr;
    }

    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
    }

    /* Courses */
    .courses-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* Stats */
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }

    /* Calculator */
    .calc-row {
        grid-template-columns: 1fr;
    }

    .calc-card {
        padding: 24px 20px;
    }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* Registration */
    .reg-grid {
        grid-template-columns: 1fr;
    }

    .reg-img-wrap {
        display: none;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    /* Back to top */
    .back-to-top {
        bottom: 20px;
        right: 16px;
        width: 40px;
        height: 40px;
        font-size: 0.85rem;
    }
}

/* =========================================================
   RESPONSIVE — SMALL MOBILE (≤ 480px)
========================================================= */
@media (max-width: 480px) {
    .section-title {
        font-size: 1.6rem;
    }

    .courses-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

    .top-contact {
        font-size: 0.78rem;
        gap: 8px;
    }
}

/* ===================================================================
   ABOUT PAGE STYLES
   =================================================================== */

/* ----- Inner Page Hero ----- */
.inner-hero {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.inner-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.inner-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.inner-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(1, 41, 112, 0.72) 0%, rgba(0, 0, 0, 0.45) 100%);
}

.inner-hero .container {
    position: relative;
    z-index: 2;
}

.inner-hero-content {
    color: var(--white);
}

.inner-hero-content h1 {
    font-family: 'Roboto', sans-serif;
    font-weight: 800;
    font-size: 3rem;
    margin-bottom: 8px;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.inner-hero-content p {
    font-size: 1.1rem;
    font-weight: 400;
    opacity: 0.88;
    color: var(--white);
}

/* ----- About Intro Section ----- */
.section-about-intro {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.about-intro-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 60px;
    align-items: center;
}

.about-heading {
    font-family: 'Roboto', sans-serif;
    font-weight: 800;
    font-size: 2rem;
    color: var(--yellow);
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 14px;
}

.about-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background: var(--yellow);
    border-radius: 2px;
}

.about-intro-text p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 16px;
}

/* Profile Card */
.about-profile-wrap {
    position: relative;
}

.about-profile-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(1, 41, 112, 0.15);
}

.about-profile-card img {
    width: 100%;
    display: block;
    object-fit: cover;
}

.about-profile-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--yellow);
    padding: 18px 22px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: var(--blue);
}

.about-profile-overlay strong {
    font-family: 'Roboto', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.about-profile-overlay strong sup {
    font-size: 0.62rem;
    font-weight: 600;
    vertical-align: super;
}

.about-profile-overlay span {
    font-size: 0.82rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    opacity: 0.85;
}

/* ----- Yellow Quote Banner ----- */
.section-about-quote {
    background: var(--yellow);
    padding: 44px 0;
}

.section-about-quote p {
    font-weight: 700;
    font-size: 1.50rem;
    color: var(--blue);
    text-align: left;
    line-height: 1.65;
    max-width: 1000px;
    margin: 0 auto;
}

/* ----- About Services Section ----- */
.section-about-services {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    background: #fafbff;
}

.about-services-intro {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--text-gray);
    margin: 0 auto 48px;
    text-align: center;
}

/* About page background sketches */
.about-sketch-tl {
    position: absolute;
    top: -20px;
    left: -30px;
    width: 200px;
    opacity: 0.35;
    pointer-events: none;
}

.about-sketch-bl {
    position: absolute;
    bottom: 120px;
    left: -20px;
    width: 180px;
    opacity: 0.35;
    pointer-events: none;
}

.about-sketch-br {
    position: absolute;
    bottom: 60px;
    right: -20px;
    width: 190px;
    opacity: 0.35;
    pointer-events: none;
}

/* Service Cards Grid */
.about-services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-bottom: 48px;
}

.about-service-card {
    background: var(--white);
    border-radius: 16px;
    padding: 32px 28px;
    box-shadow: 4px 8px 8px rgba(0, 0, 0, 0.25) !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.about-service-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: 560px;
    margin: 0 auto;
    width: 100%;
}

.about-service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 36px rgba(1, 41, 112, 0.14);
}

.about-service-card h4 {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--blue);
    margin-bottom: 14px;
    padding-bottom: 12px;
    position: relative;
}

.about-service-card h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, var(--yellow) 50%, transparent 100%);
    border-radius: 2px;
}

.about-service-card p {
    font-size: 0.92rem;
    line-height: 1.75;
    color: var(--text-gray);
}

/* About Closing Block */
.about-closing {
    text-align: center;
    margin: 0 auto;
}

.about-closing p {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--text-gray);
    margin-bottom: 16px;
}

.about-closing-highlight {
    font-family: 'Roboto', sans-serif;
    font-weight: 700 !important;
    font-size: 1.08rem !important;
    color: var(--blue) !important;
}

.text-yellow {
    color: var(--yellow);
}

/* ----- About Page Responsive ----- */
@media (max-width: 900px) {
    .about-intro-grid {
        grid-template-columns: 1fr;
    }

    .about-profile-card {
        max-width: 380px;
        margin: 0 auto;
    }

    .about-services-grid {
        grid-template-columns: 1fr;
    }

    .about-service-card:last-child:nth-child(odd) {
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .inner-hero {
        height: 220px;
    }

    .inner-hero-content h1 {
        font-size: 2rem;
    }

    .section-about-quote p {
        font-size: 1.1rem;
    }

    .about-sketch-tl,
    .about-sketch-bl,
    .about-sketch-br {
        width: 110px;
    }
}

/* ===================================================================
   PRIVACY POLICY & TERMS AND CONDITIONS – SHARED STYLES
   =================================================================== */

/* ----- Yellow Page Title Banner ----- */
.page-title-banner {
    background: var(--yellow);
    padding: 48px 0;
    text-align: center;
}

.page-title-banner h1 {
    font-family: 'Roboto', sans-serif;
    font-weight: 800;
    font-size: 2.4rem;
    color: var(--white);
    margin: 0;
    letter-spacing: 1px;
}

/* ----- Breadcrumb Bar ----- */
.breadcrumb-bar {
    background: var(--white);
    border-bottom: 1px solid #e8eaf0;
    padding: 12px 0;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-gray);
}

.breadcrumb a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: var(--yellow);
}

.breadcrumb-sep {
    font-size: 0.72rem;
    color: #aaa;
}

.breadcrumb span:last-child {
    color: var(--blue);
    font-weight: 500;
}

/* ----- Policy Content Section ----- */
.section-policy {
    padding: 60px 0 70px;
    background: var(--white);
}

.policy-content {
    max-width: 860px;
}

.policy-effective-date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: var(--text-gray);
    margin-bottom: 20px;
    padding: 14px 18px;
    background: #f8f9fc;
    border-radius: 8px;
    border-left: 3px solid var(--yellow);
}

.policy-effective-date i {
    color: var(--yellow);
    font-size: 1rem;
}

.policy-content h2 {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--yellow);
    margin: 36px 0 10px;
}

.policy-content p {
    font-size: 0.97rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 6px;
}

/* ----- Policy Contact Grid ----- */
.policy-contact-grid {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.policy-contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.policy-contact-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1rem;
    flex-shrink: 0;
}

.policy-contact-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.policy-contact-info span {
    font-size: 0.92rem;
    color: var(--blue);
    font-weight: 500;
}

/* ----- Get In Touch CTA Section ----- */
.section-get-in-touch {
    background: #f8f9fc;
    padding: 72px 0;
    text-align: center;
}

.section-get-in-touch h2 {
    font-family: 'Roboto', sans-serif;
    font-weight: 800;
    font-size: 2rem;
    color: var(--blue);
    margin-bottom: 12px;
}

.git-sub {
    font-size: 1rem;
    color: var(--text-gray);
    margin-bottom: 8px;
}

.git-desc {
    font-size: 1rem;
    font-weight: 600;
    color: var(--blue);
    max-width: 600px;
    margin: 0 auto 32px;
    line-height: 1.65;
}

/* ----- Responsive ----- */
@media (max-width: 768px) {
    .page-title-banner h1 {
        font-size: 1.8rem;
    }

    .policy-contact-grid {
        flex-direction: column;
        gap: 16px;
    }

    .section-get-in-touch h2 {
        font-size: 1.5rem;
    }
}

/* ===================================================================
   ENGINEERING PAGE STYLES
   =================================================================== */

/* Hero override — left-aligned content */
.eng-hero .hero-content {
    text-align: left;
}

/* ----- Program Information Section ----- */
.section-eng-info {
    padding: 70px 0 60px;
    background: var(--white);
}

.eng-section-heading {
    font-family: 'Roboto', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 28px;
}

.eng-info-block {
    margin-bottom: 24px;
}

.eng-info-title {
    font-family: 'Roboto', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 8px;
}

.eng-info-block p {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.75;
}

.eng-bullet-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.eng-bullet-list li {
    font-size: 0.95rem;
    color: var(--text-gray);
    padding-left: 18px;
    position: relative;
}

.eng-bullet-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--text-gray);
    font-size: 1rem;
}

.eng-eligibility-table {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 6px;
}

.eng-elig-row {
    display: flex;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-gray);
}

.eng-elig-row span:first-child {
    min-width: 160px;
    font-weight: 500;
}

/* ----- Engineering Courses Grid Sections ----- */
.section-eng-courses {
    padding: 60px 0 40px;
    background: var(--white);
}

.section-eng-courses-pg {
    padding-top: 20px;
    padding-bottom: 70px;
}

.eng-courses-heading {
    font-family: 'Roboto', sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 36px;
    letter-spacing: 0.3px;
}

.eng-courses-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.eng-course-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    cursor: pointer;
    background: var(--blue);
}

.eng-course-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease, opacity 0.3s ease;
}

.eng-course-card:hover img {
    transform: scale(1.06);
    opacity: 0.85;
}

.eng-course-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(1, 41, 112, 0.95) 65%, transparent 100%);
    padding: 28px 10px 10px;
    display: flex;
    align-items: flex-end;
    min-height: 70px;
}

.eng-course-label span {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.3;
    text-align: center;
    width: 100%;
    display: block;
}

/* ----- Engineering Page Responsive ----- */
@media (max-width: 1024px) {
    .eng-courses-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .eng-courses-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .eng-courses-heading {
        font-size: 1.1rem;
    }

    .eng-elig-row span:first-child {
        min-width: 120px;
    }
}

/* =====================================================
   FLOATING BUTTONS — WhatsApp + Scroll To Top
   ===================================================== */
.float-btn {
    position: fixed;
    right: 22px;
    width: 52px;
    height: 52px;
    border-radius: 15%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    box-shadow: 0 4px 14px rgba(0,0,0,.25);
    z-index: 9999;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s;
    text-decoration: none;
    border: none;
    outline: none;
}
.float-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(0,0,0,.3);
}

/* WhatsApp */
.float-whatsapp {
    bottom: 22px;
    background: #25d366;
    color: #fff;
}
.float-whatsapp:hover { color: #fff; }

/* Scroll to top */
.float-scroll-top {
    bottom: 84px;
    background: #012970;
    color: #fff;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s, transform .2s, box-shadow .2s;
}
.float-scroll-top.visible {
    opacity: 1;
    pointer-events: auto;
}

@media (max-width: 600px) {
    .float-btn { width: 46px; height: 46px; font-size: 1.25rem; right: 14px; }
    .float-scroll-top { bottom: 74px; }
    .float-whatsapp    { bottom: 14px; }
}

/* =====================================================
   SCROLL REVEAL ANIMATIONS
   ===================================================== */

/* Base hidden state */
.reveal {
    opacity: 0;
    will-change: opacity, transform;
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Direction variants */
.reveal                { transform: translateY(50px); }
.reveal.from-left      { transform: translateX(-60px) translateY(10px); }
.reveal.from-right     { transform: translateX(60px)  translateY(10px); }
.reveal.from-bottom    { transform: translateY(60px); }
.reveal.scale-up       { transform: scale(0.88) translateY(20px); }
.reveal.fade-only      { transform: none; }

/* Visible state — all variants resolve to these */
.reveal.visible {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}

/* Stagger delays — applied on the PARENT with .stagger-group */
.stagger-group > .reveal:nth-child(1)  { transition-delay: 0.04s; }
.stagger-group > .reveal:nth-child(2)  { transition-delay: 0.11s; }
.stagger-group > .reveal:nth-child(3)  { transition-delay: 0.18s; }
.stagger-group > .reveal:nth-child(4)  { transition-delay: 0.25s; }
.stagger-group > .reveal:nth-child(5)  { transition-delay: 0.32s; }
.stagger-group > .reveal:nth-child(6)  { transition-delay: 0.39s; }
.stagger-group > .reveal:nth-child(7)  { transition-delay: 0.46s; }
.stagger-group > .reveal:nth-child(8)  { transition-delay: 0.53s; }
.stagger-group > .reveal:nth-child(n+9){ transition-delay: 0.58s; }

/* Slower, more dramatic for hero-style headings */
.reveal.hero-text {
    transform: translateY(36px);
    transition-duration: 0.9s;
}

/* Respect user preference */
@media (prefers-reduced-motion: reduce) {
    .reveal,
    .reveal.from-left,
    .reveal.from-right,
    .reveal.from-bottom,
    .reveal.scale-up,
    .reveal.fade-only {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}


@media (max-width: 480px) {
    .eng-courses-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .eng-courses-heading {
        font-size: 0.95rem;
    }
}

/* ===================================================================
   CONTACT PAGE STYLES
   =================================================================== */

/* ----- Contact Hero Banner ----- */
.contact-hero {
    position: relative;
    width: 100%;
    height: 360px;
    overflow: visible;          /* must NOT clip — card overlaps below */
    display: flex;
    align-items: center;
    z-index: 1;
}

.contact-hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;           /* clip the image inside the hero bounds */
    border-radius: 0;
}

.contact-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.contact-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.35) 100%);
    pointer-events: none;
    overflow: hidden;
}

.contact-hero .container {
    position: relative;
    z-index: 2;
}

.contact-hero-content {
    color: var(--white);
    max-width: 560px;
}

.contact-hero-content h1 {
    font-family: 'Roboto', sans-serif;
    font-weight: 800;
    font-size: 2.4rem;
    color: var(--white);
    line-height: 1.3;
    margin-bottom: 14px;
}

.contact-hero-content p {
    font-size: 1rem;
    color: var(--white);
    opacity: 0.88;
    line-height: 1.6;
}

/* ----- Generic Page Hero ----- */
.page-hero {
    position: relative;
    width: 100%;
    height: 340px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
}

.page-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.35) 100%);
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero-content {
    color: var(--white);
    max-width: 620px;
}

.page-hero-content h1 {
    font-family: 'Roboto', sans-serif;
    font-weight: 800;
    font-size: 2.6rem;
    color: var(--white);
    line-height: 1.25;
    margin-bottom: 12px;
}

.page-hero-content p {
    font-size: 1rem;
    color: var(--white);
    opacity: 0.9;
    line-height: 1.7;
}

/* ----- Contact Section Wrapper ----- */
.section-contact {
    padding: 0 0 80px;
    background: transparent;    /* transparent so banner shows through the overlap */
    position: relative;
    z-index: 2;
    margin-top: -54px;          /* pull section up by 15% of 360px banner */
}

.section-contact .container {
    max-width: 1160px;
}

/* ----- Contact Card (two-panel) ----- */
.contact-card {
    display: grid;
    grid-template-columns: 340px 1fr;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 60px rgba(1, 41, 112, 0.16);
    margin-top: 0;
    position: relative;
    z-index: 3;
    background: var(--white);
}

/* Left info panel */
.contact-info-panel {
    background: #06070e;
    padding: 48px 40px;
    color: var(--white);
}

.contact-info-panel h3 {
    font-family: 'Roboto', sans-serif;
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--yellow);
    margin-bottom: 36px;
    line-height: 1.35;
}

.contact-info-item {
    margin-bottom: 28px;
}

.contact-info-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--white);
    opacity: 0.7;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-info-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.contact-info-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--white);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-info-row span {
    font-size: 0.93rem;
    line-height: 1.65;
    color: var(--white);
}

/* Right form panel */
.contact-form-panel {
    background: var(--white);
    padding: 40px 44px;
}

.contact-form-panel h3 {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--yellow);
    margin-bottom: 28px;
}

/* Form layout */
.contact-form .cf-row {
    margin-bottom: 14px;
}

.contact-form input[type="text"],
.contact-form input[type="tel"],
.contact-form input[type="email"],
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #dde0ea;
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    color: var(--text-dark);
    background: var(--white);
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #aab0c0;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--yellow);
}

.contact-form select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23888' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 10px;
    padding-right: 36px;
    cursor: pointer;
}

.contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

/* 3-column row: prefix | phone | otp+verify */
.cf-row-3col {
    display: grid;
    grid-template-columns: 68px 1fr 1fr;
    gap: 10px;
    align-items: start;
}

.cf-phone-prefix select {
    padding: 12px 8px;
    text-align: center;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23888' d='M5 6L0 0h10z'/%3E%3C/svg%3E");
    background-position: right 6px center;
    padding-right: 22px;
}

.cf-otp-group {
    display: flex;
    gap: 0;
}

.cf-otp-group input {
    border-radius: 6px 0 0 6px;
    border-right: none;
    flex: 1;
    min-width: 0;
}

.btn-verify {
    background: var(--blue);
    color: var(--white);
    border: none;
    padding: 12px 16px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 0 6px 6px 0;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
}

.btn-verify:hover {
    background: #01204e;
}

/* Resend OTP line */
.cf-resend-otp {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--yellow);
    margin-top: -8px;
    margin-bottom: 8px;
}

.resend-icon {
    font-size: 0.78rem;
}

.resend-link {
    color: var(--yellow);
    text-decoration: none;
    font-weight: 500;
}

.resend-link:hover {
    text-decoration: underline;
}

.otp-timer {
    color: var(--text-gray);
    font-size: 0.78rem;
}

/* 2-column row */
.cf-row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

/* Date field with calendar icon */
.cf-date-wrap {
    position: relative;
}

.cf-date-wrap input {
    padding-right: 42px;
}

.cf-date-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #aab0c0;
    font-size: 0.95rem;
    pointer-events: none;
}

/* Submit button */
.btn-contact-submit {
    background: var(--yellow);
    color: var(--blue);
    border: none;
    padding: 14px 40px;
    border-radius: 6px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    display: inline-block;
}

.btn-contact-submit:hover {
    background: #e0a800;
    transform: translateY(-1px);
}

/* ----- Google Map ----- */
.contact-map {
    width: 100%;
    line-height: 0;
    margin-top: 0;
}

.contact-map iframe {
    display: block;
    width: 100%;
    height: 340px;
    border: 0;
}

/* ----- Contact Responsive ----- */
@media (max-width: 900px) {
    .contact-hero {
        height: 280px;
    }

    .section-contact {
        margin-top: -42px; /* 15% of 280px */
    }

    .contact-card {
        grid-template-columns: 1fr;
        margin-top: 0;
    }

    .contact-hero-content h1 {
        font-size: 1.8rem;
    }

    .cf-row-3col {
        grid-template-columns: 68px 1fr;
    }

    .cf-otp-group {
        grid-column: 1 / -1;
    }

    .contact-form-panel {
        padding: 32px 24px;
    }
}

@media (max-width: 600px) {
    .contact-hero {
        height: 260px;
    }

    .contact-hero-content h1 {
        font-size: 1.4rem;
    }

    .cf-row-2col {
        grid-template-columns: 1fr;
    }

    .cf-row-3col {
        grid-template-columns: 1fr;
    }

    .cf-phone-prefix {
        display: none;
    }

    .contact-map iframe {
        height: 240px;
    }
}