:root {
    --bs-primary: #193A18;
    --bs-primary-rgb: 25, 58, 24;
    --bs-dark: #137D0F;
    --bs-light: #F5F9F0;
    --bs-body: #2C3E2C;
    --bs-secondary: #77797D;
    --bs-accent: #CEC66D;
    --bs-white: #FFFFFF;
    --bs-gray: #4B3402;
    --bs-muted: #84A65C;
    --bs-soft-green: #D9E798;
    --bs-deep-green: #000800;
    --bs-olive: #E8D433;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--bs-body);
    background: #fff;
    overflow-x: hidden;
}

/* ===== CIRCULAR ICON SYSTEM (with hover background change) ===== */
.icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--bs-primary);
    color: #fff;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-size: 1.1rem;
    cursor: pointer;
}
.icon-circle:hover,
.icon-circle:active,
.icon-circle.active {
    background: var(--bs-accent);
    color: var(--bs-primary);
    transform: scale(1.12);
    box-shadow: 0 6px 22px rgba(206, 198, 109, 0.5);
}
.icon-circle.sm {
    width: 38px;
    height: 38px;
    font-size: 0.9rem;
}
.icon-circle.lg {
    width: 64px;
    height: 64px;
    font-size: 1.5rem;
}
.icon-circle.soft {
    background: var(--bs-soft-green);
    color: var(--bs-primary);
}
.icon-circle.soft:hover,
.icon-circle.soft:active {
    background: var(--bs-accent);
    color: var(--bs-primary);
    box-shadow: 0 6px 22px rgba(206, 198, 109, 0.5);
}
.icon-circle.accent {
    background: var(--bs-accent);
    color: var(--bs-primary);
}
.icon-circle.accent:hover {
    background: var(--bs-dark);
    color: #fff;
    box-shadow: 0 6px 22px rgba(19, 125, 15, 0.4);
}

/* ===== TOP BAR ===== */
.top-bar {
    background: var(--bs-dark);
    color: #fff;
    font-size: 0.85rem;
    padding: 8px 0;
}
.top-bar a { color: #fff; text-decoration: none; transition: opacity 0.2s; }
.top-bar a:hover { opacity: 0.8; }
.top-bar .social a {
    width: 30px; height: 30px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.12);
    margin-left: 6px;
    font-size: 0.75rem;
    transition: all 0.3s ease;
}
.top-bar .social a:hover {
    background: var(--bs-accent);
    color: var(--bs-primary);
    transform: scale(1.12);
}

/* ===== MAIN NAV ===== */
.main-nav {
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.main-nav .navbar-brand img { height: 52px; }
.main-nav .nav-link {
    color: var(--bs-primary) !important;
    font-weight: 600;
    font-size: 0.82rem;
    letter-spacing: 0.3px;
    padding: 1.1rem 0.85rem !important;
    transition: color 0.25s ease;
}
.main-nav .nav-link:hover { color: var(--bs-dark) !important; }
.main-nav .dropdown-menu {
    border: none;
    border-radius: 0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    margin-top: 0;
    padding: 0.5rem 0;
    min-width: 240px;
}
.main-nav .dropdown-item {
    font-size: 0.82rem;
    padding: 0.55rem 1.4rem;
    color: var(--bs-body);
    transition: all 0.2s ease;
}
.main-nav .dropdown-item:hover {
    background: var(--bs-light);
    color: var(--bs-dark);
    padding-left: 1.7rem;
}
.main-nav .nav-item.dropdown:hover .dropdown-menu { display: block; }

.search-btn {
    width: 42px; height: 42px;
    border-radius: 50%;
    background: var(--bs-primary);
    color: #fff;
    border: none;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.3s ease;
}
.search-btn:hover {
    background: var(--bs-accent);
    color: var(--bs-primary);
    transform: scale(1.1);
    box-shadow: 0 4px 16px rgba(206, 198, 109, 0.45);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    height: 620px;
    overflow: hidden;
}
.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: top center;   /* ← shows the top of the image */
    opacity: 0;
    transition: opacity 0.9s ease;
}
.hero-slide.active { opacity: 1; z-index: 1; }
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(25,58,24,0.80) 0%, rgba(25,58,24,0.45) 60%, rgba(25,58,24,0.25) 100%);
    z-index: 2;
}
.hero-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    max-width: 1200px;
}
.hero-content h1 {
    font-size: 3.1rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.2rem;
}
.hero-content p {
    font-size: 1.1rem;
    opacity: 0.95;
    margin-bottom: 2rem;
}
.hero-btns .btn {
    border-radius: 50px;
    padding: 0.7rem 1.8rem;
    font-weight: 600;
    margin-right: 0.8rem;
    transition: all 0.3s ease;
}


.btn-dark-green {
    background: var(--bs-primary);
    color: #fff;
    border: none;
}
.btn-dark-green:hover { background: #0f2a0e; color: #fff; transform: translateY(-2px); }
.btn-bright-green {
    background: var(--bs-dark);
    color: #fff;
    border: none;
}
.btn-bright-green:hover { background: #0f6a0c; color: #fff; transform: translateY(-2px); }

.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 48px; height: 48px;
    border-radius: 50%;
    background: rgba(0,0,0,0.35);
    color: #fff;
    border: none;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.3s ease;
}
.hero-nav:hover {
    background: var(--bs-accent);
    color: var(--bs-primary);
    transform: translateY(-50%) scale(1.08);
}
.hero-nav.prev { left: 24px; }
.hero-nav.next { right: 24px; }

/* ===== WELCOME – COMBINED IMAGE + BADGE ===== */
.welcome-section { padding: 100px 0; background: #fff; }
.badge-welcome {
    background: var(--bs-soft-green);
    color: var(--bs-primary);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 6px 16px;
    border-radius: 50px;
    display: inline-block;
}
.welcome-section h2 {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--bs-primary);
    margin: 1rem 0 1.5rem;
}

/* Combined image + years badge design */
.image-badge-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(25, 58, 24, 0.22);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.image-badge-wrapper:hover {
    transform: scale(1.015);
    box-shadow: 0 30px 70px rgba(25, 58, 24, 0.28);
}
.image-badge-wrapper img {
    width: 100%;
    height: 440px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}
.image-badge-wrapper:hover img {
    transform: scale(1.04);
}
.years-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: rgba(25, 58, 24, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    border-radius: 18px;
    padding: 1.2rem 1.8rem;
    border: 1px solid rgba(206, 198, 109, 0.5);
    box-shadow: 0 12px 34px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.35s ease;
}
.years-badge:hover {
    background: rgba(25, 58, 24, 0.98);
    border-color: var(--bs-accent);
    transform: translateY(-3px);
}
.years-badge .number {
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--bs-accent);
    line-height: 1;
    letter-spacing: -1px;
}
.years-badge .label {
    font-size: 0.85rem;
    opacity: 0.92;
    line-height: 1.3;
    max-width: 80px;
}
.years-badge .icon-circle {
    width: 44px;
    height: 44px;
    background: rgba(206, 198, 109, 0.2);
    color: var(--bs-accent);
    border: 1px solid rgba(206, 198, 109, 0.35);
}
.years-badge .icon-circle:hover {
    background: var(--bs-accent);
    color: var(--bs-primary);
}

.feature-box {
    background: var(--bs-light);
    border-radius: 14px;
    padding: 1.2rem 1.3rem;
    transition: all 0.35s ease;
}
.feature-box:hover {
    background: #eef5e6;
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(25, 58, 24, 0.08);
}

/* ===== AT A GLANCE (TRANSPARENT DESIGN) ===== */
.at-a-glance {
    background: linear-gradient(135deg, #193A18 0%, #0f2a0e 100%);
    padding: 90px 0;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.at-a-glance::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../images/giyani1.jpg') top center/cover;    opacity: 0.08;
    z-index: 0;
    transition: opacity 0.6s ease;
}
.at-a-glance:hover::before {
    opacity: 0.12;
}
.at-a-glance .container { position: relative; z-index: 1; }
.at-a-glance h2 { font-weight: 700; }

.stat-card0 {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    padding: 2.2rem 1.5rem;
    text-align: center;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.4s ease;
}
.stat-card0:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-8px);
    border-color: rgba(206, 198, 109, 0.5);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}
.stat-card0 .number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--bs-accent);
    margin: 0.8rem 0 0.3rem;
}
.stat-card0 .label { font-size: 0.92rem; opacity: 0.9; }

/* ===== VISIT GIYANI ===== */
.visit-section { padding: 100px 0; background: var(--bs-light); }
.visit-section h2 {
    font-size: 2.3rem;
    font-weight: 700;
    color: var(--bs-primary);
}
.visit-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
    height: 100%;
    transition: all 0.4s ease;
}
.visit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 48px rgba(25, 58, 24, 0.15);
}
.visit-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.visit-card:hover img {
    transform: scale(1.06);
}
.visit-card .card-body { padding: 1.6rem; }
.visit-card h5 {
    font-weight: 700;
    color: var(--bs-primary);
    margin: 0.9rem 0 0.5rem;
}
.visit-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
}
.visit-card ul li {
    padding: 0.25rem 0;
    color: var(--bs-body);
}
.visit-card ul li::before {
    content: "●";
    color: var(--bs-dark);
    margin-right: 8px;
    font-size: 0.65rem;
}

/* ===== PUBLIC NOTICES (TRANSPARENT DESIGN) ===== */
.notices-section {
    padding: 90px 0;
    background: linear-gradient(180deg, #fff 0%, #f7faf3 100%);
    position: relative;
    overflow: hidden;
}
.notices-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 100%;
    background: radial-gradient(circle at 80% 20%, rgba(217, 231, 152, 0.3) 0%, transparent 55%),
                radial-gradient(circle at 20% 80%, rgba(132, 166, 92, 0.12) 0%, transparent 50%);
    pointer-events: none;
}
.notice-card {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 16px;
    padding: 1.6rem;
    height: 100%;
    border: 1px solid rgba(25, 58, 24, 0.08);
    box-shadow: 0 8px 30px rgba(25, 58, 24, 0.06);
    transition: all 0.35s ease;
}
.notice-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 48px rgba(25, 58, 24, 0.12);
    background: rgba(255, 255, 255, 0.88);
}
.notice-card .date {
    font-size: 0.8rem;
    color: var(--bs-secondary);
}
.notice-card .tag {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 3px 12px;
    border-radius: 50px;
}
.tag-urgent { background: #dc3545; color: #fff; }
.tag-info { background: var(--bs-dark); color: #fff; }
.tag-general { background: var(--bs-primary); color: #fff; }
.notice-card h6 {
    font-weight: 700;
    color: var(--bs-primary);
    margin: 0.9rem 0 0.5rem;
}
.notice-card a {
    color: var(--bs-dark);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.25s;
}
.notice-card a:hover { color: var(--bs-accent); }

/* ===== FOOTER ===== */
.footer {
    background: var(--bs-dark);
    color: #fff;
    padding: 70px 0 30px;
}
.footer h5 {
    font-weight: 700;
    margin-bottom: 1.4rem;
    font-size: 1.1rem;
}
.footer a { color: rgba(255,255,255,0.85); text-decoration: none; transition: color 0.25s; }
.footer a:hover { color: var(--bs-accent); }
.footer ul { list-style: none; padding: 0; }
.footer ul li { margin-bottom: 0.5rem; }
.footer ul li a { transition: padding-left 0.25s ease; }
.footer ul li a:hover { padding-left: 4px; }
.footer .map-preview {
    border-radius: 12px;
    overflow: hidden;
    height: 140px;
    margin: 1rem 0;
    border: 2px solid rgba(206, 198, 109, 0.3);
    transition: border-color 0.3s;
}
.footer .map-preview:hover { border-color: var(--bs-accent); }
.footer .map-preview iframe { width: 100%; height: 100%; border: 0; }
.btn-map {
    background: var(--bs-primary);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 0.55rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}
.btn-map:hover {
    background: var(--bs-accent);
    color: var(--bs-primary);
    transform: translateY(-2px);
}
.query-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--bs-accent);
    margin-bottom: 3px;
}
.query-number {
    color: #fff;
    font-weight: 500;
    margin-bottom: 1.1rem;
    display: block;
    transition: color 0.25s;
}
.query-number:hover { color: var(--bs-accent); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.15);
    margin-top: 45px;
    padding-top: 22px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
}
.footer .social a {
    width: 36px; height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.12);
    margin-right: 8px;
    transition: all 0.3s ease;
}
.footer .social a:hover {
    background: var(--bs-accent);
    color: var(--bs-primary);
    transform: scale(1.12);
}

/* ===== SEARCH MODAL ===== */
.search-modal .modal-content {
    background: var(--bs-primary);
    color: #fff;
    border-radius: 18px;
    border: none;
}
.search-modal .form-control {
    border-radius: 50px;
    border: none;
    padding: 0.85rem 1.5rem;
}
.search-modal .btn-search {
    background: transparent;
    color: var(--bs-accent);
    border: none;
    font-weight: 700;
    transition: opacity 0.25s;
}
.search-modal .btn-search:hover { opacity: 0.8; }
.popular-tags span {
    background: rgba(255,255,255,0.12);
    color: #fff;
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    margin-right: 6px;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-block;
    margin-bottom: 4px;
}
.popular-tags span:hover {
    background: var(--bs-accent);
    color: var(--bs-primary);
    transform: translateY(-2px);
}

/* ===== SCROLL ANIMATIONS ===== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(45px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: opacity, transform;
}
.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}
.animate-delay-1 { transition-delay: 0.15s; }
.animate-delay-2 { transition-delay: 0.3s; }
.animate-delay-3 { transition-delay: 0.45s; }
.animate-delay-4 { transition-delay: 0.6s; }

/* Special entrance for welcome image */
.animate-scale {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.9s ease, transform 0.9s ease;
}
.animate-scale.visible {
    opacity: 1;
    transform: scale(1);
}

.btn-pill { border-radius: 50px; }


/* =====================================
   HERO SLIDER TEXT VISIBILITY
====================================== */

#heroText .hero-text {
    display: none;
}

#heroText .hero-text.active {
    display: block;
}


/* =====================================
   TEMPORARY CONTENT VISIBILITY TEST
====================================== */

.animate-on-scroll,
.animate-scale {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}
