/* ===== COLORS ===== */
:root {
    --primary-green: #059246;
    --accent-teal: #00A651;
    --dark-green: #059246;
    --light-bg: #f8f9fa;
}

/* ===== LOGO RESPONSIVE ===== */
.logo-img {
    height: 70px;
    width: auto;
    transition: height 0.3s ease;
}
@media (max-width: 768px) { .logo-img { height: 40px; } }
@media (max-width: 576px) { .logo-img { height: 35px; } }

/* ====================== FULL-WIDTH HERO ====================== */
.hero-full {
    height: 70vh;
    min-height: 400px;
    background: url('/public/assets/images/hero-bg.jpg') center/cover no-repeat;
    position: relative;
    background-color: #059246; /* Fallback */
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}
.hero-full h1 {
    font-size: 4.5rem;
    text-shadow: 3px 3px 10px rgba(0,0,0,0.8);
}
.hero-full .lead {
    font-size: 1.3rem;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.7);
}
@media (max-width: 768px) {
    .hero-full { height: 70vh; }
    .hero-full h1 { font-size: 3rem; }
    .hero-full .lead { font-size: 1.1rem; }
}

/* ====================== CARD HOVER LIFT ====================== */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,128,0,0.15) !important;
}

/* ====================== NAVBAR STYLING ====================== */
.navbar {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.nav-link {
    color: #212529 !important;
    font-weight: 500;
    transition: color .2s;
}
.nav-link:hover, .nav-link.active {
    color: var(--accent-teal) !important;
}

/* ====================== HOVER DROPDOWN (DESKTOP ONLY) ====================== */
@media (min-width: 992px) {
    .dropdown-hover .dropdown-menu {
        display: block !important;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    }
    .dropdown-hover .dropdown-menu.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    .dropdown-hover .dropdown-toggle::after { display: none; }
}

/* ====================== MEGA MENU – FULL-WIDTH + CORRECT DIVIDERS ====================== */
.mega-dropdown {
    position: static !important;
}

.mega-menu {
    position: absolute;
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    max-width: none !important;
    margin-left: calc(-50vw + 50%) !important;
    background: var(--accent-teal) !important;
    color: white !important;
    border: none;
    border-radius: 0;
    box-shadow: 0 15px 40px rgba(0, 166, 81, 0.3);
    margin-top: 0;
    padding: 2.5rem 1.5rem !important;
    z-index: 1050;
}

/* White vertical divider — ONLY between columns (not after last) */
.mega-menu .row > div:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 15%;
    right: 0;
    height: 70%;
    width: 1px;
    background: rgba(255, 255, 255, 0.5);
    z-index: 1;
}

/* Ensure proper spacing around divider */
.mega-menu .row > div {
    padding-left: 2rem;
    padding-right: 2rem;
    position: relative;
}

/* Text & Icons */
.mega-menu h6 {
    color: white !important;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}
.mega-menu h6 i {
    color: white !important;
}
.mega-menu p {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
    line-height: 1.5;
}

/* Buttons: White with green text + arrow */
.mega-menu .btn {
    background: white !important;
    color: var(--accent-teal) !important;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}
.mega-menu .btn:hover {
    background: #f8f9fa !important;
    transform: translateX(6px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.mega-menu .btn i {
    font-size: 0.85rem;
    margin-left: 0.5rem;
}

/* Dropdown Indicator (↓) */
.dropdown-toggle .fa-chevron-down {
    font-size: 0.75rem;
    opacity: 0.7;
    transition: transform 0.2s ease;
}
.dropdown-hover:hover .fa-chevron-down {
    transform: rotate(180deg);
}

/* Footer Social */
footer .social-links a i {
    transition: color 0.3s;
}
footer .social-links a:hover i {
    color: #a8e6a8;
}

/* ===== FOOTER DARK GREEN + ABSTRACT ===== */
.bg-dark-green {
    background-color: var(--dark-green) !important;
    color: #e8f5e8;
}
.abstract-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 Q50,80 100,0 L100,100 L0,100 Z" fill="rgba(27,94,32,0.3)"/></svg>') center/cover no-repeat;
    opacity: 0.4;
}
footer a { color: #a8e6a8; }
footer a:hover { color: white; }
/* ====================== FOOTER – VERTICAL DIVIDERS BETWEEN COLUMNS ====================== */
.footer-columns > div:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 10%;
    right: 0;
    height: 80%;
    width: 1px;
    background: rgba(255, 255, 255, 0.4);
    z-index: 1;
}

/* Hover effect on footer links */
.hover-white {
    transition: color 0.2s ease;
}
.hover-white:hover {
    color: white !important;
}

/* Social icons hover */
footer .social-links a {
    transition: transform 0.2s ease, color 0.2s ease;
}
footer .social-links a:hover {
    color: #a8e6a8 !important;
    transform: translateY(-2px);
}

/* Responsive: Remove dividers on mobile */
@media (max-width: 768px) {
    .footer-columns > div:not(:last-child)::after {
        display: none;
    }
    .footer-columns > div {
        text-align: center;
        padding: 1.5rem 0;
    }
}
/* Carousel Header Fix */
#bioCarousel .carousel-item {
    height: 350px;
}
#bioCarousel img {
    object-fit: cover;
}
/* ====================== FULL-WIDTH IMAGES (MAX 350PX HEIGHT) ====================== */
.bio-full-img {
    max-height: 350px;
    overflow: hidden;
    border-radius: 0.75rem;
    margin-bottom: 2.5rem;
}
.bio-full-img img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.bio-full-img:hover img {
    transform: scale(1.05);
}
/* ====================== GALLERY MASONRY ====================== */
.gallery-item {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,128,0,0.15) !important;
}
.gallery-item img {
    transition: transform 0.3s ease;
}
.gallery-item:hover img {
    transform: scale(1.05);
}

/* Lightbox Controls */
#lightboxModal .btn-close-white {
    filter: drop-shadow(0 0 5px rgba(0,0,0,0.8));
}
#lightboxModal .prev-btn,
#lightboxModal .next-btn {
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    backdrop-filter: blur(5px);
}
#lightboxModal .carousel-caption {
    bottom: 20px;
    left: 5%;
    right: 5%;
}
/* ====================== FILTER BUTTONS ====================== */
.filter-btn {
    font-size: 0.9rem;
    padding: 0.4rem 1rem;
}
.filter-btn.active {
    background-color: var(--accent-teal) !important;
    color: white !important;
    border-color: var(--accent-teal) !important;
}

/* ====================== VIDEO THUMBNAIL PLAY ICON ====================== */
.fa-play-circle {
    filter: drop-shadow(0 0 10px rgba(0,0,0,0.6));
    transition: transform 0.3s ease;
}
.gallery-item:hover .fa-play-circle {
    transform: scale(1.2);
}

/* Lightbox Video */
#lightboxModal video {
    background: #000;
}
/* Prevent scroll when modal is open */
.modal-open {
    overflow: hidden !important;
    padding-right: 0 !important;
}
/* ====================== SINGLE PROGRESS TRACKER ====================== */
.progress-tracker {
    font-size: 0.875rem;
    font-weight: 500;
}

.progress-tracker .stage {
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
    white-space: nowrap;
    font-size: 0.8rem;
}

.progress-tracker .completed {
    background-color: var(--accent-teal);
    color: white;
}

.progress-tracker .current {
    background-color: #ffc107;
    color: #212529;
    font-weight: 600;
}

.progress-tracker .pending {
    background-color: #6c757d;
    color: white;
}

.progress-tracker i {
    font-size: 0.7rem;
}

/* Responsive: Stack on mobile */
@media (max-width: 576px) {
    .progress-tracker {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 0.5rem;
    }
    .progress-tracker i {
        display: none;
    }
    .progress-tracker .stage {
        width: 100%;
        text-align: center;
    }
}
/* ===== GENERAL ===== */
body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }
.btn-success { background-color: var(--accent-teal); border: none; }
.btn-success:hover { background-color: #00843d; }
