﻿/* =========================
   GLOBAL CANVAS
========================= */
body {
    margin: 0;
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
    background: #f3efe7;
    color: #2f2f2f;
}

/* =========================
   NAVBAR
========================= */
.earth-nav {
    background: rgba(243, 239, 231, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid #ddd4c5;
}

    .earth-nav .nav-link,
    .earth-nav .navbar-brand {
        color: white;
    }

.btn-earth {
    background: #5b6f4a;
    color: #ffffff;
}

    .btn-earth:hover {
        background: #3f4f3c;
    }

/* =========================
   BRAND / LOGO
========================= */
.brand-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-logo {
    max-height: 44px;
    width: auto;
    object-fit: contain;
}

.brand-text {
    font-weight: 700;
    font-size: 1rem;
    color: #3f4f3c;
    line-height: 1.1;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .brand-logo {
        max-height: 34px;
    }

    .brand-text {
        font-size: 0.9rem;
    }
}

/* =========================
   HERO SECTION
========================= */
.earth-hero {
    padding: 0;
    margin: 0;
}

/* Full-width background image */
.hero-bg {
    position: relative;
    min-height: 80vh;
    width: 100%;
    background-image: url('/images/bg-hero.jpeg');
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

/* Dark overlay */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

/* Text content */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    color: #ffffff;
}

    .hero-content h1 {
        font-size: clamp(2rem, 5vw, 3.2rem);
        font-weight: 700;
        line-height: 1.2;
    }

    .hero-content p {
        margin-top: 16px;
        font-size: 1.1rem;
        opacity: 0.95;
    }

/* Mobile hero tweaks */
@media (max-width: 768px) {
    .hero-bg {
        min-height: 60vh;
        background-position: center;

    }

    .hero-content p {
        font-size: 1rem;
    }
}

/* =========================
   FLOATING CARDS SECTION
========================= */
.earth-float {
    background: #f3efe7;
    padding: 60px 0 80px;
    margin-top: -60px;
    position: relative;
    z-index: 5;
}

.earth-card {
    background: #fbfaf7;
    padding: 30px;
    border-radius: 18px;
    box-shadow: 0 14px 30px rgba(0,0,0,0.15);
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

    .earth-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 22px 45px rgba(0,0,0,0.2);
    }

    .earth-card i {
        font-size: 2.2rem;
        color: #5b6f4a;
        margin-bottom: 12px;
        display: inline-block;
    }

/* =========================
   WHY SECTION
========================= */
.earth-why {
    background: #e6e1d6;
    padding: 120px 20px;
}

    .earth-why h3 {
        font-weight: 700;
    }

    .earth-why p {
        color: #555;
    }

/* =========================
   STATS CARD
========================= */
.earth-stat {
    background: #fbfaf7;
    padding: 40px;
    border-radius: 22px;
    box-shadow: 0 20px 45px rgba(0,0,0,0.15);
}

    .earth-stat h2 {
        font-size: 2.6rem;
        font-weight: 700;
        color: #3f4f3c;
    }

/* =========================
   BUTTONS
========================= */
.btn-outline-earth {
    border: 2px solid #5b6f4a;
    color: #5b6f4a;
    background: transparent;
}

    .btn-outline-earth:hover {
        background: #5b6f4a;
        color: white;
    }

/* =========================
   FOOTER
========================= */

.earth-footer {
    background: #3f4f3c;
    color: #f3efe7;
    padding: 40px 20px;
    text-align: center;
}

/*Accordion / Collapsible panel./Collapse / Expand panel  added by Ujjwal */

.accordion-button {
    background: #f3efe7;
    color: #3f4f3c;
    font-weight: 600;
}

    .accordion-button:not(.collapsed) {
        background: #e6eadf;
        color: #3f4f3c;
    }

.accordion-body {
    background: #fbfaf7;
    color: #333;
}

.accordion-item {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
}
/* Supported By Section */
.supported-by-section {
    background-color: #ffffff;
}

.supported-label {
    font-size: 1rem;
    font-weight: 500;
    color: #0d6efd;
    white-space: nowrap;
}

/* Logos */
.support-logo {
    max-height: 80px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

    /* Hover effect (optional but nice) */
    .support-logo:hover {
        filter: grayscale(0%);
        transform: scale(1.05);
    }

/* Mobile adjustments */
@media (max-width: 768px) {
    .supported-label {
        text-align: center;
        display: block;
        margin-bottom: 1rem;
    }

    .support-logo {
        max-height: 65px;
    }
}

.course-banner {
    background: #0f6d65;
    padding: 70px 20px;
    background-image: url('../images/allcourses.jpg');
    background-size: cover;
    background-position: center;
}

.course-list {
    padding-left: 18px;
}

    .course-list li {
        margin-bottom: 10px;
        font-size: 15px;
    }
.about-banner {
    /*background: #0a7bc2;*/
    background-image: url('../images/aboutus.jpg');
    padding: 80px 20px;
    background-size: cover;
    background-position: center;
    width: 100%;
}

.section-title {
    color: #1a237e;
    font-weight: 600;
}

.info-card {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    height: 100%;
}
.info-card {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    height: 100%;
}

    .info-card .icon {
        font-size: 40px;
        color: #6c757d;
        margin-bottom: 15px;
    }

/* ===== FACULTY SECTION (MATCH NAAT) ===== */

.faculty-wrapper {
    row-gap: 60px;
}

.faculty-item {
    margin-bottom: 40px;
}

.faculty-img {
    width: 170px;
    height: 170px;
    object-fit: cover;
    border-radius: 50%;
}

.faculty-name {
    margin-top: 18px;
    color: #1a237e;
    font-weight: 600;
}

.faculty-role {
    font-size: 14px;
    color: #555;
    margin-top: 6px;
    line-height: 1.4;
}

/* ===== NAAT WIDTH CONTROL ===== */

.crash-container {
    max-width: 1140px; /* THIS matches NAAT */
}

/* ===== CRASH COURSE ===== */

.crash-course-section {
    background: #fff;
}

.crash-box {
    background: #f6f6f6;
    padding: 28px;
    border-radius: 14px;
    min-height: 160px;
}

    .crash-box p {
        font-size: 14.5px;
        line-height: 1.6;
        margin: 0;
    }

.crash-icon {
    display: inline-block;
    width: 34px;
    height: 34px;
    border: 2px solid #9aa5b1;
    border-radius: 50%;
    text-align: center;
    line-height: 30px;
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 15px;
}

.crash-right {
    padding-left: 30px;
}

    .crash-right h2 {
        color: #1a237e;
        font-weight: 600;
    }

    .crash-right p {
        margin-top: 14px;
        font-size: 14.5px;
        line-height: 1.6;
    }

.divider {
    width: 45px;
    height: 2px;
    background: #1a237e;
    margin: 10px 0;
}
/* ===== FIX OVERLAP & ALIGNMENT ===== */

.crash-course-section {
    background: #ffffff;
    margin-top: 60px;
    margin-bottom: 60px;
}

.crash-container {
    max-width: 1140px;
}

/* Equal height boxes */
.crash-box {
    background: #f6f6f6;
    padding: 28px;
    border-radius: 14px;
    min-height: 190px; /* KEY FIX */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.crash-course-section .row.g-4 {
    row-gap: 30px;
}

.crash-right {
    padding-left: 25px;
    margin-top: 6px;
}
.bg-colorr {
    background: rgba(243, 239, 231, 0.95);
}
/* TEAM SECTION */
.team-section {
    background: #f6f1e8; /* same sand tone */
    padding: 60px 0;
}

.faculty-wrapper {
    margin-top: 40px;
}

/* CARD STYLE */
.faculty-item {
    margin-bottom: 40px;
}

/* IMAGE */
.faculty-img {
    width: 130px;
    height: 130px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    margin-bottom: 15px;
}

/* NAME */
.faculty-name {
    font-weight: 600;
    margin-bottom: 6px;
}

/* ROLE */
.faculty-role {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.4;
}
.faculty-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}


/* =========================
   NAVBAR HOVER & ACTIVE
========================= */

.earth-nav .nav-link {
    position: relative;
    padding: 8px 14px;
    border-radius: 6px;
    transition: all 0.25s ease;
}

    /* Hover */
    .earth-nav .nav-link:hover {
        background-color: rgba(91, 111, 74, 0.15);
        color: #3f4f3c;
    }

    /* Active page */
    .earth-nav .nav-link.active {
        background-color: #5b6f4a;
        color: #ffffff !important;
    }

    /* Focus (keyboard accessibility) */
    .earth-nav .nav-link:focus {
        outline: none;
        box-shadow: 0 0 0 2px rgba(91, 111, 74, 0.35);
    }


    /* ACTIVE NAV TAB */
    .earth-nav .nav-link.active {
        background-color:cadetblue;
        color: #ffffff !important;
        border-radius: 6px;
    }

    /* Optional hover refinement */
    .earth-nav .nav-link:hover {
        background-color: rgba(91, 111, 74, 0.15);
    }

/* Banner */
.resources-banner {
    background: linear-gradient(90deg, #1f2a44, #2c3e50);
   
    background-image: url('../images/resources.jpeg');
    background-size: cover;
    background-position:center;
    color: #fff;
    padding: 100px 0;
   
}

  /*  .resources-banner h1 {
        font-size: 42px;
        font-weight: 600;
        text-align: center;
        font-weight: 600;
    }*/

/* Content */
/*.resources-content {
    padding: 60px 0;
    background: #fff;
}*/

.resource-list {
    list-style: none;
    padding-left: 0;
}

    .resource-list li {
        padding-left: 25px;
        margin-bottom: 15px;
        position: relative;
        font-size: 16px;
    }

        .resource-list li::before {
            content: "✔";
            position: absolute;
            left: 0;
            color: #0aa6a6;
            font-size: 14px;
        }

.register-banner {
    /*background: #0a7bc2;*/
    background-image: url('../images/registration_banner.jpg');

    padding: 80px 20px;
    background-size: cover;
    background-position: center;
    width: 100%;
}



