/* ==========================================================
   Guruji College of Pharmacy - Global Styles
   ========================================================== */

:root {
    --gcp-green: #0b6e4f;
    --gcp-green-dark: #084f39;
    --gcp-gold: #f4a300;
    --gcp-light: #f7faf9;
    --gcp-text: #2d3436;
}

html, body {
    font-family: 'Segoe UI', Tahoma, sans-serif;
    color: var(--gcp-text);
    background: #fff;
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
}

/* ==========================================================
   BUTTONS
   ========================================================== */
.btn-primary {
    background-color: var(--gcp-green);
    border-color: var(--gcp-green);
}

    .btn-primary:hover, .btn-primary:focus {
        background-color: var(--gcp-green-dark);
        border-color: var(--gcp-green-dark);
    }

.btn-outline-success {
    color: var(--gcp-green);
    border-color: var(--gcp-green);
}

    .btn-outline-success:hover {
        background-color: var(--gcp-green);
        border-color: var(--gcp-green);
        color: #fff;
    }

.btn-gold {
    background-color: var(--gcp-gold);
    border-color: var(--gcp-gold);
    color: #fff;
}

    .btn-gold:hover {
        background-color: #d18f00;
        color: #fff;
    }

/* ==========================================================
   TOP BAR
   ========================================================== */
.topbar {
    background: var(--gcp-green-dark);
    color: #d9f2e8;
    font-size: .85rem;
    padding: .45rem 0;
}

    .topbar a {
        color: #d9f2e8;
    }

        .topbar a:hover {
            color: #fff;
        }

/* ==========================================================
   NAVBAR
   ========================================================== */
.site-navbar {
    background: #ffffff;
    border-bottom: 1px solid #e8efec;
    box-shadow: 0 2px 12px rgba(8,79,57,.05);
    padding: .65rem 0;
    transition: box-shadow .25s;
}

    .site-navbar.sticky-top {
        backdrop-filter: saturate(180%) blur(6px);
    }

/* ---------- Brand (single line) ---------- */
.brand-text {
    display: inline-flex;
    align-items: baseline;
    gap: .35rem;
    font-family: 'Segoe UI', Tahoma, sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -.2px;
    color: var(--gcp-green-dark);
    text-decoration: none;
    padding: 0;
    margin: 0;
    line-height: 1.15;
    transition: color .2s;
    white-space: nowrap;
}

    .brand-text .brand-accent {
        color: var(--gcp-gold);
        font-weight: 700;
        letter-spacing: 0;
    }

    .brand-text:hover {
        color: var(--gcp-green);
    }

        .brand-text:hover .brand-accent {
            color: #d18f00;
        }

/* Centered variant (used on login page) */
.brand-center {
    display: flex;
    justify-content: center;
    width: 100%;
}

/* ---------- Menu links ---------- */
.site-navbar .navbar-nav {
    gap: .1rem;
}

.site-navbar .nav-link {
    position: relative;
    font-size: .92rem;
    font-weight: 500;
    color: #3a3a3a !important;
    padding: .55rem .95rem !important;
    border-radius: 6px;
    transition: color .2s, background .2s;
}

    /* Underline-slide effect */
    .site-navbar .nav-link::after {
        content: "";
        position: absolute;
        left: 50%;
        bottom: 4px;
        width: 0;
        height: 2px;
        background: var(--gcp-gold);
        transform: translateX(-50%);
        transition: width .28s ease;
        border-radius: 2px;
    }

    .site-navbar .nav-link:hover,
    .site-navbar .nav-link:focus {
        color: var(--gcp-green-dark) !important;
        background: #f2faf6;
    }

        .site-navbar .nav-link:hover::after,
        .site-navbar .nav-link:focus::after {
            width: 55%;
        }

    /* Active page highlight */
    .site-navbar .nav-link.active,
    .site-navbar .nav-link[aria-current="page"] {
        color: var(--gcp-green-dark) !important;
        font-weight: 600;
    }

        .site-navbar .nav-link.active::after,
        .site-navbar .nav-link[aria-current="page"]::after {
            width: 55%;
            background: var(--gcp-green);
        }

/* ---------- CTA buttons in navbar ---------- */
.btn-nav-cta {
    background: var(--gcp-green);
    color: #fff !important;
    border: 1px solid var(--gcp-green);
    font-size: .85rem;
    font-weight: 600;
    padding: .42rem 1rem;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    transition: background .2s, transform .15s, box-shadow .2s;
}

    .btn-nav-cta:hover {
        background: var(--gcp-green-dark);
        border-color: var(--gcp-green-dark);
        color: #fff !important;
        transform: translateY(-1px);
        box-shadow: 0 6px 16px rgba(11,110,79,.25);
    }

.btn-nav-outline {
    background: transparent;
    color: #b02a37;
    border: 1px solid #e6a4ac;
    font-size: .85rem;
    font-weight: 600;
    padding: .42rem 1rem;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    transition: .2s;
}

    .btn-nav-outline:hover {
        background: #b02a37;
        color: #fff;
        border-color: #b02a37;
    }

/* ---------- Toggler ---------- */
.site-navbar .navbar-toggler {
    border: 1px solid #cfe9df;
    padding: .35rem .55rem;
}

    .site-navbar .navbar-toggler:focus {
        box-shadow: 0 0 0 3px rgba(11,110,79,.15);
        outline: none;
    }

/* ---------- Mobile menu ---------- */
@media (max-width: 991.98px) {
    .site-navbar .navbar-collapse {
        margin-top: .75rem;
        padding: .75rem;
        border-radius: 12px;
        background: #f9fdfb;
        border: 1px solid #e8efec;
    }

    .site-navbar .nav-link {
        padding: .65rem .9rem !important;
    }

        .site-navbar .nav-link::after {
            left: 1rem;
            transform: none;
            bottom: .3rem;
        }

        .site-navbar .nav-link:hover::after {
            width: 26px;
        }

    .brand-text {
        font-size: 1.1rem;
    }
}

/* ==========================================================
   HERO (legacy banner — kept for compatibility)
   ========================================================== */
.hero {
    background: linear-gradient(rgba(8,79,57,.85), rgba(8,79,57,.85)), url('https://images.unsplash.com/photo-1587854692152-cbe660dbde88?auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 100px 0;
}

    .hero h1 {
        font-weight: 700;
        font-size: 2.6rem;
    }

    .hero p {
        font-size: 1.1rem;
        color: #d9f2e8;
    }

/* ==========================================================
   PAGE HERO (inner page banner)
   ========================================================== */
.page-hero {
    background: linear-gradient(rgba(8,79,57,.85), rgba(8,79,57,.85)), url('https://images.unsplash.com/photo-1631549916768-4119b2e5f926?auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 60px 0;
}

    .page-hero h1 {
        font-weight: 700;
        margin: 0;
        font-size: 2rem;
    }

    .page-hero .breadcrumb {
        margin: 8px 0 0;
        --bs-breadcrumb-divider-color: #a9cfc1;
    }

        .page-hero .breadcrumb a {
            color: #d9f2e8;
        }

            .page-hero .breadcrumb a:hover {
                color: #fff;
            }

    .page-hero .breadcrumb-item.active {
        color: #fff;
    }

/* ==========================================================
   SECTIONS
   ========================================================== */
.section {
    padding: 70px 0;
}

.section-title {
    font-weight: 700;
    color: var(--gcp-green-dark);
    margin-bottom: .4rem;
}

.section-subtitle {
    color: #6c757d;
    margin-bottom: 2.5rem;
}

.bg-light-soft {
    background: #f7fbf9;
}

/* ==========================================================
   CARDS
   ========================================================== */
.card-clean {
    border: 1px solid #e8efec;
    border-radius: 14px;
    background: #fff;
    transition: .25s;
    height: 100%;
}

    .card-clean:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 28px rgba(11,110,79,.12);
        border-color: #cfe9df;
    }

.card-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    background: #eef8f4;
    color: var(--gcp-green);
    border-radius: 12px;
    font-size: 1.4rem;
    flex-shrink: 0;
}

/* ==========================================================
   AVATAR
   ========================================================== */
.avatar-circle {
    width: 90px;
    height: 90px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gcp-green), var(--gcp-green-dark));
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
}

/* ==========================================================
   NOTICE LIST ITEM
   ========================================================== */
.notice-item {
    border-left: 4px solid var(--gcp-green);
    padding-left: 1rem;
    margin-bottom: 1.25rem;
}

    .notice-item h6 {
        margin-bottom: .25rem;
    }

/* ==========================================================
   GALLERY
   ========================================================== */
.gallery-tile {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    display: block;
}

    .gallery-tile img {
        width: 100%;
        height: 220px;
        object-fit: cover;
        transition: transform .4s;
    }

    .gallery-tile:hover img {
        transform: scale(1.06);
    }

    .gallery-tile .caption {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(transparent, rgba(0,0,0,.75));
        color: #fff;
        padding: 2.5rem .9rem .6rem;
        font-size: .85rem;
    }

/* Category filter pills */
.category-pill {
    display: inline-block;
    padding: .35rem 1rem;
    border-radius: 999px;
    background: #eef8f4;
    color: var(--gcp-green-dark);
    font-size: .85rem;
    font-weight: 500;
    margin: 0 .35rem .5rem 0;
    transition: .2s;
}

    .category-pill.active,
    .category-pill:hover {
        background: var(--gcp-green);
        color: #fff;
    }

/* ==========================================================
   CONTACT INFO BOX
   ========================================================== */
.info-box {
    background: #eef8f4;
    border-radius: 12px;
    padding: 1.25rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1rem;
}

    .info-box i {
        color: var(--gcp-green);
        font-size: 1.4rem;
        margin-top: 3px;
    }

/* ==========================================================
   FOOTER
   ========================================================== */
.site-footer {
    background: var(--gcp-green-dark);
    color: #cfe9df;
    padding: 55px 0 20px;
}

.footer-heading {
    color: #fff;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

    .footer-links li {
        margin-bottom: .45rem;
    }

    .footer-links a {
        color: #cfe9df;
    }

        .footer-links a:hover {
            color: var(--gcp-gold);
        }

.text-muted-light {
    color: #a9cfc1;
    font-size: .92rem;
}

.footer-divider {
    border-color: rgba(255,255,255,.15);
    margin: 30px 0 15px;
}

/* ==========================================================
   SAFETY NET — space below content before footer
   ========================================================== */
.page-bottom-space {
    padding-bottom: 100px !important;
}

main {
    display: block;
    overflow: visible;
}

/* ==========================================================
   RESPONSIVE TWEAKS
   ========================================================== */
@media (max-width: 767.98px) {
    .hero {
        padding: 70px 0;
    }

        .hero h1 {
            font-size: 2rem;
        }

    .section {
        padding: 50px 0;
    }

    .page-hero {
        padding: 45px 0;
    }

        .page-hero h1 {
            font-size: 1.6rem;
        }
}

/* ==========================================================
   NOTICES LIST — bulletproof layout
   ========================================================== */
.notice-section {
    padding-bottom: 120px !important;
}

.notice-list {
    max-width: 860px;
    margin: 0 auto;
    display: block;
}

.notice-card {
    display: block;
    background: #fff;
    border: 1px solid #e8efec;
    border-radius: 14px;
    padding: 1.5rem 1.75rem;
    margin: 0 0 1.25rem 0;
    transition: border-color .2s;
}

    .notice-card:hover {
        border-color: #cfe9df;
    }

    .notice-card:last-child {
        margin-bottom: 0;
    }

.notice-title {
    color: var(--gcp-green-dark);
    font-weight: 600;
}

.notice-date {
    background: #eef8f4;
    color: var(--gcp-green-dark);
    padding: .35rem .8rem;
    font-weight: 500;
    font-size: .8rem;
}

.notice-desc {
    color: #6c757d;
    line-height: 1.65;
}

@media (max-width: 767.98px) {
    .notice-card {
        padding: 1.15rem;
    }
}

/* ==========================================================
   FINAL safety net — footer always sits below all content
   ========================================================== */
main {
    display: block;
    position: relative;
    z-index: 1;
    overflow: visible;
}

.site-footer {
    position: relative;
    z-index: 2;
    clear: both;
    margin-top: 0 !important;
}

/* ==========================================================
   HOME PAGE — MODERN HERO WITH SLIDER
   ========================================================== */

/* ---------- Hero wrapper ---------- */
.hero-modern {
    position: relative;
    color: #fff;
    padding: 110px 0 130px;
    overflow: hidden;
    background: #084f39; /* fallback while slides load */
    min-height: 620px;
}

/* ---------- Background slider ---------- */
.hero-slider {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transform: scale(1.06);
    transition: opacity 1.4s ease, transform 7s ease-out;
    will-change: opacity, transform;
}

    .hero-slide.active {
        opacity: 1;
        transform: scale(1);
    }

/* Dark green tint + light radial accents so text stays readable */
/* Light, directional overlay — text stays readable, photos stay visible */
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(6,58,42,.88) 0%, rgba(8,79,57,.75) 30%, rgba(8,79,57,.45) 55%, rgba(8,79,57,.15) 80%, rgba(8,79,57,.05) 100%), linear-gradient(180deg, rgba(4,46,34,.25) 0%, transparent 25%, transparent 75%, rgba(4,46,34,.35) 100%);
    pointer-events: none;
}

/* Content sits above the slider */
.hero-modern .container {
    z-index: 2;
}

/* ---------- Hero text ---------- */
.hero-text {
    animation: fadeInUp .8s ease both;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: rgba(244,163,0,.18);
    color: #ffd97a;
    border: 1px solid rgba(244,163,0,.4);
    padding: .4rem 1rem;
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .5px;
    margin-bottom: 1.25rem;
    backdrop-filter: blur(4px);
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: #fff;
}

.text-gradient {
    background: linear-gradient(90deg, #f4a300, #ffd97a, #f4a300);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-sub {
    font-size: 1.1rem;
    color: #eaf7f1;
    max-width: 560px;
    margin-bottom: 1.75rem;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.btn-hero-primary {
    background: #f4a300;
    border: none;
    color: #fff;
    font-weight: 600;
    padding: .75rem 1.75rem;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    transition: .25s;
    box-shadow: 0 10px 24px rgba(244,163,0,.35);
}

    .btn-hero-primary:hover {
        background: #d18f00;
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 14px 30px rgba(244,163,0,.45);
    }

.btn-hero-secondary {
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.35);
    color: #fff;
    font-weight: 600;
    padding: .75rem 1.75rem;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    transition: .25s;
    backdrop-filter: blur(6px);
}

    .btn-hero-secondary:hover {
        background: rgba(255,255,255,.22);
        color: #fff;
        border-color: #fff;
    }

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255,255,255,.18);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .9rem;
    color: #eaf7f1;
}

    .trust-item i {
        color: #f4a300;
        font-size: 1.1rem;
    }

/* ---------- Hero side card ---------- */
.hero-card {
    background: rgba(255,255,255,.97);
    color: var(--gcp-text);
    border-radius: 20px;
    padding: 1.75rem;
    box-shadow: 0 25px 60px rgba(0,0,0,.35);
    animation: fadeInUp 1s ease both;
    animation-delay: .15s;
    backdrop-filter: blur(8px);
}

.hero-card-header {
    display: flex;
    align-items: center;
    gap: .85rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eef3f0;
    margin-bottom: 1rem;
}

    .hero-card-header i {
        font-size: 1.6rem;
        color: var(--gcp-green);
        background: #eef8f4;
        width: 48px;
        height: 48px;
        display: grid;
        place-items: center;
        border-radius: 12px;
    }

    .hero-card-header h6 {
        color: var(--gcp-green-dark);
        font-weight: 700;
    }

    .hero-card-header small {
        color: #6c757d;
    }

.hero-card-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
}

    .hero-card-list li {
        display: flex;
        align-items: center;
        gap: .6rem;
        padding: .4rem 0;
        font-size: .92rem;
        color: #495057;
    }

    .hero-card-list i {
        color: #10b981;
    }

.btn-hero-card {
    background: var(--gcp-green);
    color: #fff;
    font-weight: 600;
    padding: .7rem 1rem;
    border-radius: 10px;
    transition: .2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
}

    .btn-hero-card:hover {
        background: var(--gcp-green-dark);
        color: #fff;
        transform: translateY(-1px);
    }

/* ---------- Slider dots ---------- */
.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    display: flex;
    gap: .55rem;
    z-index: 3;
}

.hero-dot {
    width: 34px;
    height: 5px;
    border: none;
    border-radius: 999px;
    background: rgba(255,255,255,.35);
    cursor: pointer;
    padding: 0;
    transition: background .3s, width .3s, transform .2s;
}

    .hero-dot:hover {
        background: rgba(255,255,255,.7);
        transform: scaleY(1.4);
    }

    .hero-dot.active {
        background: #f4a300;
        width: 48px;
        box-shadow: 0 0 12px rgba(244,163,0,.6);
    }

/* ---------- Stats strip ---------- */
.stats-strip {
    background: linear-gradient(135deg, #084f39, #0b6e4f);
    padding: 2.25rem 0;
    margin-top: -60px;
    position: relative;
    z-index: 5;
    border-radius: 20px;
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 20px 40px rgba(8,79,57,.25);
}

.stat-box {
    padding: .5rem 1rem;
}

.stat-num {
    font-size: 2.2rem;
    font-weight: 800;
    color: #f4a300;
    line-height: 1;
    margin-bottom: .35rem;
}

.stat-label {
    color: #d9f2e8;
    font-size: .88rem;
    font-weight: 500;
}

/* ---------- Section eyebrow ---------- */
.eyebrow {
    display: inline-block;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: var(--gcp-green);
    background: #eef8f4;
    padding: .35rem .9rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}

/* ---------- Feature cards ---------- */
.feature-card {
    background: #fff;
    border: 1px solid #e8efec;
    border-radius: 18px;
    padding: 1.75rem 1.5rem;
    height: 100%;
    transition: .3s;
    position: relative;
    overflow: hidden;
}

    .feature-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: linear-gradient(90deg, #0b6e4f, #f4a300);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform .35s;
    }

    .feature-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 18px 40px rgba(11,110,79,.14);
        border-color: #cfe9df;
    }

        .feature-card:hover::before {
            transform: scaleX(1);
        }

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 1.6rem;
    margin-bottom: 1.1rem;
    box-shadow: 0 10px 20px rgba(0,0,0,.12);
}

.feature-card h5 {
    font-weight: 700;
    color: var(--gcp-green-dark);
    margin-bottom: .5rem;
    font-size: 1.08rem;
}

.feature-card p {
    color: #6c757d;
    font-size: .92rem;
    line-height: 1.6;
    margin: 0;
}

/* ---------- Course cards ---------- */
.course-card {
    background: #fff;
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid #e8efec;
    transition: .3s;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

    .course-card::after {
        content: "";
        position: absolute;
        top: -40px;
        right: -40px;
        width: 140px;
        height: 140px;
        background: radial-gradient(circle, rgba(11,110,79,.08), transparent 70%);
        border-radius: 50%;
        transition: .4s;
    }

    .course-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 20px 45px rgba(11,110,79,.15);
        border-color: #cfe9df;
    }

        .course-card:hover::after {
            transform: scale(1.3);
        }

.course-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.course-badge-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #0b6e4f, #10b981);
    color: #fff;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    box-shadow: 0 10px 20px rgba(11,110,79,.25);
}

.course-tag {
    background: #fff5e0;
    color: #b57500;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .5px;
    padding: .4rem .9rem;
    border-radius: 999px;
}

.course-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--gcp-green-dark);
    margin-bottom: .9rem;
}

.course-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: .85rem;
    color: #6c757d;
    margin-bottom: 1rem;
}

    .course-meta i {
        color: var(--gcp-green);
        margin-right: .25rem;
    }

.course-desc {
    color: #6c757d;
    font-size: .93rem;
    line-height: 1.65;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.course-link {
    color: var(--gcp-green);
    font-weight: 600;
    font-size: .92rem;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    align-self: flex-start;
    transition: .2s;
}

    .course-link:hover {
        color: var(--gcp-green-dark);
        gap: .7rem;
    }

/* ---------- Why parents section ---------- */
.parent-point {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.25rem;
    align-items: flex-start;
}

.pp-icon {
    width: 48px;
    height: 48px;
    background: #eef8f4;
    color: var(--gcp-green);
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.parent-point h6 {
    font-weight: 700;
    color: var(--gcp-green-dark);
    margin-bottom: .25rem;
    font-size: 1rem;
}

.parent-point p {
    color: #6c757d;
    font-size: .9rem;
    line-height: 1.55;
    margin: 0;
}

.parent-image-wrap {
    position: relative;
    border-radius: 20px;
    overflow: visible;
}

.parent-image {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(8,79,57,.2);
}

.floating-card {
    position: absolute;
    bottom: -20px;
    left: 20px;
    background: #fff;
    padding: 1rem 1.25rem;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: .85rem;
    box-shadow: 0 15px 35px rgba(0,0,0,.15);
    border-left: 4px solid #f4a300;
}

.fc-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #f4a300, #fbbf24);
    color: #fff;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-size: 1.2rem;
}

.floating-card strong {
    display: block;
    color: var(--gcp-green-dark);
    font-size: 1rem;
}

.floating-card small {
    color: #6c757d;
    font-size: .8rem;
}

/* ---------- Faculty cards ---------- */
.faculty-card {
    background: #fff;
    border-radius: 18px;
    padding: 2rem 1.5rem;
    text-align: center;
    border: 1px solid #e8efec;
    transition: .3s;
    height: 100%;
}

    .faculty-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 18px 40px rgba(11,110,79,.14);
        border-color: #cfe9df;
    }

.faculty-photo {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #eef8f4;
    margin-bottom: 1rem;
}

.faculty-name {
    font-weight: 700;
    color: var(--gcp-green-dark);
    margin-bottom: .25rem;
}

.faculty-role {
    color: #f4a300;
    font-weight: 600;
    font-size: .88rem;
    margin-bottom: .35rem;
}

.faculty-qual {
    color: #6c757d;
    font-size: .85rem;
    margin: 0;
}

/* ---------- Testimonials / Founding batch advantage ---------- */
.testimonial-section {
    background: linear-gradient(135deg, rgba(8,79,57,.96), rgba(11,110,79,.96)), url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.testimonial-card {
    background: rgba(255,255,255,.97);
    border-radius: 18px;
    padding: 2rem 1.75rem;
    height: 100%;
    position: relative;
    transition: .3s;
}

    .testimonial-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 20px 45px rgba(0,0,0,.3);
    }

.testimonial-quote {
    font-size: 2.5rem;
    color: #f4a300;
    line-height: 1;
    display: block;
    margin-bottom: .75rem;
}

.testimonial-card p {
    color: #495057;
    font-size: .95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: .85rem;
    padding-top: 1rem;
    border-top: 1px solid #eef3f0;
}

.ta-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gcp-green), var(--gcp-green-dark));
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.testimonial-author strong {
    display: block;
    color: var(--gcp-green-dark);
    font-size: .95rem;
}

.testimonial-author small {
    color: #6c757d;
    font-size: .8rem;
}

/* ---------- Home notices ---------- */
.notice-card-home {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e8efec;
    padding: 1.5rem;
    display: flex;
    gap: 1.15rem;
    height: 100%;
    transition: .3s;
}

    .notice-card-home:hover {
        transform: translateY(-4px);
        box-shadow: 0 15px 35px rgba(11,110,79,.12);
        border-color: #cfe9df;
    }

.notice-date-badge {
    background: linear-gradient(135deg, var(--gcp-green), var(--gcp-green-dark));
    color: #fff;
    border-radius: 12px;
    padding: .75rem .65rem;
    text-align: center;
    min-width: 62px;
    height: fit-content;
    flex-shrink: 0;
}

.ndb-day {
    display: block;
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1;
}

.ndb-month {
    display: block;
    font-size: .7rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #ffd97a;
    margin-top: .2rem;
}

.notice-body h6 {
    font-weight: 700;
    color: var(--gcp-green-dark);
    margin-bottom: .5rem;
    font-size: .98rem;
}

.notice-body p {
    color: #6c757d;
    font-size: .87rem;
    line-height: 1.55;
    margin-bottom: .75rem;
}

.notice-link {
    color: var(--gcp-green);
    font-weight: 600;
    font-size: .85rem;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    transition: .2s;
}

    .notice-link:hover {
        color: var(--gcp-green-dark);
        gap: .6rem;
    }

/* ---------- Final CTA ---------- */
.final-cta {
    background: linear-gradient(120deg, #084f39, #0b6e4f 60%, #10b981);
    padding: 4rem 0;
    color: #fff;
    position: relative;
    overflow: hidden;
}

    .final-cta::before {
        content: "";
        position: absolute;
        top: -50%;
        right: -10%;
        width: 500px;
        height: 500px;
        background: radial-gradient(circle, rgba(244,163,0,.15), transparent 70%);
        border-radius: 50%;
    }

.final-cta-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.final-cta-text h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: .65rem;
    color: #fff;
}

.final-cta-text p {
    color: #d9f2e8;
    margin: 0;
    max-width: 560px;
    font-size: 1.02rem;
    line-height: 1.65;
}

.final-cta-actions {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
}

/* ---------- Animation ---------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- Hero slider responsive ---------- */
@media (max-width: 991.98px) {
    .hero-modern {
        padding: 80px 0 110px;
        min-height: 560px;
    }

    .hero-title {
        font-size: 2.4rem;
    }

    .hero-sub {
        font-size: 1rem;
    }

    .stats-strip {
        margin-top: -50px;
    }

    .stat-num {
        font-size: 1.75rem;
    }

    .stat-label {
        font-size: .78rem;
    }

    .final-cta-text h2 {
        font-size: 1.5rem;
    }

    .final-cta-actions {
        width: 100%;
    }

        .final-cta-actions .btn {
            flex: 1;
            justify-content: center;
        }

    .hero-dots {
        bottom: 22px;
    }
}

@media (max-width: 575.98px) {
    .hero-modern {
        min-height: 520px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-trust {
        gap: 1rem;
    }

    .course-card {
        padding: 1.5rem;
    }

    .testimonial-card {
        padding: 1.5rem;
    }

    .hero-dots {
        bottom: 18px;
        gap: .4rem;
    }

    .hero-dot {
        width: 26px;
    }

        .hero-dot.active {
            width: 38px;
        }
}

/* ==========================================================
   CAMPUS SHOWCASE
   ========================================================== */
.campus-showcase {
    padding: 80px 0 70px;
    background: #fff;
}

.campus-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 240px;
    gap: 14px;
    padding: 0 14px;
    max-width: 1400px;
    margin: 0 auto;
}

.campus-tile {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(8,79,57,.08);
}

.campus-tile-lg {
    grid-column: span 2;
    grid-row: span 2;
}

.campus-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s cubic-bezier(.2,.8,.2,1);
}

.campus-tile:hover img {
    transform: scale(1.08);
}

.campus-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( to top, rgba(4,46,34,.92) 0%, rgba(4,46,34,.55) 40%, rgba(4,46,34,.05) 75%, transparent 100% );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem 1.25rem;
    color: #fff;
    transition: background .3s;
}

.campus-tile:hover .campus-overlay {
    background: linear-gradient( to top, rgba(4,46,34,.95) 0%, rgba(11,110,79,.7) 45%, rgba(11,110,79,.1) 80%, transparent 100% );
}

.campus-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(244,163,0,.9);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 1.2rem;
    margin-bottom: .65rem;
    backdrop-filter: blur(4px);
    transition: transform .3s;
}

.campus-tile:hover .campus-icon {
    transform: translateY(-4px);
}

.campus-overlay h5 {
    margin: 0 0 .25rem;
    font-weight: 700;
    font-size: 1.35rem;
    line-height: 1.2;
}

.campus-overlay h6 {
    margin: 0;
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1.2;
}

.campus-overlay p {
    margin: 0;
    font-size: .85rem;
    color: #d9f2e8;
    line-height: 1.4;
}

@media (max-width: 991.98px) {
    .campus-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 200px;
    }

    .campus-tile-lg {
        grid-column: span 2;
        grid-row: span 1;
    }
}

@media (max-width: 575.98px) {
    .campus-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 200px;
    }

    .campus-tile-lg {
        grid-column: span 1;
    }
}

/* ==========================================================
   STUDENT LIFE
   ========================================================== */
.student-life-section {
    padding: 90px 0;
    background: linear-gradient(135deg, rgba(8,79,57,.97), rgba(11,110,79,.97)), url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

    .student-life-section::before {
        content: "";
        position: absolute;
        top: -100px;
        right: -100px;
        width: 400px;
        height: 400px;
        background: radial-gradient(circle, rgba(244,163,0,.15), transparent 70%);
        border-radius: 50%;
    }

.sl-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-top: 1.15rem;
    color: #fff;
}

    .sl-feature i {
        width: 46px;
        height: 46px;
        border-radius: 12px;
        background: rgba(244,163,0,.15);
        color: #f4a300;
        display: grid;
        place-items: center;
        font-size: 1.2rem;
        flex-shrink: 0;
        border: 1px solid rgba(244,163,0,.3);
    }

    .sl-feature strong {
        display: block;
        font-size: 1rem;
        margin-bottom: .15rem;
        color: #fff;
    }

    .sl-feature span {
        display: block;
        font-size: .86rem;
        color: #a9cfc1;
        line-height: 1.4;
    }

/* Student image collage */
.student-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 130px);
    gap: 12px;
    position: relative;
    z-index: 1;
}

.sg-item {
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0,0,0,.25);
    transition: transform .4s;
}

    .sg-item:hover {
        transform: translateY(-4px) scale(1.02);
    }

    .sg-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform .8s;
    }

    .sg-item:hover img {
        transform: scale(1.08);
    }

.sg-tall {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}

.sg-wide {
    grid-column: 2 / 4;
    grid-row: 3 / 4;
}

@media (max-width: 991.98px) {
    .student-gallery {
        grid-template-rows: repeat(3, 110px);
    }
}

@media (max-width: 575.98px) {
    .student-gallery {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 110px);
    }

    .sg-tall {
        grid-column: 1 / 2;
        grid-row: 1 / 3;
    }

    .sg-wide {
        grid-column: 1 / 3;
        grid-row: 4 / 5;
    }
}

/* ==========================================================
   EXTRA FLOATING BADGE (safe campus)
   ========================================================== */
.floating-card-2 {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255,255,255,.95);
    padding: .65rem 1.1rem;
    border-radius: 999px;
    display: flex;
    align-items: center;
    gap: .5rem;
    box-shadow: 0 12px 30px rgba(0,0,0,.15);
    font-size: .85rem;
    font-weight: 700;
    color: var(--gcp-green-dark);
    backdrop-filter: blur(6px);
    border: 1px solid #cfe9df;
}

    .floating-card-2 i {
        color: #10b981;
        font-size: 1.1rem;
    }

/* Slight responsive tweak for the parent image */
@media (max-width: 575.98px) {
    .floating-card-2 {
        top: 12px;
        right: 12px;
        font-size: .78rem;
        padding: .5rem .85rem;
    }

    .floating-card {
        bottom: -12px;
        left: 12px;
    }
}

/* ==========================================================
   FLOATING ACTION BUTTONS (Call + WhatsApp + Back to Top)
   ========================================================== */
.fab-stack {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none; /* clicks pass through the gap */
}

.fab {
    position: relative;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: none;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 1.6rem;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 10px 24px rgba(0,0,0,.22);
    transition: transform .25s ease, box-shadow .25s ease, opacity .3s ease, visibility .3s ease;
    text-decoration: none;
    padding: 0;
    line-height: 1;
}

/* ---------- Call ---------- */
.fab-call {
    background: linear-gradient(135deg, #f4a300, #d18f00);
}

    .fab-call:hover {
        color: #fff;
        transform: translateY(-3px) scale(1.06);
        box-shadow: 0 14px 30px rgba(244,163,0,.45);
    }

/* ---------- WhatsApp ---------- */
.fab-whatsapp {
    background: linear-gradient(135deg, #25d366, #1ebe5d);
    animation: fabPulse 2.4s ease-in-out infinite;
}

    .fab-whatsapp:hover {
        color: #fff;
        transform: translateY(-3px) scale(1.06);
        box-shadow: 0 14px 30px rgba(37,211,102,.45);
        animation: none;
    }

@keyframes fabPulse {
    0%, 100% {
        box-shadow: 0 10px 24px rgba(37,211,102,.35);
    }

    50% {
        box-shadow: 0 10px 24px rgba(37,211,102,.35), 0 0 0 12px rgba(37,211,102,0);
    }
}

/* ---------- Back to top ---------- */
.fab-top {
    background: linear-gradient(135deg, var(--gcp-green), var(--gcp-green-dark));
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    font-size: 1.8rem;
}

    .fab-top.is-visible {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .fab-top:hover {
        transform: translateY(-3px) scale(1.06);
        box-shadow: 0 14px 30px rgba(11,110,79,.45);
    }

/* ---------- Tooltip ---------- */
.fab-tooltip {
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%) translateX(6px);
    background: #0f172a;
    color: #fff;
    font-size: .78rem;
    font-weight: 600;
    padding: .45rem .75rem;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s, transform .2s;
    letter-spacing: .2px;
}

    .fab-tooltip::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 100%;
        transform: translateY(-50%);
        border: 6px solid transparent;
        border-left-color: #0f172a;
    }

.fab:hover .fab-tooltip {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 575.98px) {
    .fab-stack {
        right: 14px;
        bottom: 14px;
        gap: 10px;
    }

    .fab {
        width: 48px;
        height: 48px;
        font-size: 1.4rem;
    }

    .fab-top {
        font-size: 1.55rem;
    }

    .fab-tooltip {
        display: none;
    }
}

/* ---------- Accessibility: reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    .fab,
    .fab-whatsapp {
        animation: none;
        transition: none;
    }
}