/* =========================================================
   OBA WEBSITE
   Bootstrap 5.3 Custom Styles
========================================================= */

:root {
    --oba-green: #198754;
    --oba-dark-green: #116b43;
    --oba-light-green: #eaf7ef;
    --oba-gold: #d4a017;
    --oba-dark: #17231c;
    --oba-gray: #6c757d;
}


/* =========================================================
   GLOBAL
========================================================= */

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family:
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;
    color: #212529;
    background: #fff;
}

img {
    max-width: 100%;
}

a {
    text-decoration: none;
}


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

.top-header-bar {
    background: var(--oba-dark-green) !important;
    font-size: 14px;
}

.top-header-bar a {
    text-decoration: none;
    transition: opacity .2s ease;
}

.top-header-bar a:hover {
    opacity: .7;
}


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

#mainNavbar {
    z-index: 1030;
    transition: all .3s ease;
}

.navbar-brand {
    min-width: 270px;
}

.navbar-brand img {
    object-fit: contain;
}

.brand-text {
    line-height: 1.15;
}

.oromo-text {
    color: var(--oba-dark-green);
    font-size: 16px;
    font-weight: 700;
}

.amharic-text {
    color: #555;
    font-size: 13px;
    margin-top: 2px;
}

.english-text {
    color: #333;
    font-size: 14px;
    font-weight: 600;
    margin-top: 2px;
}


/* =========================================================
   NAVIGATION LINKS
========================================================= */

.navbar-nav .nav-link {
    color: #222;
    font-weight: 600;
    font-size: 14px;
    padding: 22px 10px !important;
    transition:
        color .2s ease,
        background-color .2s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--oba-green);
}

.navbar-nav .nav-link.active {
    color: var(--oba-green);
}


/* =========================================================
   DROPDOWN
========================================================= */

.dropdown-menu {
    border: 0;
    border-top: 3px solid var(--oba-green);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
    border-radius: 0 0 8px 8px;
    padding: 8px 0;
}

.dropdown-item {
    font-size: 14px;
    padding: 9px 18px;
    white-space: nowrap;
}

.dropdown-item:hover {
    color: #fff;
    background: var(--oba-green);
}

.dropdown-item:active {
    background: var(--oba-dark-green);
}


/* =========================================================
   SEARCH
========================================================= */

.search-button {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    padding: 0;
}


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

.hero-slider {
    position: relative;
    min-height: 600px;
    overflow: hidden;
    background: #111;
}

.hero-slider video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, .75),
            rgba(0, 0, 0, .35)
        );
}

.slide-content {
    position: relative;
    z-index: 2;
    min-height: 600px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 40px 20px;
    color: #fff;
}

.slide-content h1 {
    font-size: clamp(32px, 5vw, 64px);
    font-weight: 800;
    text-shadow: 0 3px 10px rgba(0,0,0,.5);
}

.slogan {
    font-size: 22px;
    font-weight: 500;
}

.slogan-am {
    font-size: 18px;
}


/* =========================================================
   GENERAL SECTIONS
========================================================= */

.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-weight: 700;
    color: var(--oba-dark-green);
}

.section-header .line {
    width: 70px;
    height: 4px;
    background: var(--oba-gold);
    margin: 15px auto;
    border-radius: 5px;
}


/* =========================================================
   MESSAGE
========================================================= */

.message-section {
    background: #fff;
}

.message-photo {
    width: 100%;
    max-height: 550px;
    object-fit: cover;
    border-radius: 12px;
}

.photo-caption {
    text-align: center;
    padding: 15px;
}

.bureau-head-name {
    color: var(--oba-dark-green);
    font-size: 20px;
    margin-bottom: 5px;
}

.bureau-head-title {
    color: #777;
}

.message-text h3 {
    color: var(--oba-dark-green);
    font-weight: 700;
    margin-bottom: 20px;
}

.bureau-message {
    line-height: 1.9;
    color: #555;
    text-align: justify;
}


/* =========================================================
   VISION / MISSION / GOAL
========================================================= */

.section-vision {
    position: relative;
    color: #fff;

    background:
        linear-gradient(
            rgba(0, 80, 45, .88),
            rgba(0, 40, 25, .92)
        ),
        url("../images/slider imgs/slider.jpg")
        center/cover no-repeat;
}

.section-vision .section-header h2 {
    color: #fff;
}

.section-vision .card {
    height: 100%;
    border: 0;
    border-radius: 12px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 10px 30px rgba(0,0,0,.15);
}

.section-vision .card-body {
    padding: 30px;
}

.section-vision .card h3 {
    color: var(--oba-dark-green);
    font-weight: 700;
}

.section-vision .card p {
    color: #555;
    line-height: 1.8;
}


/* =========================================================
   ORGANIZATIONAL STRUCTURE
========================================================= */

.org-structure {
    text-align: center;
}

.org-structure img {
    max-width: 100%;
    border-radius: 10px;
    cursor: zoom-in;
    box-shadow: 0 5px 25px rgba(0,0,0,.12);
}


/* =========================================================
   LIGHTBOX
========================================================= */

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;

    background: rgba(0,0,0,.9);

    display: none;
    align-items: center;
    justify-content: center;

    padding: 30px;
}

.lightbox.active {
    display: flex;
}

.lightbox-content-wrapper {
    position: relative;
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
}

.lightbox-content {
    max-width: 95%;
    max-height: 90%;
    overflow: auto;
}

.lightbox-content img {
    max-width: 100%;
    transform-origin: center center;
    transition: transform .2s ease;
}

.lightbox-controls {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 2;

    display: flex;
    gap: 8px;
}

.lightbox-btn,
.lightbox-close {
    width: 42px;
    height: 42px;

    border: 0;
    border-radius: 50%;

    background: #fff;
    color: #222;

    font-size: 22px;

    cursor: pointer;
}

.lightbox-btn:hover {
    background: var(--oba-green);
    color: #fff;
}


/* =========================================================
   STATS
========================================================= */

.stats-section {
    padding: 70px 0;

    color: #fff;

    background:
        linear-gradient(
            rgba(0, 90, 50, .9),
            rgba(0, 50, 30, .95)
        ),
        url("../images/slider imgs/slider4.jpg")
        center/cover no-repeat;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: clamp(35px, 5vw, 60px);
    font-weight: 800;
    color: #fff;
}

.stat-label {
    font-size: 16px;
    opacity: .9;
}


/* =========================================================
   NEWS
========================================================= */

.news-card {
    height: 100%;

    background: #fff;

    border: 1px solid #e8e8e8;
    border-radius: 12px;

    overflow: hidden;

    box-shadow: 0 5px 20px rgba(0,0,0,.06);

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0,0,0,.12);
}

.news-card-img {
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.news-card-body {
    padding: 25px;
}

.news-date {
    color: var(--oba-green);
    font-size: 13px;
    font-weight: 600;
}

.news-card h3 {
    font-size: 20px;
    margin: 10px 0;
}

.news-card h3 a {
    color: #222;
}

.news-card h3 a:hover {
    color: var(--oba-green);
}

.news-excerpt {
    color: #666;
    line-height: 1.7;
}


/* =========================================================
   CTA
========================================================= */

.cta-section {
    padding: 90px 0;

    text-align: center;

    color: #fff;

    background:
        linear-gradient(
            rgba(0, 100, 55, .92),
            rgba(0, 50, 30, .95)
        ),
        url("../images/slider imgs/slider.jpg")
        center/cover no-repeat;
}

.cta-section h1 {
    font-weight: 800;
    margin-bottom: 15px;
}

.cta-section h3 {
    color: #d9f3e4;
}


/* =========================================================
   PARTNERS
========================================================= */

.partners-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.partners-track {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}

.partner-logo {
    width: 150px;
    height: 100px;

    background: #fff;

    border-radius: 10px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 15px;

    box-shadow: 0 4px 15px rgba(0,0,0,.06);
}

.partner-logo img {
    max-width: 100%;
    max-height: 70px;
    object-fit: contain;
}


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

.site-footer {
    background: #15231b !important;
}

.footer-title {
    color: #fff;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links li {
    margin-bottom: 12px;
    color: rgba(255,255,255,.7);
}

.footer-links a {
    color: rgba(255,255,255,.7);
    transition: color .2s ease;
}

.footer-links a:hover {
    color: #fff;
}

.footer-links i {
    color: #63c68b;
}

.footer-social-btn {
    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: #fff;
    background: rgba(255,255,255,.1);

    transition: all .2s ease;
}

.footer-social-btn:hover {
    background: var(--oba-green);
    color: #fff;
    transform: translateY(-3px);
}

.footer-bottom {
    background: rgba(0,0,0,.2);
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 1199.98px) {

    .navbar-nav {
        padding: 15px 0;
    }

    .navbar-nav .nav-link {
        padding: 10px 0 !important;
    }

    .navbar-nav .dropdown-menu {
        border: 0;
        box-shadow: none;
        background: #f8f9fa;
        border-radius: 0;
    }

    .search-button {
        margin-top: 10px;
        margin-bottom: 10px;
    }

}


@media (max-width: 767.98px) {

    .top-header-bar .container > div {
        justify-content: center !important;
        text-align: center;
        gap: 10px;
    }

    .top-header-bar .small {
        font-size: 12px;
    }

    .navbar-brand {
        min-width: 0;
    }

    .navbar-brand img {
        width: 48px;
        height: 48px;
    }

    .oromo-text {
        font-size: 13px;
    }

    .amharic-text {
        font-size: 11px;
    }

    .english-text {
        font-size: 11px;
    }

    .hero-slider,
    .slide-content {
        min-height: 500px;
    }

    .slide-content h1 {
        font-size: 30px;
    }

    .slogan {
        font-size: 17px;
    }

    .section {
        padding: 55px 0;
    }

    .stats-section {
        padding: 50px 0;
    }

    .stat-item {
        margin-bottom: 30px;
    }

    .cta-section {
        padding: 60px 20px;
    }

    .cta-section h1 {
        font-size: 28px;
    }

}

