/* Global Styles */
html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
    scroll-behavior: smooth;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    overflow-x: hidden;
}

/* Focus styles */
.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

/* Color Variables */
:root {
    --primary-color: #1a5276;
    --secondary-color: #f39c12;
    --accent-color: #2ecc71;
}
/* Transparent navigation (default) */
.custom-nav {
    background: transparent;
    transition: all 0.3s ease-in-out;
    padding: 5px 0;
    z-index: 1000;
}

    .custom-nav .nav-link {
        color: white;
        font-weight: 500;
        transition: color 0.3s ease-in-out;
    }

        .custom-nav .nav-link i {
            color: white;
            transition: color 0.3s ease-in-out;
        }

/* On scroll — make background white and text black */
.navbar.scrolled {
    background-color: white !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

    .navbar.scrolled .nav-link {
        color: #000 !important;
    }

        .navbar.scrolled .nav-link i {
            color: #000 !important;
        }

/* Navigation Styles */
.transparent-nav {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    padding: 15px 0;
}

    .transparent-nav.scrolled {
        background: rgba(255, 255, 255, 0.95);
        box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    }

.navbar-brand {
    font-weight: 600;
    font-size: 1.3rem;
    color: white !important;
    transition: color 0.3s;
}

.transparent-nav.scrolled .navbar-brand {
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: white !important;
    margin: 0 8px;
    transition: all 0.3s;
    position: relative;
}

.transparent-nav.scrolled .navbar-nav .nav-link {
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link:hover {
    color: var(--secondary-color) !important;
    transform: translateY(-2px);
}

.navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 4px 8px;
}

.transparent-nav.scrolled .navbar-toggler {
    border-color: rgba(0, 0, 0, 0.1);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    width: 1.2em;
    height: 1.2em;
    color:black;
}

.transparent-nav.scrolled .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.5%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
/* Dropdown Styles */
.accordion-item {
    border-radius: 10px;
    overflow: hidden;
    transition: background 0.3s ease;
    border: 1px solid #e3e6f0;
    margin-bottom: 10px;
}

    .accordion-item:hover {
        background: #e7f1ff; /* light blue */
    }

.accordion-header button {
    font-weight: 600;
    font-size: 1rem;
    padding: 1rem;
}

.review-body {
    padding: 1rem 1.25rem;
    color: #555;
}

.view-more-container {
    text-align: center;
    margin-top: 20px;
}

.btn-view-more {
    padding: 10px 25px;
    border-radius: 25px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    font-weight: 600;
    transition: 0.3s;
}

    .btn-view-more:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 15px rgba(102, 126, 234, 0.4);
        color: white;
    }

.section-title {
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
}
/* Ensure dropdown works on mobile with click */
@media (max-width: 991.98px) {


    .transparent-nav.scrolled .dropdown-item {
        color: var(--primary-color) !important;
    }
}

/* Carousel Styles */
.carousel {
    margin-top: 0;
}

.carousel-item {
    height: 100vh;
    min-height: 600px;
    background: no-repeat center center;
    background-size: cover;
    position: relative;
}

.carousel-caption {
    bottom: 25%;
    text-align: left;
    padding: 30px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 15px;
    backdrop-filter: blur(5px);
    max-width: 600px;
    margin: 0 auto;
    left: 50%;
    transform: translateX(-50%);
}

    .carousel-caption h2 {
        font-size: clamp(2rem, 5vw, 3.5rem);
        font-weight: 700;
        color: white;
        text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
        margin-bottom: 1rem;
    }

    .carousel-caption p {
        font-size: clamp(1rem, 2.5vw, 1.2rem);
        margin-bottom: 1.5rem;
        line-height: 1.6;
    }

.btn-explore {
    background-color: var(--secondary-color);
    border: none;
    padding: 12px 35px;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s;
    color: white;
    text-decoration: none;
    display: inline-block;
}

    .btn-explore:hover {
        background-color: #e67e22;
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
        color: white;
    }

/* Section Styles */
.section-title {
    text-align: center;
    margin: 60px 0 40px;
    color: var(--primary-color);
    position: relative;
    font-weight: 700;
}

    .section-title:after {
        content: '';
        display: block;
        width: 80px;
        height: 4px;
        background: var(--secondary-color);
        margin: 15px auto;
        border-radius: 2px;
    }

/* Card Styles */
.card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    height: 100%;
}

    .card:hover {
        transform: translateY(-12px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    }

.card-img-top {
    height: 220px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

.card-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

/* About Section */
.about-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
/*    position: relative;*/
}

    .about-section::before {
/*        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;*/
        background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    }

    .about-section img {
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
        border-radius: 15px;
    }

/* Testimonial Styles */
.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    height: 100%;
    border-left: 4px solid var(--secondary-color);
    transition: transform 0.3s ease;
}

    .testimonial-card:hover {
        transform: translateY(-5px);
    }

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.7;
    color: #555;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0;
}
/* Booking */

/* Footer Styles */
.footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, #144366 100%);
    color: white;
/*    position: relative;*/
}
footer {
    position: relative;
    bottom: 0;
    left: 0;
    right: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}
    .footer::before {
        /*content: '';*/
/*        position: absolute;*/
        /*top: 0;
        left: 0;
        right: 0;
        height: 3px;*/
        background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    }

    .footer h5 {
        margin-bottom: 20px;
        font-weight: 600;
        color: white;
    }

    .footer ul {
        padding-left: 0;
        list-style: none;
        margin-bottom: 0;
    }

        .footer ul li {
            margin-bottom: 4px;
            display: flex;
            align-items: center;
        }

            .footer ul li a {
                color: #ddd;
                text-decoration: none;
                transition: all 0.3s;
                display: flex;
                align-items: center;
            }

                .footer ul li a:hover {
                    color: white;
                    transform: translateX(5px);
                }

.social-icons {
    margin-top: 20px;
}

    .social-icons a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        text-align: center;
        line-height: 42px;
        margin-right: 12px;
        color: white;
        transition: all 0.3s;
        text-decoration: none;
    }

        .social-icons a:hover {
            background: var(--secondary-color);
            transform: translateY(-3px) scale(1.1);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        }

/* Scroll buttons */
.scroll-btn-mobile {
    display: none;
}

@media (max-width: 768px) {
    .desktop-grid {
        display: none !important;
    }

    .scroll-btn-mobile {
        display: flex;
        justify-content: space-between;
        margin-bottom: 1rem;
    }

        .scroll-btn-mobile button {
            border: none;
            background: #fff;
            padding: 10px 18px;
            border-radius: 50px;
            box-shadow: 0px 4px 10px rgba(0,0,0,0.15);
        }
}

@media (min-width: 769px) {
    .mobile-only {
        display: none !important;
    }
}

    /* Responsive Design */
    @media (max-width: 768px) {
        .carousel-item {
            height: 70vh;
            min-height: 500px;
        }

        .carousel-caption {
            bottom: 15%;
            padding: 20px;
            width: 90%;
        }

            .carousel-caption h2 {
                font-size: 1.8rem;
            }

            .carousel-caption p {
                font-size: 1rem;
            }

        .section-title {
            margin: 40px 0 30px;
        }

        .about-section,
        .newsletter-section {
            padding: 60px 0;
        }

        .footer .row > div {
            margin-bottom: 30px;
        }

        .transparent-nav {
            background: rgba(255, 255, 255, 0.95) !important;
        }

        .navbar-brand {
            color: var(--primary-color) !important;
        }

        .navbar-nav .nav-link {
            color: var(--primary-color) !important;
            padding: 10px 15px;
            border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        }

        .navbar-collapse {
            background: white;
            margin-top: 10px;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            padding: 10px;
        }
    }
    /*Luxury Safari*/
    /* Responsive Design */
    @media (max-width: 768px) {
        .destination-cards {
            grid-template-columns: 1fr;
        }

        .hero-section {
            height: 50vh;
        }

        .modal-body {
            padding: 1.5rem;
        }

        .confirmation-card {
            padding: 2rem 1.5rem;
            margin: 1rem;
        }

        .confirmation-title {
            font-size: 2rem;
        }

        .btn-group {
            flex-direction: column;
        }

        .btn-primary, .btn-outline-primary {
            width: 100%;
        }
    }
    /* Responsive Design */
    @media (max-width: 1200px) {
        .trip-card {
            flex: 0 0 calc(33.333% - 20px);
        }
    }

    @media (max-width: 992px) {
        .trips-scroller {
            flex-wrap: wrap;
            overflow-x: visible;
            justify-content: center;
        }

        .trip-card {
            flex: 0 0 calc(50% - 30px);
            margin-bottom: 2rem;
        }

        .scroll-btn {
            display: none;
        }

        .trips-container {
            padding: 0 20px;
        }
    }

    @media (max-width: 768px) {
        .trip-card {
            flex: 0 0 100%;
            min-width: unset;
            margin-right: 0;
        }

        .trips-scroller {
            gap: 20px;
        }

        .hero-section {
            height: 60vh;
        }

        .modal-body {
            padding: 1.5rem;
        }
        .hero-full {
            height: 35vh; /* Smaller height for phones */
        }
    }

    @media (max-width: 576px) {
        .trips-container {
            padding: 0 15px;
        }

        .trip-card {
            margin-bottom: 1.5rem;
        }

        .modal-dialog {
            margin: 10px;
        }
    }
    /*End Luxury Safari*/
    @media (max-width: 768px) {
        .hero-section {
            height: 60vh;
        }

        .hero-content h2 {
            font-size: 2rem;
            padding: 0 1rem;
        }

        .hero-section {
            background-position: top center;
            padding-top: 60px;
            min-height: auto;
        }

        h2.display-4 {
            font-size: 1.8rem;
        }

        .bg-light, .bg-dark {
            padding: 20px;
        }
    }

    @media (max-width: 576px) {
        .carousel-item {
            height: 60vh;
            min-height: 400px;
        }

        .carousel-caption {
            bottom: 10%;
            padding: 15px;
        }

            .carousel-caption h2 {
                font-size: 1.5rem;
            }

        .btn-explore {
            padding: 10px 25px;
            font-size: 0.9rem;
        }

        .card-img-top {
            height: 180px;
        }
    }
    /*Luxury Safari Page*/
    /* Text styling */
    .hero-content {
        position: relative;
        z-index: 2;
    }

        .hero-content h2 {
            font-size: 3rem;
            font-weight: 700;
        }

    /* Luxury Trips Section */

#tripCarousel {
    margin-bottom: 0;
    padding-bottom: 0;
}

    #tripCarousel .carousel-inner {
        height: 250px;
    }

    #tripCarousel .carousel-item img {
        height: 250px;
        width: 100%;
        object-fit: cover;
        border-radius: 12px;
        filter: brightness(70%);
    }

    #tripCarousel .carousel-indicators {
        bottom: 5px;
    }

#tripCarousel2 {
    margin-bottom: 0;
    padding-bottom: 0;
}

    #tripCarousel2 .carousel-inner {
        height: 250px;
    }

    #tripCarousel2 .carousel-item img {
        height: 250px;
        width: 100%;
        object-fit: cover;
        border-radius: 12px;
        filter: brightness(70%);
    }

    #tripCarousel2 .carousel-indicators {
        bottom: 5px;
    }

#tripCarousel3 {
    margin-bottom: 0;
    padding-bottom: 0;
}

    #tripCarousel3 .carousel-inner {
        height: 250px;
    }

    #tripCarousel3 .carousel-item img {
        height: 250px;
        width: 100%;
        object-fit: cover;
        border-radius: 12px;
        filter: brightness(70%);
    }

    #tripCarousel3 .carousel-indicators {
        bottom: 5px;
    }

#tripCarousel4 {
    margin-bottom: 0;
    padding-bottom: 0;
}

    #tripCarousel4 .carousel-inner {
        height: 250px;
    }

    #tripCarousel4 .carousel-item img {
        height: 250px;
        width: 100%;
        object-fit: cover;
        border-radius: 12px;
        filter: brightness(70%);
    }

    #tripCarousel4 .carousel-indicators {
        bottom: 5px;
    }

#tripCarousel5 {
    margin-bottom: 0;
    padding-bottom: 0;
}

    #tripCarousel5 .carousel-inner {
        height: 250px;
    }

    #tripCarousel5 .carousel-item img {
        height: 250px;
        width: 100%;
        object-fit: cover;
        border-radius: 12px;
        filter: brightness(70%);
    }

    #tripCarousel5 .carousel-indicators {
        bottom: 5px;
    }

#tripCarousel6 {
    margin-bottom: 0;
    padding-bottom: 0;
}

    #tripCarousel6 .carousel-inner {
        height: 250px;
    }

    #tripCarousel6 .carousel-item img {
        height: 250px;
        width: 100%;
        object-fit: cover;
        border-radius: 12px;
        filter: brightness(70%);
    }

    #tripCarousel6 .carousel-indicators {
        bottom: 5px;
    }

    /* Modal Styling */
    .trip-modal .modal-header {
        position: relative;
        padding: 0;
        border-bottom: none;
    }

    .modal-hero-image {
        height: 300px;
        background-size: cover;
        background-position: center;
        position: relative;
    }

    .modal-hero-overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.6);
        color: white;
        padding: 1rem;
    }

        .modal-hero-overlay h3 {
            margin: 0;
            font-size: 1.8rem;
        }

    .modal-price {
        font-size: 1.5rem;
        font-weight: 700;
        color: #28a745;
        margin-top: 0.5rem;
    }

    .trip-modal .modal-body {
        padding: 2rem;
        max-height: 60vh;
        overflow-y: auto;
    }

    .trip-highlights {
        margin-bottom: 1.5rem;
    }

        .trip-highlights ul {
            padding-left: 1.5rem;
        }

    .trip-itinerary {
        margin-top: 1.5rem;
    }

    .day-item {
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
        border-bottom: 1px solid #eee;
    }

    .day-title {
        font-weight: 600;
        color: #0d6efd;
        margin-bottom: 0.5rem;
    }

    .day-activities {
        margin: 0;
        padding-left: 1.5rem;
    }

        .day-activities li {
            margin-bottom: 0.5rem;
        }

    .btn-booking {
        background: linear-gradient(135deg, #ff8a00, #e52e71);
        border: none;
        color: white;
        padding: 0.75rem 2rem;
        font-weight: 600;
        border-radius: 50px;
        transition: all 0.3s ease;
        width: 100%;
        margin-top: 1rem;
    }

        .btn-booking:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
            color: white;
        }

    /* Utility Classes */
    .mt-auto {
        margin-top: auto !important;
    }

    .g-4 {
        gap: 1.5rem !important;
    }

    .shadow {
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
    }

    /* Loading Animation */
    .fade-in {
        animation: fadeIn 0.8s ease-in;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(20px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @keyframes bounce {
        0%, 20%, 60%, 100% {
            transform: translateY(0);
        }

        40% {
            transform: translateY(-10px);
        }

        80% {
            transform: translateY(-5px);
        }
    }
    /*About*/
    .about-hero {
        position: relative;
        overflow: hidden;
    }

    .hero-img {
        height: 70vh;
        object-fit: cover;
        filter: brightness(70%);
    }

    .about-hero-overlay {
        background: rgba(0, 0, 0, 0.45);
        text-shadow: 1px 1px 8px rgba(0,0,0,0.8);
    }

    .bg-light {
        background-color: #f8f9fa !important;
    }

    section {
        scroll-margin-top: 70px;
    }

    ul {
        list-style: none;
        padding: 0;
    }

