/* Custom Variables */
:root {
    --maroon: #800000;
    --maroon-dark: #600000;
    --navy: #000050;
    --navy-dark: #000033;
    --orange: #f27e00;
    --orange-dark: #d96c00;
    --white: #ffffff;
    --light-bg: #f8fbff;
    --text-dark: #222222;
    --text-muted: #555555;
    --accent: #ffffff;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, .logo-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

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

.section {
    padding: 80px 0;
}

.bg-light {
    background: var(--light-bg);
}

.bg-navy {
    background: var(--orange);
}

.text-white {
    color: var(--white);
}

.text-maroon {
    color: var(--orange);
}

ul {
    list-style: none;
}

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

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

/* Typography Helpers */
.sub-title {
    color: var(--orange);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.section-heading {
    font-size: 2.5rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title .section-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--orange);
    border-radius: 2px;
}

/* Buttons */
.btn {
    padding: 14px 30px;
    border-radius: 5px;
    display: inline-block;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background: var(--orange);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--orange-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--orange);
    color: var(--white);
}

.btn-secondary:hover {
    background: var(--orange-dark);
}

.btn-outline {
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--orange);
}

.w-100 { width: 100%; }

/* Navigation */
.header {
    background: var(--white);
    height: 90px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

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

.logo {
    margin-right: 40px;
}

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

.nav-links {
    gap: 35px;
}


.logo-text {
    line-height: 1;
    color: var(--orange);
    font-size: 1.4rem;
    letter-spacing: 1px;
}

.logo-text span {
    color: var(--orange);
    font-size: 0.9rem;
}
/* Logo Image */
.logo-img {
    height: 80px;
    width: auto;
    object-fit: contain;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-item {
    font-weight: 500;
    color: var(--text-muted);
}

.nav-item:hover, .nav-item.active {
    color: var(--orange);
}

.nav-btn {
    background: var(--orange);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 4px;
}

.nav-btn:hover {
    background: var(--orange);
    color: var(--white);
}

.hamburger {
    display: none;
    font-size: 1.8rem;
    color: var(--orange);
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: calc(100vh - 90px);
    background: url('https://images.unsplash.com/photo-1541339907198-e08759dfc3f3?auto=format&fit=crop&q=80&w=1600') center/cover;
    position: relative;
    display: flex;
    align-items: center;
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(242, 126, 0, 0.85), rgba(242, 126, 0, 0.35));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.badge {
    background: var(--orange);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    display: inline-block;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 15px;
}

.hero h2 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 30px;
    color: var(--accent);
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

/* About Section */
.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-img {
    position: relative;
}

.about-img img {
    border-radius: 20px;
    box-shadow: 20px 20px 0 var(--light-bg);
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: 20px;
    background: var(--orange);
    color: var(--white);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(128,0,0,0.3);
}

.experience-badge .num {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.about-list {
    margin: 25px 0;
}

.about-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-list i {
    color: var(--orange);
}

/* Classes Section */
.classes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.class-card {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    transition: var(--transition);
    border-bottom: 5px solid transparent;
}

.class-card:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--orange);
}

.class-icon {
    font-size: 3rem;
    color: var(--orange);
    margin-bottom: 20px;
}

.class-card h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

/* ===============================
   WHY US – FEATURES GRID
================================ */

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* ? MAX 3 PER ROW */
    gap: 40px;
    margin-top: 50px;
}

/* ===============================
   FEATURE CARD STYLE
================================ */

.feature-item {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px 25px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-6px);
}

/* ICON TOP CENTER */
.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 18px;
    background: #f5f8ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--orange);
}

/* TITLE */
.feature-item h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
}

/* DESCRIPTION */
.feature-item p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
}

/* Admission Process */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.step {
    text-align: center;
    position: relative;
}

.step-num {
    width: 60px;
    height: 60px;
    background: var(--white);
    color: var(--orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    margin: 0 auto 20px;
    font-size: 1.2rem;
    border: 4px solid rgba(255,255,255,0.2);
}

.step h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

/* Facilities Section */
.facilities-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.facility-card {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    height: 400px;
}

.facility-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.facility-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,80,0.9), transparent);
    color: var(--white);
}

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.info-items {
    margin-top: 30px;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--orange);
}

.form-container {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,80,0.1);
}

.form-container h3 {
    #margin-bottom: 25px;
    text-align: center;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

input, select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
}

input:focus, select:focus {
    outline: none;
    border-color: var(--orange);
}

.form-feedback {
    margin-top: 20px;
    text-align: center;
    font-weight: 600;
}

/* Hero Two Column Layout */
.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Make form stand out in hero */
.hero .form-container {
    background: #ffffff;
    border-radius: 20px;
}
/* ==============================
   FOOTER – FINAL PRODUCTION CSS
================================ */

.footer {
    background: var(--orange-dark);
    color: var(--white);
    padding: 24px 0 15px;
    position: relative;
    overflow: hidden; /* ?? prevents logo bleed */
}

/* ------------------------------
   FOOTER GRID
------------------------------ */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 30px;
    margin-bottom: 50px;
}

/* ==============================
   FOOTER BRAND – TEXT + LOGO AXIS
================================ */

.footer-about {
    display: flex;
    flex-direction: column;
    align-items: center;   /* ?? SAME CENTER LINE AS LOGO */
    text-align: center;
}

/* Logo wrapper */
.footer-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 14px;
}

/* Logo image */
.footer-logo img {
    width: 160px !important;
    max-width: none !important;
    height: auto;
    display: block;
}

/* School Name */
.footer-school-name {
    max-width: 320px;     /* ?? keeps text visually centered */
    margin: 0 auto 6px;
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.15;
}

/* Location */
.footer-location {
    margin: 0 auto 6px;
    letter-spacing: 2px;
}

/* Tagline */
.footer-tagline {
    max-width: 320px;
    margin: 0 auto 18px;
    font-size: 0.75rem;
    opacity: 0.85;
}

/* Social icons */
.footer-about .social-links {
    display: flex;
    justify-content: center;
    font-size: 30px;
     gap: 20px;
}

/* ==============================
   FOOTER BRAND – TEXT + LOGO AXIS
================================ */

.footer-about2 {
    display: flex;
    flex-direction: column;
    align-items: center;   /* ?? SAME CENTER LINE AS LOGO */
    text-align: center;
}

/* Logo wrapper */
.footer-logo2 {
    display: flex;
    justify-content: center;
    margin-bottom: 14px;
}

/* Logo image */
.footer-logo2 img {
    width: 350px !important;
    max-width: none !important;
    height: auto;
    display: block;
}

/* School Name */
.footer-school-name2 {
    max-width: 320px;     /* ?? keeps text visually centered */
    margin: 0 auto 6px;
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.15;
}

/* Location */
.footer-location2 {
    margin: 0 auto 6px;
    letter-spacing: 2px;
}

/* Tagline */
.footer-tagline2 {
    max-width: 320px;
    margin: 0 auto 18px;
    font-size: 0.75rem;
    opacity: 0.85;
}

/* ------------------------------
   FOOTER LINKS
------------------------------ */
.footer-links h4,
.footer-newsletter h4 {
    margin-bottom: 18px;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-links ul li a:hover {
    opacity: 1;
    padding-left: 5px;
}

/* ------------------------------
   NEWSLETTER
------------------------------ */
.footer-newsletter p {
    opacity: 0.9;
    margin-bottom: 12px;
}

.newsletter-form {
    display: flex;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 14px;
    border-radius: 5px 0 0 5px;
    border: none;
    outline: none;
}

.newsletter-form button {
    background: var(--orange);
    border: none;
    color: var(--white);
    padding: 0 18px;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
}

/* ------------------------------
   FOOTER BOTTOM
------------------------------ */
.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,0.15);
    font-size: 0.9rem;
    opacity: 0.7;
}
}
@media (max-width: 1024px) and (min-width: 728px) {

    .nav-links {
        gap: 14px; /* reduce spacing */
    }

    .nav-item {
        font-size: 0.9rem;
    }

    .nav-btn {
        padding: 8px 14px;
        font-size: 0.9rem;
        white-space: nowrap;
    }

    .logo-img {
    height: 80px;
    width: auto;
    object-fit: contain;
}
}

@media (max-width: 1100px) and (min-width: 993px) {

    .nav-links {
        gap: 14px; /* reduce spacing */
    }

    .nav-item {
        font-size: 0.9rem;
    }

    .nav-btn {
        padding: 8px 14px;
        font-size: 0.9rem;
        white-space: nowrap;
    }

    .logo-img {
        height: 60px; /* slightly smaller logo */
    }

}

/* ================================
   MOBILE & TABLET RESPONSIVE CSS
   ================================ */

@media (max-width: 992px) {

    /* ===== HEADER & NAVBAR ===== */
    .header {
        height: 90px;
    }
 /* Footer padding */
    .footer {
        padding: 40px 0 20px;
    }

    /* Stack footer columns */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
        margin-bottom: 35px;
        text-align: center;
    }

    /* ------------------------------
       FOOTER BRAND
    ------------------------------ */
    .footer-about {
        align-items: center;
        text-align: center;
    }

    .footer-logo img {
        width: 140px !important;
    }

    .footer-school-name {
        font-size: 1.4rem;
        max-width: 280px;
    }

    .footer-location {
        font-size: 0.9rem;
        letter-spacing: 1.5px;
    }

    .footer-tagline {
        font-size: 0.75rem;
        max-width: 280px;
    }

    .footer-about .social-links {
        justify-content: center;
        gap: 18px;
        font-size: 26px;
    }
 /* ------------------------------
       FOOTER BRAND
    ------------------------------ */
    .footer-about2 {
        align-items: center;
        text-align: center;
    }

    .footer-logo2 img {
        width: 220px !important;
    }

    .footer-school-name2 {
        font-size: 1.4rem;
        max-width: 280px;
    }

    .footer-location2 {
        font-size: 0.9rem;
        letter-spacing: 1.5px;
    }

    .footer-tagline2 {
        font-size: 0.75rem;
        max-width: 280px;
    }

    .footer-about2 .social-links2 {
        justify-content: center;
        gap: 18px;
        font-size: 26px;
    }

    /* ------------------------------
       FOOTER LINKS
    ------------------------------ */
    .footer-links {
        text-align: center;
    }

    .footer-links ul li {
        margin-bottom: 10px;
    }

    .footer-links ul li a {
        font-size: 0.95rem;
    }

    /* ------------------------------
       NEWSLETTER
    ------------------------------ */
    .footer-newsletter {
        text-align: center;
    }

    .newsletter-form {
        max-width: 360px;
        margin: 0 auto;
    }

    .newsletter-form input {
        font-size: 0.95rem;
    }

    /* ------------------------------
       FOOTER BOTTOM
    ------------------------------ */
    .footer-bottom {
        font-size: 0.85rem;
        padding-top: 20px;
    }
    .navbar {
        display: flex;
        align-items: center;
	width: 100%;
    }

    .logo {
        margin-right: auto !important;   /* FORCE LEFT */
        margin-left: 0 !important;
        flex-shrink: 0;
    }

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

    .logo-img {
        height: 60px;
        width: auto;
    }

    .hamburger {
        display: block;
        margin-left: auto;    /* ?? FORCE HAMBURGER RIGHT */
        font-size: 1.8rem;
        cursor: pointer;
    }

    /* ===== MOBILE NAV MENU ===== */
    .nav-links {
        display: flex;
        position: fixed;
        top: 90px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 90px);
        background: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 40px 0;
        gap: 25px;
        transition: right 0.4s ease;
        z-index: 999;
    }

    .nav-links.active {
        right: 0;
    }

    /* ===== HERO ===== */
    .hero {
        padding-top: 110px;
        height: auto;
        align-items: flex-start;
    }

    .hero-grid {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    .hero-content {
        order: 2;
        max-width: 100%;
        text-align: left;
    }

    .hero h1 {
        font-size: 2.6rem;
        line-height: 1.15;
    }

    .hero h2 {
        font-size: 1.3rem;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .hero-btns {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .hero-btns .btn {
        width: 100%;
        text-align: center;
    }

    /* ===== FORM ===== */
    .form-container {
        order: 1;
        width: 100%;
        padding: 30px 20px;
        border-radius: 18px;
        margin-bottom: 10px;
    }

    .form-container h3 {
        margin-bottom: 20px;
        text-align: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    input,
    select,
    button {
        font-size: 1rem;
        padding: 14px;
    }

    /* ===== WHY US ===== */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 18px 16px;
  	align-items: center;
   	justify-content: center;

    }

    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.6rem;
        margin-bottom: 10px;
  	align-items: center;
    	justify-content: center;

    }

    .feature-item h3 {
        margin: 8px 0 6px;
        font-size: 1.15rem;
  	align-items: center;
   	justify-content: center;

    }

    .feature-item p {
        margin: 0;
        font-size: 0.95rem;
        line-height: 1.5;
  	align-items: center;
   	justify-content: center;

    }

    /* ===== FACILITIES ===== */
    .facilities-slider {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .facility-card {
        height: 260px;
        border-radius: 16px;
    }

    .facility-info {
        padding: 18px;
        background: linear-gradient(
            to top,
            rgba(0,0,0,0.7),
            rgba(0,0,0,0.15)
        );
    }

    .facility-info h3 {
        font-size: 1.2rem;
    }

    .facility-info p {
        font-size: 0.9rem;
    }

    /* ===== CONTACT ===== */
    .about-wrapper,
    .contact-wrapper,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .contact {
        padding: 60px 0;
    }

    .contact-wrapper {
        gap: 30px;
    }

    .contact-info .section-heading {
        font-size: 1.8rem;
    }

    .contact-info p {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }

    .info-item {
        gap: 12px;
        margin-bottom: 18px;
    }

    .info-item i {
        font-size: 1.2rem;
    }

    .info-item p {
        font-size: 0.9rem;
    }

    .contact iframe {
        width: 100%;
        height: 260px;
        border-radius: 14px;
    }
 }

/* ===== SMALL PHONES ===== */
@media (max-width: 576px) {

    .hero {
        padding-top: 50px; 
	padding-bottom: 10px;

    }

    .hero h1 {
        font-size: 2.1rem;
    }

    .hero h2 {
        font-size: 1.15rem;
    }

    .facility-card {
        height: 220px;
    }

    .facility-info {
        padding: 14px;
    }

    .facility-info h3 {
        font-size: 1.1rem;
    }

    .facility-info p {
        font-size: 0.85rem;
    }

    .form-container {
        padding: 25px 18px;
    }

    .btn {
        padding: 14px 20px;
    }

    .contact iframe {
        height: 220px;
    }
.footer {
        padding: 35px 0 18px;
    }

    .footer-logo img {
        width: 120px !important;
    }

    .footer-school-name {
        font-size: 1.3rem;
    }

    .footer-location {
        font-size: 0.85rem;
    }

    .footer-tagline {
        font-size: 0.7rem;
    }

    .footer-about .social-links {
        font-size: 24px;
        gap: 16px;
    }
.footer-logo2 img {
        width: 200px !important;
    }

    .footer-school-name2 {
        font-size: 1.3rem;
    }

    .footer-location2 {
        font-size: 0.85rem;
    }

    .footer-tagline2 {
        font-size: 0.7rem;
    }

    .footer-about2 .social-links2 {
        font-size: 24px;
        gap: 16px;
    }

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

/* ===== ACCESSIBILITY ===== */
@media (max-width: 992px) {
    input:focus,
    select:focus,
    button:focus {
        outline: 2px solid var(--orange);
        outline-offset: 2px;
    }
}
