:root {
    --sage-700: #1e5631;
    --sage-800: #163f24;
    --gold-500: #d4a017;
    --gold-600: #b8860b;
    --cream-50: #fcfbf6;
    --cream-100: #f8f7f2;
    --cream-200: #f1ebdb;
    --ink-700: #2f3b31;
    --ink-500: #55625a;
    --shadow-soft: 0 18px 45px rgba(20, 54, 31, 0.08);
    --shadow-strong: 0 30px 60px rgba(20, 54, 31, 0.16);
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 12px;
}

html {
    scroll-behavior: smooth;
}

.header{
    transition: .3s;
}

.header.scrolled{
    background:white;
    box-shadow:0 5px 20px rgba(0,0,0,.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, var(--cream-50) 0%, var(--cream-100) 100%);
    color: var(--ink-700);
    line-height: 1.7;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

section {
    scroll-margin-top: 90px;
}

/* ================= NAVBAR ================= */

.header {
    background: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,.05);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    min-height: 76px;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #1e5631;
    letter-spacing: 0.01em;
    text-decoration: none;
}

/* Constrain image logo inside .logo anchor */
.logo img{
    display:inline-block;
    height:64px;
    width:auto;
    vertical-align:middle;
}

@media (max-width:640px) {
    .logo img{
        height:44px;
    }

    .navbar{
        padding:14px 6%;
        min-height:64px;
    }
}

.logo:hover {
    color: #163f24;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.25s ease, transform 0.25s ease;
    display: inline-block;
}

.nav-links a:hover,
.nav-links a.active {
    color: #1e5631;
}

.nav-links a:hover {
    transform: translateY(-1px);
}

.nav-links a.active {
    font-weight: 700;
}

.btn-book {
    background: #d4a017;
    color: white;
    padding: 10px 18px;
    text-decoration: none;
    border-radius: 999px;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(212, 160, 23, 0.22);
    transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.btn-book:hover {
    background: #b8860b;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(184, 134, 11, 0.28);
}


/* ================= DROPDOWN ================= */

.dropdown{
    position:relative;
}

.dropdown-menu{
    position:absolute;
    top:100%;
    left:0;

    background:white;
    min-width:220px;

    box-shadow:0 15px 40px rgba(0,0,0,.1);

    border-radius:12px;

    opacity:0;
    visibility:hidden;
    transform:translateY(10px);

    transition:.3s;

    z-index:999;
}

.dropdown-menu li{
    list-style:none;
}

.dropdown-menu a{
    display:block;
    padding:12px 15px;
    color:#333;
    text-decoration:none;
    font-size:14px;
}

.dropdown-menu a:hover{
    background:#f8f7f2;
    color:#1e5631;
}

.dropdown:hover .dropdown-menu{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}

/* ================= MOBILE MENU ================= */

.menu-toggle{
    display:none;
    font-size:32px;
    cursor:pointer;
    color:#1e5631;
}

/* ================= HERO ================= */

.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    padding: 60px 8%;
}

.hero-left h1 {
    font-family: 'Playfair Display', serif;
    font-size: 80px;
    line-height: 1;
    color: #1e5631;
    margin-bottom: 25px;
}

.hero-left h1 span {
    color: #d4a017;
    font-style: italic;
}

.hero-tag {
    letter-spacing: 3px;
    font-size: 13px;
    color: #666;
}

.hero-left p {
    font-size: 18px;
    line-height: 1.8;
    margin: 25px 0;
    color: #555;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-btn {
    background: #1e5631;
    color: white;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 600;
}

.hero-btn:hover {
    background: #163f25;
}

.hero-outline {
    border: 2px solid #d4a017;
    color: #d4a017;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 600;
}

.hero-outline:hover {
    background: #d4a017;
    color: white;
}

/* HERO IMAGES */

.hero-right {
    position: relative;
    height: 650px;
}

.hero-main-image {
    position: absolute;
    right: 0;
    top: 0;
    width: 500px;
    height: 350px;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,.2);
}

.hero-small {
    position: absolute;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,.15);
}

.hero-small-1 {
    width: 280px;
    height: 220px;
    left: 0;
    bottom: 120px;
}

.hero-small-2 {
    width: 220px;
    height: 180px;
    right: 50px;
    bottom: 0;
}

.hero-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ================= TOURS ================= */

.tours {
    padding: 100px 8%;
}

.section-title {
    text-align: center;
    font-size: 52px;
    color: #1e5631;
    margin-bottom: 15px;
    font-family: 'Playfair Display', serif;
}

.tours-subtitle {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 60px;
    color: #666;
    line-height: 1.8;
    font-size: 17px;
}

.tours-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.tour-card {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    transition: all .4s ease;
}

.tour-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0,0,0,.15);
}

.tour-image img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: .5s;
}

.tour-card:hover .tour-image img {
    transform: scale(1.08);
}

.tour-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #d4a017;
    color: white;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.tour-info {
    padding: 25px;
}

.tour-location {
    font-size: 12px;
    letter-spacing: 2px;
    color: #888;
    font-weight: 600;
}

.tour-info h3 {
    color: #1e5631;
    font-size: 24px;
    margin: 12px 0;
}

.tour-meta {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.tour-meta span {
    background: #f2f2f2;
    color: #555;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
}

.tour-info p {
    color: #666;
    line-height: 1.7;
}

.tour-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

/* price block */
.tour-footer div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.tour-footer small {
    color: #888;
    font-size: 12px;
}

.tour-footer h4 {
    color: #d4a017;
    font-size: 22px;
    font-weight: 700;
    margin: 0;
}

/* button alignment fix */
.tour-btn {
    display: inline-block;
    background: #1e5631;
    color: white;
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 10px;
    font-weight: 600;
    white-space: nowrap;
    transition: 0.3s;
}

.tour-btn:hover {
    background: #d4a017;
}

.tour-card {
    display: flex;
    flex-direction: column;
}

.tour-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.tour-footer {
    margin-top: auto;
}

.view-all {
    text-align: center;
    margin-top: 50px;
}

.view-all-btn {
    display: inline-block;
    background: #1e5631;
    color: white;
    padding: 14px 28px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
}

.view-all-btn:hover {
    background: #d4a017;
}

/* ================= DESTINATIONS ================= */

.destinations{
    padding:120px 8%;
    background:white;
    text-align:center;
}

.destination-tag{
    display:block;
    color:#d4a017;
    font-size:13px;
    letter-spacing:3px;
    font-weight:600;
    margin-bottom:15px;
}

.destination-subtitle{
    max-width:700px;
    margin:0 auto 60px;
    color:#666;
    line-height:1.8;
}

.destination-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:25px;
}

.destination-card{
    position:relative;
    height:450px;
    overflow:hidden;
    border-radius:25px;
    cursor:pointer;
}

.destination-card img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:.5s;
}

.destination-card:hover img{
    transform:scale(1.1);
}

.destination-overlay{
    position:absolute;
    inset:0;

    background:linear-gradient(
        to top,
        rgba(0,0,0,.8),
        rgba(0,0,0,.15)
    );

    display:flex;
    flex-direction:column;
    justify-content:flex-end;

    padding:30px;
    color:white;
    text-align:left;
}

.destination-overlay span{
    color:#d4a017;
    font-size:13px;
    letter-spacing:2px;
    font-weight:600;
    margin-bottom:10px;
}

.destination-overlay h3{
    font-size:32px;
    margin-bottom:10px;
    font-family:'Playfair Display', serif;
}

.destination-overlay p{
    line-height:1.6;
    margin-bottom:20px;
    color:rgba(255,255,255,.9);
}

.destination-btn{
    display:inline-block;
    width:fit-content;

    padding:10px 18px;

    background:#d4a017;
    color:white;

    text-decoration:none;

    border-radius:8px;

    font-weight:600;

    transition:.3s;
}

.destination-btn:hover{
    background:#b8860b;
}

/* ================= WHY SECTION ================= */

.why {
    padding: 120px 8%;
    text-align: center;
}

.why-tag {
    display: inline-block;
    color: #d4a017;
    font-size: 13px;
    letter-spacing: 3px;
    font-weight: 600;
    margin-bottom: 15px;
}

.why-subtitle {
    max-width: 700px;
    margin: 0 auto 60px;
    color: #666;
    line-height: 1.8;
    font-size: 17px;
}

.why-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px,1fr));
    gap: 30px;
}

.why-box {
    background: white;
    padding: 40px 30px;
    border-radius: 25px;

    box-shadow: 0 15px 35px rgba(0,0,0,.08);

    transition: .4s;
}

.why-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,.12);
}

.why-icon {
    width: 80px;
    height: 80px;

    margin: 0 auto 20px;

    display: flex;
    justify-content: center;
    align-items: center;

    background: rgba(212,160,23,.12);

    border-radius: 50%;

    font-size: 34px;
}

.why-box h3 {
    color: #1e5631;
    margin-bottom: 15px;
    font-size: 24px;
}

.why-box p {
    color: #666;
    line-height: 1.8;
}

/*=================stats==================*/
.stats{
    margin: 0 8% 100px;

    background:#1e5631;

    border-radius:25px;

    padding:50px;

    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));

    gap:30px;

    text-align:center;
}

.stat-box h3{
    color:#d4a017;
    font-size:42px;
    margin-bottom:10px;
}

.stat-box p{
    color:white;
}

/* ================= REVIEWS ================= */

.reviews{
    padding:120px 8%;
    background:#fff;
}

.reviews-tag{
    display:block;
    text-align:center;
    color:#d4a017;
    letter-spacing:3px;
    font-size:13px;
    font-weight:600;
    margin-bottom:15px;
}

.reviews-subtitle{
    text-align:center;
    max-width:700px;
    margin:0 auto 60px;
    color:#666;
    line-height:1.8;
}

.reviews-container{
    display:grid;
    grid-template-columns:350px 1fr;
    gap:40px;
    align-items:start;
}

.partner-badge{
    background:#f8f7f2;
    padding:30px;
    border-radius:20px;
    box-shadow:0 10px 30px rgba(0,0,0,.05);
}

.tourradar-reviews{
    background:white;
    padding:30px;
    border-radius:20px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

#tr{
    height:auto !important;
}

@media(max-width:900px){

    .reviews-container{
        grid-template-columns:1fr;
    }

}

/* ================= CTA ================= */

.cta {
    background: linear-gradient(rgba(30,86,49,0.85), rgba(30,86,49,0.85)),
    url('../images/cta.jpg') center/cover no-repeat;

    color: white;
    text-align: center;

    padding: 120px 20px;
    margin-top: 80px;

    display: flex;
    justify-content: center;
    align-items: center;
}

.cta-content {
    max-width: 750px;
    margin: auto;

    display: flex;
    flex-direction: column;
    gap: 18px;
}

.cta-content {
    background: rgba(0,0,0,0.15);
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(5px);
}

.cta h2 {
    font-size: 48px;
    font-family: 'Playfair Display', serif;
    line-height: 1.2;
}

.cta p {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255,255,255,0.9);
    max-width: 600px;
    margin: 0 auto;
}

/* ================= RESPONSIVE HELPERS & FIXES ================= */

/* Prevent horizontal overflow from stray elements while preserving desktop layout */
html, body {
    min-width: 0;
}

/* Make all images responsive by default */
img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Inputs and buttons adapt on small screens */
input, textarea, select, button {
    font-family: inherit;
    font-size: 16px;
    line-height: 1.4;
}

input, textarea, select {
    width: 100%;
    box-sizing: border-box;
}

/* Make tables scrollable on small screens */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

table {
    width: 100%;
    border-collapse: collapse;
    max-width: 100%;
}

/* Generic grid helper that adapts gracefully */
.responsive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

/* NAVBAR: mobile behavior */
.menu-toggle { display: none; }
.nav-links { gap: 16px; }

/* HERO and large visuals: collapse to single column on small screens */
@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr;
        padding: 36px 6%;
        gap: 30px;
        min-height: auto;
    }

    .hero-left h1 { font-size: 38px; }

    .hero-right {
        position: static;
        height: auto;
    }

      .hero-right {
        display: flex;
        flex-direction: column;
        gap: 20px;
        height: auto;
    }

    .hero-main-image, .hero-small-1, .hero-small-2 {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        width: 100%;
        height: 220px;
        box-shadow: 0 12px 30px rgba(0,0,0,.12);
        border-radius: 16px;
    }

    .tours-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .destination-card {
        height: auto;
    }

    .destination-overlay {
        padding: 20px;
    }

    .nav-links { display: none; }
    .menu-toggle { display: inline-block; }
}

@media (max-width: 768px) {
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        background: white;
        padding: 20px 6%;
        gap: 12px;
        box-shadow: 0 10px 30px rgba(0,0,0,.08);
        z-index: 999;
    }

    .nav-links.active a {
        padding: 10px 0;
        display: block;
    }
}

/* Narrow phones and very small widths adjustments */
@media (max-width: 425px) {
    .navbar { padding: 14px 5%; }
    .logo { font-size: 20px; }
    .hero-left h1 { font-size: 32px; }
    .hero-tag { font-size: 12px; }

    .tour-image img { height: 200px; }
    .tour-info h3 { font-size: 20px; }

    .tour-btn, .view-all-btn, .btn-book {
        padding: 10px 16px;
        font-size: 15px;
    }

    .why-box { padding: 24px; }
}

/* Medium screens */
@media (min-width: 426px) and (max-width: 767px) {
    .tours-container { grid-template-columns: repeat(2, 1fr); }
}

/* Desktop small adjustments to prevent overflow on 1024px */
@media (min-width: 768px) and (max-width: 1024px) {
    .navbar { padding: 18px 6%; }
    .hero-left h1 { font-size: 52px; }
    .tours-container { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
}

/* Large screens: keep layout but guard hero image sizes */
@media (min-width: 1025px) and (max-width: 1440px) {
    .hero-right { height: auto; }
    .hero-main-image { width: 420px; height: 320px; }
}

/* Tiny phones (320px) specific tweaks */
@media (max-width: 360px) {
    .hero-left h1 { font-size: 28px; }
    .section-title { font-size: 36px; }
}

.cta-btn {
    display: inline-block;
    background: #d4a017;
    color: white;
    padding: 14px 30px;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: 0.3s;
    width: fit-content;
    margin: 10px auto 0;
}

.cta-btn:hover {
    background: #b8860b;
    transform: translateY(-2px);
}
/* ================= FOOTER ================= */
.footer {
    background: #1e5631;
    color: white;
    padding: 80px 8% 30px;
    margin-top: 80px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 50px;
    align-items: start;
}

/* Each box spacing */
.footer-box {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-box h3 {
    color: #d4a017;
    font-size: 18px;
    margin-bottom: 10px;
}

/* Text */
.footer-box p {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255,255,255,0.85);
}

/* Links */
.footer-box a {
    font-size: 14px;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    transition: 0.3s;
    display: inline-block;
}

.footer-box a:hover {
    color: #d4a017;
    transform: translateX(4px);
}

/* Bottom section */
.footer-bottom {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.15);
    font-size: 13px;
    color: rgba(255,255,255,0.7);
}

.footer {
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(212,160,23,0.08);
    border-radius: 50%;
    top: -200px;
    right: -200px;
}


/* ================= PLANNER ================= */

.planner {
    margin: 100px 8%;
    background: linear-gradient(135deg, #d4a017, #e6b422);
    border-radius: 30px;
    padding: 70px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.planner-left {
    max-width: 650px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.planner-left span {
    font-size: 13px;
    letter-spacing: 2px;
    font-weight: 600;
    color: #1e5631;
}

.planner-left h2 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    line-height: 1.2;
    color: #1e5631;
}

.planner-left p {
    font-size: 16px;
    line-height: 1.7;
    color: #2f2f2f;
    max-width: 500px;
}

.planner-btn {
    display: inline-block;
    background: #1e5631;
    color: white;
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    width: fit-content;
    transition: 0.3s;
}

.planner-btn:hover {
    background: #163f25;
    transform: translateY(-2px);
}

/* ================= SEARCH ================= */

.search-box{
    width:90%;
    max-width:1200px;

    margin:-70px auto 100px;

    background:rgba(255,255,255,.97);
    backdrop-filter:blur(10px);

    border-radius:25px;

    padding:30px;

    display:grid;
    grid-template-columns:2fr 1.5fr 1.5fr 1.5fr auto;
    gap:15px;

    box-shadow:0 20px 50px rgba(0,0,0,.12);

    position:relative;
    z-index:20;
}

.search-box input,
.search-box select {
    padding: 14px 15px;
    border: 1px solid #e6e6e6;
    border-radius: 12px;
    font-size: 14px;
    outline: none;
    transition: 0.3s;
    background: white;
}

.search-box input:focus,
.search-box select:focus {
    border-color: #d4a017;
    box-shadow: 0 0 0 3px rgba(212,160,23,0.15);
}

.search-box button{
    align-self:end;

    background:#1e5631;
    color:white;

    border:none;

    padding:15px 28px;

    border-radius:12px;

    font-weight:600;
    cursor:pointer;

    transition:.3s;
}

.search-box button:hover{
    background:#d4a017;
    transform:translateY(-2px);
}


.search-field{
    display:flex;
    flex-direction:column;
}

.search-field label{
    font-size:13px;
    font-weight:600;
    color:#1e5631;
    margin-bottom:8px;
}

.search-field input,
.search-field select{
    padding:15px;
    border:1px solid #ddd;
    border-radius:12px;
    outline:none;
    font-size:14px;
    transition:.3s;
}

.search-field input:focus,
.search-field select:focus{
    border-color:#d4a017;
    box-shadow:0 0 0 4px rgba(212,160,23,.15);
}

@media(max-width:900px){

    .search-box{
        grid-template-columns:1fr;
        margin:30px auto 60px;
    }

    .search-box button{
        width:100%;
    }

}

/* ================= WHATSAPP FLOAT ================= */

.whatsapp-float{
    position:fixed;

    bottom:25px;
    right:25px;

    background:#25D366;

    color:white;
    text-decoration:none;

    display:flex;
    align-items:center;
    gap:12px;

    padding:14px 18px;

    border-radius:60px;

    box-shadow:0 10px 25px rgba(0,0,0,.2);

    z-index:9999;

    transition:.3s;
}

.whatsapp-float:hover{
    transform:translateY(-4px);
    box-shadow:0 15px 35px rgba(0,0,0,.25);
}

.whatsapp-icon{
    font-size:28px;
}

.whatsapp-text{
    display:flex;
    flex-direction:column;
}

.whatsapp-text strong{
    font-size:14px;
}

.whatsapp-text small{
    font-size:12px;
    opacity:.9;
}

#topBtn{
    position:fixed;
    bottom:100px;
    right:25px;

    width:50px;
    height:50px;

    border:none;
    border-radius:50%;

    background:#1e5631;
    color:white;

    cursor:pointer;

    display:none;

    z-index:999;
}

@media(max-width:768px){

    .whatsapp-text{
        display:none;
    }

    .whatsapp-float{
        width:60px;
        height:60px;

        padding:0;

        justify-content:center;
        border-radius:50%;
    }

}

/* =================================
   TABLET RESPONSIVE
================================= */

@media (max-width: 992px){

    .navbar{
        flex-direction:column;
        gap:20px;
    }

    .nav-links{
        flex-wrap:wrap;
        justify-content:center;
    }

    .hero{
        grid-template-columns:1fr;
        text-align:center;
        gap:40px;
    }

    .hero-left{
        order:2;
    }

    .hero-right{
        order:1;
        height:500px;
    }

    .hero-main-image{
        width:100%;
        max-width:500px;
        left:50%;
        transform:translateX(-50%);
    }

    .hero-small-1{
        left:20px;
    }

    .hero-small-2{
        right:20px;
    }

    .search-box{
        grid-template-columns:1fr;
        width:92%;
        margin:30px auto 70px;
    }

    .planner{
        padding:50px 35px;
    }

    .planner-left h2{
        font-size:42px;
    }

    .reviews-container{
        grid-template-columns:1fr;
    }

}

/* =================================
   MOBILE RESPONSIVE
================================= */

@media (max-width: 768px){

    .navbar{
        padding:20px;
    }

    .logo{
        text-align:center;
        font-size:20px;
    }

    .nav-links{
        gap:15px;
        text-align:center;
    }

    .nav-links a{
        font-size:14px;
    }

    .btn-book{
        display:none;
    }

    .hero{
        padding:40px 20px;
        min-height:auto;
    }

    .hero-left h1{
        font-size:48px;
        line-height:1.1;
    }

    .hero-left p{
        font-size:16px;
    }

    .hero-buttons{
        flex-direction:column;
        align-items:center;
    }

    .hero-btn,
    .hero-outline{
        width:100%;
        max-width:280px;
        text-align:center;
    }

    .hero-right{
        height:400px;
    }

    .hero-main-image{
        height:250px;
    }

    .hero-small-1{
        width:180px;
        height:140px;
        bottom:80px;
    }

    .hero-small-2{
        width:140px;
        height:120px;
    }

    .section-title{
        font-size:36px;
        padding:0 15px;
    }

    .tours-subtitle,
    .why-subtitle,
    .reviews-subtitle{
        padding:0 15px;
    }

    .tour-card{
        margin:0 auto;
    }

    .stats{
        padding:40px 20px;
    }

    .stat-box h3{
        font-size:34px;
    }

    .planner{
        margin:60px 20px;
        padding:40px 25px;
    }

    .planner-left h2{
        font-size:34px;
    }

    .planner p{
        font-size:15px;
    }

    .cta{
        padding:80px 20px;
    }

    .cta h2{
        font-size:34px;
    }

    .cta p{
        font-size:15px;
    }

    .footer{
        padding:60px 20px 25px;
    }

    .footer-container{
        gap:35px;
        text-align:center;
    }

    .footer-box{
        align-items:center;
    }

}

@media (max-width: 480px){

    .hero-left h1{
        font-size:38px;
    }

    .section-title{
        font-size:30px;
    }

    .planner-left h2{
        font-size:28px;
    }

    .cta h2{
        font-size:28px;
    }

    .hero-right{
        height:320px;
    }

    .hero-main-image{
        height:220px;
    }

    .hero-small-1{
        width:140px;
        height:100px;
    }

    .hero-small-2{
        width:110px;
        height:90px;
    }

}

@media(max-width:768px){

    .navbar{
        position:relative;
        flex-direction:row;
        justify-content:space-between;
        padding:16px 20px;
    }

    .menu-toggle{
        display:flex;
        flex-direction:column;
        justify-content:center;
        align-items:center;
        gap:4px;
        width:44px;
        height:44px;
        border:0;
        background:transparent;
        padding:0;
    }

    .menu-toggle span {
        display:block;
        width:24px;
        height:2px;
        background:#1e5631;
        border-radius:999px;
        transition: transform 0.25s ease, opacity 0.25s ease;
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .btn-book{
        display:none;
    }

    .nav-links{
        position:absolute;
        top:100%;
        left:0;
        width:100%;
        background:white;
        flex-direction:column;
        text-align:center;
        gap:0;
        overflow:hidden;
        max-height:0;
        opacity:0;
        padding:0 16px;
        transition:max-height 0.35s ease, opacity 0.25s ease, padding 0.35s ease;
        box-shadow:0 12px 30px rgba(0,0,0,.08);
        border-radius:0 0 16px 16px;
    }

    .nav-links.active{
        max-height:420px;
        opacity:1;
        padding:10px 16px 16px;
    }

    .nav-links li{
        padding:12px 0;
        border-bottom:1px solid #f0f0f0;
    }

    .nav-links li:last-child{
        border-bottom:none;
    }

}

/* ================= UI REFRESH ================= */

.section-title,
.destination-overlay h3,
.hero-left h1,
.cta h2,
.reviews h2,
.about-title {
    letter-spacing: -0.02em;
}

.section-title {
    font-size: clamp(2rem, 3.2vw, 2.8rem);
    margin-bottom: 16px;
}

.tours-subtitle,
.destination-subtitle,
.why-subtitle,
.reviews-subtitle,
.hero-left p {
    font-size: 1.02rem;
    color: var(--ink-500);
}

.hero {
    min-height: 100vh;
    padding: 80px 8% 100px;
    gap: 70px;
    background: radial-gradient(circle at top left, rgba(212,160,23,0.16), transparent 32%),
                linear-gradient(135deg, rgba(248,247,242,0.95), rgba(252,251,246,0.94));
}

.hero-left h1 {
    font-size: clamp(2.7rem, 5vw, 4.6rem);
    text-wrap: balance;
}

.hero-btn,
.hero-outline,
.tour-btn,
.view-all-btn,
.destination-btn,
.cta-btn,
.planner-btn,
.search-box button {
    position: relative;
    overflow: hidden;
    border: none;
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.hero-btn:hover,
.hero-outline:hover,
.tour-btn:hover,
.view-all-btn:hover,
.destination-btn:hover,
.cta-btn:hover,
.planner-btn:hover,
.search-box button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-strong);
}

.tour-card,
.destination-card,
.why-box,
.partner-badge,
.tourradar-reviews,
.contact-card,
.booking-form,
.search-box,
.search-field,
.stat-box {
    border: 1px solid rgba(30,86,49,0.08);
    box-shadow: var(--shadow-soft);
}

.tour-card,
.why-box,
.partner-badge,
.tourradar-reviews,
.contact-card,
.booking-form,
.search-box,
.search-field,
.stat-box {
    border-radius: var(--radius-lg);
}

.tour-card {
    position: relative;
    background: white;
    overflow: hidden;
}

.tour-card:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: var(--shadow-strong);
}

.tour-image img {
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
}

.tour-badge {
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(6px);
}

.tour-info h3 {
    font-size: 1.3rem;
    margin: 10px 0 8px;
}

.tour-meta span {
    background: var(--cream-200);
    color: var(--sage-800);
    border: 1px solid rgba(30,86,49,0.06);
}

.destination-card {
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255,255,255,0.18);
}

.destination-overlay {
    background: linear-gradient(180deg, rgba(0,0,0,0.06) 0%, rgba(0,0,0,0.8) 100%);
}

.why-box {
    background: linear-gradient(180deg, #ffffff 0%, #fcfbf6 100%);
}

.why-icon {
    background: linear-gradient(135deg, rgba(212,160,23,0.18), rgba(30,86,49,0.1));
    color: var(--sage-700);
    box-shadow: inset 0 0 0 1px rgba(30,86,49,0.05);
}

.stats {
    background: linear-gradient(135deg, var(--sage-700), #245b38);
    box-shadow: var(--shadow-strong);
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid rgba(30,86,49,0.15);
    border-radius: 14px;
    padding: 13px 15px;
    font: inherit;
    background: rgba(255,255,255,0.95);
    color: var(--ink-700);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--gold-500);
    box-shadow: 0 0 0 4px rgba(212,160,23,0.16);
    transform: translateY(-1px);
}

.gallery {
    padding: 80px 8% 20px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.gallery-grid img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.gallery-grid img:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-strong);
}

.fa-solid,
.fa-brands,
.fas,
.fab {
    transition: transform 0.25s ease, color 0.25s ease;
}

.why-icon:hover i,
.social-links a:hover i,
.contact-card i:hover {
    transform: scale(1.08);
}

.tour-card,
.why-box,
.destination-card {
    animation: fadeUp 0.7s ease both;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media(max-width:768px){

    .destination-card{
        height:350px;
    }

    .destination-overlay h3{
        font-size:26px;
    }

    .hero {
        padding: 60px 20px 80px;
        gap: 40px;
    }

    .hero-left h1 {
        font-size: 2.4rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .tours,
    .destinations,
    .why,
    .reviews,
    .gallery {
        padding-left: 20px;
        padding-right: 20px;
    }

}

.tour-card.show,
.why-box.show,
.destination-card.show,
.stat-box.show {
    opacity: 1;
    transform: translateY(0);
}

@media(max-width:768px){

    .dropdown-menu{
        position:static;
        box-shadow:none;
        opacity:1;
        visibility:visible;
        transform:none;
        background:#f8f7f2;
    }

}

:root {
    --ep-accent: #f5c33b;
    --ep-accent-dark: #e0ab1f;
    --ep-ink: #1c1710;
    --ep-muted: #7a7366;
}

.ep-hero {
    position: relative;
    min-height: 760px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 90px 5% 48px;
    color: #fff;
    font-family: "Poppins", sans-serif;
    background:
        linear-gradient(90deg, rgba(12, 9, 5, 0.85) 0%, rgba(12, 9, 5, 0.55) 45%, rgba(12, 9, 5, 0.12) 100%),
        linear-gradient(0deg, rgba(12, 9, 5, 0.55) 0%, rgba(12, 9, 5, 0) 40%),
        url("../images/mara1.jpg") center / cover no-repeat;
}

.ep-hero-content { max-width: 680px; margin-bottom: 36px; }

.ep-hero-tag {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ep-accent);
    margin-bottom: 22px;
}

.ep-hero h1 {
    font-family: "Poppins", sans-serif;
    font-size: clamp(2.5rem, 5.4vw, 4.8rem);
    line-height: 1.05;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin: 0 0 22px;
}

.ep-hero h1 span { color: var(--ep-accent); }

.ep-hero-text {
    font-size: 1.1rem;
    line-height: 1.7;
    font-weight: 300;
    max-width: 520px;
    margin: 0 0 22px;
    color: rgba(255, 255, 255, 0.92);
}

.ep-hero-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 500;
    font-size: 0.98rem;
    text-decoration: none;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.55);
    transition: border-color 0.2s, color 0.2s;
}

.ep-hero-whatsapp:hover { color: var(--ep-accent); border-color: var(--ep-accent); }

/* Tabs */
.ep-tabs {
    display: inline-flex;
    gap: 4px;
    padding: 5px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(6px);
    margin-bottom: 12px;
    align-self: flex-start;
}

.ep-tab {
    border: 0;
    background: transparent;
    color: #fff;
    font: 500 0.92rem "Poppins", sans-serif;
    padding: 10px 22px;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.ep-tab.active { background: #14100a; color: #fff; }

/* Search bar */
.ep-panel { display: none; }
.ep-panel.active { display: block; }

.ep-search {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr auto;
    align-items: stretch;
    background: #fff;
    border-radius: 24px;
    padding: 10px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
    color: var(--ep-ink);
}

.ep-field {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px 24px;
    border-right: 1px solid #ece7dd;
    min-width: 0;
}

.ep-field:last-of-type { border-right: 0; }

.ep-field label {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ep-muted);
    margin-bottom: 4px;
}

.ep-field input,
.ep-field select {
    border: 0;
    outline: 0;
    background: transparent;
    font: 500 1rem "Poppins", sans-serif;
    color: var(--ep-ink);
    width: 100%;
    padding: 0;
    cursor: pointer;
}

.ep-field input[type="text"] { cursor: text; }
.ep-field input::placeholder { color: var(--ep-muted); font-weight: 400; }

.ep-search-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    border-radius: 18px;
    padding: 0 38px;
    background: var(--ep-accent);
    color: var(--ep-ink);
    font: 600 1rem "Poppins", sans-serif;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.ep-search-btn:hover { background: var(--ep-accent-dark); transform: translateY(-1px); }

/* Custom trip panel */
.ep-custom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    background: #fff;
    color: var(--ep-ink);
    border-radius: 24px;
    padding: 22px 30px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

.ep-custom.active { display: flex; }
.ep-custom p { margin: 0; font-size: 1rem; line-height: 1.6; max-width: 640px; }

.ep-custom a {
    background: var(--ep-accent);
    color: var(--ep-ink);
    text-decoration: none;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 16px;
    white-space: nowrap;
    transition: background 0.2s;
}

.ep-custom a:hover { background: var(--ep-accent-dark); }

/* Floating card */
.ep-float-card {
    position: absolute;
    right: 5%;
    bottom: 170px;
    display: flex;
    align-items: center;
    gap: 18px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--ep-ink);
    text-decoration: none;
    padding: 14px 16px 14px 20px;
    border-radius: 18px;
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s;
}

.ep-float-card:hover { transform: translateY(-3px); }
.ep-float-card small { display: block; font-size: 0.78rem; color: var(--ep-muted); }
.ep-float-card strong { font-size: 0.98rem; font-weight: 600; }

.ep-float-arrow {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--ep-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* Responsive */
@media (max-width: 1100px) {
    .ep-float-card { display: none; }
    .ep-search { grid-template-columns: 1fr 1fr; gap: 4px; }
    .ep-field { border-right: 0; border-bottom: 1px solid #ece7dd; }
    .ep-search-btn { grid-column: 1 / -1; padding: 16px; margin-top: 6px; }
}

@media (max-width: 600px) {
    .ep-hero { padding: 70px 5% 32px; min-height: 0; }
    .ep-search { grid-template-columns: 1fr; border-radius: 20px; }
    .ep-field { padding: 12px 16px; }
    .ep-tab { padding: 9px 16px; font-size: 0.86rem; }
}

/* ===== Hero panel fixes ===== */
.ep-panel:not(.active) { display: none; }
.ep-search.active { display: grid; }
.ep-custom.active { display: flex; }

/* ===== Fixes ===== */

/* 1. Hero fills the screen on desktop and tablet */
@media (min-width: 601px) {
    .ep-hero {
        min-height: max(640px, calc(100vh - 104px));
        min-height: max(640px, calc(100svh - 104px));
    }
}

/* 2. Keep the navbar stuck at the top */
#navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* 3. Stop global input focus styles leaking into the search bar */
.ep-field input:focus,
.ep-field select:focus {
    box-shadow: none;
    transform: none;
    border-color: transparent;
}

/* 4. Safari support for the frosted tabs */
.ep-tabs {
    -webkit-backdrop-filter: blur(6px);
}

/* ===== Reduce space under the navbar ===== */
@media (min-width: 601px) {
    .ep-hero {
        padding-top: 40px;
        min-height: max(560px, calc(100svh - 134px));
    }
}

/* ===== Trust strip ===== */
.ep-trust {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    padding: 26px 5%;
    background: #fff;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.06);
    position: relative;
    z-index: 2;
}

.ep-trust-item {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.ep-trust-icon {
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #fdf1c7;
    color: var(--ep-ink);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
}

.ep-trust-item strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--ep-ink);
}

.ep-trust-item small {
    display: block;
    font-size: 0.8rem;
    line-height: 1.4;
    color: var(--ep-muted);
}

@media (max-width: 1100px) {
    .ep-trust { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 700px) {
    .ep-trust { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}

@media (max-width: 480px) {
    .ep-trust { grid-template-columns: 1fr; }
}
