/* ==========================================================================
   NIMS Kohat - Main Stylesheet
   ========================================================================== */

/* Fonts
   ========================================================================== */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/poppins-400.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/poppins-500.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/poppins-600.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/poppins-700.woff2) format("woff2"); }

/* Tokens
   ========================================================================== */
:root {
    --navy: #094f2b;
    --navy-2: #0b6b3a;
    --navy-3: #0d7d45;
    --green: #0b6b3a;
    --green-dark: #094f2b;
    --green-light: #1fa15a;
    --green-soft: #e8f5ee;
    --mint: #a8ffc9;
    --gold: #a8ffc9;
    --light: #f5f5f5;
    --text: #4a5248;
    --heading: #0b6b3a;
    --border: #e3e8ef;
    --white: #fff;
    --radius: 12px;
    --shadow: 0 10px 30px rgba(9, 79, 43, .08);
    --shadow-lg: 0 18px 40px rgba(9, 79, 43, .16);
    --transition: all .3s ease;
}

/* Base
   ========================================================================== */
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
    font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.75;
    color: var(--text);
    background: var(--white);
}
h1, h2, h3, h4, h5, h6 { color: var(--heading); font-weight: 600; line-height: 1.3; }
a { color: var(--green); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--green-dark); }
img { max-width: 100%; }
::selection { background: var(--green); color: var(--white); }

.section { padding: 90px 0; }
.section-light { background: var(--light); }
.section-navy { background: var(--navy); color: rgba(255, 255, 255, .8); }
.section-navy .section-title { color: var(--white); }
.section-head { margin-bottom: 50px; }
.section-tag {
    display: inline-block;
    color: var(--green);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 10px;
    padding-left: 34px;
    position: relative;
}
.section-tag::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 24px;
    height: 2px;
    background: var(--gold);
}
.text-center .section-tag { padding: 0 34px; }
.text-center .section-tag::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    width: 24px;
    height: 2px;
    background: var(--gold);
}
.section-title { font-size: 34px; font-weight: 700; margin-bottom: 18px; }
.section-title--sm { font-size: 22px; }
.section-lead { max-width: 680px; margin: 0 auto; font-size: 16px; }
.rounded-img { border-radius: var(--radius); box-shadow: var(--shadow); }

/* Buttons
   ========================================================================== */
.btn { font-weight: 500; border-radius: 8px; padding: 10px 24px; transition: var(--transition); }
.btn-lg { padding: 13px 30px; font-size: 16px; }
.btn-sm { padding: 5px 14px; font-size: 13px; }
.btn i { margin-left: 4px; margin-right: 4px; }
.btn-primary-green { background: var(--green); color: var(--white); border: 2px solid var(--green); }
.btn-primary-green:hover, .btn-primary-green:focus { background: var(--green-dark); border-color: var(--green-dark); color: var(--white); }
.btn-navy { background: var(--navy); color: var(--white); border: 2px solid var(--navy); }
.btn-navy:hover, .btn-navy:focus { background: var(--navy-3); border-color: var(--navy-3); color: var(--white); }
.btn-accent { background: var(--gold); color: var(--navy); font-weight: 600; border: 0; }
.btn-accent:hover { background: #c9ffde; color: var(--navy); }
.btn-outline-light:hover { color: var(--navy); }

.badge-new {
    display: inline-block;
    background: #e53935;
    color: var(--white);
    font-size: 10px;
    font-weight: 600;
    line-height: 1;
    padding: 4px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    vertical-align: middle;
    animation: blink 1.4s infinite;
}
@keyframes blink { 50% { opacity: .45; } }

.link-arrow { font-weight: 600; font-size: 14px; }
.link-arrow i { margin-left: 6px; transition: var(--transition); }
.link-arrow:hover i { transform: translateX(4px); }

/* Top bar
   ========================================================================== */
.topbar { background: var(--navy); color: rgba(255, 255, 255, .8); font-size: 13px; padding: 8px 0; }
.topbar a { color: rgba(255, 255, 255, .85); }
.topbar a:hover { color: var(--gold); }
.topbar-info li { margin-right: 24px; }
.topbar-info i { color: var(--gold); margin-right: 8px; }

.social-links { gap: 8px; }
.social-links a {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    color: var(--white);
    font-size: 13px;
}
.social-links a:hover { background: var(--green); color: var(--white); }

/* Header / Navbar
   ========================================================================== */
.site-header {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1030;
    transition: var(--transition);
    border-bottom: 1px solid var(--border);
}
.site-header.is-scrolled { box-shadow: 0 6px 20px rgba(9, 79, 43, .1); }
.site-header .navbar { padding: 12px 0; }
.brand-logo { width: 62px; height: 62px; margin-right: 12px; transition: var(--transition); }
.site-header.is-scrolled .brand-logo { width: 50px; height: 50px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { color: var(--navy); font-weight: 700; font-size: 16px; }
.brand-sub {
    color: var(--green);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-top: 3px;
}
.navbar-toggler {
    border: 0;
    color: var(--navy);
    font-size: 24px;
    padding: 4px 8px;
}
.navbar-toggler:focus { box-shadow: none; }
.navbar-nav .nav-link {
    color: var(--navy);
    font-weight: 500;
    padding: 10px 16px !important;
    position: relative;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active,
.navbar-nav .nav-link.show { color: var(--green); }
.dropdown-menu {
    border: 0;
    border-top: 3px solid var(--green);
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 8px 0;
    min-width: 240px;
}
.dropdown-item { padding: 9px 20px; font-size: 14px; color: var(--navy); }
.dropdown-item i { width: 22px; color: var(--green); }
.dropdown-item:hover, .dropdown-item:focus { background: var(--green-soft); color: var(--green-dark); }
.nav-cta { margin-left: 10px; }

@media (min-width: 992px) {
    .navbar-nav .nav-link::after { display: none; }
    .navbar-nav .dropdown-toggle::before {
        content: "\f107";
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        font-size: 11px;
        position: absolute;
        right: 2px;
        top: 50%;
        transform: translateY(-50%);
    }
    .navbar-nav .nav-item.dropdown .nav-link { padding-right: 18px !important; }
    .navbar-nav .dropdown:hover > .dropdown-menu {
        display: block;
        margin-top: 0;
        animation: dropIn .25s ease;
    }
}
@keyframes dropIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

@media (max-width: 991.98px) {
    .brand-logo { width: 50px; height: 50px; }
    .brand-name { font-size: 14px; }
    .navbar-collapse { border-top: 1px solid var(--border); margin-top: 12px; padding: 8px 0 14px; }
    .navbar-nav .nav-link { padding: 10px 4px !important; }
    .dropdown-menu { box-shadow: none; border-top: 0; background: var(--light); }
    .nav-cta { margin: 10px 0 0; }
}

/* Hero
   ========================================================================== */
.hero .carousel-item { height: 640px; background: var(--navy); }
.hero-img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, rgba(9, 79, 43, .92) 0%, rgba(9, 79, 43, .7) 45%, rgba(9, 79, 43, .15) 100%);
}
.hero-content { max-width: 640px; color: var(--white); }
.hero-subtitle {
    display: inline-block;
    background: var(--green);
    color: var(--white);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 30px;
    margin-bottom: 18px;
}
.hero-title { color: var(--white); font-size: 46px; font-weight: 700; margin-bottom: 18px; }
.hero-text { font-size: 17px; color: rgba(255, 255, 255, .85); margin-bottom: 28px; }
.carousel-item.active .hero-content > * { animation: fadeUp .8s ease both; }
.carousel-item.active .hero-title { animation-delay: .15s; }
.carousel-item.active .hero-text { animation-delay: .3s; }
.carousel-item.active .hero-content > div { animation-delay: .45s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
.hero .carousel-control-prev,
.hero .carousel-control-next {
    width: 50px;
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    background: rgba(255, 255, 255, .15);
    margin: 0 20px;
    opacity: 1;
    font-size: 18px;
}
.hero .carousel-control-prev:hover,
.hero .carousel-control-next:hover { background: var(--green); }
.hero .carousel-indicators [data-bs-target] { width: 30px; height: 4px; border-radius: 2px; }
.hero .carousel-indicators .active { background: var(--gold); }

@media (max-width: 991.98px) {
    .hero .carousel-item { height: 520px; }
    .hero-title { font-size: 34px; }
    .hero .carousel-control-prev, .hero .carousel-control-next { display: none; }
}
@media (max-width: 575.98px) {
    .hero .carousel-item { height: 500px; }
    .hero-title { font-size: 27px; }
    .hero-text { font-size: 15px; }
    .hero-overlay { background: rgba(9, 79, 43, .8); }
}

/* Feature strip
   ========================================================================== */
.feature-strip { position: relative; z-index: 5; margin-top: -60px; }
.feature-box {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    background: var(--green);
    color: rgba(255, 255, 255, .88);
    padding: 30px 28px;
    height: 100%;
}
.feature-box--alt { background: var(--navy-2); }
.feature-box i { font-size: 38px; color: var(--gold); }
.feature-box h3 { color: var(--white); font-size: 19px; margin-bottom: 6px; }
.feature-box p { margin: 0; font-size: 14px; line-height: 1.6; }
.feature-strip .col-md-4:first-child .feature-box { border-radius: var(--radius) 0 0 var(--radius); }
.feature-strip .col-md-4:last-child .feature-box { border-radius: 0 var(--radius) var(--radius) 0; }
@media (max-width: 767.98px) {
    .feature-strip { margin-top: 0; }
    .feature-strip .col-md-4 .feature-box { border-radius: 0 !important; }
}

/* About intro
   ========================================================================== */
.about-images { position: relative; padding: 0 60px 60px 0; }
.about-img-main { width: 100%; height: 430px; object-fit: cover; border-radius: var(--radius); }
.about-img-small {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 52%;
    height: 220px;
    object-fit: cover;
    border-radius: var(--radius);
    border: 8px solid var(--white);
    box-shadow: var(--shadow-lg);
}
.about-badge {
    position: absolute;
    left: 24px;
    bottom: 84px;
    background: var(--gold);
    color: var(--navy);
    padding: 16px 22px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
}
.about-badge strong { display: block; font-size: 26px; line-height: 1; }
.about-badge span { font-size: 12px; font-weight: 600; }
@media (max-width: 575.98px) {
    .about-images { padding: 0 0 40px; }
    .about-img-main { height: 300px; }
    .about-img-small { height: 150px; }
}

.check-list { list-style: none; padding: 0; margin: 0 0 28px; }
.check-list li { position: relative; padding-left: 32px; margin-bottom: 10px; color: var(--heading); font-weight: 500; }
.check-list li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 3px;
    width: 22px;
    height: 22px;
    font-size: 11px;
    line-height: 22px;
    text-align: center;
    border-radius: 50%;
    background: var(--green-soft);
    color: var(--green);
}
.check-list--career li::before { content: "\f0b1"; background: #fff6dc; color: #b98600; }

/* Department cards
   ========================================================================== */
.dept-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}
.dept-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.dept-card-img { position: relative; display: block; overflow: hidden; }
.dept-card-img img { width: 100%; height: 200px; object-fit: cover; transition: transform .6s ease; }
.dept-card:hover .dept-card-img img { transform: scale(1.08); }
.dept-card-icon {
    position: absolute;
    left: 20px;
    bottom: -26px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--green);
    color: var(--white);
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid var(--white);
}
.dept-card-img { overflow: visible; }
.dept-card-img img { border-radius: var(--radius) var(--radius) 0 0; }
.dept-card-body { padding: 40px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.dept-card-body h3 { font-size: 19px; margin-bottom: 8px; }
.dept-card-body h3 a { color: var(--navy); }
.dept-card-body h3 a:hover { color: var(--green); }
.dept-card-body p { font-size: 14px; line-height: 1.65; }
.dept-card-programs { font-size: 13px; margin-bottom: 16px; flex: 1; }
.dept-card-programs li { padding: 5px 0; border-top: 1px dashed var(--border); color: var(--heading); font-weight: 500; }
.dept-card-programs i { color: var(--green); margin-right: 8px; }

/* Stats
   ========================================================================== */
.stats-band {
    padding: 70px 0;
    background: linear-gradient(rgba(9, 79, 43, .9), rgba(9, 79, 43, .9)), url(../images/surgical-team.jpg) center / cover no-repeat fixed;
    color: var(--white);
}
.stat-item i { font-size: 34px; color: var(--gold); margin-bottom: 10px; }
.stat-number { font-size: 44px; font-weight: 700; line-height: 1.2; }
.stat-label { color: rgba(255, 255, 255, .75); font-size: 14px; text-transform: uppercase; letter-spacing: 1px; }
@media (max-width: 991.98px) { .stats-band { background-attachment: scroll; } }

/* Why cards
   ========================================================================== */
.why-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    height: 100%;
    transition: var(--transition);
}
.why-card i {
    width: 58px;
    height: 58px;
    border-radius: var(--radius);
    background: var(--green-soft);
    color: var(--green);
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    transition: var(--transition);
}
.why-card h3 { font-size: 18px; margin-bottom: 8px; }
.why-card p { font-size: 14px; margin: 0; line-height: 1.65; }
.why-card:hover { border-color: var(--green); box-shadow: var(--shadow); transform: translateY(-4px); }
.why-card:hover i { background: var(--green); color: var(--white); }
.why-card--dark { background: var(--navy-2); border-color: rgba(255, 255, 255, .08); }
.why-card--dark h3 { color: var(--white); }
.why-card--dark p { color: rgba(255, 255, 255, .72); }
.why-card--dark i { background: rgba(168, 255, 201, .12); color: var(--gold); }
.why-card--dark:hover i { background: var(--gold); color: var(--navy); }

/* Facility cards
   ========================================================================== */
.facility-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 100%;
    transition: var(--transition);
}
.facility-card img { width: 100%; height: 170px; object-fit: cover; }
.facility-card-body { padding: 18px 20px 20px; }
.facility-card h3 { font-size: 17px; margin-bottom: 6px; }
.facility-card h3 i { color: var(--green); margin-right: 8px; }
.facility-card p { font-size: 13.5px; line-height: 1.6; margin: 0; }
.facility-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.service-pill {
    background: var(--light);
    border-radius: 30px;
    padding: 10px 14px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: var(--navy);
}
.service-pill i { color: var(--green); margin-right: 8px; }

/* News & notices
   ========================================================================== */
.news-item {
    display: flex;
    gap: 20px;
    padding: 22px 0;
    border-bottom: 1px solid var(--border);
}
.news-item:last-child { border-bottom: 0; }
.news-date {
    flex: 0 0 104px;
    height: 88px;
    background: var(--navy);
    color: var(--white);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.3;
}
.news-date strong { font-size: 13px; color: var(--gold); }
.news-date span { font-size: 13px; }
.news-item h3 { font-size: 18px; margin-bottom: 6px; }
.news-item p { font-size: 14px; margin-bottom: 6px; }
@media (max-width: 575.98px) { .news-item { flex-direction: column; gap: 12px; } .news-date { width: 120px; height: 70px; } }

.notice-board {
    background: var(--light);
    border-radius: var(--radius);
    border-top: 4px solid var(--green);
    padding: 28px;
    height: 100%;
}
.notice-board h3 { font-size: 20px; margin-bottom: 18px; }
.notice-board h3 i { color: var(--green); margin-right: 8px; }
.notice-board li { padding: 12px 0 12px 22px; border-bottom: 1px dashed #cfd8e3; position: relative; font-size: 14px; }
.notice-board li:last-child { border-bottom: 0; }
.notice-board li i { position: absolute; left: 0; top: 17px; color: var(--green); }

/* Affiliations
   ========================================================================== */
.affiliations { padding: 60px 0; border-top: 1px solid var(--border); }
.affiliations .section-head { margin-bottom: 30px; }
.affiliation-item { text-align: center; max-width: 220px; }
.affiliation-item img { width: 110px; height: 110px; object-fit: contain; filter: grayscale(30%); transition: var(--transition); }
.affiliation-item:hover img { filter: none; transform: scale(1.05); }
.affiliation-item span { display: block; margin-top: 10px; font-size: 13px; font-weight: 500; color: var(--navy); line-height: 1.4; }

/* CTA band
   ========================================================================== */
.cta-band { background: var(--green); color: rgba(255, 255, 255, .9); padding: 44px 0; }
.cta-band h2 { color: var(--white); font-size: 28px; margin-bottom: 4px; }
.cta-band .btn-light { color: var(--green-dark); font-weight: 600; }

/* Footer
   ========================================================================== */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .7); padding-top: 70px; font-size: 14px; }
.footer-brand img { width: 60px; height: 60px; margin-right: 12px; }
.footer-brand span { color: var(--white); font-weight: 600; font-size: 16px; line-height: 1.3; }
.footer-brand small { display: block; color: var(--gold); font-size: 12px; letter-spacing: 3px; text-transform: uppercase; }
.footer-title {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 22px;
    padding-bottom: 12px;
    position: relative;
}
.footer-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 40px; height: 2px; background: var(--green); }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255, 255, 255, .7); }
.footer-links a::before {
    content: "\f105";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-right: 10px;
    color: var(--green);
}
.footer-links a:hover { color: var(--gold); padding-left: 4px; }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 14px; }
.footer-contact i { color: var(--green); margin-top: 5px; width: 16px; }
.footer-contact a { color: rgba(255, 255, 255, .7); }
.footer-contact a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 50px; padding: 20px 0; font-size: 13px; }

.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--green);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    z-index: 1040;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--navy); color: var(--white); }
.back-to-top { bottom: 86px; }

.wa-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #25d366;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 14px rgba(37, 211, 102, .45);
    z-index: 1040;
}
.wa-float:hover { color: var(--white); transform: scale(1.06); }

/* Page header (inner pages)
   ========================================================================== */
.page-header {
    padding: 90px 0 80px;
    background: linear-gradient(90deg, rgba(9, 79, 43, .94), rgba(9, 79, 43, .7)), url(../images/page-header.jpg) center / cover no-repeat;
    color: var(--white);
}
.page-header--about { background-image: linear-gradient(90deg, rgba(9, 79, 43, .94), rgba(9, 79, 43, .65)), url(../images/campus-building.jpg); }
.page-header--departments { background-image: linear-gradient(90deg, rgba(9, 79, 43, .94), rgba(9, 79, 43, .65)), url(../images/classroom.jpg); }
.page-header--contact { background-image: linear-gradient(90deg, rgba(9, 79, 43, .94), rgba(9, 79, 43, .65)), url(../images/e-learning.jpg); }
.page-header--nursing { background-image: linear-gradient(90deg, rgba(9, 79, 43, .94), rgba(9, 79, 43, .65)), url(../images/clinical-training.jpg); }
.page-header--medical-lab-technology { background-image: linear-gradient(90deg, rgba(9, 79, 43, .94), rgba(9, 79, 43, .65)), url(../images/research-lab.jpg); }
.page-header--dental-technology { background-image: linear-gradient(90deg, rgba(9, 79, 43, .94), rgba(9, 79, 43, .65)), url(../images/dental-technology.jpg); }
.page-header--anaesthesia { background-image: linear-gradient(90deg, rgba(9, 79, 43, .94), rgba(9, 79, 43, .65)), url(../images/surgical-team.jpg); }
.page-header--radiology { background-image: linear-gradient(90deg, rgba(9, 79, 43, .94), rgba(9, 79, 43, .65)), url(../images/radiology.jpg); }
.page-header h1 { color: var(--white); font-size: 40px; font-weight: 700; margin-bottom: 10px; }
.page-header .breadcrumb-item, .page-header .breadcrumb-item a { color: rgba(255, 255, 255, .8); font-size: 14px; }
.page-header .breadcrumb-item a:hover { color: var(--gold); }
.page-header .breadcrumb-item.active { color: var(--gold); }
.page-header .breadcrumb-item + .breadcrumb-item::before { color: rgba(255, 255, 255, .5); }
@media (max-width: 767.98px) { .page-header { padding: 60px 0 50px; } .page-header h1 { font-size: 28px; } .section { padding: 64px 0; } .section-title { font-size: 27px; } }

/* About page
   ========================================================================== */
.vm-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 40px 34px;
    height: 100%;
    border-bottom: 4px solid var(--green);
}
.vm-card--alt { border-bottom-color: var(--gold); }
.vm-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--gold);
    font-size: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}
.vm-card h3 { font-size: 24px; }
.vm-card p { font-size: 16px; margin: 0; }
.values-box { background: var(--navy); border-radius: var(--radius); padding: 34px; text-align: center; }
.values-box h3 { color: var(--white); margin-bottom: 22px; }
.value-item {
    background: rgba(255, 255, 255, .06);
    border-radius: var(--radius);
    color: var(--white);
    padding: 18px 10px;
    font-weight: 500;
    font-size: 14px;
    height: 100%;
}
.value-item i { display: block; color: var(--gold); font-size: 24px; margin-bottom: 8px; }

.principal-photo { position: relative; padding: 0 0 20px 20px; }
.principal-photo::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 75%;
    height: 75%;
    background: var(--green);
    border-radius: var(--radius);
}
.principal-photo img { position: relative; border-radius: var(--radius); width: 100%; height: 400px; object-fit: cover; }
.message-quote {
    position: relative;
    font-size: 16px;
    padding-left: 26px;
    border-left: 4px solid var(--gold);
    font-style: italic;
}
.message-name strong { display: block; color: var(--navy); font-size: 18px; }
.message-name span { font-size: 14px; }

.society-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    padding: 36px 26px;
    height: 100%;
    transition: var(--transition);
}
.society-card i { font-size: 38px; color: var(--green); margin-bottom: 14px; }
.society-card h3 { font-size: 19px; }
.society-card p { margin: 0; font-size: 14px; }
.society-card:hover { transform: translateY(-5px); background: var(--navy); }
.society-card:hover h3 { color: var(--white); }
.society-card:hover p { color: rgba(255, 255, 255, .75); }
.society-card:hover i { color: var(--gold); }

/* Departments page
   ========================================================================== */
.dept-row { padding: 40px 0; border-bottom: 1px solid var(--border); }
.dept-row:last-child { border-bottom: 0; }
.dept-row-img { display: block; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.dept-row-img img { width: 100%; height: 330px; object-fit: cover; transition: transform .6s ease; }
.dept-row-img:hover img { transform: scale(1.05); }
.dept-row-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius);
    background: var(--green-soft);
    color: var(--green);
    font-size: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}
.dept-row-title { font-size: 26px; }
.dept-row-title a { color: var(--navy); }
.dept-row-title a:hover { color: var(--green); }
.program-table { font-size: 14px; }
.program-table thead th { background: var(--navy); color: var(--white); font-weight: 500; border: 0; }
.program-table td { color: var(--heading); }

.step-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px 26px;
    box-shadow: var(--shadow);
    position: relative;
    height: 100%;
}
.step-no { font-size: 44px; font-weight: 700; color: var(--green-soft); line-height: 1; display: block; margin-bottom: 8px; -webkit-text-stroke: 1px var(--green); }
.step-card h3 { font-size: 18px; }
.step-card p { margin: 0; font-size: 14px; }

/* Department detail
   ========================================================================== */
.dept-hero-img { width: 100%; height: 420px; object-fit: cover; }
@media (max-width: 575.98px) { .dept-hero-img { height: 240px; } .dept-row-img img { height: 230px; } }
.program-box {
    background: var(--light);
    border-left: 4px solid var(--green);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 24px 26px;
    margin-bottom: 18px;
}
.program-box h3 { font-size: 19px; margin-bottom: 16px; }
.program-box h3 i { color: var(--green); margin-right: 10px; }
.program-label { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--green-dark); font-weight: 600; }
.program-value { display: block; color: var(--heading); font-weight: 500; }
.gallery-img { width: 100%; height: 160px; object-fit: cover; border-radius: var(--radius); }
@media (max-width: 575.98px) { .gallery-img { height: 90px; } }
.dept-gallery-item { margin: 0; }
.dept-gallery-item figcaption { font-size: 13px; font-weight: 500; color: var(--heading); text-align: center; margin-top: 8px; line-height: 1.4; }
.status-badge { display: inline-block; background: #fff4e0; color: #8a5300; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 20px; }

.sidebar-box {
    background: var(--light);
    border-radius: var(--radius);
    padding: 28px;
    margin-bottom: 24px;
}
.sidebar-box h3 { font-size: 20px; margin-bottom: 16px; }
.sidebar-links li { margin-bottom: 8px; }
.sidebar-links a {
    display: flex;
    align-items: center;
    background: var(--white);
    color: var(--navy);
    font-weight: 500;
    padding: 12px 16px;
    border-radius: 8px;
}
.sidebar-links a i { width: 28px; color: var(--green); }
.sidebar-links a:hover, .sidebar-links a.active { background: var(--green); color: var(--white); }
.sidebar-links a:hover i, .sidebar-links a.active i { color: var(--white); }
.sidebar-box--cta { background: var(--navy); color: rgba(255, 255, 255, .8); text-align: center; position: sticky; top: 110px; }
.sidebar-box--cta > i { font-size: 42px; color: var(--gold); margin-bottom: 10px; }
.sidebar-box--cta h3 { color: var(--white); }

/* Contact page
   ========================================================================== */
.contact-card {
    text-align: center;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 32px 22px;
    height: 100%;
    border-bottom: 3px solid var(--green);
}
.contact-card i {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--green-soft);
    color: var(--green);
    font-size: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}
.contact-card h3 { font-size: 18px; margin-bottom: 6px; }
.contact-card p { margin: 0; font-size: 14px; word-break: break-word; }
.contact-card a { color: var(--text); }
.contact-card a:hover { color: var(--green); }
.contact-form .form-label { font-weight: 500; color: var(--heading); font-size: 14px; }
.contact-form .form-control,
.contact-form .form-select { padding: 12px 16px; border-color: var(--border); border-radius: 8px; background-color: var(--light); }
.contact-form .form-control:focus,
.contact-form .form-select:focus { border-color: var(--green); box-shadow: 0 0 0 .2rem rgba(11, 107, 58, .15); background-color: var(--white); }
.req { color: #e53935; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert i { margin-right: 6px; }
.map-box { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); height: 380px; }
.map-box iframe { width: 100%; height: 100%; border: 0; display: block; }
.contact-note { background: var(--navy); color: rgba(255, 255, 255, .8); border-radius: var(--radius); padding: 24px; margin-top: 24px; }
.contact-note h3 { color: var(--white); font-size: 17px; }
.contact-note h3 i { color: var(--gold); margin-right: 8px; }

/* Error page
   ========================================================================== */
.error-page { padding: 120px 0; }
.error-code { display: block; font-size: 120px; font-weight: 700; color: var(--green); line-height: 1; margin-bottom: 10px; }
.error-page .section-lead { margin-bottom: 24px; }

/* Scroll reveal
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .badge-new, .carousel-item.active .hero-content > * { animation: none; }
}

/* Homepage (green design)
   ========================================================================== */
.btn-pill { border-radius: 30px; }
.section-green { background: var(--green); color: rgba(255, 255, 255, .82); }
.section-green .section-title { color: var(--white); }
.section-green .section-tag { color: var(--mint); }

.home-hero {
    position: relative;
    overflow: hidden;
    text-align: center;
    color: var(--white);
    padding: 100px 0 80px;
    background: linear-gradient(135deg, rgba(11, 107, 58, .95) 55%, rgba(31, 161, 90, .9) 100%), url(../images/campus-building.jpg) center / cover no-repeat;
}
.home-hero::before, .home-hero::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .05); pointer-events: none; }
.home-hero::before { top: -60px; right: -80px; width: 320px; height: 320px; }
.home-hero::after { bottom: -80px; left: -100px; width: 280px; height: 280px; }
.home-hero .container { position: relative; z-index: 1; }
.home-hero-badge { display: inline-block; background: rgba(255, 255, 255, .18); padding: 6px 18px; border-radius: 30px; font-size: 13px; letter-spacing: 1px; margin-bottom: 18px; }
.home-hero-badge i { margin-right: 6px; color: var(--mint); }
.home-hero h1 { color: var(--white); font-size: 44px; font-weight: 700; line-height: 1.25; max-width: 880px; margin: 0 auto 14px; }
.home-hero h1 span { color: var(--mint); }
.home-hero p { font-size: 17px; color: rgba(255, 255, 255, .88); max-width: 600px; margin: 0 auto 30px; }
.home-hero .btn-light { color: var(--green); font-weight: 600; }
.home-hero .btn-outline-light:hover { color: var(--green); }
.home-hero-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px 48px; margin-top: 48px; }
.home-hero-stat .num { font-size: 32px; font-weight: 700; line-height: 1.2; }
.home-hero-stat .lbl { font-size: 13px; color: rgba(255, 255, 255, .78); }
@media (max-width: 767.98px) {
    .home-hero { padding: 70px 0 60px; }
    .home-hero h1 { font-size: 28px; }
    .home-hero p { font-size: 15px; }
    .home-hero-stats { gap: 18px 30px; }
    .home-hero-stat .num { font-size: 26px; }
}

.mvv-card { background: var(--light); border-left: 3px solid var(--green); border-radius: 10px; padding: 16px; height: 100%; }
.mvv-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.mvv-card p { font-size: 13px; line-height: 1.55; margin: 0; }

.program-group-title { font-size: 20px; margin-bottom: 20px; }
.program-group-title i { margin-right: 8px; color: var(--green-light); }
.program-group-title small { font-size: 14px; color: var(--text); font-weight: 500; }
.prog-card {
    display: block;
    height: 100%;
    background: var(--white);
    border: 1px solid #e0e0e0;
    border-radius: var(--radius);
    padding: 24px 16px;
    text-align: center;
    color: var(--text);
    transition: var(--transition);
}
a.prog-card:hover { border-color: var(--green); transform: translateY(-4px); box-shadow: 0 8px 24px rgba(11, 107, 58, .12); color: var(--text); }
.prog-icon { width: 52px; height: 52px; border-radius: 12px; background: var(--green-soft); color: var(--green); font-size: 22px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 12px; flex-shrink: 0; }
.prog-card h4 { font-size: 15px; font-weight: 700; color: #222; margin-bottom: 4px; }
.prog-card p { font-size: 13px; color: #888; margin-bottom: 10px; }
.prog-tag { display: inline-block; background: var(--green-soft); color: var(--green); font-size: 11px; font-weight: 600; padding: 3px 12px; border-radius: 20px; margin: 2px; }
.prog-tag--pending { background: #fff4e0; color: #8a5300; }
.prog-tag i { margin-right: 4px; }
.prog-card--row { display: flex; align-items: center; gap: 16px; text-align: left; padding: 20px; }
.prog-card--row .prog-icon { margin-bottom: 0; }
.prog-card--row h4 { margin-bottom: 6px; }
.prog-note { font-size: 13px; color: #777; }
.diploma-list { display: flex; flex-wrap: wrap; }

.why-card--green { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .15); text-align: center; }
.why-card--green i { background: rgba(168, 255, 201, .15); color: var(--mint); margin-left: auto; margin-right: auto; }
.why-card--green h3 { color: var(--white); font-size: 16px; }
.why-card--green p { color: rgba(255, 255, 255, .75); }
.why-card--green:hover { border-color: var(--mint); }
.why-card--green:hover i { background: var(--mint); color: var(--green); }

.home-admissions { background: linear-gradient(135deg, var(--green), var(--green-light)); padding: 70px 0; color: var(--white); }
.adm-inner { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .2); border-radius: 16px; padding: 40px; }
.adm-badge { display: inline-block; background: var(--white); color: var(--green); font-weight: 700; font-size: 13px; padding: 5px 16px; border-radius: 20px; margin-bottom: 16px; animation: blink 2s infinite; }
.adm-inner h2 { color: var(--white); font-size: 28px; margin-bottom: 8px; }
.adm-inner p { color: rgba(255, 255, 255, .85); margin-bottom: 24px; }
.adm-step { background: rgba(255, 255, 255, .1); border-radius: 10px; padding: 14px; text-align: center; height: 100%; }
.adm-step-num { display: block; font-size: 20px; font-weight: 700; color: var(--mint); }
.adm-step span:last-child { font-size: 14px; }
.home-admissions .btn-light { color: var(--green); font-weight: 600; }
@media (max-width: 575.98px) { .adm-inner { padding: 24px 18px; } .adm-inner h2 { font-size: 22px; } }

.gallery-album-title { font-size: 19px; margin-bottom: 16px; padding-left: 12px; border-left: 4px solid var(--green-light); }
.gallery-item { margin: 0; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); height: 100%; }
.gallery-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item figcaption { padding: 10px 12px; font-size: 13px; font-weight: 600; color: var(--heading); text-align: center; line-height: 1.4; position: relative; background: var(--white); }

.info-item { display: flex; gap: 14px; align-items: flex-start; background: var(--light); border-radius: 10px; padding: 18px; height: 100%; }
.info-icon { width: 40px; height: 40px; border-radius: 8px; background: var(--green); color: var(--white); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.info-item h3 { font-size: 14px; font-weight: 700; margin-bottom: 2px; }
.info-item p { font-size: 13px; margin: 0; word-break: break-word; }
.info-item a { color: var(--text); }
.info-item a:hover { color: var(--green); }

@media (prefers-reduced-motion: reduce) { .adm-badge { animation: none; } }
