﻿body {
    font-family: 'Noto Sans Devanagari', sans-serif;
    background-color: #f4f7fa;
    color: #333;
    overflow-x: hidden;
}

/* Custom Theme Colors */
.bg-primary-dark {
    background-color: #0d233a !important;
}

.text-primary-dark {
    color: #0d233a !important;
}

.btn-custom-blue {
    background-color: #1d4ed8;
    color: #fff;
    border-radius: 50rem;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

    .btn-custom-blue:hover {
        background-color: #1e40af;
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(29, 78, 216, 0.3);
    }

.btn-custom-success {
    background-color: #059669;
    color: #fff;
    border-radius: 50rem;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

    .btn-custom-success:hover {
        background-color: #047857;
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
    }

.btn-custom-purple {
    background-color: #6d28d9;
    color: #fff;
    border-radius: 50rem;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

    .btn-custom-purple:hover {
        background-color: #5b21b6;
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(109, 40, 217, 0.3);
    }

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(13, 35, 58, 0.94), rgba(30, 58, 138, 0.88)), url('https://placehold.co/1920x600/1e3a8a/ffffff?text=Tribal+Education+Portal') center/cover no-repeat!important;
    color: white;
    padding: 4rem 0;
    border-bottom: 5px solid #059669;
}

/* Leadership Cards */
.hover-top {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .hover-top:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 20px -5px rgba(0, 0, 0, 0.15) !important;
    }

/* Module Cards */
.module-card {
    border: none;
    border-radius: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    height: 100%;
}

    .module-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    }

.module-icon-box {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Quick Access Sidebar */
.quick-access-card {
    border: none;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.quick-access-item {
    transition: background-color 0.2s ease, transform 0.2s ease;
    border-bottom: 1px solid #f1f5f9;
}

    .quick-access-item:last-child {
        border-bottom: none;
    }

    .quick-access-item:hover {
        background-color: #f8fafc;
        padding-left: 1rem;
    }

/* Standards Cards */
.standard-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 1.25rem;
    transition: all 0.3s ease;
    height: 100%;
}

    .standard-card:hover {
        border-color: #3b82f6;
        box-shadow: 0 4px 12px rgba(59, 130, 246, 0.12);
    }

.standard-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    font-size: 1.25rem;
}

/* Single Item Projects Carousel Styling */
.projects-section {
    background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
    border-top: 1px solid #cbd5e1;
    border-bottom: 1px solid #cbd5e1;
}

.project-carousel-card {
    background: #ffffff;
    border-radius: 1.25rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin: 15px auto;
    max-width: 900px;
    transition: all 0.3s ease;
}

    .project-carousel-card:hover {
        box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.12);
    }

.project-img-wrapper {
    position: relative;
    height: 280px;
    overflow: hidden;
    background-color: #0d233a;
}

    .project-img-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

.project-carousel-card:hover .project-img-wrapper img {
    transform: scale(1.05);
}

/* Owl Navigation Customization */
.owl-theme .owl-nav {
    margin-top: 15px !important;
}

    .owl-theme .owl-nav [class*='owl-'] {
        background: #0d233a !important;
        color: #fff !important;
        font-size: 1.2rem !important;
        padding: 8px 18px !important;
        border-radius: 50px !important;
        transition: all 0.3s ease !important;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }

        .owl-theme .owl-nav [class*='owl-']:hover {
            background: #1d4ed8 !important;
            transform: translateY(-2px);
        }

.owl-theme .owl-dots .owl-dot span {
    width: 12px !important;
    height: 12px !important;
    margin: 5px 6px !important;
    background: #cbd5e1 !important;
    transition: all 0.3s ease;
}

.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
    background: #1d4ed8 !important;
    width: 28px !important;
    border-radius: 10px !important;
}

/* Impact Section */
.impact-section {
    background-color: #ffffff;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    padding: 2.5rem 0;
}

/* Footer Styling */
.footer-link {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s ease, padding-left 0.2s ease;
    font-size: 0.875rem;
    display: inline-block;
    margin-bottom: 0.5rem;
}

    .footer-link:hover {
        color: #38bdf8;
        padding-left: 4px;
    }

.social-btn {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

    .social-btn:hover {
        background-color: #1d4ed8;
        color: #fff;
        transform: translateY(-2px);
    }

/* Refined government portal visual system */
:root {
    --portal-navy: #102c46;
    --portal-blue: #1957ad;
    --portal-line: #dfe8f2;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #f5f8fc;
    color: #22344a;
    line-height: 1.65;
}

.container {
    max-width: 1220px;
}

.bg-primary-dark {
    background-color: var(--portal-navy) !important;
}

.navbar {
    border-bottom: 3px solid #d8ac58;
}

.navbar-brand {
    min-width: 0;
    white-space: normal;
}

    .navbar-brand > div:last-child {
        max-width: 440px;
    }

    .navbar-brand .fs-6 {
        line-height: 1.35 !important;
    }

.navbar .nav-link {
    font-size: .87rem;
    transition: color .2s;
}

    .navbar .nav-link:hover {
        color: #fff !important;
    }

.hero-section {
    background: linear-gradient(115deg,#102c46 0%,#174677 68%,#1a5b79 100%);
    padding: 4.25rem 0;
    border-bottom: 4px solid #d8ac58;
}

    .hero-section h1 {
        letter-spacing: -.025em;
        line-height: 1.38 !important;
    }

    .hero-section .card {
        backdrop-filter: blur(8px);
    }

        .hero-section .card img {
            border-radius: 12px;
        }

section[id], main[id], div[id="standards"] {
    scroll-margin-top: 90px;
}

h2, h3, h4, h5 {
    line-height: 1.5;
}

.module-card, .quick-access-card, .standard-card, .hover-top {
    border: 1px solid var(--portal-line) !important;
    box-shadow: 0 5px 20px rgba(20,47,75,.045) !important;
}

.module-card {
    padding: 1.65rem !important;
    border-top-width: 4px !important;
}

    .module-card .module-icon-box {
        width: 54px;
        height: 54px;
    }

.quick-access-card {
    padding: 1.6rem !important;
}

.projects-section {
    background: #edf3fa;
    border-color: #dee8f1;
}

.project-owl-carousel .owl-stage {
    display: flex;
    align-items: stretch;
}

.project-owl-carousel .owl-item {
    display: flex;
    height: auto;
}

    .project-owl-carousel .owl-item .item {
        width: 100%;
        display: flex;
    }

.project-carousel-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: none;
    margin: 8px 0 15px;
    border: 1px solid #dfe7f1;
    border-radius: 16px;
    box-shadow: 0 5px 18px rgba(16,44,70,.07);
}

.project-card-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.project-card-media {
    flex: 0 0 auto;
}

.project-img-wrapper {
    height: 178px;
    background: #d9e5f0;
}

    .project-img-wrapper img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .project-img-wrapper .badge {
        font-size: .69rem;
        font-weight: 600;
        padding: .45rem .65rem !important;
        margin: 12px !important;
        border-radius: 6px !important;
    }

.project-card-body {
    padding: 1.3rem 1.35rem 1.45rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

    .project-card-body h3 {
        font-size: 1.08rem !important;
        font-weight: 700;
        line-height: 1.5;
        margin-bottom: .6rem !important;
    }

    .project-card-body p {
        font-size: .81rem !important;
        line-height: 1.7 !important;
        margin-bottom: 1.2rem !important;
    }

    .project-card-body > div:first-child {
        font-size: .72rem !important;
        margin-bottom: .55rem !important;
    }

    .project-card-body a.btn {
        margin-top: auto;
        padding: .55rem 1rem !important;
        font-size: .78rem;
        border-radius: 9px !important;
    }

.project-owl-carousel .owl-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 12px !important;
}

    .project-owl-carousel .owl-nav button {
        min-width: 49px;
        min-height: 42px;
        padding: 8px 14px !important;
        border-radius: 10px !important;
    }

.project-owl-carousel .owl-dots {
    margin-top: 12px;
}

.standard-card {
    border-radius: 13px;
}

.btn-custom-blue, .btn-custom-purple, .btn-custom-success {
    border-radius: 10px;
}

@media(max-width:991.98px) {
    .navbar-brand .fs-6 {
        font-size: .9rem !important;
    }

    .hero-section {
        padding: 3rem 0;
    }
}

@media(max-width:575.98px) {
    .container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .navbar-brand {
        gap: .6rem !important;
    }

        .navbar-brand .fs-6 {
            font-size: .77rem !important;
        }

        .navbar-brand .small {
            font-size: .63rem !important;
        }

    .hero-section h1 {
        font-size: 1.85rem;
    }

    .hero-section {
        padding: 2.5rem 0;
    }

    .project-img-wrapper {
        height: 190px;
    }

    .project-card-body {
        padding: 1.2rem;
    }
}


/* === Maroon / amber government portal refresh === */
:root {
    --portal-navy: #101729;
    --portal-gold: #ffba32;
    --portal-orange: #ff7835;
    --portal-maroon: #6e0b38;
    --portal-ink: #17243c;
    --portal-line: #e7e9f0
}

body {
    background: #f8f9fc;
    color: #23324a
}

.bg-primary-dark {
    background: #101729 !important
}

.navbar {
    border-bottom: 3px solid #f5a331 !important;
    padding-top: 14px !important;
    padding-bottom: 14px !important
}

    .navbar .nav-link {
        font-weight: 600 !important;
        color: #e8eaf0 !important
    }

        .navbar .nav-link:hover, .navbar .nav-link.active {
            color: #ffc25d !important
        }

    .navbar .btn-outline-light {
        background: linear-gradient(110deg,#f56735,#ff9b19);
        border: 0;
        box-shadow: 0 6px 18px rgba(255,121,42,.28);
        font-weight: 700
    }

.hero-section {
    position: relative;
    padding: 91px 0 135px !important;
    background: radial-gradient(circle at 100% 100%,rgba(255,223,57,.95) 0,transparent 35%),radial-gradient(circle at 0 0,rgba(255,118,44,.54) 0,transparent 40%),linear-gradient(110deg,#7c2635 0%,#650b38 47%,#842d42 72%,#b45e32 100%) !important;
    border-bottom: 0 !important;
    overflow: hidden
}

    .hero-section:before {
        content: "";
        position: absolute;
        inset: 0;
        opacity: .17;
        pointer-events: none;
        background-image: linear-gradient(rgba(255,255,255,.28) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.28) 1px,transparent 1px);
        background-size: 26px 26px
    }

.hero-container {
    position: relative;
    z-index: 1
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    border: 1px solid rgba(255,180,76,.3);
    border-radius: 40px;
    padding: 9px 16px;
    color: #ffc167;
    background: rgba(255,187,73,.09);
    font-size: .82rem;
    font-weight: 700;
    margin-bottom: 24px
}

.hero-heading {
    font-weight: 800;
    font-size: clamp(2.15rem,3.15vw,3.55rem);
    line-height: 1.35 !important;
    color: #fff;
    letter-spacing: 0 !important;
    margin-bottom: 20px
}

    .hero-heading span {
        color: #ffbd37
    }

.hero-subtitle {
    color: #ffe9e0;
    border-left: 4px solid #ff8b43;
    padding-left: 18px;
    line-height: 2;
    font-size: 1rem;
    max-width: 710px
}

.btn-portal-orange {
    background: linear-gradient(125deg,#f36c35,#ffac18);
    border: 0;
    color: #fff;
    font-weight: 700;
    padding: 13px 24px;
    border-radius: 9px;
    box-shadow: 0 8px 24px rgba(255,112,34,.25)
}

    .btn-portal-orange:hover {
        color: #fff;
        filter: brightness(1.07);
        transform: translateY(-2px)
    }

.btn-portal-outline {
    border: 1px solid rgba(255,255,255,.3);
    color: #fff;
    background: #1d2538;
    border-radius: 9px;
    padding: 13px 24px;
    font-weight: 700
}

    .btn-portal-outline:hover {
        background: #2b3143;
        color: #fff
    }

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    margin-top: 29px;
    color: rgba(255,255,255,.86);
    font-size: .78rem
}

    .hero-points i {
        color: #ffc45f;
        margin-right: 5px
    }

.hero-dashboard {
    background: linear-gradient(140deg,rgba(37,24,45,.95),rgba(44,40,45,.92));
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 25px;
    padding: 22px;
    box-shadow: 0 25px 55px rgba(45,7,34,.2)
}

.dashboard-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,.1);
    padding-bottom: 16px;
    margin-bottom: 16px
}

.dashboard-dots {
    display: flex;
    gap: 7px
}

    .dashboard-dots i {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: #f34f65
    }

        .dashboard-dots i:nth-child(2) {
            background: #f8c631
        }

        .dashboard-dots i:nth-child(3) {
            background: #25bc72
        }

.dashboard-tag {
    font-size: .7rem;
    color: #ffcf8d;
    background: #744536;
    border-radius: 30px;
    padding: 5px 10px
}

.dashboard-title {
    display: flex;
    align-items: center;
    gap: 9px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px
}

    .dashboard-title span {
        margin-left: auto;
        color: #aeb8c6;
        font-size: .58rem;
        letter-spacing: 1px
    }

    .dashboard-title > i {
        color: #ffbd57
    }

.dashboard-tile {
    display: flex;
    align-items: center;
    gap: 13px;
    border: 1px solid rgba(255,255,255,.065);
    background: rgba(30,35,51,.64);
    border-radius: 15px;
    padding: 17px 13px;
    margin-bottom: 11px;
    color: #fff;
    min-height: 83px
}

.dashboard-icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 43px;
    height: 43px;
    border-radius: 11px;
    font-size: 1.1rem
}

    .dashboard-icon.orange {
        background: rgba(255,171,73,.15);
        color: #ffc26d
    }

    .dashboard-icon.green {
        background: rgba(43,204,139,.12);
        color: #5cdca4
    }

    .dashboard-icon.purple {
        background: rgba(179,143,255,.14);
        color: #d6b4ff
    }

.dashboard-tile small {
    display: block;
    color: #aeb9c7;
    font-size: .72rem;
    margin-bottom: 5px
}

.dashboard-tile strong {
    display: block;
    font-size: .94rem
}

.dashboard-check {
    color: #35cb86;
    margin-left: auto
}

.dashboard-bottom {
    text-align: center;
    color: #9ea9b8;
    font-size: .75rem;
    margin-top: 18px
}

    .dashboard-bottom i {
        color: #e8ae49;
        margin-right: 5px
    }

.overview-wrap {
    position: relative;
    z-index: 4;
    margin-top: -68px;
    margin-bottom: 32px
}

.overview-strip {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 15px;
    background: #fff;
    box-shadow: 0 19px 42px rgba(26,38,65,.13);
    border-radius: 22px;
    padding: 24px
}

.overview-item {
    display: flex;
    align-items: center;
    gap: 13px;
    background: #f8f9fb;
    border: 1px solid #eceef1;
    padding: 17px 12px;
    border-radius: 14px;
    min-width: 0
}

    .overview-item strong {
        display: block;
        font-size: .88rem;
        color: #17243a
    }

    .overview-item span {
        display: block;
        font-size: .7rem;
        color: #b56742;
        margin-top: 3px
    }

.overview-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 12px;
    font-size: 1.1rem
}

    .overview-icon.peach {
        background: #ffede1;
        color: #e47e41
    }

    .overview-icon.mint {
        background: #e2f4ec;
        color: #329a73
    }

    .overview-icon.lilac {
        background: #eee8f8;
        color: #8160a3
    }

    .overview-icon.gold {
        background: #fff1d8;
        color: #cc962b
    }

.section-head {
    text-align: center;
    margin-bottom: 25px
}

.section-kicker {
    display: inline-block;
    font-size: .78rem;
    font-weight: 700;
    color: #a14e2f;
    background: #fff2e5;
    padding: 6px 15px;
    border-radius: 30px
}

.section-head h2 {
    font-size: 1.65rem;
    margin: 11px 0 4px;
    font-weight: 800;
    color: #1b2943
}

.section-head p {
    color: #788294;
    font-size: .84rem
}

.quick-section {
    padding: 32px 0 56px;
    background: #f8f9fc
}

.quick-service {
    width: 100%;
    height: 100%;
    min-height: 108px;
    background: #fff;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1px solid #e9e7eb;
    border-radius: 17px;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(26,32,54,.045);
    transition: .2s
}

    .quick-service:hover {
        border-color: #e7ac76;
        box-shadow: 0 11px 30px rgba(34,32,45,.1);
        transform: translateY(-2px)
    }

.service-icon {
    background: #fff1e8;
    color: #ed8544;
    border-radius: 13px;
    width: 47px;
    height: 47px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    font-size: 1.1rem
}

.quick-service strong {
    display: block;
    color: #1b2943;
    font-size: .96rem
}

.quick-service small {
    display: block;
    color: #8990a1;
    margin-top: 5px;
    font-size: .76rem
}

.service-arrow {
    color: #df8a50;
    font-size: .8rem
}

#leadership {
    padding-top: 55px !important
}

    #leadership .hover-top {
        border-radius: 17px !important
    }

    #leadership .badge {
        font-weight: 600
    }

.projects-section {
    background: #f2f3f8 !important
}

    .projects-section h2 {
        color: #1a2740
    }

.project-carousel-card {
    border: 1px solid #e8e5e7;
    box-shadow: 0 7px 23px rgba(39,29,39,.08)
}

.project-card-body a.btn {
    background: linear-gradient(110deg,#f16e37,#fb9b26) !important;
    color: #fff !important;
    border: none !important
}

.project-owl-carousel .owl-nav button {
    background: #1b2436 !important
}

    .project-owl-carousel .owl-nav button:hover {
        background: #a75035 !important
    }

.project-owl-carousel .owl-dot.active span {
    background: #f68d30 !important
}

@media(max-width:991.98px) {
    .hero-section {
        padding: 60px 0 112px !important
    }

    .overview-strip {
        grid-template-columns: repeat(2,minmax(0,1fr))
    }

    .hero-heading {
        font-size: 2.25rem
    }
}

@media(max-width:575.98px) {
    .hero-section {
        padding: 50px 0 93px !important
    }

    .hero-heading {
        font-size: 1.95rem
    }

    .hero-dashboard {
        padding: 15px;
        border-radius: 18px
    }

    .overview-wrap {
        margin-top: -50px
    }

    .overview-strip {
        grid-template-columns: 1fr 1fr;
        padding: 12px;
        gap: 9px
    }

    .overview-item {
        padding: 11px 9px;
        gap: 8px
    }

    .overview-icon {
        width: 35px;
        height: 35px;
        font-size: .85rem
    }

    .overview-item strong {
        font-size: .72rem
    }

    .overview-item span {
        font-size: .6rem
    }

    .dashboard-tile strong {
        font-size: .83rem
    }

    .hero-subtitle {
        font-size: .87rem
    }

    .hero-points {
        gap: 9px 13px
    }
}

</style > <style >
body {
    font-family: 'Noto Sans Devanagari', sans-serif;
    background-color: #f4f7fa;
    color: #333;
    overflow-x: hidden;
}

/* Custom Theme Colors */
.bg-primary-dark {
    background-color: #0d233a !important;
}

.text-primary-dark {
    color: #0d233a !important;
}

.btn-custom-blue {
    background-color: #1d4ed8;
    color: #fff;
    border-radius: 50rem;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

    .btn-custom-blue:hover {
        background-color: #1e40af;
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(29, 78, 216, 0.3);
    }

.btn-custom-success {
    background-color: #059669;
    color: #fff;
    border-radius: 50rem;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

    .btn-custom-success:hover {
        background-color: #047857;
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
    }

.btn-custom-purple {
    background-color: #6d28d9;
    color: #fff;
    border-radius: 50rem;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

    .btn-custom-purple:hover {
        background-color: #5b21b6;
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(109, 40, 217, 0.3);
    }

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(13, 35, 58, 0.94), rgba(30, 58, 138, 0.88)), url('https://placehold.co/1920x600/1e3a8a/ffffff?text=Tribal+Education+Portal') center/cover no-repeat;
    color: white;
    padding: 4rem 0;
    border-bottom: 5px solid #059669;
}

/* Leadership Cards */
.hover-top {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .hover-top:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 20px -5px rgba(0, 0, 0, 0.15) !important;
    }

/* Module Cards */
.module-card {
    border: none;
    border-radius: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    height: 100%;
}

    .module-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    }

.module-icon-box {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Quick Access Sidebar */
.quick-access-card {
    border: none;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.quick-access-item {
    transition: background-color 0.2s ease, transform 0.2s ease;
    border-bottom: 1px solid #f1f5f9;
}

    .quick-access-item:last-child {
        border-bottom: none;
    }

    .quick-access-item:hover {
        background-color: #f8fafc;
        padding-left: 1rem;
    }

/* Standards Cards */
.standard-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 1.25rem;
    transition: all 0.3s ease;
    height: 100%;
}

    .standard-card:hover {
        border-color: #3b82f6;
        box-shadow: 0 4px 12px rgba(59, 130, 246, 0.12);
    }

.standard-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    font-size: 1.25rem;
}

/* Single Item Projects Carousel Styling */
.projects-section {
    background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
    border-top: 1px solid #cbd5e1;
    border-bottom: 1px solid #cbd5e1;
}

.project-carousel-card {
    background: #ffffff;
    border-radius: 1.25rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin: 15px auto;
    max-width: 900px;
    transition: all 0.3s ease;
}

    .project-carousel-card:hover {
        box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.12);
    }

.project-img-wrapper {
    position: relative;
    height: 280px;
    overflow: hidden;
    background-color: #0d233a;
}

    .project-img-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

.project-carousel-card:hover .project-img-wrapper img {
    transform: scale(1.05);
}

/* Owl Navigation Customization */
.owl-theme .owl-nav {
    margin-top: 15px !important;
}

    .owl-theme .owl-nav [class*='owl-'] {
        background: #0d233a !important;
        color: #fff !important;
        font-size: 1.2rem !important;
        padding: 8px 18px !important;
        border-radius: 50px !important;
        transition: all 0.3s ease !important;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }

        .owl-theme .owl-nav [class*='owl-']:hover {
            background: #1d4ed8 !important;
            transform: translateY(-2px);
        }

.owl-theme .owl-dots .owl-dot span {
    width: 12px !important;
    height: 12px !important;
    margin: 5px 6px !important;
    background: #cbd5e1 !important;
    transition: all 0.3s ease;
}

.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
    background: #1d4ed8 !important;
    width: 28px !important;
    border-radius: 10px !important;
}

/* Impact Section */
.impact-section {
    background-color: #ffffff;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    padding: 2.5rem 0;
}

/* Footer Styling */
.footer-link {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s ease, padding-left 0.2s ease;
    font-size: 0.875rem;
    display: inline-block;
    margin-bottom: 0.5rem;
}

    .footer-link:hover {
        color: #38bdf8;
        padding-left: 4px;
    }

.social-btn {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

    .social-btn:hover {
        background-color: #1d4ed8;
        color: #fff;
        transform: translateY(-2px);
    }

/* Refined government portal visual system */
:root {
    --portal-navy: #102c46;
    --portal-blue: #1957ad;
    --portal-line: #dfe8f2;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #f5f8fc;
    color: #22344a;
    line-height: 1.65;
}

.container {
    max-width: 1220px;
}

.bg-primary-dark {
    background-color: var(--portal-navy) !important;
}

.navbar {
    border-bottom: 3px solid #d8ac58;
}

.navbar-brand {
    min-width: 0;
    white-space: normal;
}

    .navbar-brand > div:last-child {
        max-width: 440px;
    }

    .navbar-brand .fs-6 {
        line-height: 1.35 !important;
    }

.navbar .nav-link {
    font-size: .87rem;
    transition: color .2s;
}

    .navbar .nav-link:hover {
        color: #fff !important;
    }

.hero-section {
    background: linear-gradient(115deg,#102c46 0%,#174677 68%,#1a5b79 100%)!important;
    padding: 4.25rem 0;
    border-bottom: 4px solid #d8ac58;
}

    .hero-section h1 {
        letter-spacing: -.025em;
        line-height: 1.38 !important;
    }

    .hero-section .card {
        backdrop-filter: blur(8px);
    }

        .hero-section .card img {
            border-radius: 12px;
        }

section[id], main[id], div[id="standards"] {
    scroll-margin-top: 90px;
}

h2, h3, h4, h5 {
    line-height: 1.5;
}

.module-card, .quick-access-card, .standard-card, .hover-top {
    border: 1px solid var(--portal-line) !important;
    box-shadow: 0 5px 20px rgba(20,47,75,.045) !important;
}

.module-card {
    padding: 1.65rem !important;
    border-top-width: 4px !important;
}

    .module-card .module-icon-box {
        width: 54px;
        height: 54px;
    }

.quick-access-card {
    padding: 1.6rem !important;
}

.projects-section {
    background: #edf3fa;
    border-color: #dee8f1;
}

.project-owl-carousel .owl-stage {
    display: flex;
    align-items: stretch;
}

.project-owl-carousel .owl-item {
    display: flex;
    height: auto;
}

    .project-owl-carousel .owl-item .item {
        width: 100%;
        display: flex;
    }

.project-carousel-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: none;
    margin: 8px 0 15px;
    border: 1px solid #dfe7f1;
    border-radius: 16px;
    box-shadow: 0 5px 18px rgba(16,44,70,.07);
}

.project-card-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.project-card-media {
    flex: 0 0 auto;
}

.project-img-wrapper {
    height: 178px;
    background: #d9e5f0;
}

    .project-img-wrapper img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .project-img-wrapper .badge {
        font-size: .69rem;
        font-weight: 600;
        padding: .45rem .65rem !important;
        margin: 12px !important;
        border-radius: 6px !important;
    }

.project-card-body {
    padding: 1.3rem 1.35rem 1.45rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

    .project-card-body h3 {
        font-size: 1.08rem !important;
        font-weight: 700;
        line-height: 1.5;
        margin-bottom: .6rem !important;
    }

    .project-card-body p {
        font-size: .81rem !important;
        line-height: 1.7 !important;
        margin-bottom: 1.2rem !important;
    }

    .project-card-body > div:first-child {
        font-size: .72rem !important;
        margin-bottom: .55rem !important;
    }

    .project-card-body a.btn {
        margin-top: auto;
        padding: .55rem 1rem !important;
        font-size: .78rem;
        border-radius: 9px !important;
    }

.project-owl-carousel .owl-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 12px !important;
}

    .project-owl-carousel .owl-nav button {
        min-width: 49px;
        min-height: 42px;
        padding: 8px 14px !important;
        border-radius: 10px !important;
    }

.project-owl-carousel .owl-dots {
    margin-top: 12px;
}

.standard-card {
    border-radius: 13px;
}

.btn-custom-blue, .btn-custom-purple, .btn-custom-success {
    border-radius: 10px;
}

@media(max-width:991.98px) {
    .navbar-brand .fs-6 {
        font-size: .9rem !important;
    }

    .hero-section {
        padding: 3rem 0;
    }
}

@media(max-width:575.98px) {
    .container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .navbar-brand {
        gap: .6rem !important;
    }

        .navbar-brand .fs-6 {
            font-size: .77rem !important;
        }

        .navbar-brand .small {
            font-size: .63rem !important;
        }

    .hero-section h1 {
        font-size: 1.85rem;
    }

    .hero-section {
        padding: 2.5rem 0;
    }

    .project-img-wrapper {
        height: 190px;
    }

    .project-card-body {
        padding: 1.2rem;
    }
}


/* === Maroon / amber government portal refresh === */
:root {
    --portal-navy: #101729;
    --portal-gold: #ffba32;
    --portal-orange: #ff7835;
    --portal-maroon: #6e0b38;
    --portal-ink: #17243c;
    --portal-line: #e7e9f0
}

body {
    background: #f8f9fc;
    color: #23324a
}

.bg-primary-dark {
    background: #101729 !important
}

.navbar {
    border-bottom: 3px solid #f5a331 !important;
    padding-top: 14px !important;
    padding-bottom: 14px !important
}

    .navbar .nav-link {
        font-weight: 600 !important;
        color: #e8eaf0 !important
    }

        .navbar .nav-link:hover, .navbar .nav-link.active {
            color: #ffc25d !important
        }

    .navbar .btn-outline-light {
        background: linear-gradient(110deg,#f56735,#ff9b19)!important;
        border: 0;
        box-shadow: 0 6px 18px rgba(255,121,42,.28)!important;
        font-weight: 700
    }

/*.hero-section {
    position: relative;
    padding: 91px 0 135px !important;
    background: radial-gradient(circle at 100% 100%,rgba(255,223,57,.95) 0,transparent 35%),radial-gradient(circle at 0 0,rgba(255,118,44,.54) 0,transparent 40%),linear-gradient(110deg,#7c2635 0%,#650b38 47%,#842d42 72%,#b45e32 100%) !important;
    border-bottom: 0 !important;
    overflow: hidden
}*/

    .hero-section:before {
        content: "";
        position: absolute;
        inset: 0;
        opacity: .17;
        pointer-events: none;
        background-image: linear-gradient(rgba(255,255,255,.28) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.28) 1px,transparent 1px);
        background-size: 26px 26px
    }

.hero-container {
    position: relative;
    z-index: 1
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    border: 1px solid rgba(255,180,76,.3);
    border-radius: 40px;
    padding: 9px 16px;
    color: #ffc167;
    background: rgba(255,187,73,.09);
    font-size: .82rem;
    font-weight: 700;
    margin-bottom: 24px
}

.hero-heading {
    font-weight: 800;
    font-size: clamp(2.15rem,3.15vw,3.55rem);
    line-height: 1.35 !important;
    color: #fff;
    letter-spacing: 0 !important;
    margin-bottom: 20px
}

    .hero-heading span {
        color: #ffbd37
    }

.hero-subtitle {
    color: #ffe9e0;
    border-left: 4px solid #ff8b43;
    padding-left: 18px;
    line-height: 2;
    font-size: 1rem;
    max-width: 710px
}

.btn-portal-orange {
    background: linear-gradient(125deg,#f36c35,#ffac18);
    border: 0;
    color: #fff;
    font-weight: 700;
    padding: 13px 24px;
    border-radius: 9px;
    box-shadow: 0 8px 24px rgba(255,112,34,.25)
}

    .btn-portal-orange:hover {
        color: #fff;
        filter: brightness(1.07);
        transform: translateY(-2px)
    }

.btn-portal-outline {
    border: 1px solid rgba(255,255,255,.3);
    color: #fff;
    background: #1d2538;
    border-radius: 9px;
    padding: 13px 24px;
    font-weight: 700
}

    .btn-portal-outline:hover {
        background: #2b3143;
        color: #fff
    }

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    margin-top: 29px;
    color: rgba(255,255,255,.86);
    font-size: .78rem
}

    .hero-points i {
        color: #ffc45f;
        margin-right: 5px
    }

.hero-dashboard {
    background: linear-gradient(140deg,rgba(37,24,45,.95),rgba(44,40,45,.92));
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 25px;
    padding: 22px;
    box-shadow: 0 25px 55px rgba(45,7,34,.2)
}

.dashboard-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,.1);
    padding-bottom: 16px;
    margin-bottom: 16px
}

.dashboard-dots {
    display: flex;
    gap: 7px
}

    .dashboard-dots i {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: #f34f65
    }

        .dashboard-dots i:nth-child(2) {
            background: #f8c631
        }

        .dashboard-dots i:nth-child(3) {
            background: #25bc72
        }

.dashboard-tag {
    font-size: .7rem;
    color: #ffcf8d;
    background: #744536;
    border-radius: 30px;
    padding: 5px 10px
}

.dashboard-title {
    display: flex;
    align-items: center;
    gap: 9px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px
}

    .dashboard-title span {
        margin-left: auto;
        color: #aeb8c6;
        font-size: .58rem;
        letter-spacing: 1px
    }

    .dashboard-title > i {
        color: #ffbd57
    }

.dashboard-tile {
    display: flex;
    align-items: center;
    gap: 13px;
    border: 1px solid rgba(255,255,255,.065);
    background: rgba(30,35,51,.64);
    border-radius: 15px;
    padding: 17px 13px;
    margin-bottom: 11px;
    color: #fff;
    min-height: 83px
}

.dashboard-icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 43px;
    height: 43px;
    border-radius: 11px;
    font-size: 1.1rem
}

    .dashboard-icon.orange {
        background: rgba(255,171,73,.15);
        color: #ffc26d
    }

    .dashboard-icon.green {
        background: rgba(43,204,139,.12);
        color: #5cdca4
    }

    .dashboard-icon.purple {
        background: rgba(179,143,255,.14);
        color: #d6b4ff
    }

.dashboard-tile small {
    display: block;
    color: #aeb9c7;
    font-size: .72rem;
    margin-bottom: 5px
}

.dashboard-tile strong {
    display: block;
    font-size: .94rem
}

.dashboard-check {
    color: #35cb86;
    margin-left: auto
}

.dashboard-bottom {
    text-align: center;
    color: #9ea9b8;
    font-size: .75rem;
    margin-top: 18px
}

    .dashboard-bottom i {
        color: #e8ae49;
        margin-right: 5px
    }

.overview-wrap {
    position: relative;
    z-index: 4;
    margin-top: -68px;
    margin-bottom: 32px
}

.overview-strip {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 15px;
    background: #fff;
    box-shadow: 0 19px 42px rgba(26,38,65,.13);
    border-radius: 22px;
    padding: 24px
}

.overview-item {
    display: flex;
    align-items: center;
    gap: 13px;
    background: #f8f9fb;
    border: 1px solid #eceef1;
    padding: 17px 12px;
    border-radius: 14px;
    min-width: 0
}

    .overview-item strong {
        display: block;
        font-size: .88rem;
        color: #17243a
    }

    .overview-item span {
        display: block;
        font-size: .7rem;
        color: #b56742;
        margin-top: 3px
    }

.overview-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 12px;
    font-size: 1.1rem
}

    .overview-icon.peach {
        background: #ffede1;
        color: #e47e41
    }

    .overview-icon.mint {
        background: #e2f4ec;
        color: #329a73
    }

    .overview-icon.lilac {
        background: #eee8f8;
        color: #8160a3
    }

    .overview-icon.gold {
        background: #fff1d8;
        color: #cc962b
    }

.section-head {
    text-align: center;
    margin-bottom: 25px
}

.section-kicker {
    display: inline-block;
    font-size: .78rem;
    font-weight: 700;
    color: #a14e2f;
    background: #fff2e5;
    padding: 6px 15px;
    border-radius: 30px
}

.section-head h2 {
    font-size: 1.65rem;
    margin: 11px 0 4px;
    font-weight: 800;
    color: #1b2943
}

.section-head p {
    color: #788294;
    font-size: .84rem
}

.quick-section {
    padding: 32px 0 56px;
    background: #f8f9fc
}

.quick-service {
    width: 100%;
    height: 100%;
    min-height: 108px;
    background: #fff;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1px solid #e9e7eb;
    border-radius: 17px;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(26,32,54,.045);
    transition: .2s
}

    .quick-service:hover {
        border-color: #e7ac76;
        box-shadow: 0 11px 30px rgba(34,32,45,.1);
        transform: translateY(-2px)
    }

.service-icon {
    background: #fff1e8;
    color: #ed8544;
    border-radius: 13px;
    width: 47px;
    height: 47px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    font-size: 1.1rem
}

.quick-service strong {
    display: block;
    color: #1b2943;
    font-size: .96rem
}

.quick-service small {
    display: block;
    color: #8990a1;
    margin-top: 5px;
    font-size: .76rem
}

.service-arrow {
    color: #df8a50;
    font-size: .8rem
}

#leadership {
    padding-top: 55px !important
}

    #leadership .hover-top {
        border-radius: 17px !important
    }

    #leadership .badge {
        font-weight: 600
    }

.projects-section {
    background: #f2f3f8 !important
}

    .projects-section h2 {
        color: #1a2740
    }

.project-carousel-card {
    border: 1px solid #e8e5e7;
    box-shadow: 0 7px 23px rgba(39,29,39,.08)
}

.project-card-body a.btn {
    background: linear-gradient(110deg,#f16e37,#fb9b26) !important;
    color: #fff !important;
    border: none !important
}

.project-owl-carousel .owl-nav button {
    background: #1b2436 !important
}

    .project-owl-carousel .owl-nav button:hover {
        background: #a75035 !important
    }

.project-owl-carousel .owl-dot.active span {
    background: #f68d30 !important
}

@media(max-width:991.98px) {
    .hero-section {
        padding: 60px 0 112px !important
    }

    .overview-strip {
        grid-template-columns: repeat(2,minmax(0,1fr))
    }

    .hero-heading {
        font-size: 2.25rem
    }
}

@media(max-width:575.98px) {
    .hero-section {
        padding: 50px 0 93px !important
    }

    .hero-heading {
        font-size: 1.95rem
    }

    .hero-dashboard {
        padding: 15px;
        border-radius: 18px
    }

    .overview-wrap {
        margin-top: -50px
    }

    .overview-strip {
        grid-template-columns: 1fr 1fr;
        padding: 12px;
        gap: 9px
    }

    .overview-item {
        padding: 11px 9px;
        gap: 8px
    }

    .overview-icon {
        width: 35px;
        height: 35px;
        font-size: .85rem
    }

    .overview-item strong {
        font-size: .72rem
    }

    .overview-item span {
        font-size: .6rem
    }

    .dashboard-tile strong {
        font-size: .83rem
    }

    .hero-subtitle {
        font-size: .87rem
    }

    .hero-points {
        gap: 9px 13px
    }
}
