:root {
    --green: #163a2e;
    --green-dark: #0d241c;
    --gold: #c9a45c;
    --gold-light: #dfc07a;
    --cream: #f8f6f1;
    --dark: #121a17;
    --muted: #6a726d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    background: #fff;
    line-height: 1.65;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}
.safari-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.safari-logo img {
    width: 150px;
    height: auto;
    display: block;
    object-fit: contain;
}

@media (max-width: 768px) {
    .safari-logo img {
        width: 120px;
    }
}
/* ===================== NAVBAR ===================== */
.safari-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 22px 0;
    background: transparent;
    transition: all 0.4s ease;
}

.safari-navbar.scrolled {
    padding: 13px 0;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(18px);
}

.navbar-container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 40px;
}

.safari-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    font-size: 22px;
    font-weight: 600;
}

.safari-navbar.scrolled .safari-logo {
    color: var(--green);
}

.logo-mark {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    font-size: 18px;
    font-weight: 600;
    transition: 0.3s;
}

.safari-navbar.scrolled .logo-mark {
    border-color: var(--green);
    color: var(--green);
}

.logo-text small {
    display: block;
    margin-top: 2px;
    font-size: 9px;
    letter-spacing: 3.5px;
    font-weight: 500;
    opacity: 0.85;
    font-family: 'Inter', sans-serif;
}

.safari-nav .nav-link {
    position: relative;
    padding: 10px 16px !important;
    color: rgba(255, 255, 255, 0.95);
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.safari-navbar.scrolled .safari-nav .nav-link {
    color: #1c2a24;
}

.safari-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 16px;
    bottom: 3px;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.35s ease;
}

.safari-nav .nav-link:hover::after,
.safari-nav .nav-link.active::after {
    width: calc(100% - 32px);
}

.safari-nav .dropdown-toggle::after {
    display: none !important;
}

.safari-nav .nav-caret {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    line-height: 1;
    margin-top: 1px;
    opacity: 0.85;
    transition: transform 0.25s ease;
}

.safari-nav .dropdown-toggle[aria-expanded="true"] .nav-caret {
    transform: rotate(180deg);
}

.dropdown-menu {
    border: none;
    border-radius: 12px;
    padding: 10px;
    min-width: 230px;
    margin-top: 10px !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.13);
}

.dropdown-item {
    padding: 11px 14px;
    border-radius: 8px;
    color: #1c2a24;
    font-size: 13.5px;
    font-weight: 500;
}

.dropdown-item:hover {
    background: #f2f5f2;
    color: var(--green);
    padding-left: 18px;
}

.plan-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-left: 20px;
    padding: 13px 24px;
    border: 1.5px solid var(--gold);
    border-radius: 8px;
    background: var(--gold);
    color: white;
    font-size: 13.5px;
    font-weight: 600;
    transition: all 0.35s ease;
}

.plan-btn:hover {
    background: transparent;
    color: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(201, 164, 92, 0.25);
}

.safari-navbar.scrolled .plan-btn:hover {
    background: var(--green);
    border-color: var(--green);
    color: white;
}

.navbar-toggler {
    border: none;
    color: white;
    font-size: 28px;
}

.safari-navbar.scrolled .navbar-toggler {
    color: var(--green);
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* ===================== HERO ===================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background-image:
        linear-gradient(
            180deg,
            rgba(8, 18, 14, 0.55) 0%,
            rgba(8, 18, 14, 0.4) 45%,
            rgba(8, 18, 14, 0.9) 100%
        ),
        url("https://images.unsplash.com/photo-1516426122078-c23e76319801?auto=format&fit=crop&w=2400&q=90");
    background-size: cover;
    background-position: center;
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 140px 40px 48px;
}

.hero-text {
    max-width: 780px;
    margin: 0 auto 52px;
    text-align: center;
    color: white;
}

.hero-text .eyebrow {
    display: inline-block;
    margin-bottom: 18px;
    padding: 6px 14px;
    background: rgba(201, 164, 92, 0.15);
    border: 1px solid rgba(201, 164, 92, 0.35);
    border-radius: 30px;
    color: var(--gold-light);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.hero-text h1 {
    margin: 0;
    font-size: clamp(42px, 6vw, 78px);
    line-height: 1.05;
    letter-spacing: -1.6px;
    color: white;
}

.hero-text p {
    max-width: 560px;
    margin: 22px auto 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 17px;
    line-height: 1.75;
}

.circuit-grid {
    width: 100%;
}

.circuit-card {
    position: relative;
    display: block;
    height: 260px;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
    transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.circuit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.4);
    border-color: rgba(201, 164, 92, 0.55);
}

.circuit-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.9s ease;
}

.circuit-card:hover img {
    transform: scale(1.1);
}

.circuit-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.92) 0%,
        rgba(0, 0, 0, 0.35) 50%,
        rgba(0, 0, 0, 0.08) 100%
    );
}

.circuit-content {
    position: absolute;
    z-index: 2;
    left: 26px;
    right: 26px;
    bottom: 26px;
    color: white;
}

.circuit-number {
    display: block;
    margin-bottom: 6px;
    color: var(--gold-light);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2.5px;
}

.circuit-content h3 {
    margin: 0 0 6px;
    font-size: 24px;
    letter-spacing: -0.3px;
}

.circuit-content p {
    margin: 0;
    padding-right: 48px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 13.5px;
    line-height: 1.45;
}

.circuit-arrow {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--gold);
    border-radius: 50%;
    color: var(--gold);
    font-size: 14px;
    transition: all 0.4s ease;
}

.circuit-card:hover .circuit-arrow {
    background: var(--gold);
    color: white;
    transform: rotate(45deg);
}

/* ===================== ABOUT ===================== */
.about-section {
    padding: 140px 0;
    background: #fff;
}

.about-container {
    max-width: 1340px;
    margin: 0 auto;
    padding: 0 40px;
}

.section-label {
    display: block;
    margin-bottom: 16px;
    color: var(--gold);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3.5px;
    text-transform: uppercase;
}

.about-intro h2 {
    margin-bottom: 28px;
    color: var(--green);
    font-size: clamp(36px, 4.3vw, 56px);
    line-height: 1.08;
    letter-spacing: -1.3px;
}

.about-intro p {
    margin-bottom: 20px;
    color: var(--muted);
    font-size: 16.5px;
    line-height: 1.85;
}

.about-points {
    padding-left: 55px;
}

.about-point {
    display: flex;
    gap: 22px;
    padding: 28px 0;
    border-bottom: 1px solid #ebe9e4;
}

.about-point:first-child {
    padding-top: 0;
}

.about-point:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.about-point:hover .about-icon {
    background: var(--green);
    color: white;
    transform: scale(1.08);
}

.about-icon {
    flex: 0 0 54px;
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--cream);
    color: var(--gold);
    font-size: 21px;
    transition: all 0.35s ease;
}

.about-point h4 {
    margin-bottom: 8px;
    color: var(--green);
    font-size: 19px;
}

.about-point p {
    margin: 0;
    color: #6c746f;
    font-size: 14.5px;
    line-height: 1.75;
}

.about-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 30px;
    padding: 15px 28px;
    border: 1.5px solid var(--green);
    border-radius: 8px;
    color: var(--green);
    font-size: 14px;
    font-weight: 600;
    transition: all 0.35s ease;
}

.about-btn:hover {
    background: var(--green);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(22, 58, 46, 0.22);
}

/* ===================== REVIEWS ===================== */
.reviews-section {
    padding: 130px 0 140px;
    background: var(--cream);
}

.reviews-container {
    max-width: 1340px;
    margin: 0 auto;
    padding: 0 40px;
}

.reviews-heading {
    max-width: 620px;
    margin: 0 auto 65px;
    text-align: center;
}

.reviews-heading h2 {
    margin-bottom: 18px;
    color: var(--green);
    font-size: clamp(34px, 4vw, 50px);
    letter-spacing: -1px;
}

.reviews-heading p {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.75;
}

.review-card {
    height: 100%;
    min-height: 330px;
    padding: 38px;
    background: white;
    border: 1px solid #e9e6df;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
}

.review-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 55px rgba(0, 0, 0, 0.1);
    border-color: rgba(201, 164, 92, 0.3);
}

.quote-icon {
    margin-bottom: 20px;
    color: var(--gold);
    font-size: 34px;
}

.review-stars {
    margin-bottom: 20px;
    color: var(--gold);
    font-size: 14px;
    letter-spacing: 2.5px;
}

.review-text {
    margin-bottom: 28px;
    color: #555e59;
    font-size: 15.5px;
    line-height: 1.8;
}

.review-user {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 22px;
    border-top: 1px solid #eeebe5;
}

.review-avatar {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--green);
    color: white;
    font-size: 14px;
    font-weight: 600;
}

.review-user h5 {
    margin: 0 0 3px;
    color: var(--green);
    font-size: 15px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
}

.review-user span {
    color: #888;
    font-size: 12.5px;
}

.reviews-carousel {
    position: relative;
    padding-bottom: 65px;
}

.carousel-control-prev,
.carousel-control-next {
    position: absolute;
    top: auto;
    bottom: 0;
    width: 48px;
    height: 48px;
    border: 1.5px solid #d4d0c5;
    border-radius: 50%;
    background: white;
    color: var(--green);
    opacity: 1;
    transition: 0.3s;
}

.carousel-control-prev {
    left: calc(50% - 58px);
}

.carousel-control-next {
    right: calc(50% - 58px);
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: var(--green);
    border-color: var(--green);
    color: white;
    transform: scale(1.08);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 16px;
    height: 16px;
    filter: none;
}

.carousel-indicators {
    position: absolute;
    bottom: 15px;
    margin-bottom: 0;
}

.carousel-indicators [data-bs-target] {
    width: 9px;
    height: 9px;
    margin: 0 5px;
    border: none;
    border-radius: 50%;
    background-color: #bcb8ad;
    opacity: 1;
}

.carousel-indicators .active {
    background-color: var(--gold);
    transform: scale(1.25);
}

/* ===================== FOOTER ===================== */
.footer {
    background: var(--green-dark);
    color: rgba(255, 255, 255, 0.7);
}

.footer-main {
    max-width: 1500px;
    margin: 0 auto;
    padding: 90px 40px 65px;
}

.footer-brand {
    max-width: 380px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    color: white;
    font-size: 22px;
    font-weight: 600;
}

.footer-logo-mark {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--gold);
    border-radius: 50%;
    color: var(--gold);
    font-size: 18px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.58);
    font-size: 14.5px;
    line-height: 1.85;
}

.footer-title {
    margin-bottom: 22px;
    color: white;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 13px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.58);
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--gold);
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: 14px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 14px;
}

.footer-contact i {
    width: 24px;
    margin-right: 6px;
    color: var(--gold);
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 28px;
}

.footer-social a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: white;
    font-size: 15px;
    transition: 0.3s;
}

.footer-social a:hover {
    border-color: var(--gold);
    background: var(--gold);
    color: white;
    transform: translateY(-4px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom-inner {
    max-width: 1500px;
    margin: 0 auto;
    padding: 22px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.4);
    font-size: 13px;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    margin-left: 24px;
}

.footer-bottom a:hover {
    color: var(--gold);
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 991.98px) {
    .safari-navbar {
        padding: 16px 0;
    }

    .navbar-container {
        padding: 0 24px;
    }

    .navbar-collapse {
        margin-top: 16px;
        padding: 24px;
        background: white;
        border-radius: 14px;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    }

    .safari-nav .nav-link {
        display: flex;
        justify-content: space-between;
        width: 100%;
        padding: 14px 6px !important;
        color: #1c2a24 !important;
        border-bottom: 1px solid #f0f0ec;
    }

    .safari-nav .nav-link::after {
        display: none;
    }

    .safari-nav .dropdown-menu {
        margin-top: 0 !important;
        box-shadow: none;
        padding: 0 0 8px 12px;
        background: transparent;
    }

    .plan-btn {
        width: 100%;
        justify-content: center;
        margin: 20px 0 0;
    }

    .hero-container {
        padding: 120px 24px 36px;
    }

    .hero-text {
        margin-bottom: 36px;
    }

    .hero-text h1 {
        font-size: 42px;
    }

    .circuit-card {
        height: 230px;
    }

    .about-section {
        padding: 100px 0;
    }

    .about-container {
        padding: 0 24px;
    }

    .about-intro {
        margin-bottom: 50px;
    }

    .about-points {
        padding-left: 0;
    }

    .reviews-section {
        padding: 100px 0 110px;
    }

    .reviews-container {
        padding: 0 24px;
    }

    .footer-main {
        padding: 70px 24px 50px;
    }

    .footer-brand {
        margin-bottom: 40px;
    }

    .footer-bottom-inner {
        padding: 22px 24px;
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 575px) {
    .hero-container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .hero-text h1 {
        font-size: 36px;
    }

    .circuit-card {
        height: 210px;
    }

    .circuit-content h3 {
        font-size: 20px;
    }

    .about-intro h2 {
        font-size: 34px;
    }

    .review-card {
        padding: 28px;
        min-height: 300px;
    }

    .reviews-heading h2 {
        font-size: 32px;
    }

    .footer-bottom a {
        margin-left: 0;
        margin-right: 18px;
    }
}

/* ===== CLICKABLE CIRCUIT CARDS ===== */
.circuit-grid {
    width: 100%;
}

.circuit-card {
    position: relative;
    display: block;
    width: 100%;
    height: 260px;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
    text-decoration: none !important;
    color: inherit;
    cursor: pointer;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.45s ease,
                border-color 0.45s ease;
}

.circuit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.4);
    border-color: rgba(201, 164, 92, 0.55);
}

/* Image — isibofye, click iende kwa <a> */
.circuit-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.9s ease;
    pointer-events: none;
}

.circuit-card:hover img {
    transform: scale(1.1);
}

/* Overlay */
.circuit-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.92) 0%,
        rgba(0, 0, 0, 0.35) 50%,
        rgba(0, 0, 0, 0.08) 100%
    );
    pointer-events: none;
    z-index: 1;
}

/* Content — isibofye */
.circuit-content {
    position: absolute;
    z-index: 2;
    left: 26px;
    right: 26px;
    bottom: 26px;
    color: white;
    pointer-events: none;
}

.circuit-number {
    display: block;
    margin-bottom: 6px;
    color: #dfc07a;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2.5px;
}

.circuit-content h3 {
    margin: 0 0 6px;
    font-size: 24px;
    letter-spacing: -0.3px;
    color: #fff;
}

.circuit-content p {
    margin: 0;
    padding-right: 48px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 13.5px;
    line-height: 1.45;
}

.circuit-arrow {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #c9a45c;
    border-radius: 50%;
    color: #c9a45c;
    font-size: 14px;
    transition: all 0.4s ease;
    pointer-events: none;
}

.circuit-card:hover .circuit-arrow {
    background: #c9a45c;
    color: white;
    transform: rotate(45deg);
}

@media (max-width: 767.98px) {
    .circuit-card {
        height: 230px;
    }
    .circuit-content h3 {
        font-size: 20px;
    }
}