:root {
    --primary: #1e3a8a; /* Deep blue */
    --primary-light: #eff6ff;
    --maroon: #8b1538;
    --maroon-dark: #660e28;
    --red: #dc2626;
    --pink: #db2777;
    --teal: #0d9488;
    --teal-light: #ccfbf1;
    --bg-light: #f8fafc;
    --text-main: #334155;
    --text-muted: #64748b;
    --white: #ffffff;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --radius: 8px;
    --radius-lg: 16px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--white);
    line-height: 1.6;
}

h1, h2, h3, h4, .badge, .btn-primary, .btn-submit, .btn-outline {
    font-family: 'Outfit', sans-serif;
}

h1, h2, h3, h4 {
    color: var(--primary);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }
.bg-light { background-color: var(--bg-light); padding: 60px 0; }

.section-title {
    font-size: 2.2rem;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--maroon);
    border-radius: 2px;
}

/* TOP BAR */
.top-bar {
    background-color: var(--white);
    border-bottom: 1px solid var(--border);
    font-size: 0.85rem;
    padding: 6px 0;
    color: var(--text-muted);
}
.top-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-logos img {
    height: 24px;
    margin-left: 10px;
}

/* HEADER */
.main-header {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 10px 0;
}
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo img {
    height: 150px;
    width: auto;
    transition: transform 0.3s ease;
    position: absolute;
    top: 0;
    background: #fff;
    padding: 10px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
    font-weight: 500;
}
.nav-links a:hover { color: var(--maroon); }
.btn-primary {
    background-color: var(--maroon);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
}
.btn-primary:hover {
    background-color: var(--maroon-dark);
    color: var(--white);
    transform: translateY(-2px);
}

/* HERO SECTION */
.hero-section {
    position: relative;
    padding: 80px 0;
    background-image: url('./hero-banner.png');
    background-size: 100% 100%;
    background-position: center left;
    background-repeat: no-repeat;
    height: 100vh;
    display: flex;
    align-items: center;
}
.hero-container {
    display: flex;
    align-items: center;
    justify-content: flex-end; /* forces form to right */
    width: 100%;
    position: relative;
    z-index: 1;
}
.badge {
    display: inline-block;
    background-color: rgba(30, 58, 138, 0.1);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}
.main-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--primary);
}
.highlight {
    color: var(--maroon);
}
.exam-title-box {
    background-color: var(--white);
    padding: 15px 25px;
    border-radius: var(--radius);
    display: inline-block;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    border-left: 4px solid var(--maroon);
}
.exam-title-box h2 {
    font-size: 2rem;
    color: var(--maroon);
    margin-bottom: 5px;
}
.exam-title-box p {
    font-size: 1rem;
    font-weight: 500;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}
.stat-box {
    background-color: var(--white);
    padding: 15px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}
.stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    font-family: 'Outfit', sans-serif;
}
.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Sticky Side Buttons */
.sticky-side-buttons {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 9999;
}

.sticky-btn {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    padding: 30px 14px;
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: none;
    border-radius: 12px 0 0 12px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: -4px 0 15px rgba(0,0,0,0.15);
}

.sticky-enquire {
    background-color: var(--text-main); /* Black/Dark color matching attachment */
    color: var(--white);
}

.sticky-enquire:hover {
    background-color: #000;
    transform: translateX(-5px);
}

.sticky-call {
    background-color: var(--maroon);
    color: var(--white);
}

.sticky-call:hover {
    background-color: var(--maroon-dark);
    transform: translateX(-5px);
}

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}
.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.modal-container {
    background: var(--white);
    width: 90%;
    max-width: 500px;
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding: 35px 30px;
    border: 1px solid rgba(255,255,255,0.2);
}
.modal-overlay.active .modal-container {
    transform: scale(1) translateY(0);
}
.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0,0,0,0.05);
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-size: 1.2rem;
    color: var(--text-main);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal-close:hover {
    background: var(--maroon);
    color: var(--white);
    transform: rotate(90deg);
}

.modal-form-content h3 {
    text-align: center;
    margin-bottom: 25px;
    font-size: 1.8rem;
    color: var(--primary);
}
.input-group {
    margin-bottom: 15px;
}
.input-group input, .input-group select {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--bg-light);
}
.input-group input:focus, .input-group select:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}
.btn-submit {
    width: 100%;
    background-color: var(--maroon);
    color: var(--white);
    padding: 16px;
    border: none;
    border-radius: var(--radius);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 15px;
    letter-spacing: 0.5px;
}
.btn-submit:hover {
    background-color: var(--maroon-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(139, 21, 56, 0.3);
}

/* INFO CARDS */
.info-cards-section {
    margin-top: -40px;
    position: relative;
    z-index: 10;
}
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.info-card {
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    color: var(--white);
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.info-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}
.info-card h3 { color: var(--white); margin: 15px 0; font-size: 1.5rem; }
.card-icon { font-size: 2.5rem; opacity: 0.9; }
.variant-red { background: linear-gradient(135deg, #ef4444, #b91c1c); }
.variant-pink { background: linear-gradient(135deg, #ec4899, #be185d); }
.variant-maroon { background: linear-gradient(135deg, #9f1239, #881337); }

/* REGISTRATION PROCESS BANNER */
.registration-process-banner {
    background-color: var(--maroon);
    background-image: linear-gradient(135deg, #8b1538 0%, #660e28 100%);
    color: var(--white);
    padding: 50px 0;
    margin: 60px 0;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
} 
.container-reg {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 50px;
}
.reg-process-content {
    flex: 1;
}
.reg-title {
    color: var(--white);
    font-size: 2.4rem;
    margin-bottom: 35px;
    font-family: 'Outfit', sans-serif;
    position: relative;
    display: inline-block;
}
.reg-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: #fcd34d;
    border-radius: 2px;
}
.reg-steps {
    list-style: none;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.reg-steps li {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(0,0,0,0.25);
    padding: 20px 25px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,0.1);
    transition: var(--transition);
}
.reg-steps li:hover {
    transform: translateX(10px);
    background: rgba(0,0,0,0.35);
    border-color: rgba(252, 211, 77, 0.5);
}
.step-icon {
    width: 40px;
    height: 40px;
    background: #fcd34d;
    color: var(--maroon-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 800;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}
.reg-steps p {
    font-size: 1.1rem;
    line-height: 1.4;
    margin: 0;
    color: rgba(255,255,255,0.9);
}
.reg-steps p strong {
    color: var(--white);
}
.reg-note {
    background: rgba(220, 38, 38, 0.15);
    border-left: 4px solid #ef4444;
    padding: 18px 25px;
    border-radius: 0 8px 8px 0;
    font-size: 0.95rem;
    color: #fca5a5;
    line-height: 1.6;
}
.reg-note strong {
    color: #fecaca;
    font-weight: 700;
}

.reg-offer-box {
    flex: 0 0 400px;
    background: var(--white);
    color: var(--text-main);
    padding: 45px 35px;
    border-radius: var(--radius-lg);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    position: relative;
    border: 3px solid #fcd34d;
}
.offer-badge {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    background: #fcd34d;
    color: var(--maroon-dark);
    padding: 8px 25px;
    border-radius: 30px;
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
.offer-heading {
    color: var(--primary);
    font-size: 1.3rem;
    margin-bottom: 25px;
    line-height: 1.4;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}
.offer-subheading {
    margin-bottom: 25px;
}
.price-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 35px;
}
.old-price {
    font-size: 1.8rem;
    color: var(--text-muted);
    text-decoration: line-through;
    font-weight: 600;
}
.new-price {
    font-size: 3.5rem;
    color: var(--red);
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    line-height: 1;
}
.btn-offer {
    background: linear-gradient(135deg, #1e3a8a, #1e40af);
    color: var(--white);
    padding: 16px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 1.2rem;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.btn-offer:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(30,58,138,0.3);
}

/* GLIMPSES, SCHOOLS, CATEGORIES */
.glimpses-section { padding-top: 60px; padding-bottom: 80px;}
.slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 40px;
    padding: 0 40px;
}
.slider-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 10px 5px;
    scroll-behavior: smooth;
    width: 100%;
}
.slider-track::-webkit-scrollbar { display: none; }
.carousel-item {
    flex: 0 0 calc(33.333% - 14px);
    scroll-snap-align: start;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 300px;
    box-shadow: var(--shadow);
}
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--white);
    color: var(--primary);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}
.slider-btn:hover {
    background: var(--maroon);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
}
.prev-btn { left: -10px; }
.next-btn { right: -10px; }
.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}
.carousel-item:hover img {
    transform: scale(1.1);
}
.overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    padding: 30px 20px 20px;
    color: var(--white);
}
.overlay h4 { color: var(--white); margin: 0; font-size: 1.2rem;}

.schools-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}
.school-card {
    background: var(--white);
    padding: 40px 20px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    transition: var(--transition);
    border: none;
}
.school-card:hover {
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    transform: translateY(-5px);
}
.school-icon-wrapper {
    width: 75px;
    height: 75px;
    background: #f0f9ff;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
}
.school-card i {
    font-size: 2.2rem;
    color: #0369a1;
    margin-bottom: 0;
}
.school-card h3 {
    margin-bottom: 25px;
    font-size: 1.25rem;
    font-family: 'Outfit', sans-serif;
    color: var(--primary);
}
.btn-discover {
    display: inline-block;
    padding: 12px 28px;
    background: linear-gradient(180deg, #14b8a6, #0f766e);
    color: var(--white);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 4px 10px rgba(13, 148, 136, 0.3), inset 0 -3px 5px rgba(0,0,0,0.2), inset 0 2px 5px rgba(255,255,255,0.3);
    transition: var(--transition);
    text-transform: capitalize;
}
.btn-discover:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(13, 148, 136, 0.4), inset 0 -3px 5px rgba(0,0,0,0.2), inset 0 2px 5px rgba(255,255,255,0.3);
    color: var(--white);
}

/* NEW SCHOOLS IMAGE GRID */
.title-no-underline::after { display: none !important; }
.title-maroon { color: var(--maroon); }
.title-blue { color: var(--primary); font-weight: 500; font-family: 'Outfit', sans-serif;}

.schools-image-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 50px;
}
.school-img-card {
    border-radius: 12px;
    overflow: hidden;
    height: 250px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.school-img-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.school-img-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.school-img-card:hover img {
    transform: scale(1.08);
}

/* PROGRAMS TABS */
.programs-section {
    margin: 60px auto;
}
.programs-tabs-container {
    background: transparent;
}
.programs-tabs {
    display: flex;
    border-bottom: 2px solid var(--border);
    gap: 5px;
    margin-bottom: 0;
}
.tab-btn {
    flex: 1;
    padding: 16px 20px;
    background: transparent;
    border: 1px solid var(--border);
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--maroon);
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Inter', sans-serif;
    margin-bottom: -2px; /* Overlap border */
}
.tab-btn.active {
    background: #2563eb;
    color: var(--white);
    border-color: #2563eb;
    font-weight: 600;
}
.tab-btn:hover:not(.active) {
    background: rgba(0,0,0,0.02);
}

.programs-content-area {
    background: var(--white);
    border: 1px solid #d1d5db;
    border-top: none;
    border-radius: 0 0 6px 6px;
    padding: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05), 0 10px 20px rgba(0,0,0,0.1);
}
.programs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}
.program-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 2px;
    background: var(--white);
    transition: var(--transition);
}
.program-card:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border-color: #93c5fd;
    transform: translateY(-1px);
}
.program-icon {
    font-size: 1.5rem;
    color: #3b82f6; 
    width: 35px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
.program-text {
    display: flex;
    flex-direction: column;
}
.program-prefix {
    font-size: 0.8rem;
    color: #6b7280;
    line-height: 1.2;
    margin-bottom: 2px;
}
.program-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #4b5563;
    line-height: 1.2;
}
.empty-tab-msg {
    text-align: center;
    color: var(--text-muted);
    padding: 40px 0;
    font-size: 1.1rem;
}

/* STATS BANNER SECTION */
.stats-banner-section {
    background-color: #374151;
    padding: 70px 0;
    margin: 80px 0 0 0;
}
.stats-banner-title {
    color: var(--white);
    font-size: 2.2rem;
    margin-bottom: 20px;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    letter-spacing: 0.5px;
}
.title-accent-line {
    width: 250px;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, transparent 40%, #dc2626 40%, #dc2626 60%, transparent 60%, transparent 100%);
    border-bottom: 1px solid rgba(255,255,255,0.7);
    margin: 0 auto 50px auto;
}
.stats-banner-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}
.stat-item {
    flex: 1;
    min-width: 150px;
}
.stat-item h3 {
    color: #fcd34d;
    font-size: 3.2rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    margin-bottom: 5px;
    line-height: 1;
}
.stat-item p {
    font-size: 1.15rem;
    color: var(--white);
    font-weight: 400;
    line-height: 1.3;
}

/* PLACEMENTS REFACTORED */
.placements-section {
    padding: 60px 0 80px 0;
    background: #f8fafc;
}
.placements-title {
    color: #1e3a8a;
    font-size: 2.5rem;
    margin-bottom: 50px;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
}
.placements-layout {
    display: flex;
    gap: 30px;
    align-items: stretch;
}
.placements-stats {
    flex: 0 0 350px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
}
.placement-stat-card {
    display: flex;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    height: 100px;
    transition: transform 0.3s;
}
.placement-stat-card:hover {
    transform: translateX(5px);
}
.p-icon-block {
    flex: 0 0 100px;
    background: #9f1239;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}
.p-stat-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 20px;
    gap: 15px;
}
.p-stat-value {
    color: #be123c;
    font-size: 1.5rem;
    font-weight: 600;
    min-width: 70px;
    text-align: right;
}
.p-stat-divider {
    color: #cbd5e1;
    font-size: 2rem;
    font-weight: 300;
}
.p-stat-label {
    color: #64748b;
    font-size: 0.95rem;
    text-align: left;
    line-height: 1.2;
    font-weight: 500;
}
.placements-logos-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 15px;
}
.placement-logo-wrap {
    background: var(--white);
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
}
.placement-logo-wrap:hover {
    box-shadow: 0 6px 15px rgba(0,0,0,0.12);
    transform: translateY(-3px);
}
.placement-logo-wrap img {
    max-width: 90%;
    max-height: 45px;
    object-fit: contain;
}

@media (max-width: 1024px) {
    .placements-layout { flex-direction: column; }
    .placements-stats { flex: auto; flex-direction: row; flex-wrap: wrap; }
    .placement-stat-card { flex: 1; min-width: 250px; }
    .placements-logos-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 768px) {
    .placements-stats { flex-direction: column; }
    .placements-logos-grid { grid-template-columns: repeat(2, 1fr); }
}

/* BOTTOM BANNER */
.bottom-banner {
    position: relative;
    padding: 180px 0;
    color: var(--white);
    text-align: center;
}
.bottom-banner .bg-img {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    z-index: -2;
}
.bottom-banner .overlay-gradient {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(30,58,138,0.2), rgba(139,21,56,0.3));
    z-index: -1;
}
.bottom-banner h2 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 20px;
}
.bottom-banner p {
    font-size: 1.3rem;
    opacity: 0.9;
}

/* TESTIMONIALS SECTION */
.testimonials-section {
    padding: 100px 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}
.testi-bg-pattern {
    position: absolute;
    left: -50px;
    top: 50%;
    transform: translateY(-50%);
    width: 200px;
    height: 300px;
    background: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(30, 58, 138, 0.05) 10px, rgba(30, 58, 138, 0.05) 12px);
    border-radius: 20px;
    z-index: 0;
}
.testimonials-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 50px;
    padding: 0 50px;
}
.testimonials-track {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 20px 5px;
    scroll-behavior: smooth;
    width: 100%;
}
.testimonials-track::-webkit-scrollbar { display: none; }
.testimonial-card {
    flex: 0 0 calc(33.333% - 20px);
    scroll-snap-align: start;
    background: transparent;
    padding: 30px 20px 0;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.quote-icon {
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 3rem;
    color: #cbd5e1;
    opacity: 0.6;
}
.testi-img-wrap {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    padding: 4px;
    background: var(--white);
    border: 3px solid #0d9488;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
}
.testi-img-wrap img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}
.testi-text {
    font-size: 1.05rem;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 25px;
    font-weight: 500;
    position: relative;
    z-index: 2;
}
.testi-name {
    font-size: 1.2rem;
    color: var(--primary);
    font-weight: 700;
}
.testi-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}
.testi-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: var(--transition);
}
.testi-dots .dot.active {
    background: #1e3a8a;
    width: 25px;
    border-radius: 10px;
}
.prev-testi-btn, .next-testi-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--white);
    color: var(--text-main);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}
.prev-testi-btn:hover, .next-testi-btn:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-50%) scale(1.05);
}
.prev-testi-btn { left: 0; }
.next-testi-btn { right: 0; }

/* AWARDS SECTION */
.awards-section {
    background-color: #0f172a;
    padding: 80px 0;
    color: var(--white);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.awards-title {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 60px;
    font-family: 'Outfit', sans-serif;
}
.awards-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}
.award-card {
    flex: 1;
    min-width: 220px;
    max-width: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.award-wreath-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 220px;
    height: 160px;
    margin-bottom: 15px;
    background-image: url('https://upload.wikimedia.org/wikipedia/commons/thumb/d/d7/Golden_laurel_wreath.svg/512px-Golden_laurel_wreath.svg.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3));
}
.award-logo {
    width: 100%;
}
.award-card h4 {
    font-size: 1.15rem;
    color: var(--white);
    margin-bottom: 15px;
    line-height: 1.4;
    font-weight: 700;
}
.award-card p {
    font-size: 0.9rem;
    color: #cbd5e1;
    line-height: 1.6;
}

/* CAMPUSES SECTION */
.campuses-section {
    padding: 80px 0;
    background: var(--white);
}
.campuses-title {
    color: #8b1538;
    font-size: 2.5rem;
    margin-bottom: 50px;
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
}
.campuses-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.campus-card {
    background: var(--white);
    flex: 1;
    min-width: 300px;
}
.campus-img-wrap {
    border: 3px solid #e2e8f0;
    padding: 5px;
    background: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-bottom: 15px;
    border-radius: 4px;
    height: 250px;
    overflow: hidden;
}
.campus-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.campus-img-wrap:hover img {
    transform: scale(1.05);
}
.campus-name {
    color: #8b1538;
    font-size: 1.25rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
}

/* FOOTER */
.main-footer {
    background-color: #0f172a;
    color: #cbd5e1;
    padding: 80px 0 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}
.footer-logo {
    height: 120px;
    margin-bottom: 25px;
    background: var(--white);
    padding: 10px;
    border-radius: 8px;
}
.footer-col h4 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.2rem;
    position: relative;
    display: inline-block;
}
.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--maroon);
    border-radius: 2px;
}
.footer-col a {
    display: block;
    margin-bottom: 15px;
    color: #94a3b8;
}
.footer-col a:hover {
    color: var(--white);
    transform: translateX(5px);
}
.social-links {
    margin-top: 30px;
    display: flex;
    gap: 15px;
}
.social-links a {
    background: rgba(255,255,255,0.05);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
    font-size: 1.2rem;
}
.social-links a:hover {
    background: var(--maroon);
    transform: translateY(-3px);
}
.footer-bottom {
    background: #020617;
    padding: 25px 0;
    font-size: 0.95rem;
    color: #64748b;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .cards-grid { grid-template-columns: repeat(2, 1fr); }
    .carousel-item { flex: 0 0 calc(50% - 10px); }
    .hero-section { min-height: 500px; background-position: left center; }
    .hero-container { flex-direction: column; align-items: center; }
    .hero-form-wrapper { width: 100%; max-width: 500px; margin-top: 30px; }
    .container-reg { flex-direction: column; gap: 40px; }
    .reg-offer-box { flex: 1; }
    .schools-grid, .schools-image-grid, .programs-grid, .placements-grid { grid-template-columns: repeat(2, 1fr); }
    .campus-card { min-width: 45%; }
    .placements-layout { flex-direction: column; }
    .placements-stats { flex: auto; flex-direction: row; flex-wrap: wrap; }
    .placement-stat-card { flex: 1; min-width: 250px; }
    .placements-logos-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
    .logo img { height: 90px; }
    .nav-links { display: none; }
    .hero-section { min-height: 600px; padding: 40px 0; background-position: top center; }
    .hero-form-wrapper { max-width: 100%; margin-top: auto; }
    .main-title { font-size: 2.5rem; }
    .banner-title h1 { font-size: 2.5rem; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; }
    .cards-grid { grid-template-columns: 1fr; }
    .carousel-item { flex: 0 0 100%; }
    .slider-wrapper { padding: 0 20px; }
    .slider-btn { width: 35px; height: 35px; font-size: 1rem; }
    .prev-btn { left: -5px; }
    .next-btn { right: -5px; }
    .schools-grid, .schools-image-grid, .programs-grid, .placements-grid { grid-template-columns: 1fr; }
    .programs-tabs { flex-wrap: wrap; border-bottom: none; }
    .tab-btn { flex: 1 1 45%; border-bottom: 1px solid var(--border); border-radius: 4px; margin-bottom: 5px; padding: 12px;}
    .programs-content-area { padding: 20px; border-top: 1px solid var(--border); border-radius: 8px;}
    .info-cards-section { margin-top: 20px; }
    .registration-process-banner { border-radius: 0; padding: 40px 0; }
    .reg-title { font-size: 2rem; }
    .reg-steps li { flex-direction: column; text-align: center; }
    .bottom-banner h2 { font-size: 2rem; }
    .stats-banner-title { font-size: 1.6rem; }
    .stat-item h3 { font-size: 2.5rem; }
    .stats-banner-section { padding: 50px 0; margin: 40px 0; }
    .awards-title { font-size: 2rem; margin-bottom: 40px; }
    .award-card { min-width: 100%; max-width: 100%; margin-bottom: 30px; }
    .award-wreath-wrapper { width: 180px; height: 130px; }
    .testimonial-card { flex: 0 0 100%; }
    .testimonials-wrapper { padding: 0 20px; }
    .prev-testi-btn { left: -10px; }
    .next-testi-btn { right: -10px; }
    .campus-card { min-width: 100%; flex: 0 0 100%; }
    .placements-stats { flex-direction: column; }
    .placements-logos-grid { grid-template-columns: repeat(2, 1fr); }
}
