@import url("https://fonts.googleapis.com/css2?family=Abril+Fatface&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Prata&display=swap");

:root {
    --green-color: #336633;
    --blue-color: #035f68;
    --primary-green: #2d5f2d; /* Deep, rich green */
    --primary-blue: #046e7a; /* Bold teal blue */
    --background-light: #f3f7f0; /* Soft off-white for contrast */
    --text-dark: #023430;
    --btn-dark-blue: #035f68;
    --btn-hover: #024850;
}

*,
::after,
::before {
    box-sizing: border-box;
}

.h-400 {
    max-height: 400px !important;
}

/* Navbar hamburger dynamic color */
.navbar-toggler {
    border: none; /* Remove border */
    background-color: transparent; /* No background */
}

.navbar-toggler-icon {
    background-image: none !important; /* Remove default Bootstrap icon */
    width: 30px;
    height: 3px;
    background-color: white; /* Default color */
    display: block;
    position: relative;
    transition: all 0.3s ease-in-out;
}

/* Create three lines for the hamburger menu */
.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: "";
    width: 30px;
    height: 3px;
    background-color: white; /* Default color */
    position: absolute;
    left: 0;
    transition: all 0.3s ease-in-out;
}

.navbar-toggler-icon::before {
    top: -8px;
}

.navbar-toggler-icon::after {
    top: 8px;
}

/* Toggle button when active (optional for animation) */
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background-color: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
    transform: rotate(45deg);
    top: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
    transform: rotate(-45deg);
    top: 0;
}

/* Make toggler icon color adapt dynamically */
.navbar-dark .navbar-toggler-icon,
.navbar-light .navbar-toggler-icon {
    background-color: white !important; /* Default white */
}

.navbar-dark .navbar-toggler-icon::before,
.navbar-dark .navbar-toggler-icon::after,
.navbar-light .navbar-toggler-icon::before,
.navbar-light .navbar-toggler-icon::after {
    background-color: white !important; /* Default white */
}

/* For light backgrounds, switch to dark */
.navbar-light {
    background-color: white;
}

.navbar-light .navbar-toggler-icon,
.navbar-light .navbar-toggler-icon::before,
.navbar-light .navbar-toggler-icon::after {
    background-color: black !important; /* Dark mode for light backgrounds */
}
/* Navbar hamburger dynamic color */

.section-header .section-inner h2 {
    color: #fff;
    font-size: 50px;
    font-family: "Abril Fatface", serif;
    text-align: center;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
    cursor: pointer;
    z-index: 1000;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float img {
    width: 40px;
    height: 40px;
}

.fs-14px {
    font-size: 14px !important;
}

.navbar {
    transition: background-color 0.3s ease-in-out;
    font-family: "Poppins", serif;
}

.navbar .navbar-brand:hover {
    color: var(--background-light);
}

.navbar .nav-link {
    color: #fff;
}

/* Change nav-link background to white and text to black on hover */
.navbar .nav-link:hover,
.navbar .nav-link:focus {
    background-color: white;
    color: black !important;
    border-radius: 5px;
}

/* Optionally, for active state (clicked link) */
.navbar .nav-link.active {
    background-color: white;
    color: black !important;
}

/* Header Section */
.section-header {
    height: 700px;
    position: relative;
    background: black;
}

.section-header img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    opacity: 0.6;
}

.section-header .section-inner {
    padding: 0 20px;
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.section-header .section-inner h1:nth-of-type(2) {
    font-size: 150px;
    font-family: "Great Vibes", cursive;
    color: #fff;
}

.section-header .section-inner h1:nth-of-type(1) {
    color: #ffb703;
    font-size: 120px;
    font-family: "Abril Fatface", serif;
}

.section-header .section-inner button {
    height: 60px;
    width: 200px;
    margin: auto;
    display: block;
    border: 0;
    border-radius: 35px;
    color: var(--blue-color);
    font-weight: 700;
    position: absolute;
    bottom: -150px;
    left: 50%;
    transform: translateX(-50%);
}

/* Section Titles */
h2.section-heading {
    font-family: "Abril Fatface", serif;
    color: rgb(20, 24, 62); /* Primary text color */
    font-size: 40px;
    margin-bottom: 50px;
    text-align: center;
    position: relative;
}

/* Option 1: Underline with Gradient Border */
h2.section-heading::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #035f68, #22a6b3);
    margin: 10px auto 0;
    border-radius: 5px;
}

/* Home Section */
.section-home {
    padding: 100px 0 50px;
    font-family: "Lato", sans-serif;
    text-align: center;
}

.section-home .card {
    border: 0;
    transition: all 0.5s;
    min-height: 200px;
    padding: 5px;
}

.section-home .card:hover {
    cursor: pointer;
    transform: translateY(5px);
}

.section-home .icon {
    height: 80px;
    margin: auto;
    margin-bottom: 20px;
}

.section-home .title {
    color: rgb(20, 24, 62);
    font-size: 20px;
    font-weight: 600;
}

.section-home .support-text {
    color: rgb(94, 98, 130);
    font-size: 14px;
    font-weight: 400;
    text-align: left;
}

.section-home img {
    height: 300px;
    margin: auto;
    margin-bottom: 20px;
    border-radius: 5px;
    object-fit: cover;
}

button.discover-more {
    height: 60px;
    width: 200px;
    border: 0;
    border-radius: 35px;
    color: var(--blue-color);
    font-weight: 700;
}

/* Center navbar links */
.navbar-nav {
    text-align: center;
    font-family: "Lato", sans-serif;
}

.navbar-brand {
    color: #fff;
    font-family: "Prata", serif;
    font-size: 25px;
}

.section-packages a,
.section-destinations a {
    text-decoration: none;
}

.section-testimonial .profile-image img {
    height: 150px;
    width: 150px;
    border-radius: 50%;
}

.section-testimonial .review p:first-of-type {
    color: var(--blue-color);
    font-weight: 600;
    margin-bottom: 0;
}

.section-testimonial .review p:nth-child(3) {
    font-size: 14px !important;
}

/* General Section Styling */
.section-about {
    font-family: "Lato", sans-serif;
    background-color: #f9f9f9;
    padding: 50px 0;
}

/* Heading Styling */
.section-about .section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #035f68;
    position: relative;
    padding-bottom: 10px;
}

.section-about .section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background-color: #336633;
    margin-top: 8px;
    border-radius: 2px;
}

/* Text Styling */
.section-about .section-text {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.7;
    padding: 10px 15px;
    text-align: left;
}

/* Image Styling */
.section-about .img-fluid {
    max-width: 100%;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
}

.rating {
    color: gold;
    font-size: 18px;
}

/* Fix dropdown menu alignment */
.navbar-nav .nav-item {
    position: relative;
}

.section-contact {
    padding: 50px 0 20px;
}

.section-contact .wrapper {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.section-contact .wrapper p {
    margin-bottom: 0;
    font-family: "Lato", sans-serif;
}

.section-contact .wrapper p:first-of-type {
    color: var(--blue-color);
    font-weight: 700;
    margin-bottom: 10px;
}

.section-contact .wrapper .image {
    border: 2px solid var(--green-color);
    border-radius: 50%;
    height: 50px;
    width: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
}

.section-contact .wrapper .image img {
    width: 30px;
}

.section-contact .section-contact-form {
    font-family: "Lato", sans-serif;
}

.section-contact .section-contact-form .form-title {
    font-weight: 600;
    font-size: 25px;
    color: var(--blue-color);
}

.section-contact .section-contact-form .form-control {
    border-radius: 0;
    border: 0;
    border-bottom: 2px solid var(--blue-color);
}

.section-contact .section-contact-form ::placeholder {
    color: var(--blue-color);
    font-size: 14px;
    opacity: 1; /* Firefox */
}

.section-contact .section-contact-form button[type="submit"] {
    height: 50px;
    width: 150px;
    background-color: var(--blue-color);
    color: #fff;
    border: 0;
}

.section-main {
    font-family: "Lato", sans-serif;
}

.card {
    border-radius: 15px;
    overflow: hidden;
}

.tour-item-title {
    font-size: 1.1rem;
    color: var(--blue-color);
    font-weight: 600;
    font-size: 30px;
    margin-bottom: 20px;
}

.tour-item-description li {
    font-size: 1rem;
    color: #555;
    transition: all 0.3s ease;
}

.tour-item-description li:hover {
    color: #007bff;
    transform: translateX(5px);
}

.tour-item-description i {
    font-size: 1.2rem;
}

.fa-check-circle {
    color: #6fcf97;
    font-size: 15px;
    margin-right: 11px;
}

.fa-check-circle:before {
    content: "\f058";
}

h2.block-title {
    font-size: 25px;
}

.tour-overview p,
.tour-itinerary p,
.tour-itinerary ul li {
    font-size: 14px;
}

.tour-itinerary .accordion-button {
    color: #28a745; /* Default green */
    font-weight: bold;
    transition: all 0.3s ease;
}

/* Remove borders and box-shadow from accordion */
.accordion-item {
    border: none;
}

/* Default Accordion Button Styling */
.accordion-button {
    color: #28a745; /* Green when closed */
    font-weight: bold;
    background-color: #f8f9fa; /* Light Grey */
    border: none;
    box-shadow: none;
    transition: all 0.3s ease;
}

/* Hover & Active (Open) State */
.accordion-button:hover,
.accordion-button:not(.collapsed) {
    color: #007bff !important; /* Blue when hovered/open */
    background-color: #f8f9fa; /* Keep Light Grey */
    border: none; /* Remove any border */
    box-shadow: none; /* Ensure no shadow */
}

/* Remove border from open accordion item */
.accordion-collapse {
    border: none;
}

/* Arrow Rotation Animation */
.accordion-button::after {
    transition: transform 0.3s ease;
}

.accordion-button:not(.collapsed)::after {
    transform: rotate(180deg);
}

.banner {
    background: var(--background-light);
    color: var(--text-dark);
    padding: 40px;
    text-align: center;
    border-radius: 16px;
    max-width: 900px;
    margin: 40px auto;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    font-family: "Lato", sans-serif;
    position: relative;
    overflow: hidden;
}

.banner::before {
    content: "";
    position: absolute;
    top: -50px;
    left: -50px;
    width: 150px;
    height: 150px;
    background: var(--primary-green);
    border-radius: 50%;
    opacity: 0.1;
}

.banner::after {
    content: "";
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: var(--primary-blue);
    border-radius: 50%;
    opacity: 0.1;
}

.banner h2 {
    color: var(--primary-blue);
    font-size: 28px;
    margin-bottom: 15px;
    font-weight: 700;
}

.banner p {
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 500;
    line-height: 1.5;
}

.banner ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.banner ul li {
    font-size: 18px;
    margin: 8px 0;
    padding: 12px;
    background: rgba(3, 95, 104, 0.15);
    border-radius: 8px;
    display: inline-block;
    width: 85%;
    font-weight: 500;
}

.banner .btn {
    background: var(--btn-dark-blue);
    color: white;
    padding: 14px 28px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 8px;
    display: inline-block;
    margin-top: 20px;
    transition: all 0.3s ease-in-out;
    font-size: 18px;
    box-shadow: 0 4px 12px rgba(3, 95, 104, 0.3);
}

.banner .btn:hover {
    background: var(--btn-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(3, 95, 104, 0.5);
}

/* Styling for input fields */
.custom-input {
    border-radius: 8px;
    padding: 12px;
    font-size: 16px;
    border: 1px solid #ccc;
    transition: all 0.3s ease-in-out;
}

.custom-input:focus {
    border-color: #035f68;
    box-shadow: 0 0 8px rgba(3, 95, 104, 0.3);
}

/* Styling for Submit Button */
.custom-btn {
    background: #035f68;
    color: white;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 8px;
    border: none;
    transition: all 0.3s ease-in-out;
}

.custom-btn:hover {
    background: #028193;
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(3, 95, 104, 0.4);
}

#contactUsModal .modal-header {
    background-color: var(--blue-color);
}

.footer {
    padding: 20px 10px;
    text-align: center;
    background: #f8f9fa;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
}

.footer-links a {
    text-decoration: none;
    color: #444;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease-in-out;
}

.footer-links a:hover {
    color: #035f68; /* Brand color */
}

.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.footer-bottom p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

.footer-bottom a {
    color: #035f68;
    text-decoration: none;
    font-weight: 600;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

.footer .socials {
    display: flex;
    padding: 0 10px;
    gap: 5px;
}

.footer .socials a img {
    height: 28px;
    width: 28px;
    transition: transform 0.3s ease-in-out;
}

.footer .socials a img:hover {
    transform: scale(1.2);
}

/* ───────────────────────────────────────────── */
/* RESPONSIVE DESIGN - Standard Breakpoints */
/* ───────────────────────────────────────────── */

/* ─── Extra Small & Small Screens (Mobile & Tablets) ─── */
@media (max-width: 991px) {
    .navbar.scrolled {
        background-color: var(--primary-green) !important;
    }

    .navbar .navbar-brand img {
        height: 50px;
        width: auto;
    }

    .navbar-brand span {
        font-size: 15px;
    }

    /* Mobile & Tablet Sidebar Menu */
    .navbar-collapse {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 75%;
        max-width: 300px;
        background: rgba(0, 0, 0, 0.9); /* Dark sidebar effect */
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        padding-top: 20px;
        z-index: 9999;
    }

    .navbar-collapse.show {
        transform: translateX(0);
    }

    /* Center items inside the sidebar */
    .navbar-nav {
        display: flex;
        flex-direction: column;
        align-items: center;
        height: 100%;
        justify-content: center;
    }

    /* Close button for mobile & tablet menu */
    .close-menu {
        position: absolute;
        top: 15px;
        right: 20px;
        font-size: 24px;
        color: white;
        background: none;
        border: none;
        cursor: pointer;
        display: block;
    }

    /* Adjust header text */
    .section-header .section-inner h1 span {
        font-size: 40px;
    }

    h2.section-heading {
        font-size: 25px;
    }

    .section-home {
        padding: 50px 0 20px;
    }

    .section-home .title {
        font-size: 16px;
    }

    .section-home .support-text {
        font-size: 12px;
    }

    .section-home .icon {
        height: 60px;
    }

    .section-home .card {
        min-height: unset;
        padding: 20px 0;
    }

    .section-header .section-inner h2 {
        font-size: 30px;
    }

    .section-header .section-inner h1:nth-of-type(2),
    .section-header .section-inner h1:nth-of-type(1) {
        font-size: 70px;
    }

    .section-about .section-title {
        font-size: 1.8rem;
    }

    .section-about .section-text {
        font-size: 1rem;
    }

    .section-about .img-fluid {
        max-width: 100%;
    }

    footer {
        font-size: 12px;
    }

    .footer-links {
        flex-direction: column;
        gap: 10px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

/* ─── Medium Screens (Laptops & Large Tablets) ─── */
@media (min-width: 992px) and (max-width: 1199px) {
    /* Background color on scroll */
    .navbar.scrolled {
        background-color: var(--primary-green) !important;
    }

    /* Hide close button on large screens */
    .close-menu {
        display: none;
    }

    .section-about .img-fluid:hover {
        transform: scale(1.05);
    }
}

/* ─── Large Screens (Desktops & Laptops) ─── */
@media (min-width: 1200px) {
    /* Background color on scroll */
    .navbar.scrolled {
        background-color: var(--primary-green) !important;
    }

    /* Hide close button on large screens */
    .close-menu {
        display: none;
    }

    .section-about .img-fluid:hover {
        transform: scale(1.05);
    }
}
