/* ============================================
   BISE LOHKOT AJK — MAIN STYLESHEET
   ============================================ */

:root {
    --primary: #0b6e3c;
    --primary-dark: #084d2a;
    --primary-light: #e8f5ee;
    --accent: #c99a2e;
    --accent-dark: #a87d1e;
    --text-dark: #1a1f1c;
    --text-muted: #5c6b63;
    --bg-soft: #f6f8f7;
    --border-soft: #e2e8e4;
    --radius: 10px;
    --shadow: 0 4px 20px rgba(11, 110, 60, 0.08);
    --shadow-hover: 0 10px 30px rgba(11, 110, 60, 0.14);
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text-dark);
    background: #fff;
}

a {
    text-decoration: none;
    transition: all 0.2s ease;
}

h1, h2, h3, h4, h5 {
    font-family: 'Poppins', 'Inter', sans-serif;
    font-weight: 700;
}

/* ============================================
   TOP BAR
   ============================================ */

.top-bar {
    background: var(--primary-dark);
    color: #fff;
    font-size: 13px;
    padding: 7px 0;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.top-bar a {
    color: #cfe8da;
}

.top-bar a:hover {
    color: #fff;
}

.top-bar span {
    margin-right: 22px;
}

.top-bar span:last-child {
    margin-right: 0;
}

.top-bar i {
    margin-right: 6px;
    color: var(--accent);
}

/* ============================================
   HEADER
   ============================================ */

.main-header {
    background: #fff;
    padding: 18px 0;
    border-bottom: 4px solid var(--accent);
}

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

.header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.site-logo {
    width: 68px !important;
    height: auto !important;
    display: block;
}

.header-text h1 {
    color: var(--primary-dark);
    font-size: 21px;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
    letter-spacing: 0.2px;
}

.header-text p {
    color: var(--text-muted);
    margin: 4px 0 0;
    font-size: 14px;
    font-weight: 500;
}

.header-right {
    text-align: right;
}

.header-right p {
    color: var(--text-dark);
    margin: 3px 0;
    font-size: 14px;
    font-weight: 500;
}

.header-right i {
    color: var(--primary);
    margin-right: 6px;
}

/* ============================================
   NAVBAR
   ============================================ */

.custom-navbar {
    background: var(--primary-dark);
}

.custom-navbar .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    padding: 15px 20px !important;
    font-weight: 600;
    font-size: 14.5px;
    letter-spacing: 0.2px;
}

.custom-navbar .nav-link:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.08);
}

.custom-navbar .nav-link.active {
    color: #fff !important;
    background: var(--accent-dark);
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.3) !important;
}

.navbar-toggler-icon {
    filter: invert(1);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero-section {
    position: relative;
    overflow: hidden;
    min-height: 420px;
    display: flex;
    align-items: center;
}

.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, rgba(8,77,42,0.94) 0%, rgba(11,110,60,0.82) 55%, rgba(11,110,60,0.55) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    color: #fff;
    padding: 90px 0;
}

.hero-content .eyebrow {
    display: inline-block;
    background: var(--accent);
    color: #1a1f1c;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.5px;
    padding: 6px 16px;
    border-radius: 30px;
    margin-bottom: 18px;
}

.hero-content h1 {
    font-size: 42px;
    line-height: 1.25;
    margin-bottom: 16px;
    max-width: 620px;
}

.hero-content p {
    font-size: 17px;
    color: rgba(255,255,255,0.9);
    max-width: 560px;
    margin-bottom: 28px;
}

.hero-btns a {
    display: inline-block;
    padding: 13px 28px;
    border-radius: 6px;
    font-weight: 600;
    margin-right: 12px;
    margin-bottom: 10px;
}

.hero-btn-primary {
    background: var(--accent);
    color: #1a1f1c !important;
}

.hero-btn-primary:hover {
    background: var(--accent-dark);
    color: #fff !important;
}

.hero-btn-outline {
    border: 1.5px solid rgba(255,255,255,0.6);
    color: #fff !important;
}

.hero-btn-outline:hover {
    background: rgba(255,255,255,0.12);
    border-color: #fff;
}

/* ============================================
   SECTION TITLES
   ============================================ */

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

.section-title .tag {
    display: inline-block;
    color: var(--primary);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.section-title h2 {
    color: var(--text-dark);
    font-size: 32px;
    margin-bottom: 10px;
}

.section-title p {
    color: var(--text-muted);
    font-size: 15.5px;
    max-width: 560px;
    margin: 0 auto;
}

/* ============================================
   SERVICE CARDS
   ============================================ */

.service-section {
    padding: 70px 0;
    background: var(--bg-soft);
}

.service-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.service-top {
    padding: 34px 26px 22px;
}

.service-top i {
    font-size: 34px;
    margin-bottom: 14px;
    display: block;
}

.service-top h2 {
    font-size: 20px;
    color: #fff;
    margin: 0;
}

.green-bg {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.green-bg i {
    color: var(--accent);
}

.orange-bg {
    background: linear-gradient(135deg, var(--accent-dark), var(--accent));
}

.orange-bg i {
    color: #fff;
}

.service-bottom {
    padding: 18px 26px;
    border-top: 1px solid var(--border-soft);
}

.service-bottom a {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 14.5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.service-bottom a:hover {
    color: var(--primary);
}

/* ============================================
   NOTICES
   ============================================ */

.notice-section {
    padding: 70px 0;
    background: #fff;
}

.notice-box {
    background: #fff;
    padding: 28px;
    border-radius: var(--radius);
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow);
    height: 100%;
    transition: box-shadow 0.2s ease;
}

.notice-box:hover {
    box-shadow: var(--shadow-hover);
}

.notice-date {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary-dark);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 12.5px;
    font-weight: 700;
    margin-bottom: 14px;
}

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

.notice-box p {
    color: var(--text-muted);
    font-size: 14.5px;
    margin: 0;
}

/* ============================================
   ABOUT + LINKS (HOME)
   ============================================ */

.about-section {
    padding: 70px 0;
    background: var(--bg-soft);
}

.about-box {
    background: #fff;
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
    height: 100%;
}

.about-box h2 {
    color: var(--text-dark);
    font-size: 27px;
    margin-bottom: 16px;
}

.about-box p {
    color: var(--text-muted);
    line-height: 1.75;
    font-size: 15.5px;
}

.about-image {
    border-radius: var(--radius);
}

.important-links {
    background: var(--primary-dark);
    border-radius: var(--radius);
    padding: 34px;
    height: 100%;
}

.important-links h2 {
    color: #fff;
    font-size: 22px;
    margin-bottom: 22px;
}

.important-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.important-links ul li {
    border-bottom: 1px solid rgba(255,255,255,0.12);
}

.important-links ul li:last-child {
    border-bottom: none;
}

.important-links ul li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255,255,255,0.88);
    padding: 13px 2px;
    font-weight: 500;
    font-size: 14.5px;
}

.important-links ul li a:hover {
    color: var(--accent);
    padding-left: 6px;
}

/* ============================================
   RESULT SEARCH (HOME)
   ============================================ */

.result-search {
    padding: 60px 0 80px;
    background: var(--bg-soft);
}

.result-box {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: var(--radius);
    padding: 46px;
    text-align: center;
    color: #fff;
}

.result-box h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.result-box p {
    margin-bottom: 26px;
    color: rgba(255,255,255,0.85);
}

.search-btn {
    width: 100%;
    height: 55px;
    border: none;
    border-radius: 6px;
    background: var(--accent);
    color: #1a1f1c;
    font-size: 16px;
    font-weight: 700;
}

.search-btn:hover {
    background: var(--accent-dark);
    color: #fff;
}

/* ============================================
   PAGE BANNER (INNER PAGES)
   ============================================ */

.page-banner {
    background: url('assets/images/bg.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}

.banner-overlay {
    background: linear-gradient(115deg, rgba(8,77,42,0.94) 0%, rgba(11,110,60,0.8) 100%);
    padding: 75px 0;
}

.banner-content {
    text-align: center;
    color: #fff;
}

.banner-content h1 {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 8px;
}

.banner-content p {
    font-size: 16px;
    color: rgba(255,255,255,0.85);
}

/* ============================================
   GENERIC PAGE / CARD STYLES
   ============================================ */

.about-page,
.contact-page,
.result-page,
.roll-slip-page,
.admission-page,
.info-page {
    padding: 70px 0;
    background: var(--bg-soft);
}

.about-content h2,
.contact-form-box h2,
.contact-info-box h2,
.result-card h2,
.roll-slip-card h2,
.admission-card h2,
.instruction-box h2,
.info-card h2 {
    color: var(--text-dark);
    margin-bottom: 18px;
    font-size: 30px;
}

.about-content p {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 16px;
}

.service-item,
.result-card,
.roll-slip-card,
.admission-card,
.instruction-box,
.contact-form-box,
.info-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.service-item {
    padding: 40px 22px;
    text-align: center;
    height: 100%;
}

.service-item i {
    font-size: 42px;
    color: var(--primary);
    margin-bottom: 18px;
}

.result-card,
.roll-slip-card,
.admission-card,
.contact-form-box,
.info-card {
    padding: 40px;
}

.result-card,
.admission-card {
    text-align: center;
}

.result-card p,
.roll-slip-card p,
.admission-card p {
    color: var(--text-muted);
    margin-bottom: 26px;
}

.roll-slip-card label,
.admission-card label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-dark);
}

.form-control,
.form-select {
    height: 52px;
    border-radius: 6px;
    border: 1px solid var(--border-soft);
    box-shadow: none !important;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
}

.textarea {
    height: 150px !important;
    resize: none;
    padding-top: 14px;
}

.result-btn,
.roll-btn,
.admission-btn,
.contact-btn {
    width: 100%;
    height: 54px;
    border: none;
    border-radius: 6px;
    background: var(--primary);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
}

.result-btn:hover,
.roll-btn:hover,
.admission-btn:hover,
.contact-btn:hover {
    background: var(--primary-dark);
}

.instruction-box {
    padding: 40px;
}

.instruction-box ul {
    padding-left: 20px;
    margin: 0;
}

.instruction-box ul li {
    margin-bottom: 13px;
    line-height: 1.7;
    color: var(--text-muted);
    font-size: 15px;
}

/* MISSION / VISION / VALUES (ABOUT PAGE) */

.mission-vision {
    padding: 60px 0;
}

.mission-box,
.vision-box {
    background: #fff;
    border-radius: var(--radius);
    padding: 38px;
    box-shadow: var(--shadow);
    height: 100%;
}

.mission-box h2,
.vision-box h2 {
    color: var(--primary);
    margin-bottom: 16px;
    font-size: 24px;
}

.mission-box p,
.vision-box p {
    line-height: 1.75;
    color: var(--text-muted);
}

.core-values {
    padding: 60px 0;
    background: var(--bg-soft);
}

.value-box {
    background: #fff;
    border: 1px solid var(--border-soft);
    color: var(--text-dark);
    text-align: center;
    padding: 26px 15px;
    font-weight: 600;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.value-box i {
    display: block;
    font-size: 26px;
    color: var(--primary);
    margin-bottom: 10px;
}

/* RESULT TABLE */

.student-result-box {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.result-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 22px 28px;
}

.result-header h2 {
    color: #fff;
    margin: 0;
    font-size: 24px;
}

.result-table {
    margin: 0;
}

.result-table th {
    background: var(--bg-soft);
    width: 30%;
    padding: 16px 20px;
    border: 1px solid var(--border-soft);
    color: var(--text-dark);
}

.result-table td {
    padding: 16px 20px;
    border: 1px solid var(--border-soft);
    color: var(--text-muted);
}

.pass {
    color: var(--primary);
    font-weight: 700;
}

.fail {
    color: #c0392b;
    font-weight: 700;
}

/* CONTACT INFO BOX */

.contact-info-box {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: var(--radius);
    padding: 40px;
    color: #fff;
    height: 100%;
}

.contact-info-box h2 {
    color: #fff;
    margin-bottom: 18px;
    font-size: 26px;
}

.contact-info-box p {
    line-height: 1.7;
    color: rgba(255,255,255,0.85);
}

.contact-item {
    display: flex;
    gap: 18px;
    margin-top: 26px;
}

.contact-item i {
    font-size: 22px;
    margin-top: 4px;
    color: var(--accent);
}

.contact-item h4 {
    margin-bottom: 6px;
    font-size: 15.5px;
    color: #fff;
}

.contact-item p {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    margin: 0;
}

/* INFO PAGES (Date Sheet / Syllabus / Model Papers / Affiliation) */

.info-card ul {
    padding-left: 20px;
}

.info-card ul li {
    margin-bottom: 12px;
    line-height: 1.7;
    color: var(--text-muted);
}

.download-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-soft);
    border: 1px solid var(--border-soft);
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 12px;
}

.download-row span {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 14.5px;
}

.download-row a {
    background: var(--primary);
    color: #fff;
    padding: 8px 18px;
    border-radius: 5px;
    font-size: 13.5px;
    font-weight: 600;
}

.download-row a:hover {
    background: var(--primary-dark);
}

/* ============================================
   FOOTER
   ============================================ */

.main-footer {
    background: var(--primary-dark);
    padding: 60px 0 20px;
    color: #fff;
}

.footer-box h3 {
    margin-bottom: 22px;
    font-size: 19px;
    color: #fff;
}

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

.footer-box ul li {
    margin-bottom: 13px;
}

.footer-box ul li a {
    color: rgba(255,255,255,0.75);
    font-size: 14.5px;
}

.footer-box ul li a:hover {
    color: var(--accent);
    padding-left: 4px;
}

.footer-box p {
    margin-bottom: 13px;
    line-height: 1.6;
    color: rgba(255,255,255,0.75);
    font-size: 14.5px;
}

.footer-box i {
    margin-right: 10px;
    color: var(--accent);
    width: 16px;
}

.copyright {
    border-top: 1px solid rgba(255,255,255,0.12);
    margin-top: 36px;
    padding-top: 20px;
    text-align: center;
    font-size: 13.5px;
    color: rgba(255,255,255,0.6);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {

    .top-bar .container {
        flex-direction: column;
        text-align: center;
    }

    .top-bar span {
        margin-right: 0;
    }

    .header-wrapper {
        flex-direction: column;
        text-align: center;
    }

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

    .site-logo {
        width: 55px !important;
    }

    .header-text h1 {
        font-size: 17px;
    }

    .hero-content {
        padding: 60px 0;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 28px;
        max-width: 100%;
    }

    .hero-content p {
        max-width: 100%;
        font-size: 15px;
    }

    .banner-content h1 {
        font-size: 28px;
    }

    .section-title h2 {
        font-size: 25px;
    }

    .about-box,
    .important-links,
    .result-box,
    .result-card,
    .roll-slip-card,
    .admission-card,
    .instruction-box,
    .contact-form-box,
    .contact-info-box,
    .info-card {
        padding: 26px;
    }

    .about-content h2,
    .result-card h2,
    .roll-slip-card h2,
    .admission-card h2,
    .contact-form-box h2,
    .contact-info-box h2,
    .info-card h2 {
        font-size: 24px;
    }

    .contact-item {
        flex-direction: column;
        gap: 8px;
    }

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

    .download-row {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

}
