/* ==========================================================
   GORILLA BROTHERS - Global Stylesheet
   Shared by all public pages (navbar, footer, base, pages)
   ========================================================== */
/* ---------- CSS VARIABLES ---------- */
:root {
    --primary-green:  #2d6a4f;
    --primary-dark:   #5a4021;
    --primary-light:  #7a5a38;
    --accent-gold:    #d4af37;
    --accent-gold-alt:#bd9d3e;
    --dark-bg:        #5a4021;
    --soft-bg:        #faf7f0;
    --text-dark:      #1e2a2e;
    --white:          #ffffff;
}

/* ---------- RESET ---------- */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box;}
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', sans-serif;
    background: #fffdf9;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ---------- LAYOUT UTILITIES ---------- */
.container        { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.section-padding  { padding: 80px 0; }
.bg-soft          { background: var(--soft-bg); }
.bg-white         { background: #ffffff; }
.bg-about         { background: #f8f7f6; }
.text-center      { text-align: center; }

/* ---------- TYPOGRAPHY ---------- */
.section-sub {
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 12px;
}
.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--dark-bg);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent-gold);
}
.text-center .section-title::after { left: 50%; transform: translateX(-50%); }
.section-description {
    max-width: 700px;
    margin: 20px auto 0;
    color: #5a6872;
    font-size: 1.05rem;
}

/* ---------- BUTTONS ---------- */
.btn-discover {
    display: inline-block;
    background: var(--accent-gold);
    color: #2c2c2c;
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: all .3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,.1);
    letter-spacing: .5px;
    margin-top: 20px;
}
.btn-discover:hover { background:#c5a122; transform:translateY(-3px); color:#1a1a1a; }

/* ============================================================
   SHARED CARD BUTTON STYLE
   btn-book, btn-book-white, btn-view-card all follow same shape
   ============================================================ */

/* Base card button — dark brown, white text, full width, with arrow */
.btn-view-card {
    background: var(--primary-dark);
    border: none;
    color: #ffffff;
    padding: 11px 20px;
    border-radius: 40px;
    font-weight: 700;
    font-size: .88rem;
    cursor: pointer;
    transition: background .25s, transform .2s, box-shadow .2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    text-align: center;
    box-shadow: 0 3px 10px rgba(90,64,33,.15);
    letter-spacing: .2px;
}
.btn-book:hover,
.btn-view-card:hover {
    background: #3f2d18;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(90,64,33,.3);
    color: #ffffff;
}
.btn-book i,
.btn-view-card i {
    font-size: .8rem;
    transition: transform .2s;
}
.btn-book:hover i,
.btn-view-card:hover i {
    transform: translateX(3px);
}

/* Index page Rwanda/Uganda Book Now — white pill, green text */
.btn-book-white {
    background: #ffffff;
    border: none;
    color: var(--primary-dark);
    padding: 11px 20px;
    border-radius: 40px;
    font-weight: 700;
    font-size: .88rem;
    cursor: pointer;
    transition: background .25s, color .25s, transform .2s, box-shadow .2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,.1);
    letter-spacing: .2px;
}
.btn-book-white:hover {
    background: var(--primary-dark);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(90,64,33,.3);
}
.btn-book-white i {
    font-size: .8rem;
    transition: transform .2s;
}
.btn-book-white:hover i {
    transform: translateX(3px);
}

.btn-view {
    background: transparent;
    color: var(--primary-dark);
    border: 1px solid var(--primary-dark);
    padding: 10px 20px;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    transition: .2s;
    font-size: 14px;
    display: inline-block;
    text-align: center;
    width: 100%;
}
.btn-view:hover { background: var(--primary-dark); color: white; }

.read-btn {
    background: #16a34a;
    color: #fff;
    border: none;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all .3s ease;
    box-shadow: 0 4px 10px rgba(22,163,74,.3);
}
.read-btn:hover { background:#15803d; transform:translateY(-2px); }
.btn-container { display:flex; justify-content:center; align-items:center; margin-top:20px; }

/* ============================================================
   NAVBAR
   ============================================================ */
.gb-top-bar {
    background: #5a4021;
    color: #f5e7d9;
    padding: 10px 0;
    font-size: .85rem;
}
.gb-top-bar .gb-container {
    max-width: 1320px; margin:0 auto; padding:0 24px;
    display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px;
}
.gb-top-contact i, .gb-top-social i { margin-right:8px; color:var(--accent-gold); }
.gb-top-social a { color:#f5e7d9; margin-left:18px; transition:.3s; text-decoration:none; }
.gb-top-social a:hover { color:var(--accent-gold); }

.gb-main-header {
    background: white;
    box-shadow: 0 5px 20px rgba(0,0,0,.05);
    position: sticky; top:0; z-index:1000;
}
.gb-nav-container {
    max-width:1320px; margin:0 auto; padding:12px 24px;
    display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap;
}
.gb-logo img { height:52px; width:auto; border-radius:12px; }

.gb-nav-menu { display:flex; list-style:none; gap:28px; align-items:center; margin:0; padding:0; }
.gb-nav-menu li { position:relative; list-style:none; }
.gb-nav-menu a {
    text-decoration:none; color:var(--text-dark); font-weight:600;
    font-size:.95rem; transition:.2s; padding:6px 0; display:block; white-space:nowrap;
}
.gb-nav-menu a:hover,
.gb-nav-menu li.gb-active > a { color:var(--primary-green); border-bottom:2px solid var(--accent-gold); }

.gb-dropdown-menu {
    position:absolute; top:40px; left:0; background:white;
    min-width:220px; box-shadow:0 12px 30px rgba(0,0,0,.1);
    border-radius:12px; opacity:0; visibility:hidden;
    transition:.2s; z-index:100; padding:8px 0; list-style:none;
}
.gb-dropdown-submenu:hover > .gb-dropdown-menu { opacity:1; visibility:visible; }
.gb-dropdown-menu li { padding:0; position:relative; list-style:none; }
.gb-dropdown-menu a { padding:8px 20px; font-weight:500; border-bottom:none; white-space:nowrap; }
.gb-dropdown-menu .gb-dropdown-submenu .gb-dropdown-menu { left:100%; top:0; margin-left:2px; }
.gb-has-arrow::after {
    content:'\f107'; font-family:'Font Awesome 6 Free';
    font-weight:900; margin-left:6px; font-size:.75rem;
}

.gb-hamburger { font-size:28px; cursor:pointer; display:none; color:var(--primary-green); background:none; border:none; padding:5px; }

.gb-offcanvas {
    position:fixed; top:0; left:-320px; width:300px; height:100%;
    background:white; z-index:2000; transition:.3s ease;
    padding:20px; overflow-y:auto; box-shadow:2px 0 12px rgba(0,0,0,.2);
}
.gb-offcanvas.gb-open { left:0; }
.gb-offcanvas-overlay {
    display:none; position:fixed; top:0; left:0;
    width:100%; height:100%; background:rgba(0,0,0,.5); z-index:1500;
}
.gb-close-btn { background:none; border:none; font-size:28px; cursor:pointer; float:right; margin-bottom:20px; color:var(--primary-green); }
.gb-mobile-logo { text-align:center; margin:20px 0; }
.gb-mobile-logo img { max-width:80px; border-radius:50%; }
.gb-mobile-menu-list { list-style:none; margin-top:30px; padding:0; }
.gb-mobile-menu-list li { margin:14px 0; list-style:none; }
.gb-mobile-menu-list a { text-decoration:none; color:var(--text-dark); font-weight:600; display:block; padding:6px 0; }
.gb-mobile-dropdown-toggle {
    font-weight:600; cursor:pointer; padding:6px 0;
    display:flex; justify-content:space-between; align-items:center;
}
.gb-mobile-dropdown-toggle i { transition:transform .2s; }
.gb-mobile-submenu { list-style:none; padding-left:20px; max-height:0; overflow:hidden; transition:max-height .3s ease; }
.gb-mobile-submenu.gb-show { max-height:500px; }
.gb-mobile-submenu li { margin:8px 0; list-style:none; }
.gb-mobile-submenu a { font-weight:400; font-size:.9rem; }

@media (max-width:992px) {
    .gb-nav-menu  { display:none; }
    .gb-hamburger { display:block; }
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
    background: #1e2a32;
    color: #ddd;
    padding-top: 60px;
    margin-top: 40px;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}
.footer-col h4   { color:white; margin-bottom:20px; font-size:1.2rem; }
.footer-col ul   { list-style:none; padding:0; }
.footer-col li   { margin-bottom:10px; list-style:none; }
.footer-col a    { color:#bbb; text-decoration:none; transition:color .2s; }
.footer-col a:hover { color:var(--accent-gold); }
.copyright {
    border-top: 1px solid #2c3a44;
    text-align: center;
    padding: 24px 0;
    font-size: 14px;
}
.copyright a { color:#d4af37; text-decoration:none; }
.copyright a:hover { text-decoration:underline; }

/* Floating Widgets */
.whatsapp-widget {
    position:fixed; bottom:25px; left:25px;
    background:#25D366; color:white;
    padding:12px 20px; border-radius:50px;
    font-weight:bold; cursor:pointer; z-index:1100;
    box-shadow:0 5px 15px rgba(0,0,0,.2);
    display:flex; align-items:center; gap:8px;
    border:none; font-family:inherit; transition:transform .2s;
}
.whatsapp-widget:hover { transform:scale(1.02); background:#20b859; }

.back-to-top {
    position:fixed; bottom:25px; right:25px;
    background:var(--primary-dark); color:white;
    width:44px; height:44px; border-radius:50%;
    display:flex; align-items:center; justify-content:center;
    cursor:pointer; opacity:0; transition:.3s; z-index:1100; border:none;
}
.back-to-top.show  { opacity:1; }
.back-to-top:hover { background:#1b4d3e; }

/* ============================================================
   HERO SECTIONS
   ============================================================ */
/* Full-page swiper hero (index.php) */
.hero-slider { position:relative; overflow:hidden; }
.swiper      { width:100%; height:85vh; min-height:500px; }
.slide-bg {
    position:absolute; top:0; left:0; width:100%; height:100%;
    background-size:cover; background-position:center;
    transition:transform 7s ease; transform:scale(1.05);
}
.slide-bg::after {
    content:''; position:absolute; top:0; left:0; width:100%; height:100%;
    background:rgba(0,0,0,.45); pointer-events:none;
}
.swiper-slide-active .slide-bg { transform:scale(1); }
.hero-content {
    position:relative; z-index:10; text-align:center;
    top:50%; transform:translateY(-50%);
    color:white; text-shadow:0 2px 15px rgba(0,0,0,.6);
    padding:20px; opacity:0;
}
.swiper-slide-active .hero-content { animation:fadeInUp .8s ease forwards; }
@keyframes fadeInUp {
    from { opacity:0; transform:translateY(30px); }
    to   { opacity:1; transform:translateY(-50%);  }
}
.hero-content h1 { font-size:clamp(2rem,6vw,4rem); font-weight:800; letter-spacing:2px; margin-bottom:16px; }
.hero-content p  { font-size:1.2rem; max-width:700px; margin:0 auto; }

/* Hero Quote */
        .hero-quote {
            background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../img/gr_13.jpeg') no-repeat center center;
            background-size: cover;
            background-position: center;
            background-attachment: fixed;
            padding: 100px 0;
            text-align: center;
            color: white;
        }
        
        .hero-quote h2 {
            font-size: 2.5rem;
            font-weight: 800;
            margin-bottom: 20px;
        }
        
        .hero-quote p {
            font-size: 1.3rem;
            font-style: italic;
            max-width: 800px;
            margin: 0 auto;
        }

/* Simple banner (tours.php / destinations.php / communit_conservation.php) */
.hero-section {
    padding: 100px 0;
    text-align: center;
    color: white;
    background-size: cover;
    background-position: center;
}
.hero-section h1 { font-size:3rem; margin-bottom:16px; }
.hero-section p  { font-size:1.1rem; opacity:.9; }

/* -------------------------------------------------------
   Breadcrumb hero — bg image injected by navbar.php <style>
   (overlay gradient is also set there via $base_url)
   ------------------------------------------------------- */
.breadcrumb-section {
    /* structural fallback — actual bg-image set by navbar.php */
    background-color: #1b2e2a;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;    /* parallax feel */
    padding: 110px 0 90px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

/* dark + gold-tint overlay handled via background-image layer in navbar.php */

/* decorative bottom accent line */
.breadcrumb-section::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--accent-gold), transparent, var(--accent-gold));
    z-index: 1;
}

.breadcrumb-section .container {
    position: relative;
    z-index: 2;
}

/* eyebrow label above h1 */
.breadcrumb-section .bc-label {
    display: inline-block;
    background: rgba(212, 175, 55, 0.18);
    border: 1px solid rgba(212, 175, 55, 0.45);
    color: var(--accent-gold);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 5px 18px;
    border-radius: 40px;
    margin-bottom: 18px;
}

.breadcrumb-section h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    margin-bottom: 14px;
    letter-spacing: -.5px;
    text-shadow: 0 2px 20px rgba(0,0,0,.5);
    line-height: 1.15;
}

.breadcrumb-section p {
    font-size: 1.1rem;
    opacity: .88;
    max-width: 600px;
    margin: 0 auto 22px;
    text-shadow: 0 1px 8px rgba(0,0,0,.4);
}

/* breadcrumb trail */
.breadcrumb-section .breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 40px;
    padding: 6px 20px;
    font-size: .88rem;
    color: rgba(255,255,255,.75);
}
.breadcrumb-section .breadcrumb a {
    color: var(--accent-gold);
    transition: color .2s;
    text-decoration: none;
}
.breadcrumb-section .breadcrumb a:hover { color: #fff; }
.breadcrumb-section .breadcrumb .separator { margin: 0 6px; color: rgba(255,255,255,.35); }
.breadcrumb-section .breadcrumb .current  { color: #fff; font-weight: 600; }

/* ============================================================
   TOUR CARDS (shared by index, tours, destinations, tour_detail)
   ============================================================ */
.tour-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 40px;
}
/* 3-column override for index/destinations */
.tour-grid-3 { grid-template-columns: repeat(3,1fr); }

.tour-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    transition: .25s ease;
    box-shadow: 0 8px 20px rgba(0,0,0,.05);
    border: 1px solid #f0e8dd;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.tour-card:hover { transform:translateY(-6px); box-shadow:0 20px 30px -12px rgba(0,0,0,.15); }
.tour-card a     { display:flex; flex-direction:column; height:100%; text-decoration:none; color:inherit; }

.tour-img-wrapper {
    position: relative;
    width: 100%; height: 220px;
    overflow: hidden; background:#dce3eb; flex-shrink:0;
}
.tour-img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .4s ease; }
.tour-card:hover .tour-img { transform:scale(1.03); }

.tour-img-overlay { position:absolute; top:0; left:0; width:100%; padding:14px 18px; display:flex; justify-content:space-between; align-items:flex-start; pointer-events:none; z-index:5; }
.location-badge {
    background:#ffd700; color:#000;
    padding:6px 16px 6px 12px; border-radius:40px;
    font-size:.8rem; font-weight:700; letter-spacing:.3px;
    display:flex; align-items:center; gap:8px;
    box-shadow:0 4px 12px rgba(0,0,0,.15);
    border:1px solid rgba(255,215,0,.5);
}
.location-badge i { color:#000; font-size:.85rem; }
.icon-badge, .heart-icon {
    background:rgba(0,0,0,.55); backdrop-filter:blur(6px);
    width:38px; height:38px; border-radius:50%;
    display:flex; align-items:center; justify-content:center;
    color:#fff; font-size:1.1rem;
    border:1px solid rgba(255,255,255,.15);
    box-shadow:0 4px 12px rgba(0,0,0,.2);
}
.heart-icon i { color:hsl(120,11%,98%); }

.tour-content { padding:20px 22px 22px; flex:1; display:flex; flex-direction:column; }
.tour-location { font-size:13px; color:var(--accent-gold-alt); font-weight:600; margin-bottom:8px; }
.tour-title    { font-size:1.2rem; font-weight:700; margin-bottom:12px; line-height:1.3; }
.tour-price, .price {
    font-weight:800; color:var(--primary-green);
    font-size:1.2rem; display:inline-block; margin:6px 0 12px;
}
.tour-meta {
    display:flex; gap:16px; font-size:.85rem; color:#6b7280;
    margin-top:auto; padding-top:12px; border-top:1px solid #f0e8dd;
}
.tour-meta i { margin-right:4px; color:var(--accent-gold); }
.no-results { text-align:center; padding:60px; color:#6b7280; grid-column:1/-1; }
.no-results i { font-size:3rem; color:#d1d5db; margin-bottom:16px; display:block; }
.no-results h3 { font-size:1.5rem; margin-bottom:8px; color:#374151; }

/* ============================================================
   DESTINATION CAROUSEL (index.php)
   ============================================================ */
.destination-card {
    background:white; border-radius:24px; overflow:hidden;
    box-shadow:0 5px 20px rgba(0,0,0,.05); transition:.3s;
    height:100%; display:flex; flex-direction:column;
}
.destination-card:hover { transform:translateY(-6px); box-shadow:0 15px 25px rgba(0,0,0,.1); }
.destination-img  { width:100%; height:180px; object-fit:cover; display:block; }
.destination-content { padding:14px 16px 16px; text-align:center; }
.destination-content h4   { font-size:1.1rem; margin-bottom:4px; color:#1b2e2a; }
.destination-content span { font-weight:700; color:var(--primary-green); font-size:1rem; }

/* ============================================================
   SERVICES / ACTIVITIES GRID
   ============================================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
    margin-top: 30px;
}
.service-card {
    background:white; padding:30px; border-radius:32px;
    box-shadow:0 5px 12px rgba(0,0,0,.05); transition:.2s;
    border:1px solid #f0e8dd;
}
.service-card:hover { transform:translateY(-4px); box-shadow:0 10px 25px rgba(0,0,0,.08); }
.service-card i  { font-size:2.5rem; color:var(--accent-gold); margin-bottom:16px; display:block; }
.service-card h4, .service-card h3 { font-size:1.1rem; margin-bottom:8px; color:var(--primary-green); }
.service-card p  { color:#5a6872; font-size:.9rem; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-grid { display:grid; grid-template-columns:1fr 1fr; gap:50px; align-items:center; }
.about-img img { width:100%; border-radius:28px; box-shadow:0 15px 30px rgba(0,0,0,.1); }

.mission-vision-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:30px; margin-top:40px; }
.info-card {
    background:white; padding:40px 30px; border-radius:24px;
    box-shadow:0 10px 30px rgba(0,0,0,.05); text-align:center;
    transition:transform .3s; border:1px solid #eee;
}
.info-card:hover { transform:translateY(-8px); }
.info-card i  { font-size:3rem; color:var(--accent-gold); margin-bottom:20px; display:block; }
.info-card h3 { font-size:1.5rem; margin-bottom:15px; color:var(--primary-dark); }

.objectives-list { list-style:none; margin-top:30px; }
.objectives-list li {
    padding:12px 0; border-bottom:1px solid #e0e0e0;
    display:flex; align-items:center; gap:12px;
}
.objectives-list li i { color:var(--accent-gold); font-size:1.2rem; width:25px; }

.plans-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(300px,1fr)); gap:25px; margin-top:40px; }
.plan-item {
    background:white; padding:25px; border-radius:16px;
    display:flex; align-items:flex-start; gap:20px;
    box-shadow:0 5px 15px rgba(0,0,0,.05);
    border-left:4px solid var(--accent-gold);
    transition:transform .3s;
}
.plan-item:hover { transform:translateY(-5px); box-shadow:0 15px 30px rgba(0,0,0,.1); }
.plan-item i  { font-size:2rem; color:var(--accent-gold); min-width:50px; margin-top:5px; }
.plan-item h4 { font-size:1.1rem; margin-bottom:5px; color:var(--primary-green); }
.plan-item p  { color:#5a6872; font-size:.95rem; line-height:1.6; }

/* ============================================================
   COMMUNITY PAGE
   ============================================================ */
.initiative-card {
    background:white; border-radius:28px; padding:40px 35px;
    box-shadow:0 10px 30px rgba(0,0,0,.05); margin-bottom:40px;
    border:1px solid #f0e8dd; transition:transform .2s;
}
.initiative-card:hover { transform:translateY(-4px); }
.initiative-card h3 { font-size:1.8rem; color:var(--primary-dark); margin-bottom:16px; display:flex; align-items:center; gap:12px; }
.initiative-card h3 i { color:var(--accent-gold); font-size:2rem; }
.initiative-card p  { font-size:1.1rem; margin-bottom:18px; color:#2e3b3f; }
.initiative-card ul { list-style:none; margin-top:10px; }
.initiative-card ul li {
    padding:8px 0 8px 32px;
    background:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="%23d4af37" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M22 11.08V12a10 10 0 1 1-5.93-9.14"/><polyline points="22 4 12 14.01 9 11.01"/></svg>') left center no-repeat;
    background-size:20px;
}
.photo-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(250px,1fr)); gap:25px; margin-top:30px; }
.photo-item { border-radius:20px; overflow:hidden; box-shadow:0 8px 20px rgba(0,0,0,.08); background:white; transition:.3s; border:1px solid #eee; }
.photo-item:hover { transform:scale(1.01); box-shadow:0 12px 28px rgba(0,0,0,.12); }
.photo-item img { width:100%; height:200px; object-fit:cover; display:block; }
.photo-item .caption { padding:14px 16px; font-weight:500; color:var(--text-dark); background:white; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid { display:flex; flex-wrap:wrap; gap:30px; justify-content:center; margin:60px 0 40px; }
.contact-card {
    background:var(--primary-dark); border-radius:32px; padding:40px 24px;
    text-align:center; color:white; flex:1; min-width:220px; max-width:320px;
    transition:transform .2s; box-shadow:0 12px 24px rgba(0,0,0,.08);
}
.contact-card:hover { transform:translateY(-6px); }
.contact-card i  { font-size:48px; margin-bottom:20px; color:var(--accent-gold); display:block; }
.contact-card h3 { margin-bottom:16px; font-size:1.5rem; }
.contact-card a  { color:white; border-bottom:1px dotted rgba(255,255,255,.5); transition:.2s; }
.contact-card a:hover { color:var(--accent-gold); border-bottom-color:var(--accent-gold); }
.contact-card span { display:block; color:#eaddbb; }

.form-section   { background:#859D81; padding:70px 0; }
.form-container { background:white; border-radius:32px; padding:50px; max-width:800px; margin:0 auto; box-shadow:0 20px 35px rgba(0,0,0,.1); }
.form-container h2 { margin-bottom:30px; font-size:1.8rem; color:#1e2a32; text-align:center; }
.form-container h2 i { color:var(--accent-gold); margin-right:12px; }
.input-group { margin-bottom:24px; position:relative; }
.input-group input,
.input-group textarea {
    width:100%; padding:16px 20px;
    border:2px solid #ddd7ce; border-radius:60px;
    font-family:inherit; font-size:1rem; outline:none; transition:.2s; background:white;
}
.input-group textarea { border-radius:28px; resize:vertical; min-height:120px; }
.input-group input:focus, .input-group textarea:focus { border-color:var(--accent-gold); }
.input-group label {
    position:absolute; left:20px; top:18px; color:#8a7f72; transition:.2s;
    pointer-events:none; background:white; padding:0 4px; font-size:1rem;
}
.input-group input:focus ~ label,
.input-group textarea:focus ~ label,
.input-group input:not(:placeholder-shown) ~ label,
.input-group textarea:not(:placeholder-shown) ~ label { top:-10px; font-size:.8rem; color:var(--primary-dark); }
.btn-submit {
    background:var(--primary-dark); color:white; border:none;
    padding:16px 32px; border-radius:60px; font-weight:600; font-size:1rem;
    cursor:pointer; transition:.2s; width:100%;
}
.btn-submit:hover { background:#3f2d18; transform:translateY(-2px); box-shadow:0 8px 20px rgba(90,64,33,.3); }
.btn-submit i { margin-right:8px; }

/* ============================================================
   COMMUNITY CONSERVATION PAGE (modal etc)
   ============================================================ */
.modal-overlay {
    display:none; position:fixed; top:0; left:0; width:100%; height:100%;
    background:rgba(0,0,0,.7); backdrop-filter:blur(8px);
    z-index:10000; justify-content:center; align-items:center;
    padding:20px; animation:fadeInModal .3s ease;
}
.modal-overlay.active { display:flex; }
.modal-container {
    background:white; border-radius:24px; max-width:1100px; width:100%;
    max-height:90vh; overflow-y:auto;
    box-shadow:0 50px 100px rgba(0,0,0,.5);
    animation:slideUpModal .3s ease; position:relative;
}
.modal-close {
    position:sticky; top:16px; float:right; margin:16px 20px 0 0;
    background:white; border:none; width:44px; height:44px; border-radius:50%;
    font-size:24px; cursor:pointer; box-shadow:0 4px 12px rgba(0,0,0,.15);
    z-index:10; display:flex; align-items:center; justify-content:center;
    color:#1e2a32; transition:.2s;
}
.modal-close:hover { background:#f0e8dd; transform:rotate(90deg); }
.modal-body { padding:40px 50px 50px; }
.modal-body .modal-img-wrapper { width:100%; height:500px; border-radius:16px; overflow:hidden; background:#dce3eb; margin-bottom:30px; }
.modal-body .modal-img-wrapper img { width:100%; height:100%; object-fit:cover; }
.modal-body .modal-title  { font-size:2.2rem; font-weight:800; color:#1e2a32; margin-bottom:8px; }
.modal-body .modal-location { font-size:1rem; color:var(--accent-gold); font-weight:600; margin-bottom:20px; }
.modal-body .modal-description { font-size:1.05rem; line-height:1.8; color:#374151; margin-bottom:24px; }
.modal-body .modal-description p  { margin-bottom:1em; }
.modal-body .modal-description ul, .modal-body .modal-description ol { margin:1em 0; padding-left:2em; }
.modal-body .modal-description li { margin-bottom:.5em; }
.modal-body .modal-description blockquote { border-left:4px solid var(--accent-gold); padding-left:1em; margin:1em 0; color:#6b7280; font-style:italic; }
.modal-body .modal-details-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:20px; background:#f8f5f0; border-radius:16px; padding:24px; margin-top:20px; }
.modal-body .modal-detail-item { display:flex; flex-direction:column; }
.modal-body .modal-detail-item .label { font-size:.8rem; text-transform:uppercase; letter-spacing:.5px; color:#9ca3af; font-weight:600; }
.modal-body .modal-detail-item .value { font-size:1.1rem; font-weight:600; color:#1e2a32; margin-top:4px; }
.modal-body .modal-detail-item .value i { color:var(--accent-gold); margin-right:6px; }
.modal-book-btn {
    background:#25D366; color:white; border:none;
    padding:16px 32px; border-radius:40px; font-weight:700; font-size:1.1rem;
    cursor:pointer; transition:.2s; display:inline-block; margin-top:20px;
    text-align:center; width:100%; box-shadow:0 4px 15px rgba(37,211,102,.3);
}
.modal-book-btn:hover { background:#128C7E; transform:translateY(-2px); }
.modal-book-btn i { margin-right:10px; }
.modal-container::-webkit-scrollbar       { width:6px; }
.modal-container::-webkit-scrollbar-track { background:#f1f1f1; border-radius:10px; }
.modal-container::-webkit-scrollbar-thumb { background:var(--accent-gold); border-radius:10px; }
@keyframes fadeInModal  { from{opacity:0}   to{opacity:1} }
@keyframes slideUpModal { from{transform:translateY(30px);opacity:0} to{transform:translateY(0);opacity:1} }

/* ============================================================
   TOUR DETAIL PAGE
   ============================================================ */
.section-space { padding:70px 0; }
.tour-details-thumb { position:relative; border-radius:28px; overflow:hidden; margin-bottom:32px; box-shadow:0 20px 40px rgba(0,0,0,.08); }
.tour-details-thumb img { width:100%; max-height:480px; object-fit:cover; display:block; transition:transform .5s ease; }
.tour-details-thumb:hover img { transform:scale(1.02); }

/* Category badge — top left of cover image */
.tour-details-thumb .badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--accent-gold);
    color: #1a1a1a;
    padding: 6px 18px;
    border-radius: 40px;
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.2);
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 6px;
}
.tour-details-thumb .badge i { font-size: 0.8rem; }

/* Heart icon — top right of cover image */
.tour-details-thumb .heart-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(6px);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    border: 1.5px solid rgba(255,255,255,0.25);
    box-shadow: 0 4px 14px rgba(0,0,0,0.25);
    transition: background .25s, transform .25s;
    cursor: pointer;
}
.tour-details-thumb .heart-badge:hover {
    background: rgba(220, 38, 38, 0.75);
    transform: scale(1.1);
}
.tour-details-thumb .heart-badge i {
    color: #ffffff;
    font-size: 1.1rem;
}

.tour-details-title { font-size:2.2rem; font-weight:800; margin-bottom:12px; color:#1b2e2a; letter-spacing:-.5px; }
.tour-price-large { font-size:2.2rem; font-weight:800; color:var(--primary-green); margin:16px 0 24px; }
.tour-price-large small { font-size:1rem; font-weight:500; color:#6b7a7a; }
.inc-exc-grid { display:grid; grid-template-columns:1fr 1fr; gap:30px; margin:30px 0; }
.inc-exc-box { background:#f8f7f6; border-radius:20px; padding:24px 28px; border:1px solid #f0e8dd; }
.inc-exc-box h3 { font-size:1.2rem; margin-bottom:16px; color:#1b2e2a; display:flex; align-items:center; gap:10px; }
.inc-exc-box ul { list-style:none; padding:0; }
.inc-exc-box ul li { padding:8px 0; border-bottom:1px solid #f0e8dd; display:flex; align-items:center; gap:12px; font-size:.95rem; color:#3a4a4a; }
.inc-exc-box ul li:last-child { border-bottom:none; }
.inc-exc-box ul li .fa-check { color:#2d6a4f; }
.inc-exc-box ul li .fa-times  { color:#dc3545; }
.accordion-item { background:white; border:1px solid #e5e0d8; border-radius:16px; margin-bottom:12px; overflow:hidden; transition:.3s; }
.accordion-item:hover { border-color:var(--accent-gold); }
.accordion-button { background:white; padding:18px 24px; font-weight:700; font-size:1.05rem; width:100%; text-align:left; border:none; cursor:pointer; display:flex; justify-content:space-between; align-items:center; color:#1e2a32; }
.accordion-button:hover { background:#f8f5f0; }
.accordion-button i { transition:transform .3s; color:var(--accent-gold); font-size:.9rem; }
.accordion-button i.rotated { transform:rotate(180deg); }
.accordion-body { padding:0 24px 24px; background:#fefcf9; border-top:1px solid #ede5db; color:#2c3a44; display:none; line-height:1.8; font-size:.95rem; }
.accordion-body.show { display:block; animation:fadeIn .3s ease; }
@keyframes fadeIn { from{opacity:0;transform:translateY(-10px)} to{opacity:1;transform:translateY(0)} }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination { display:flex; justify-content:center; gap:12px; margin-top:50px; flex-wrap:wrap; }
.pagination a, .pagination span { display:inline-block; padding:8px 16px; background:#f5f0e8; border-radius:40px; font-weight:500; transition:.2s; text-decoration:none; color:#1e2a32; }
.pagination a.active, .pagination a:hover { background:var(--accent-gold-alt); color:white; }

/* ============================================================
   FILTER BAR (destinations.php)
   ============================================================ */
.filter-bar { background:#f8f5f0; padding:20px 0; border-bottom:1px solid #e8e0d5; }
.filter-bar .container { display:flex; flex-wrap:wrap; align-items:center; gap:16px; }
.filter-bar label { font-weight:600; color:var(--primary-dark); margin-right:8px; }
.filter-bar select, .filter-bar input { padding:8px 16px; border-radius:40px; border:1px solid #d5cdc0; background:white; font-family:'Inter',sans-serif; font-size:.9rem; min-width:160px; }
.filter-bar select:focus, .filter-bar input:focus { outline:none; border-color:var(--accent-gold); }
.filter-bar .filter-btn { background:var(--primary-dark); color:white; border:none; padding:8px 28px; border-radius:40px; font-weight:600; cursor:pointer; transition:.2s; }
.filter-bar .filter-btn:hover { background:#3f2d18; }
.filter-bar .clear-btn { background:transparent; color:#6b7280; border:1px solid #d5cdc0; padding:8px 20px; border-radius:40px; font-weight:500; cursor:pointer; transition:.2s; }
.filter-bar .clear-btn:hover { background:#e8e0d5; }

/* ============================================================
   RESPONSIVE — GLOBAL
   ============================================================ */
@media (max-width:992px) {
    .about-grid          { grid-template-columns:1fr; }
    .mission-vision-grid { grid-template-columns:1fr; }
    .tour-grid-3         { grid-template-columns:repeat(2,1fr); }
    .services-grid       { grid-template-columns:repeat(2,1fr); }
    .section-title       { font-size:1.8rem; }
    .hero-quote h1, .hero-quote h2 { font-size:2.2rem; }
    .hero-section h1     { font-size:2.5rem; }
    .breadcrumb-section h1 { font-size:2.5rem; }
    .breadcrumb-section   { padding:80px 0 60px; background-attachment:scroll; }
    .modal-body { padding:30px; }
    .modal-body .modal-img-wrapper { height:300px; }
    .modal-body .modal-title { font-size:1.8rem; }
    .inc-exc-grid { grid-template-columns:1fr; }
}
@media (max-width:768px) {
    .container      { padding:0 20px; }
    .section-padding { padding:50px 0; }
    .tour-grid, .tour-grid-3 { grid-template-columns:1fr 1fr; gap:20px; }
    .destination-img { height:150px; }
    .hero-section    { padding:60px 0; }
    .hero-section h1 { font-size:2rem; }
    .breadcrumb-section h1 { font-size:2rem; }
    .breadcrumb-section   { padding:70px 0 50px; }
    .contact-grid    { flex-direction:column; align-items:center; }
    .contact-card    { max-width:100%; width:100%; }
    .form-container  { padding:28px 20px; }
    .modal-body { padding:20px; }
    .modal-body .modal-img-wrapper { height:220px; }
    .modal-body .modal-title { font-size:1.4rem; }
    .modal-body .modal-details-grid { grid-template-columns:1fr 1fr; gap:12px; padding:16px; }
    .modal-container { max-height:95vh; }
}
@media (max-width:640px) {
    .section-padding { padding:50px 0; }
    .services-grid   { grid-template-columns:1fr; }
    .plans-grid      { grid-template-columns:1fr; }
    .hero-quote h1, .hero-quote h2 { font-size:1.8rem; }
    .breadcrumb-section h1 { font-size:1.8rem; }
    .breadcrumb-section   { padding:60px 0 40px; }
    .breadcrumb-section .breadcrumb { flex-wrap:wrap; justify-content:center; }
}
@media (max-width:480px) {
    .tour-grid, .tour-grid-3 { grid-template-columns:1fr; }
    .hero-content h1  { font-size:1.8rem; }
    .hero-section h1  { font-size:1.8rem; }
    .destination-img  { height:120px; }
    .breadcrumb-section h1 { font-size:1.5rem; }
    .breadcrumb-section p  { font-size:.95rem; }
    .modal-body { padding:16px; }
    .modal-body .modal-img-wrapper { height:180px; }
    .modal-body .modal-title { font-size:1.2rem; }
    .modal-body .modal-details-grid { grid-template-columns:1fr; }
    .modal-close { width:36px; height:36px; font-size:18px; margin:10px 12px 0 0; }
    .form-container h2 { font-size:1.4rem; }
}

/* ============================================================
   INDEX PAGE — TOUR GRID (Rwanda / Uganda — always 3 cols)
   ============================================================ */
.tour-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}
.tour-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,.05);
    transition: .3s;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid #f0e8dd;
}
.tour-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 30px rgba(0,0,0,.1);
}
.tour-card a {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}
.tour-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #dce3eb;
}
.tour-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}
.tour-card:hover .tour-img { transform: scale(1.03); }
.tour-img-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    padding: 14px 18px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    pointer-events: none;
    z-index: 5;
}
.location-badge {
    background: #ffd700;
    color: #000;
    padding: 6px 16px 6px 12px;
    border-radius: 40px;
    font-size: .8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
}
.location-badge i { color: #000; font-size: .85rem; }
.icon-badge, .heart-icon {
    background: rgba(0,0,0,.55);
    backdrop-filter: blur(6px);
    width: 38px; height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    border: 1px solid rgba(255,255,255,.15);
    box-shadow: 0 4px 12px rgba(0,0,0,.2);
}
.heart-icon i { color: hsl(120,11%,98%); }
.tour-content {
    padding: 20px 22px 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.tour-content .tour-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 6px 0 8px;
    line-height: 1.3;
}
.tour-content .price {
    font-weight: 800;
    color: var(--primary-green);
    font-size: 1.2rem;
    display: inline-block;
    margin: 10px 0 14px;
}
/* ============================================================
   SHARED CARD BUTTON STYLE
   btn-book, btn-book-white, btn-view-card all follow same shape
   ============================================================ */

/* Base card button — dark brown, white text, full width, with arrow */
.btn-view-card{
            background: var(--primary-dark);
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 40px;
            font-weight: 600;
            cursor: pointer;
            transition: 0.2s;
            font-size: 14px;
            display: inline-block;
            margin-top: 12px;
            text-align: center;
            width: 100%;
        }
        .btn-view:hover { 
            background: #3f2d18; 
        }

.btn-book i,
.btn-view-card i {
    font-size: .75rem;   /* REDUCED from .8rem */
    transition: transform .2s;
}
.btn-book:hover i,
.btn-view-card:hover i {
    transform: translateX(3px);
}

 .btn-book {
            background: var(--primary-green);
            border: none;
            color: white;
            padding: 10px 24px;
            border-radius: 40px;
            font-weight: 600;
            cursor: pointer;
            transition: 0.3s;
            font-size: 0.9rem;
            text-decoration: none;
            display: inline-block;
        }
        
        .btn-book:hover {
            background: #1b4d3e;
            transform: translateY(-2px);
        }
/* Responsive — tour grid */
@media (max-width: 992px) {
    .tour-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
    .tour-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   INDEX PAGE — SPECIAL SERVICES (always 4 cols)
   ============================================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    text-align: center;
    margin-top: 40px;
}
.service-card {
    background: white;
    padding: 30px 20px;
    border-radius: 24px;
    box-shadow: 0 5px 12px rgba(0,0,0,.05);
    transition: .2s;
    border: 1px solid #f0e8dd;
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0,0,0,.08);
}
.service-card i {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 16px;
    display: block;
}
.service-card h4 {
    font-size: 1.05rem;
    margin-bottom: 8px;
    color: var(--primary-green);
    font-weight: 700;
}
.service-card p {
    color: #5a6872;
    font-size: .9rem;
    line-height: 1.5;
}

/* Responsive — services grid */
@media (max-width: 992px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .service-card  { padding: 22px 14px; }
}

/* ============================================================
   TOURS PAGE — 4-COLUMN GRID
   ============================================================ */
.tour-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin-top: 40px;
}
@media (max-width: 1100px) {
    .tour-grid-4 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .tour-grid-4 { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 480px) {
    .tour-grid-4 { grid-template-columns: 1fr; }
}
