/* =========================================
   CSS Variables & Theme
   ========================================= */
:root {
    --primary-red: #015c01;
    --primary-red-hover: #014001;
    --primary-blue: #029001;
    --primary-blue-light: #03ad01;
    
    --text-dark: #2b2d42;
    --text-muted: #6c757d;
    --text-light: #ffffff;
    
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --bg-blue-tint: #f2faeb;
    
    --border-color: #dee2e6;
    
    --font-main: 'Outfit', sans-serif;
    
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    
    --transition: all 0.3s ease;
}

/* =========================================
   Reset & Base Styles
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

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

/* =========================================
   Utility Classes
   ========================================= */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

.btn:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background-color: var(--primary-red);
    color: var(--text-light);
    font-weight: 600;
}

.btn-primary:hover {
    background-color: var(--primary-red-hover);
}

.btn-secondary {
    background-color: var(--primary-blue);
    color: var(--text-light);
}

.btn-secondary:hover {
    background-color: var(--primary-blue-light);
}

/* =========================================
   Header Top
   ========================================= */
.header-top {
    background-color: var(--bg-white);
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.header-top-inner {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.logo img {
    height: 40px;
}

.contact-blocks {
    display: flex;
    gap: 30px;
}

.contact-block {
    display: flex;
    align-items: center;
    gap: 12px;
}

.icon-box {
    background-color: var(--primary-blue-light);
    color: var(--text-light);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 14px;
}

.contact-text {
    display: flex;
    flex-direction: column;
}

.contact-text .label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-text .value {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
}

/* =========================================
   Header & Navigation
   ========================================= */
.header {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between; /* Space between logo and nav */
    align-items: center;
    padding: 0 20px;
    position: relative;
}

.logo-nav {
    display: flex;
    align-items: center;
}

.logo-nav img {
    height: 75px;
    max-width: 100%;
}

.main-nav {
    display: flex;
    align-items: center;
}

.main-nav ul {
    display: flex;
}

.main-nav ul li a {
    display: block;
    font-weight: 500;
    font-size: 13px;
    color: var(--text-dark);
    padding: 25px 12px;
    text-transform: uppercase;
}

.main-nav ul li a i {
    font-size: 10px;
    margin-left: 4px;
    color: var(--text-muted);
}

.main-nav ul li a:hover,
.main-nav ul li a.active {
    color: var(--primary-red);
}

/* Dropdown Menu Styles */
.main-nav ul li {
    position: relative;
}

.main-nav ul li ul.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--bg-white);
    min-width: 240px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    border-top: 3px solid var(--primary-red);
    z-index: 100;
}

.main-nav ul li:hover ul.dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-nav ul li ul.dropdown li {
    width: 100%;
}

.main-nav ul li ul.dropdown li a {
    padding: 12px 20px;
    font-size: 14px;
    text-transform: capitalize;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.main-nav ul li ul.dropdown li:last-child a {
    border-bottom: none;
}

.main-nav ul li ul.dropdown li a:hover {
    background-color: var(--bg-blue-tint);
    padding-left: 25px; /* Slight indent on hover */
    color: var(--primary-red);
}

.btn-contact {
    position: absolute;
    right: 20px;
    border-radius: 0;
    text-transform: uppercase;
    font-size: 13px;
    padding: 15px 30px;
    background-color: var(--primary-red);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-dark);
    cursor: pointer;
    position: absolute;
    right: 20px;
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
    background: url('img/hero-bg.png') center/cover no-repeat;
    padding: 140px 0 120px;
    color: var(--text-light);
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(90deg, rgba(2, 48, 71, 0.8) 0%, rgba(2, 48, 71, 0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 600px;
}

.hero h1 {
    font-size: 52px;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 700;
}

.highlight {
    position: relative;
    display: inline-block;
}

.underline-svg {
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 12px;
}

.underline-svg path {
    stroke-dasharray: 105;
    stroke-dashoffset: 105;
    animation: drawLine 1s ease-in-out forwards;
    animation-delay: 0.5s;
}

@keyframes drawLine {
    to {
        stroke-dashoffset: 0;
    }
}

.hero p {
    font-size: 16px;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn-white {
    background-color: var(--bg-white);
    color: var(--text-dark);
}

.btn-white:hover {
    background-color: #f1f1f1;
}

/* =========================================
   Info Cards Strip
   ========================================= */
.info-cards-strip {
    position: relative;
    z-index: 20;
    display: flex;
    margin-top: -80px; /* Pulls cards UP into hero */
    margin-bottom: -100px; /* Pulls the next section up so cards overlap into the next section */
}

/* Adjust padding for about section so content isn't covered by overlapping cards */
.about.section-padding {
    padding-top: 140px;
}

.info-cards-grid {
    display: flex;
    width: 100%;
    align-items: flex-end;
}

.info-card {
    padding: 30px;
    color: var(--text-light);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: var(--transition);
}

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

.card-dark-blue {
    background-color: var(--primary-blue);
}

.card-light-blue {
    background-color: var(--primary-blue-light);
}

.card-red {
    background-color: var(--primary-red);
    position: relative;
    padding-top: 110px;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.card-header i {
    font-size: 24px;
}

.card-header h3 {
    font-size: 22px;
    font-weight: 600;
}

.card-content p {
    font-size: 14px;
    opacity: 0.9;
    line-height: 1.6;
}

/* Red card avatars */
.red-card-top {
    position: absolute;
    top: 30px;
    left: 50px;
}

.avatars {
    display: flex;
}

.avatars img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--primary-red);
    margin-right: -10px;
}

.avatar-count {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-blue-light);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 12px;
    border: 2px solid var(--primary-red);
    z-index: 5;
}

/* =========================================
   About Section
   ========================================= */
.section-padding {
    padding: 80px 0;
}

/* Scroll Animation Classes */
.fade-up-element {
    opacity: 0;
}
.fade-up-element.in-view {
    animation: fadeUp 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.section-title {
    margin-bottom: 20px;
}

.subtitle-line {
    color: var(--primary-red);
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.subtitle-line::after {
    content: '';
    width: 60px;
    height: 1px;
    background-color: var(--primary-red);
}

.about-content h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.3;
}

.highlight-text {
    color: var(--primary-red);
}

.about-content p {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 14px;
    line-height: 1.7;
}

.established {
    margin-bottom: 30px;
    font-size: 18px;
    color: var(--text-dark);
}

.established .year {
    color: var(--primary-blue); /* dark blue */
    font-weight: 700;
    font-size: 22px;
}

.text-blue-large {
    color: var(--primary-blue-light) !important;
    font-size: 38px !important;
}

/* About Image Wrapper */
.about-image-wrapper {
    position: relative;
    z-index: 1;
    padding-bottom: 30px;
    padding-left: 30px;
}

.about-image-wrapper img {
    width: 100%;
    height: auto;
    object-fit: cover;
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-md);
}

.red-square-shape {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 180px;
    height: 180px;
    background-color: var(--primary-red);
    z-index: 0;
}

/* =========================================
   Stats Section (Overview Page)
   ========================================= */
.stats-section {
    margin-bottom: 100px; 
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--border-color);
    background-color: #f4f7fb; /* Light blue tint */
}

.stat-box {
    padding: 40px 30px;
    border-right: 1px solid var(--border-color);
    border-top: 3px solid var(--primary-blue);
}

.stat-box:last-child {
    border-right: none;
}

.stat-box.box-active {
    background-color: var(--bg-white);
    border-top: 3px solid var(--primary-red);
}

.stat-number {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 15px;
}

.stat-number.text-red {
    color: var(--primary-red);
}

.stat-number.text-dark-blue {
    color: var(--primary-blue); /* Dark blue */
}

.stat-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.stat-box p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* =========================================
   Accreditation Section
   ========================================= */
.accreditation-section {
    background: linear-gradient(rgba(11, 57, 84, 0.9), rgba(11, 57, 84, 0.9)), url('https://images.unsplash.com/photo-1523240795612-9a054b0db644?q=80&w=2000&auto=format&fit=crop') center/cover no-repeat;
    padding: 80px 0;
    color: var(--text-light);
    margin-bottom: 80px;
}

.accreditation-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
}

.accreditation-title {
    flex: 1;
}

.accreditation-title h2 {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
}

.accreditation-desc {
    flex: 1;
}

.accreditation-desc p {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.9;
}

.accreditation-logos {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.accreditation-logos img {
    height: 35px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: var(--transition);
}

.accreditation-logos img:hover {
    opacity: 1;
}

/* =========================================
   Core Values Section
   ========================================= */
.subtitle-center {
    color: var(--primary-red);
    font-weight: 600;
    font-size: 14px;
    display: inline-block;
    position: relative;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.subtitle-center::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background-color: var(--primary-red);
}

.section-desc-center {
    max-width: 650px;
    margin: 0 auto 50px auto;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.7;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid var(--border-color);
}

.value-card {
    padding: 50px 40px;
    text-align: left;
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.value-card:nth-child(3n) {
    border-right: none;
}

.value-card:nth-child(n+4) {
    border-bottom: none;
}

.white-card {
    background-color: var(--bg-white);
}

.white-card .value-icon {
    color: var(--primary-blue);
    font-size: 32px;
    margin-bottom: 25px;
}

.white-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.white-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

.image-card {
    background-size: cover;
    background-position: center;
    color: var(--text-light);
    z-index: 1;
}

.image-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: -1;
}

.red-overlay::before {
    background: linear-gradient(to top, rgba(185, 28, 28, 0.95) 0%, rgba(185, 28, 28, 0.3) 100%);
}

.blue-overlay::before {
    background: linear-gradient(to top, rgba(3, 105, 161, 0.95) 0%, rgba(3, 105, 161, 0.3) 100%);
}

.dark-overlay::before {
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.3) 100%);
}

.image-card .value-icon {
    color: var(--text-light);
    font-size: 32px;
    margin-bottom: 25px;
}

.image-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
}

.image-card p {
    font-size: 14px;
    opacity: 0.9;
    line-height: 1.6;
}

/* =========================================
   Principles Section
   ========================================= */
.principles-section {
    background-color: #f3f4f6; /* Very light gray */
}

.principles-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 50px;
}

.principles-title-col {
    flex: 1;
}

.principles-title-col h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    margin-top: 15px;
}

.principles-desc-col {
    flex: 1;
}

.principles-desc-col p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 15px;
}

/* Cards Row */
.principles-cards {
    display: flex;
    margin-bottom: 50px;
    min-height: 350px;
    box-shadow: var(--shadow-md);
}

.principle-card {
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
}

.main-card {
    flex: 2; 
    background-color: var(--bg-white);
}

.vision-card {
    flex: 1; 
    background-color: var(--primary-blue); /* Dark blue */
    color: var(--text-light);
}

.mission-card {
    flex: 1; 
    background-color: #c81e1e; /* Deep red */
    color: var(--text-light);
}

.principle-card .icon-red {
    color: var(--primary-red);
    font-size: 36px;
    margin-bottom: 25px;
}

.principle-card .icon-white {
    color: var(--text-light);
    font-size: 36px;
    margin-bottom: 25px;
}

.main-card h3 {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.main-card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
}

.vision-card h3,
.mission-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-light);
}

.vision-card p,
.mission-card p {
    font-size: 14px;
    line-height: 1.7;
    opacity: 0.9;
}

/* Bottom Image */
.principles-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.principles-image img:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* =========================================
   Leadership Staff Section
   ========================================= */
.leadership-section {
    background-color: var(--bg-white);
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.staff-card {
    position: relative;
    padding-bottom: 50px; /* Offset space for the info box */
}

.staff-image {
    width: 100%;
    height: 380px;
}

.staff-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.staff-info {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-blue); /* Very dark blue */
    color: var(--text-light);
    width: 85%;
    padding: 25px 15px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.staff-info h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.staff-info p {
    font-size: 13px;
    opacity: 0.9;
    margin: 0;
}

/* =========================================
   Consult CTA Section
   ========================================= */
.consult-cta-section {
    background-color: var(--bg-white);
    padding-bottom: 120px;
}

.consult-container {
    position: relative;
    display: flex;
    align-items: center;
}

.consult-red-box {
    background-color: var(--primary-red);
    color: var(--text-light);
    width: 80%;
    padding: 80px 60px;
    position: relative;
    overflow: hidden;
}

.consult-shape {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.1);
}

.shape-1 {
    width: 150px;
    height: 150px;
    bottom: -30px;
    left: 40px;
}

.shape-2 {
    width: 100px;
    height: 100px;
    bottom: 50px;
    left: -10px;
}

.consult-content {
    position: relative;
    z-index: 2;
    max-width: 60%;
}

.consult-content h2 {
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 20px;
}

.consult-content p {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 40px;
    opacity: 0.95;
}

.btn-white {
    background-color: var(--bg-white);
    color: var(--text-dark);
    font-weight: 700;
    transition: var(--transition);
}

.btn-white:hover {
    background-color: var(--text-light);
    color: var(--primary-red);
}

.consult-content .btn-white i {
    margin-right: 10px;
    color: var(--text-dark);
}

.consult-info-box {
    background-color: var(--bg-white);
    padding: 50px 40px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 38%;
    z-index: 5;
}

.consult-info-box h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 35px;
}

.consult-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.consult-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
}

.consult-info-list li:last-child {
    margin-bottom: 0;
}

.consult-info-list i {
    color: var(--primary-blue);
    font-size: 20px;
    margin-top: 3px;
}

.consult-info-list span {
    font-size: 15px;
    color: var(--text-dark);
    font-weight: 600;
    line-height: 1.5;
}

/* =========================================
   School Timing Section
   ========================================= */
.timing-table-wrapper {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    margin-bottom: 50px;
    border: 1px solid var(--border-color);
}

.timing-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.timing-table th, 
.timing-table td {
    padding: 20px 30px;
    border-bottom: 1px solid var(--border-color);
}

.timing-table th {
    background-color: var(--primary-blue); /* Very dark blue */
    color: var(--text-light);
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.timing-table tr:last-child td {
    border-bottom: none;
}

.timing-table tbody tr {
    transition: var(--transition);
}

.timing-table tbody tr:hover {
    background-color: #f4f7fb;
}

.timing-table td {
    color: var(--text-dark);
    font-size: 15px;
}

.timing-table td strong {
    color: var(--primary-red);
}

.timing-notes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.note-box {
    background-color: #f4f7fb;
    border: 1px solid var(--border-color);
    padding: 30px;
    border-left: 4px solid var(--primary-red);
}

.note-box:nth-child(2) {
    border-left-color: var(--primary-blue);
}

.note-box h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.note-box p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* =========================================
   Education Stages Section
   ========================================= */
.stage-block {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
}

.stage-block:last-child {
    margin-bottom: 0;
}

.stage-block.reverse {
    flex-direction: row-reverse;
}

.stage-image {
    flex: 1;
    height: 400px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    position: relative;
}

.stage-image::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border: 1px solid rgba(0,0,0,0.1);
    pointer-events: none;
}

.stage-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.stage-block:hover .stage-image img {
    transform: scale(1.05);
}

.stage-content {
    flex: 1;
}

.stage-icon {
    font-size: 36px;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.stage-content h3 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.stage-grades {
    font-size: 15px;
    color: var(--primary-red);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.stage-content p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 25px;
}

.stage-highlights {
    list-style: none;
    padding: 0;
    margin: 0;
}

.stage-highlights li {
    font-size: 15px;
    color: var(--text-dark);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.stage-highlights li i {
    font-size: 14px;
}

/* =========================================
   Subject Options Section
   ========================================= */
.curriculum-block {
    margin-bottom: 50px;
}

.subjects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.subject-card {
    background-color: var(--bg-white);
    padding: 40px 30px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-radius: 8px;
    border-top: 4px solid var(--primary-blue);
}

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

.subject-icon {
    font-size: 32px;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.subject-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.subject-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.subject-card ul li {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
}

.subject-card ul li::before {
    content: '\f0da';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary-red);
}

.section-divider {
    border: 0;
    height: 1px;
    background-color: var(--border-color);
    margin: 60px 0;
}

.mt-80 {
    margin-top: 80px;
}

.streams-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.stream-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.stream-card:hover {
    transform: translateY(-5px);
}

.stream-header {
    padding: 30px;
    color: var(--text-light);
    text-align: center;
}

.stream-header i {
    font-size: 40px;
    margin-bottom: 15px;
}

.stream-header h3 {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

.science-stream .stream-header {
    background-color: var(--primary-blue);
}
.commerce-stream .stream-header {
    background-color: var(--primary-blue-light);
}
.humanities-stream .stream-header {
    background-color: var(--primary-red);
}

.stream-body {
    background-color: var(--bg-white);
    padding: 30px;
    border: 1px solid var(--border-color);
    border-top: none;
}

.stream-compulsory {
    font-size: 15px;
    color: var(--text-dark);
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed var(--border-color);
}

.stream-electives {
    font-size: 15px;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.stream-body ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.stream-body ul li {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.stream-body ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #10b981;
}

/* =========================================
   Results Section
   ========================================= */
.mb-80 {
    margin-bottom: 80px;
}

.achievers-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
}

.achiever-card {
    background-color: var(--bg-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

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

.achiever-image {
    width: 100%;
    height: 280px;
    position: relative;
}

.achiever-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.score-badge {
    position: absolute;
    bottom: -15px;
    right: 20px;
    background-color: var(--primary-red);
    color: var(--text-light);
    font-weight: 700;
    font-size: 16px;
    padding: 8px 15px;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(200, 30, 30, 0.3);
    z-index: 2;
}

.achiever-info {
    padding: 30px 20px 20px 20px;
    text-align: center;
}

.achiever-info h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.achiever-info p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
}

/* =========================================
   Gallery Section
   ========================================= */
.mb-50 {
    margin-bottom: 50px;
}

.mt-50 {
    margin-top: 50px;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-btn {
    background-color: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    padding: 8px 24px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 4px;
    font-family: 'Outfit', sans-serif;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
    color: var(--text-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 250px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(11, 46, 89, 0.7); /* Dark blue overlay */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-overlay i {
    color: var(--text-light);
    font-size: 32px;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay i {
    transform: translateY(0);
}

/* =========================================
   Programs Section
   ========================================= */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.program-card {
    background-color: var(--bg-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

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

.program-image {
    width: 100%;
    height: 250px;
    position: relative;
}

.program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.program-icon {
    position: absolute;
    bottom: -25px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--primary-red);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 10px rgba(200, 30, 30, 0.3);
    border: 4px solid var(--bg-white);
    z-index: 2;
}

.program-content {
    padding: 40px 30px 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.program-content h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.program-content p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 25px;
    flex: 1;
}

.program-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.program-list li {
    font-size: 14px;
    color: var(--text-dark);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.program-list li:last-child {
    margin-bottom: 0;
}

.program-list li i {
    color: var(--primary-blue);
    font-size: 12px;
}

/* =========================================
   Achievements Section
   ========================================= */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.achievement-card {
    background-color: var(--bg-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

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

.achievement-image {
    width: 100%;
    height: 220px;
    position: relative;
}

.achievement-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.achievement-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--primary-blue);
    color: var(--text-light);
    font-size: 13px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: var(--shadow-sm);
}

.achievement-badge i {
    color: #ffd700; /* Gold color for trophy/medal */
}

.achievement-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.achievement-date {
    font-size: 13px;
    color: var(--primary-red);
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.achievement-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.achievement-content p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* =========================================
   Facilities Section
   ========================================= */
.facilities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.facility-card {
    background-color: var(--bg-white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    text-align: center;
}

.facility-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-blue);
}

.facility-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(11, 46, 89, 0.05);
    color: var(--primary-blue);
    font-size: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 25px auto;
    transition: var(--transition);
}

.facility-card:hover .facility-icon {
    background-color: var(--primary-blue);
    color: var(--text-light);
}

.facility-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.facility-card p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

.facility-showcase {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

.showcase-img-large,
.showcase-img-small-group img {
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    object-fit: cover;
    width: 100%;
}

.showcase-img-large {
    height: 520px;
}

.showcase-img-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.showcase-img-small-group {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.showcase-img-small-group img {
    height: 250px;
}

/* =========================================
   Admission Section
   ========================================= */
.admission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.apply-buttons-wrapper {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 40px;
}

.apply-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.apply-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-blue);
    transform: translateY(-3px);
}

.apply-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(11, 46, 89, 0.05);
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 24px;
    flex-shrink: 0;
}

.apply-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.apply-card p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 15px;
}

/* Call Back Form */
.callback-form-box {
    background-color: #f8fafc;
    padding: 40px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    border-top: 4px solid var(--primary-red);
}

.callback-form-box h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.callback-form-box p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 25px;
    line-height: 1.6;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    color: var(--text-dark);
    background-color: var(--bg-white);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(11, 46, 89, 0.1);
}

.w-100 {
    width: 100%;
}

.mt-10 {
    margin-top: 10px;
}

.mb-30 {
    margin-bottom: 30px;
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-outline:hover {
    background-color: var(--primary-blue);
    color: var(--text-light);
}

.btn-square {
    border-radius: 0;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* =========================================
   Custom Accordion & Admission Details
   ========================================= */
.custom-accordion {
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 10px;
}

.custom-accordion summary {
    list-style: none; /* Hide default arrow */
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-blue);
    padding: 15px 0;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.custom-accordion summary::-webkit-details-marker {
    display: none;
}

.custom-accordion summary::before {
    content: '\f0da'; /* FontAwesome caret-right */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    display: inline-block;
    margin-right: 10px;
    font-size: 14px;
    color: var(--primary-blue);
}

.custom-accordion[open] summary::before {
    content: '\f0d8'; /* FontAwesome caret-up */
}

.custom-accordion .accordion-content {
    padding: 10px 0 20px 25px;
    color: var(--text-dark);
}

/* Age Criteria Table */
.table-responsive {
    overflow-x: auto;
}

.age-criteria-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    text-align: center;
    border: 1px solid #d1d5db;
}

.age-criteria-table th,
.age-criteria-table td {
    border: 1px solid #d1d5db;
    padding: 12px;
    font-size: 14px;
}

.age-criteria-table th {
    background-color: #f8fafc;
    font-weight: 500;
    color: var(--text-dark);
}

.age-criteria-table tbody tr:nth-child(odd) {
    background-color: var(--bg-white);
}

.age-criteria-table tbody tr:nth-child(even) {
    background-color: #f8fafc;
}

/* Age Calculator */
.age-calculator-wrapper {
    max-width: 500px;
    margin: 20px auto 0;
}

.calc-row {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 20px;
}

.calc-row label {
    width: 120px;
    font-weight: 600;
    color: var(--primary-blue);
    text-align: right;
    font-size: 16px;
}

.calc-inputs {
    display: flex;
    gap: 10px;
    flex: 1;
}

.calc-inputs select,
.calc-inputs input {
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 14px;
    color: var(--text-dark);
    font-family: inherit;
    background-color: var(--bg-white);
}

.calc-inputs input {
    width: 110px;
}

.calc-btn-wrapper {
    text-align: center;
    margin-top: 20px;
}

.btn-calculate {
    background-color: #f8fafc;
    border: 2px solid #000;
    padding: 8px 24px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s;
    color: #000;
}

.btn-calculate:hover {
    background-color: #e5e7eb;
}

/* =========================================
   Contact Us Section
   ========================================= */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 40px;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.cd-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-red);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 20px;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.cd-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.cd-content p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

.map-section {
    line-height: 0;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* About Stats Stack */
.about-stats-stack {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
}

.stat-row {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    padding: 30px 40px;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.stat-row:last-child {
    border-bottom: none;
}

.stat-row.box-white {
    background-color: var(--bg-white);
}

.stat-row.box-light-blue {
    background-color: var(--bg-blue-tint);
}

.border-red {
    border-left: 4px solid var(--primary-red);
}

.border-dark-blue {
    border-left: 4px solid var(--primary-blue);
}

.stat-number h3 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 5px;
}

.text-red {
    color: var(--primary-red);
}

.text-dark-blue {
    color: var(--primary-blue);
}

.text-normal {
    font-size: 24px;
    font-weight: 600;
}

.stat-number span {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
}

.stat-desc p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}

/* =========================================
   Trusted Partners Section
   ========================================= */
.trusted-partners {
    background-color: var(--primary-blue); /* Dark blue background */
    padding: 80px 0;
    color: var(--text-light);
}

.trusted-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
}

.trusted-top h2 {
    font-size: 28px;
    font-weight: 700;
    flex: 1;
    line-height: 1.4;
}

.trusted-top p {
    flex: 1;
    font-size: 14px;
    opacity: 0.9;
    line-height: 1.6;
}

.trusted-logos {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.trusted-logos img {
    height: 35px;
    object-fit: contain;
    opacity: 0.9;
    transition: var(--transition);
}

.trusted-logos img:hover {
    opacity: 1;
}

/* =========================================
   Academics Section
   ========================================= */
.academics-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.academics-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-end;
}

.academic-card {
    padding: 30px 40px;
    width: 80%;
    color: var(--text-light);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.academic-card:hover {
    transform: translateY(-5px);
}

.academic-card.dark-blue {
    background-color: var(--primary-blue);
}

.academic-card.light-blue {
    background-color: var(--primary-blue-light); /* Green shade for the middle card */
}

.academic-card.offset-left {
    transform: translateX(-50px);
}

.academic-card.offset-left:hover {
    transform: translateX(-50px) translateY(-5px);
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.card-top h3 {
    font-size: 18px;
    font-weight: 700;
}

.card-top i {
    font-size: 16px;
    opacity: 0.9;
}

.academic-card p {
    font-size: 13px;
    opacity: 0.9;
    line-height: 1.6;
    margin: 0;
}

/* =========================================
   Faculties Section
   ========================================= */
.faculties {
    background-color: #f0f4f8; /* Light grayish-blue background */
}

.text-center {
    text-align: center;
}

.center-title {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.subtitle-line-bottom {
    color: var(--primary-red);
    font-weight: 600;
    font-size: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    text-transform: uppercase;
}

.subtitle-line-bottom::after {
    content: '';
    width: 60px;
    height: 1px;
    background-color: var(--primary-red);
}

.section-header {
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.section-desc {
    color: var(--text-muted);
    font-size: 14px;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.faculties-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.faculty-card {
    position: relative;
    height: 380px;
    color: var(--text-light);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    transition: var(--transition);
}

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

.faculty-card.has-bg::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.8) 50%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
}

.faculty-card.solid-red {
    background-color: var(--primary-red);
}

.card-overlay, .card-content {
    position: relative;
    z-index: 2;
    padding: 30px;
}

.faculty-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.faculty-card p {
    font-size: 13px;
    opacity: 0.9;
    line-height: 1.5;
    margin: 0;
}

.mt-50 {
    margin-top: 50px;
}

/* =========================================
   Campus Life Section
   ========================================= */
.campus-life {
    background-color: #f0f4f8; /* Same as faculties */
}

.campus-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.campus-card {
    height: 450px;
    position: relative;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    transition: var(--transition);
}

.campus-card:hover {
    box-shadow: var(--shadow-md);
}

.campus-info {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    padding: 30px;
    transition: var(--transition);
}

.campus-card:hover .campus-info {
    transform: translateY(-5px);
}

.info-red {
    background-color: var(--primary-red);
    color: var(--text-light);
}

.info-white {
    background-color: var(--bg-white);
    color: var(--text-dark);
}

.campus-info h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
}

.info-red p {
    font-size: 14px;
    opacity: 0.9;
    margin: 0;
    line-height: 1.6;
}

.info-white p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

/* =========================================
   Why Choose Us Section
   ========================================= */
.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.why-left h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--text-dark);
    line-height: 1.3;
}

.why-image-wrapper {
    position: relative;
    margin-left: 50px;
    margin-top: 20px;
}

.why-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 2;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.why-image-wrapper img:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.blue-shape {
    position: absolute;
    bottom: -40px;
    left: -50px;
    width: 60%;
    height: 40%;
    background-color: var(--primary-blue-light);
    z-index: 1;
}

.why-desc-top {
    margin-bottom: 40px;
    margin-top: 60px; /* Align with title */
}

.why-desc-top p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.feature-card {
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

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

.bg-light-gray {
    background-color: #f0f4f8; /* Soft gray-blue tint */
}

.feature-icon {
    color: var(--primary-red);
    font-size: 32px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
    line-height: 1.3;
}

.feature-card p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* =========================================
   How To Apply Section
   ========================================= */
.how-to-apply {
    background-color: #f0f4f8; /* Matches other gray-blue sections */
}

.timeline {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.timeline-item {
    display: grid;
    grid-template-columns: 1fr 60px 1fr;
    margin-bottom: 50px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-left {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-right: 20px;
}

.step-number {
    width: 45px;
    height: 45px;
    min-width: 45px;
    background-color: var(--primary-red);
    color: var(--text-light);
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-left h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
}

.timeline-center {
    display: flex;
    justify-content: center;
    position: relative;
}

.timeline-dot {
    width: 12px;
    height: 12px;
    background-color: var(--primary-red);
    border-radius: 50%;
    margin-top: 16px; /* Align with middle of step-number vertically */
    position: relative;
    z-index: 2;
}

.timeline-line {
    position: absolute;
    top: 28px; /* starts below the dot */
    bottom: -50px; /* extends to the next dot */
    left: 50%;
    transform: translateX(-50%);
    border-left: 1px dashed var(--primary-red);
    z-index: 1;
}

.timeline-item:last-child .timeline-line {
    display: none;
}

.timeline-right {
    padding-left: 20px;
    padding-top: 10px; /* Aligns text well with the top */
}

.timeline-right p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* =========================================
   CTA Banner Section
   ========================================= */
.cta-banner {
    background: linear-gradient(90deg, var(--primary-blue-light) 0%, var(--primary-blue-light) 100%);
    position: relative;
    color: var(--text-light);
    overflow: hidden;
}

.cta-bg-shapes {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1;
}

.cta-bg-shapes .shape-1 {
    position: absolute;
    top: 0; left: 0;
    width: 300px; height: 100%;
    background-color: rgba(255, 255, 255, 0.04);
}

.cta-bg-shapes .shape-2 {
    position: absolute;
    top: 15%; left: 10%;
    width: 200px; height: 85%;
    background-color: rgba(255, 255, 255, 0.08);
}

.cta-grid {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 40px;
}

.cta-image-col {
    position: relative;
    height: 300px;
    flex: 1;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    z-index: 2;
    margin-right: auto;
}

.cta-image-col img {
    max-height: 110%; /* Image peeks above slightly if transparent */
    width: auto;
    object-fit: contain;
    object-position: bottom left;
}

.cta-text-col {
    flex: 0 1 500px;
    padding: 60px 0;
    z-index: 2;
    position: relative;
}

.cta-text-col h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
}

.cta-text-col p {
    font-size: 14px;
    opacity: 0.9;
    max-width: 500px;
    line-height: 1.6;
}

.cta-btn-col {
    flex: 0 1 auto;
    display: flex;
    justify-content: flex-end;
    z-index: 2;
    position: relative;
}

.cta-btn {
    color: var(--primary-red);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    padding: 15px 30px;
}

.cta-btn i {
    font-size: 14px;
}

/* =========================================
   Testimonial Section
   ========================================= */
.subtitle-line-right {
    color: var(--primary-red);
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
}

.subtitle-line-right::after {
    content: '';
    width: 60px;
    height: 1px;
    background-color: var(--primary-red);
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
    gap: 40px;
}

.testi-header-left {
    flex: 1;
}

.testi-header-right {
    flex: 1;
}

.testi-header-left h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin-top: 15px;
}

.testi-header-right p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.testi-card {
    background-color: #f0f4f8; /* Soft blue-gray */
    padding: 50px 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: var(--transition);
}

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

.testi-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
}

.testi-stars {
    color: #ffb800; /* Yellow stars */
    font-size: 18px;
    margin-bottom: 20px;
    display: flex;
    gap: 5px;
}

.testi-quote {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 6px;
    background-color: #d1d8e0;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--primary-blue);
    width: 24px;
}

/* =========================================
   Footer Section
   ========================================= */
.footer-top {
    background-image: linear-gradient(to right, rgba(6, 33, 69, 0.85), rgba(6, 33, 69, 0.85)), url('https://images.unsplash.com/photo-1523240795612-9a054b0db644?q=80&w=1200&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    color: var(--text-light);
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-col h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--text-light);
}

.footer-main {
    background-color: var(--primary-blue); /* Dark blue background */
    color: var(--text-light);
    padding: 70px 0 30px 0;
}

.footer-main-grid {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
}

.footer-logo .text-red {
    color: var(--primary-red);
    font-size: 28px;
}

.footer-info-col p {
    font-size: 14px;
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 25px;
    max-width: 350px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: var(--text-light);
    font-size: 18px;
    transition: var(--transition);
}

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

.footer-contact-col h3,
.footer-newsletter-col h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 25px;
}

.footer-contact-col p {
    font-size: 14px;
    opacity: 0.8;
    line-height: 1.6;
    margin: 5px 0;
}

.footer-newsletter-col p {
    font-size: 14px;
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.newsletter-form input {
    padding: 15px 20px;
    border: none;
    outline: none;
    font-size: 14px;
    width: 100%;
}

.newsletter-form button {
    width: 100%;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    opacity: 0.8;
}

.footer-bottom-links {
    display: flex;
    gap: 30px;
}

.footer-bottom-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: var(--primary-red);
}

/* =========================================
   Page Banner Section
   ========================================= */
.page-banner {
    background: url('img/bg-bar.png') center/cover no-repeat;
    position: relative;
    padding: 180px 0;
    text-align: center;
    color: var(--text-light);
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(34, 49, 63, 0.85); /* Dark blue/gray overlay */
}

.page-banner-inner {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.banner-badge {
    background-color: var(--primary-blue);
    color: var(--text-light);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 30px;
}

.banner-badge i {
    font-size: 11px;
}

.page-banner h1 {
    font-size: 52px;
    font-weight: 700;
    max-width: 900px;
    line-height: 1.2;
}

/* =========================================
   Responsive
   ========================================= */
@media (max-width: 992px) {
    .contact-info {
        display: none;
    }
    
    .top-bar-inner {
        justify-content: center;
    }
    
    .main-nav ul {
        display: none; /* Mobile menu handled in JS */
    }
    
    .btn-apply {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
}

/* =========================================
   Custom Footer Adjustments
   ========================================= */
.footer-middle {
    background-color: var(--primary-blue);
    padding: 40px 0;
    color: var(--text-light);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-contact-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-item .icon-wrapper {
    background-color: var(--primary-red);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
}

.contact-item h4 {
    font-size: 16px;
    margin-bottom: 5px;
    color: var(--text-light);
}

.contact-item p {
    font-size: 14px;
    opacity: 0.8;
    margin: 0;
}

.footer-bottom {
    background-color: #016301;
    padding: 20px 0;
    color: var(--text-light);
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-socials a {
    color: var(--text-light);
    background-color: rgba(255,255,255,0.1);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
    text-decoration: none;
}

.footer-socials a:hover {
    background-color: var(--primary-red);
}

/* Responsive Footer Adjustments */
@media (max-width: 992px) {
    .footer-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .footer-links-grid {
        grid-template-columns: 1fr;
    }
    .footer-contact-grid {
        flex-direction: column;
        align-items: flex-start;
    }
    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }
}

/* =========================================
   Modern AI Logos Container
   ========================================= */
.modern-ai-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(248,249,250,0.6));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    padding: 30px 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08), inset 0 0 0 1px rgba(255,255,255,0.5);
    margin-top: 40px;
}

.modern-ai-container .logo-box {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    width: 240px;
    height: 110px;
}

.modern-ai-container .logo-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.modern-ai-container .tech-logo {
    height: 100%;
    width: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.modern-ai-container .logo-box:hover .tech-logo {
    transform: scale(1.05);
}

/* Form Styles Extracted */

        .admission-form-wrapper {
            background-color: #f7fbe8; /* light greenish-yellow */
            padding: 40px 20px;
            font-family: 'Outfit', sans-serif;
        }
        .admission-header {
            text-align: center;
            margin-bottom: 40px;
        }
        .admission-header h2 {
            color: #1e3b8a;
            font-weight: 700;
            font-size: 32px;
            margin-bottom: 5px;
            text-transform: uppercase;
        }
        .admission-header h3 {
            color: #1e3b8a;
            font-weight: 600;
            font-size: 24px;
            margin-bottom: 5px;
        }
        .image-uploads-top {
            display: flex;
            justify-content: center;
            gap: 40px;
            margin-bottom: 50px;
            flex-wrap: wrap;
        }
        .upload-box {
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        .upload-box label {
            color: #444;
            font-size: 15px;
            margin-bottom: 8px;
        }
        .upload-box label span {
            color: red;
        }
        .image-preview {
            width: 150px;
            height: 180px;
            border: 1px solid #ccc;
            background-color: #fff;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            margin-bottom: 8px;
        }
        .upload-box .format-info {
            font-size: 13px;
            color: #555;
            margin-bottom: 8px;
        }
        .upload-box input[type="file"] {
            font-size: 13px;
            width: 200px;
        }
        
        .form-section {
            border: 1px solid #cdd4b5;
            padding: 40px 30px 30px;
            position: relative;
            margin-bottom: 40px;
            border-radius: 2px;
            background: transparent;
        }
        .form-section .section-title {
            position: absolute;
            top: -15px;
            left: 0;
            width: 100%;
            text-align: center;
        }
        .form-section .section-title span {
            background: var(--primary-red);
            color: #fff;
            padding: 8px 25px;
            border-radius: 4px;
            font-weight: 600;
            font-size: 16px;
            text-transform: uppercase;
        }
        
        .form-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 25px;
        }
        @media (max-width: 992px) {
            .form-grid { grid-template-columns: repeat(2, 1fr); }
        }
        @media (max-width: 600px) {
            .form-grid { grid-template-columns: 1fr; }
        }

        .form-group {
            display: flex;
            flex-direction: column;
        }
        .form-group label {
            color: #444;
            font-size: 14px;
            margin-bottom: 8px;
        }
        .form-group label span {
            color: red;
        }
        .form-group input[type="text"],
        .form-group input[type="email"],
        .form-group input[type="tel"],
        .form-group input[type="date"],
        .form-group select,
        .form-group textarea {
            padding: 10px 12px;
            border: 1px solid #999;
            border-radius: 2px;
            font-size: 14px;
            background: #fff;
            outline: none;
            width: 100%;
            box-sizing: border-box;
            font-family: inherit;
        }
        .form-group textarea {
            resize: vertical;
            min-height: 80px;
        }
        
        .documents-section {
            width: 100%;
            border-collapse: collapse;
            margin-top: 10px;
        }
        .documents-section td {
            padding: 10px 0;
            font-size: 15px;
            color: #333;
        }
        .documents-section span {
            color: red;
            font-weight: 600;
        }
        
        .bottom-links {
            margin-top: 25px;
            font-size: 15px;
        }
        .bottom-links a {
            color: #0000ee;
            text-decoration: underline;
        }
        .notes {
            font-size: 13px;
            color: #333;
            margin-top: 20px;
            line-height: 1.6;
        }
        .certification {
            display: flex;
            align-items: flex-start;
            margin-top: 25px;
            font-size: 15px;
            color: #555;
            line-height: 1.6;
        }
        .certification input {
            margin-right: 12px;
            margin-top: 5px;
            transform: scale(1.2);
        }
        .submit-btn-wrapper {
            text-align: center;
            margin-top: 40px;
        }
        .submit-btn {
            background-color: #c9b1b1;
            color: #fff;
            border: none;
            padding: 14px 40px;
            font-size: 18px;
            font-weight: bold;
            border-radius: 2px;
            cursor: pointer;
            transition: background-color 0.3s;
        }
        .submit-btn:hover {
            background-color: #b59f9f;
        }
    
/* =========================================
   Responsive Media Queries
   ========================================= */

/* Tablets / Laptops (Max Width: 1024px) */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-grid, .why-grid, .academics-grid, .contact-grid {
        gap: 30px;
    }
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .faculties-grid, .campus-grid, .gallery-grid, .testimonial-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-links-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    .academics-cards, .features-grid, .admission-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero h1 {
        font-size: 42px;
    }
    .page-banner h1 {
        font-size: 36px;
    }
}

/* Tablets / Large Mobiles (Max Width: 768px) */
@media (max-width: 768px) {
    .header-top { display: none !important; }
    /* Header & Nav */
    .contact-blocks {
        flex-wrap: wrap;
        justify-content: center;
    }
    .header-top-inner {
        justify-content: center;
    }
    .contact-text .label {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    .main-nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-white);
        box-shadow: var(--shadow-md);
        padding: 0;
        z-index: 999;
    }
    .main-nav ul.show {
        display: flex;
    }
    .main-nav ul li a {
        padding: 15px 20px;
        border-bottom: 1px solid var(--border-color);
    }
    .main-nav ul li ul.dropdown {
        position: static;
        box-shadow: none;
        border-top: none;
        display: none;
        padding-left: 20px;
        background-color: var(--bg-light);
    }
    .main-nav ul li:hover ul.dropdown,
    .main-nav ul li.active ul.dropdown {
        display: flex;
        position: relative;
    }
    
    /* Hero */
    .hero {
        padding: 100px 0 80px;
    }
    .hero h1 {
        font-size: 32px;
    }
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    .info-cards-strip {
        margin-top: -30px;
        margin-bottom: 30px;
    }
    .info-cards-grid {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .info-card {
        width: 100%;
    }
    .card-red {
        padding-top: 50px;
    }
    .red-card-top {
        display: none;
    }
    
    /* Grids */
    .about-grid, .why-grid, .contact-grid, .academics-grid, .cta-grid {
        grid-template-columns: 1fr;
    }
    .academics-cards, .values-grid, .faculties-grid, .campus-grid, .gallery-grid, .features-grid, .admission-steps {
        grid-template-columns: 1fr;
    }
    .footer-links-grid, .footer-contact-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-contact-grid .contact-item {
        justify-content: center;
        text-align: center;
        flex-direction: column;
    }
    
    .cta-text-col, .cta-btn-col {
        text-align: center;
    }
    .cta-grid {
        grid-template-columns: 1fr;
    }
    .testimonial-header {
        flex-direction: column;
    }
    .testi-header-right {
        margin-top: 20px;
    }
}

/* Small Mobiles (Max Width: 480px) */
@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .hero h1 {
        font-size: 28px;
    }
    .section-title h2 {
        font-size: 24px;
    }
    .contact-blocks {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    .contact-block:first-child {
        width: 100%;
        justify-content: center;
        margin-bottom: 10px;
    }
    .page-banner h1 {
        font-size: 28px;
    }
    .btn {
        width: 100%;
        display: block;
    }
}


@media (max-width: 768px) {
    .academics-content {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .academics-content p {
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .academics-cards {
        align-items: center;
        width: 100%;
    }
    .academic-card {
        width: 100%;
    }
    .academic-card.offset-left {
        transform: none;
    }
    .academic-card.offset-left:hover {
        transform: translateY(-5px);
    }
}

@media (max-width: 768px) {
    .timeline {
        padding: 0 15px;
    }
    .timeline-item {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        margin-bottom: 40px;
    }
    .timeline-left {
        padding-right: 0;
        flex-direction: row;
        align-items: center;
        width: 100%;
    }
    .timeline-center {
        display: none; /* Hide the dotted line on mobile for cleaner layout */
    }
    .timeline-right {
        padding-left: 0;
        padding-top: 0;
    }
}

@media (max-width: 768px) {
    .cta-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
        padding: 40px 20px;
    }
    .cta-image-col {
        display: none; /* Hide placeholder image on mobile for cleaner CTA */
    }
    .cta-text-col {
        width: 100%;
    }
    .cta-btn-col {
        width: 100%;
        display: flex;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .testimonial-grid {
        display: flex !important;
        flex-direction: row !important;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        flex-wrap: nowrap;
        gap: 20px;
        padding-bottom: 20px;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    .testimonial-grid::-webkit-scrollbar {
        display: none;
    }
    .testi-card {
        flex: 0 0 85%;
        scroll-snap-align: center;
    }
}

@media (max-width: 768px) {
    .footer-links-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        text-align: left !important;
        gap: 20px !important;
    }
}

@media (max-width: 992px) {
    .footer-middle .contact-info {
        display: block !important;
    }
}

@media (max-width: 768px) {
    .footer-contact-grid {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 30px !important;
    }
    .contact-item {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 15px !important;
    }
}

@media (max-width: 768px) {
    .footer-contact-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
    .footer-contact-grid .contact-item:last-child {
        grid-column: 1 / -1 !important;
        justify-self: center !important;
    }
}

@media (max-width: 768px) {
    .principles-header {
        flex-direction: column !important;
        gap: 20px !important;
    }
    .principles-cards {
        flex-direction: column !important;
    }
}

@media (max-width: 992px) {
    .staff-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .staff-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 992px) {
    .consult-container {
        flex-direction: column !important;
        align-items: stretch !important;
    }
    .consult-red-box {
        width: 100% !important;
        padding: 50px 30px !important;
    }
    .consult-info-box {
        position: static !important;
        transform: none !important;
        width: 100% !important;
        margin-top: 0 !important;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1) !important;
    }
}

@media (max-width: 992px) {
    .consult-content {
        max-width: 100% !important;
    }
}

@media (max-width: 768px) {
    .timing-table-wrapper {
        overflow-x: auto !important;
    }
    .timing-table th, 
    .timing-table td {
        padding: 15px 12px !important;
        white-space: nowrap;
    }
    .timing-table td:first-child {
        white-space: normal;
        min-width: 150px;
    }
}

@media (max-width: 768px) {
    .timing-table-wrapper::-webkit-scrollbar {
        display: block !important;
        height: 8px;
        -webkit-appearance: auto;
    }
    .timing-table-wrapper::-webkit-scrollbar-track {
        background: #f1f1f1; 
        border-radius: 4px;
    }
    .timing-table-wrapper::-webkit-scrollbar-thumb {
        background: #888; 
        border-radius: 4px;
    }
    .timing-table-wrapper::-webkit-scrollbar-thumb:hover {
        background: #555; 
    }
}

@media (max-width: 768px) {
    .timing-notes {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 768px) {
    .stage-block, .stage-block.reverse {
        flex-direction: column !important;
        gap: 30px !important;
    }
    .stage-image {
        width: 100% !important;
        height: 250px !important;
    }
    .stage-content {
        width: 100% !important;
    }
}

@media (max-width: 992px) {
    .subjects-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
@media (max-width: 768px) {
    .subjects-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 992px) {
    .streams-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
@media (max-width: 768px) {
    .streams-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 992px) {
    .achievers-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}
@media (max-width: 768px) {
    .achievers-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
@media (max-width: 480px) {
    .achievers-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 768px) {
    .programs-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 992px) {
    .achievements-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
@media (max-width: 768px) {
    .achievements-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 992px) {
    .facilities-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
@media (max-width: 768px) {
    .facilities-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 768px) {
    .facility-showcase {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 768px) {
    .admission-grid {
        grid-template-columns: 1fr !important;
    }
    .apply-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .calc-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .calc-row label {
        width: 100%;
        text-align: left;
    }
    .calc-inputs {
        flex-wrap: wrap !important;
    }
}

@media (max-width: 768px) {
    .age-criteria-table th,
    .age-criteria-table td {
        white-space: nowrap;
        padding: 10px 15px !important;
    }
}

@media (max-width: 768px) {
    .table-responsive::-webkit-scrollbar {
        display: block !important;
        height: 8px;
        -webkit-appearance: auto;
    }
    .table-responsive::-webkit-scrollbar-track {
        background: #f1f1f1; 
        border-radius: 4px;
    }
    .table-responsive::-webkit-scrollbar-thumb {
        background: #888; 
        border-radius: 4px;
    }
    .table-responsive::-webkit-scrollbar-thumb:hover {
        background: #555; 
    }
}

@media (max-width: 768px) {
    .admission-form-wrapper {
        padding: 20px 15px !important;
    }
    .form-section {
        padding: 30px 15px 15px !important;
    }
    .form-grid {
        grid-template-columns: 1fr !important;
    }
    .image-uploads-top {
        gap: 20px !important;
    }
    .documents-section tr {
        display: flex;
        flex-direction: column;
        margin-bottom: 15px;
        border-bottom: 1px dashed #ccc;
        padding-bottom: 15px;
    }
    .documents-section td {
        padding: 5px 0 !important;
    }
    .documents-section tr:last-child {
        border-bottom: none;
    }
}
