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

:root {
    --primary-color: #2563eb;
    --secondary-color: #10b981;
    --accent-color: #f59e0b;
    --dark-color: #1e293b;
    --light-color: #f8fafc;
    --text-color: #334155;
    --white: #ffffff;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo-icon {
    font-size: 2rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.menu-toggle {
    
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 4px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--dark-color);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

/* Hero Slider */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-slider .slide.active {
    opacity: 1;
}

.hero-slider .slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-search {
    animation: fadeInUp 1s ease 0.4s both;
}

.search-box {
    display: flex;
    gap: 1rem;
    background: var(--white);
    padding: 1rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    flex-wrap: wrap;
}

.search-box input {
    flex: 1;
    min-width: 200px;
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    animation: bounce 2s infinite;
    z-index: 2;
}

.arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--white);
    border-bottom: 2px solid var(--white);
    transform: rotate(45deg);
}

/* Buttons */
.btn {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--secondary-color);
    color: var(--white);
}

.btn-secondary:hover {
    background: #059669;
}

.btn-whatsapp {
    background: #25d366;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-whatsapp i {
    font-size: 1.1rem;
}

.btn-whatsapp:hover {
    background: #20ba5a;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Features Section */
.features {
    padding: 4rem 0;
    background: var(--light-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-color);
    opacity: 0.8;
}

/* Destinations Section */
.destinations {
    padding: 5rem 0;
    background: var(--white);
}

.destinations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: stretch;
}

.destination-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.destination-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.destination-image {
    width: 100%;
    height: 300px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    transition: transform 0.5s ease;
}

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

.destination-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.3));
}

.destination-info {
    padding: 1.5rem;
    background: var(--white);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.destination-info h3 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.destination-info p {
    color: var(--text-color);
    margin-bottom: 1rem;
    opacity: 0.8;
}

.destination-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 1rem;
}

.destination-actions .btn {
    flex: 1;
    min-width: 0;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}


/* --- more-button and smooth-scroll tweaks for destination cards --- */
.destination-image {
  position: relative;
  background-size: cover;
  background-position: center;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  overflow: hidden;
}

.destination-image .more-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 5;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.98);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  border: 2px solid rgba(0,0,0,0.04);
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
  font-size: 16px;
}

.destination-image .more-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.14);
}

.destination-image .more-btn i {
  font-size: 16px;
  color: #2b2b2b;
}

/* grid scroll behavior: keep existing grid but allow horizontal reveal */
#destinationsGrid {
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 12px;
  display: grid; /* preserve your grid layout rules elsewhere */
  gap: 24px;
}

/* optional: slightly elevate cards for visual cue */
.destination-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 26px rgba(12,12,12,0.06);
  overflow: hidden;
}
/* === Carousel wrapper / controls (add to styles.css) === */

.carousel-viewport {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 0; /* keep original spacing outside */
}

.carousel-track {
  display: flex;
  align-items: stretch;
  gap: 22px; /* keep grid gap similar to existing layout */
  transition: transform 420ms cubic-bezier(.22,.9,.24,1);
  will-change: transform;
}

/* ensure each card is shrinkable but consistent width */
.carousel-track .destination-card {
  flex: 0 0 auto; /* width controlled by JS */
}

/* Arrows */
.carousel-control {
  position: absolute;
  top: 10px;
  right: 10px;
  display:flex;
  gap:8px;
  z-index: 30;
}
.carousel-control .carousel-btn {
  width:44px;
  height:44px;
  border-radius:50%;
  border: 2px solid rgba(0,0,0,0.06);
  background: #f2f7ef;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}
.carousel-control .carousel-btn.next {
  background: linear-gradient(45deg,#ff7a00,#ff6a00);
  color: #fff;
  border: none;
}

/* small left button position */
.carousel-btn.left { background:#f0f6f1; }

/* optional disabled state */
.carousel-btn:disabled { opacity:.58; cursor:not-allowed; }

/* dots (optional) */
.carousel-dots {
  display:flex;
  gap:8px;
  justify-content:center;
  margin-top:14px;
}

/* small responsive adjustments */
@media (max-width: 900px){
  .carousel-control { top: 6px; right: 6px; }
  .carousel-btn { width:40px; height:40px; }
}

/* Packages Section */
.packages {
    background: var(--light-color);
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    align-items: stretch;
}

.package-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.package-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    transition: transform 0.5s ease;
}

.package-card:hover .package-image {
    transform: scale(1.1);
}

.package-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.3));
}

.package-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.package-content h3 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.package-content p {
    color: var(--text-color);
    margin-bottom: 1rem;
    opacity: 0.8;
}

.package-features {
    list-style: none;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.package-features li {
    padding: 0.5rem 0;
    color: var(--text-color);
}

.package-features li::before {
    content: '✓ ';
    color: var(--secondary-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

.package-footer {
    display: flex;
    gap: 0.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
    margin-top: auto;
}

.package-footer .btn {
    flex: 1;
    min-width: 0;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
}
/* -------- SUPER CLEAN MOBILE CARDS -------- */
@media (max-width: 768px) {

    /* 2 cards per row */
    #destinationsGrid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem;
    }

    /* Smaller card */
    #destinationsGrid .destination-card {
        border-radius: 10px;
        box-shadow: 0 2px 6px rgba(0,0,0,0.08);
        overflow: hidden;
    }

    /* Smaller image */
    #destinationsGrid .destination-image {
        height: 110px !important;
        background-size: cover;
        background-position: center;
    }

    /* Less padding */
    #destinationsGrid .destination-info {
        padding: 0.6rem 0.7rem !important;
    }

    /* Smaller title */
    #destinationsGrid .destination-info h3 {
        font-size: 0.9rem !important;
        margin-bottom: 3px;
    }

    /* Shorter text */
    #destinationsGrid .destination-info p {
        font-size: 0.75rem !important;
        height: 30px;
        line-height: 1.2;
    }

    /* Buttons smaller */
    #destinationsGrid .destination-actions .btn {
        padding: 0.35rem 0.6rem !important;
        font-size: 0.7rem !important;
        border-radius: 6px;
    }
}

/* Tiny phones fix */
@media (max-width: 480px) {
    #destinationsGrid {
        grid-template-columns: 1fr !important;
    }
}
/* ---- PERFECT DESTINATION CARDS ---- */
#destinationsGrid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

/* Card container */
#destinationsGrid .destination-card {
    height: auto;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform .25s ease;
}

#destinationsGrid .destination-card:hover {
    transform: translateY(-4px);
}

/* Bigger and nicer image */
#destinationsGrid .destination-image {
    height: 170px;   /* increased image size */
    background-size: cover;
    background-position: center;
}

/* Content box */
#destinationsGrid .destination-info {
    padding: 1rem 1.1rem;
}

/* Title style */
#destinationsGrid .destination-info h3 {
    font-size: 1.05rem;
    margin-bottom: 4px;
    font-weight: 600;
}

/* Description compact */
#destinationsGrid .destination-info p {
    font-size: 0.9rem;
    opacity: 0.8;
    height: 40px;
    overflow: hidden;
}

/* Small button row */
#destinationsGrid .destination-actions {
    margin-top: 0.8rem;
    display: flex;
    gap: .5rem;
}

/* Smaller buttons */
#destinationsGrid .destination-actions .btn {
    padding: 0.45rem 0.8rem;
    font-size: 0.85rem;
    border-radius: 8px;
}

/* ================================
   MOBILE-ONLY FIX FOR DESTINATION CARDS
   SAFE — DOES NOT TOUCH DESKTOP
================================= */
@media (max-width: 768px) {

    /* grid stays 2 cards per row */
    #destinationsGrid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.9rem;
    }

    /* smaller mobile card */
    #destinationsGrid .destination-card {
        border-radius: 10px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.07);
        overflow: hidden;

        /* auto height (keeps things compact) */
        height: auto;
    }

    /* reduce mobile image size */
    #destinationsGrid .destination-image {
        height: 120px;            /* compact but still beautiful */
        background-size: cover;
        background-position: center;
    }

    /* compress text area */
    #destinationsGrid .destination-info {
        padding: 0.6rem 0.7rem;
    }

    #destinationsGrid .destination-info h3 {
        font-size: 0.9rem;
        margin-bottom: 4px;
        line-height: 1.2;
    }

    /* short description */
    #destinationsGrid .destination-info p {
        font-size: 0.75rem;
        line-height: 1.2;
        height: 30px;       /* trims long text */
        overflow: hidden;
    }

    /* mini buttons */
    #destinationsGrid .destination-actions {
        margin-top: 0.5rem;
        gap: 0.4rem;
    }

    #destinationsGrid .destination-actions .btn {
        padding: 0.35rem 0.6rem;
        font-size: 0.72rem;
        border-radius: 6px;
    }
}

/* Force 2 cards even on tiniest screens like iPhone SE */
@media (max-width: 480px) {
    .destinations-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Make cards slightly smaller for 375px widths */
    .destination-card {
        margin: 0.2rem;
    }

    .destination-image {
        height: 90px !important;
    }

    .destination-info h3 {
        font-size: 0.75rem !important;
    }

    .destination-info p {
        font-size: 0.65rem !important;
    }

    .destination-actions .btn {
        font-size: 0.6rem !important;
        padding: 0.3rem 0.4rem !important;
    }
}




/* About Section */
.about {
    padding: 5rem 0;
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h2 {
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
}

.about-text p {
    margin-bottom: 1rem;
    color: var(--text-color);
    line-height: 1.8;
}

.stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--text-color);
    font-size: 0.9rem;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: var(--light-color);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.contact-item h3 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--text-color);
}

.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section p {
    opacity: 0.8;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-section a:hover {
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
}

.newsletter-form button {
    padding: 0.75rem 1.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transition: left 0.3s ease;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .search-box {
        flex-direction: column;
    }

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

    .about-content,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .stats {
        flex-direction: column;
        gap: 1rem;
    }

    .destinations-grid,
    .packages-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* Page Header (for separate pages) */
.page-header {
    position: relative;
    height: 400px;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    margin-top: 70px;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.page-header-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.page-header-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.page-header-content p {
    font-size: 1.25rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s both;
}

/* Active Nav Link */
.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    width: 100%;
}

/* About Page Styles */
.about-page {
    padding: 5rem 0;
    background: var(--white);
}

.mission-vision {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

.mission-card {
    text-align: center;
    padding: 2.5rem;
    background: var(--light-color);
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mission-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.mission-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.mission-card h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.mission-card p {
    color: var(--text-color);
    line-height: 1.8;
}

.stats-section {
    padding: 4rem 0;
    background: var(--light-color);
    margin: 4rem 0;
    border-radius: 16px;
}

.stats-section .stats {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 3rem;
}

/* Team Section */
.team-section {
    padding: 4rem 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-member {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.team-avatar {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.team-member h4 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.team-role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.team-bio {
    color: var(--text-color);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Packages Page Styles */
.packages-page {
    padding: 5rem 0;
    background: var(--white);
}

.package-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.user-menu {
    position: relative;
}

.user-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid #fff;
}

.user-dropdown {
    position: absolute;
    right: 0;
    top: 50px;
    background: white;
    width: 150px;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: none;
}

.user-dropdown.show {
    display: block;
}

.user-dropdown button {
    width: 100%;
    padding: 8px 12px;
    cursor: pointer;
    background: #ff4444;
    color: white;
    border: none;
    border-radius: 6px;
}


.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--primary-color);
    background: var(--white);
    color: var(--primary-color);
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.package-card {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Contact Page Styles */
.contact-page {
    padding: 5rem 0;
    background: var(--white);
}

.contact-details {
    flex: 1;
}

.contact-details h3 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: var(--text-color);
    margin-bottom: 0.25rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
    font-weight: 500;
}

.contact-form select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
    background: var(--white);
}

.contact-form select:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Map Section */
.map-section {
    padding: 5rem 0;
    background: var(--light-color);
}

.map-container {
    margin-top: 2rem;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.map-placeholder {
    height: 400px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    padding: 2rem;
}

.map-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.map-placeholder p {
    font-size: 1.1rem;
    margin: 0.5rem 0;
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
    background: var(--white);
}

.faq-container {
    max-width: 800px;
    margin: 3rem auto 0;
}

.faq-item {
    background: var(--light-color);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active {
    box-shadow: var(--shadow);
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: rgba(37, 99, 235, 0.1);
}

.faq-question h4 {
    color: var(--dark-color);
    font-size: 1.1rem;
    margin: 0;
    flex: 1;
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: bold;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    color: var(--text-color);
    line-height: 1.8;
    margin: 0;
}

/* Why Choose Section */
.why-choose {
    padding: 5rem 0;
    background: var(--light-color);
}

/* Responsive Updates for New Pages */
@media (max-width: 768px) {
    .page-header-content h1 {
        font-size: 2rem;
    }

    .page-header-content p {
        font-size: 1rem;
    }

    .mission-vision {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .stats-section .stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .package-filters {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-btn {
        width: 100%;
    }

    .destination-actions,
    .package-footer {
        flex-direction: column;
    }

    .destination-actions .btn,
    .package-footer .btn {
        width: 100%;
    }
}

/* Login Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--white);
    margin: auto;
    padding: 0;
    border-radius: 16px;
    width: 90%;
    max-width: 450px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
    overflow: hidden;
}

.modal-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.modal-body {
    padding: 2rem;
    max-height: 70vh;
    overflow-y: auto;
}

.modal-body .form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.modal-body .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
    font-weight: 500;
    font-size: 0.9rem;
}

.modal-body .form-group input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.modal-body .form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-icon {
    position: absolute;
    left: 1rem;
    top: 2.5rem;
    color: var(--text-color);
    opacity: 0.6;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    color: var(--text-color);
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    cursor: pointer;
}

.forgot-password {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.btn-block {
    width: 100%;
    padding: 0.875rem;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.modal-divider {
    text-align: center;
    margin: 1.5rem 0;
    position: relative;
}

.modal-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e2e8f0;
}

.modal-divider span {
    background: var(--white);
    padding: 0 1rem;
    color: var(--text-color);
    position: relative;
    font-size: 0.9rem;
}

.social-login {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.btn-social {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e2e8f0;
    background: var(--white);
    color: var(--text-color);
    border-radius: 8px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-social:hover {
    border-color: var(--primary-color);
    background: var(--light-color);
    transform: translateY(-2px);
}

.btn-google:hover {
    border-color: #ea4335;
    color: #ea4335;
}

.btn-facebook:hover {
    border-color: #1877f2;
    color: #1877f2;
}

.modal-footer {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.modal-footer p {
    margin: 0;
    color: var(--text-color);
    font-size: 0.9rem;
}

.modal-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.modal-footer a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.btn-login {
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
    margin-left: 1rem;
}

.btn-signup {
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
    margin-left: 0.5rem;
}

.btn-search {
   padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
    margin-left: 0.5rem;
}

.btn-search:hover {
    background: var(--dark-color);
    border: solid black 1px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transform: none;
}

.btn-search i {
    font-size: 1.1rem;
}

/* Modal Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* Search Modal Styles */
.search-modal-content {
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow: hidden;
}

.search-container {
    margin-bottom: 1.5rem;
}

.search-input-wrapper {
    position: relative;
    margin-bottom: 1rem;
}

.search-input-wrapper .search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-color);
    opacity: 0.6;
    font-size: 1.1rem;
}

.search-input-wrapper input {
    width: 100%;
    padding: 1rem 3rem 1rem 3rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--white);
}

.search-input-wrapper input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.clear-search {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-color);
    opacity: 0.6;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.clear-search:hover {
    background: rgba(0, 0, 0, 0.1);
    opacity: 1;
}

.search-filters {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.filter-tab {
    padding: 0.5rem 1rem;
    border: 2px solid #e2e8f0;
    background: var(--white);
    color: var(--text-color);
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-tab:hover,
.filter-tab.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.search-results {
    max-height: 400px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.search-results::-webkit-scrollbar {
    width: 6px;
}

.search-results::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.search-results::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

.search-placeholder,
.search-no-results {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-color);
    opacity: 0.7;
}

.search-placeholder i,
.search-no-results i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    opacity: 0.5;
}

.search-placeholder p,
.search-no-results p {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.search-no-results small {
    color: var(--text-color);
    opacity: 0.6;
}

.search-result-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-radius: 12px;
    background: var(--white);
    border: 1px solid #e2e8f0;
    margin-bottom: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    align-items: center;
}

.search-result-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    border-color: var(--primary-color);
}

.search-result-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

.search-result-content {
    flex: 1;
    min-width: 0;
}

.search-result-content h4 {
    margin: 0 0 0.25rem 0;
    color: var(--dark-color);
    font-size: 1rem;
    font-weight: 600;
}

.search-result-content p {
    margin: 0 0 0.5rem 0;
    color: var(--text-color);
    font-size: 0.9rem;
    line-height: 1.4;
    display: -webkit-box;
   
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.search-result-content small {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.8rem;
}

.search-result-type {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    background: var(--light-color);
    color: var(--primary-color);
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

mark {
    background: #fef3c7;
    color: #92400e;
    padding: 0.1rem 0.2rem;
    border-radius: 2px;
    font-weight: 600;
}

/* Highlight animation */
@keyframes highlight {
    0% { background: rgba(37, 99, 235, 0.1); }
    50% { background: rgba(37, 99, 235, 0.2); }
    100% { background: rgba(37, 99, 235, 0.1); }
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 1rem;
    }

    .modal-header {
        padding: 1.5rem;
    }

    .modal-header h2 {
        font-size: 1.5rem;
    }

    .modal-body {
        padding: 1.5rem;
    }

    .btn-login,
    .btn-signup {
        margin-left: 0;
        margin-top: 0.5rem;
        width: 100%;
    }

    .btn-search {
        margin-left: 0;
        margin-top: 0.5rem;
        position: static;
        transform: none;
        right: auto;
        top: auto;
    }
    

    .search-modal-content {
        width: 95%;
        max-height: 90vh;
    }

    .search-result-item {
        padding: 0.75rem;
        gap: 0.75rem;
    }

    .search-result-image {
        width: 50px;
        height: 50px;
    }

    .search-filters {
        flex-wrap: wrap;
    }

    .filter-tab {
        flex: 1;
        min-width: 80px;
        text-align: center;
    }
}

/* ---------------------------------
   GLOBAL VARIABLES & RESETS
---------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #2563eb;
    --secondary: #3b82f6;
    --dark: #1e293b;
    --light: #f8fafc;
    --white: #ffffff;

    --radius: 16px;
    --shadow: 0 8px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 28px rgba(0,0,0,0.12);

    --gradient-brand: linear-gradient(135deg, var(--primary), var(--secondary));
    --gradient-dark: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.3));
}

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

body {
    font-family: Poppins, sans-serif;
    background: var(--light);
    color: var(--dark);
    line-height: 1.6;
}

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

a {
    text-decoration: none;
    color: inherit;
}

html {
    scroll-behavior: smooth;
}

/* ---------------------------------
   UTILITY CLASSES
---------------------------------- */
.card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* ---------------------------------
   NAVBAR
---------------------------------- */
.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    background: var(--white);
    box-shadow: var(--shadow);
    z-index: 1000;
}

.nav-wrapper {
    padding: 1rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: revert;
}

.logo {
    font-size: 1.4rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: .5rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-menu li {
    list-style: none;
    display: flex;
    align-items: center;
}

.nav-link {
    padding: .5rem 1rem;
    border-radius: 8px;
    transition: color .3s ease;
}

.nav-link:hover {
    color: var(--primary);
}

/* Fix Search Button Jumping */
.nav-menu button {
    height: 40px;
    padding: 0 1rem;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    border: none;
}

.btn-primary {
    background: var(--gradient-brand);
    color: white;
}

.btn-secondary {
    background: var(--white);
    border: 1px solid var(--primary);
    color: var(--primary);
}

.btn-primary:hover,
.btn-secondary:hover {
    opacity: .9;
}

/* ------------------------------------------- */
/* NORMAL DESKTOP DROPDOWN (unchanged)        */
/* ------------------------------------------- */

.nav-menu .dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    list-style: none;
    min-width: 150px;
    padding: 0.5rem 0;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
    z-index: 50;
}

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

.dropdown-menu li a {
    display: block;
    padding: 10px 16px;
    color: #333;
    font-size: 0.95rem;
    text-decoration: none;
    transition: 0.2s ease;
}

.dropdown-menu li a:hover {
    background: #f5f5f5;
    color: var(--primary-color);
}

/* Arrow styling */
.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
}

.dropdown-arrow {
    font-size: 0.7rem;
    transition: transform .25s ease;
}

.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

/* Mobile arrow rotate (for toggle) */
.dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
}

/* ------------------------------------------- */
/* CLEANED MOBILE DROPDOWN                    */
/* ------------------------------------------- */
@media (max-width: 900px) {

    /* Disable desktop hover behavior on mobile */
    .dropdown:hover .dropdown-menu {
        display: none;
        opacity: 0;
        visibility: hidden;
        transform: none;
    }

    /* Reset base dropdown to fit inside mobile menu */
    .dropdown-menu {
        position: relative !important;
        background: transparent;
        box-shadow: none;
        padding: 0;
        margin-left: 1rem;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        display: none; /* hidden by default on mobile */
    }

    /* Show menu only when opened via JS */
    .dropdown.open .dropdown-menu {
        display: block;
    }

    /* Mobile dropdown item style */
    .dropdown-menu li a {
        padding: 12px 0;
        font-size: 0.95rem;
        color: #444;
    }
}
/* COMPLETELY DISABLE DROPDOWN ON MOBILE */
@media (max-width: 900px) {

    /* Hide submenu entirely */
    .dropdown-menu {
        display: none !important;
    }

    /* Hide arrow */
    .dropdown-arrow {
        display: none !important;
    }

    /* Make dropdown behave like a normal nav link */
    .dropdown {
        position: static !important;
    }

    /* Ensure tap works — remove JS/toggle interaction */
    .dropdown > a {
        pointer-events: auto !important;
    }

    /* Disable any 'open' state from JS */
    .dropdown.open .dropdown-menu {
        display: none !important;
    }
}


/* ---------------------------------
   SEARCH ICON
---------------------------------- */
.btn-search i {
    font-size: 1.1rem;
}

/* ---------------------------------
   MOBILE MENU
---------------------------------- */
.menu-toggle {
    
    width: 36px;
    height: 30px;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.menu-toggle span {
    height: 4px;
    background: var(--dark);
    border-radius: 2px;
    width: 100%;
}

/* ---------------------------------
   RESPONSIVE NAV
---------------------------------- */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        right: -100%;
        left: auto;
        width: 230px;
        background: var(--white);
        flex-direction: column;
        box-shadow: var(--shadow);
        padding: 1rem;
        border-radius: 0 0 12px 12px;
        display: none;
    }

    .nav-menu.active {
        display: flex;
        right: 0;
    }

    .nav-menu li {
        width: 100%;
        justify-content: flex-start;
    }
}
/* FORCE 2 CARD GRID ON ALL SMALL SCREENS (iPhone SE, 375px) */
/* — overrides duplicate earlier mobile rules — */
@media (max-width: 768px) {
    #destinationsGrid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.8rem !important;
    }
}

/* Smallest phones — keep 2 cards, never 1 */
@media (max-width: 480px) {
    #destinationsGrid {
        grid-template-columns: repeat(1, 1fr) !important;
        
    }

    #destinationsGrid .destination-card {
        border-radius: 10px;
        overflow: hidden;
    }

    #destinationsGrid .destination-image {
        height: 90px !important;
    }

    #destinationsGrid .destination-info {
        padding: 0.55rem 0.5rem !important;
    }

    #destinationsGrid .destination-info h3 {
        font-size: 0.78rem !important;
    }

    #destinationsGrid .destination-info p {
        font-size: 0.62rem !important;
        height: 28px;
        overflow: hidden;
    }

    #destinationsGrid .destination-actions .btn {
        font-size: 0.6rem !important;
        padding: 0.3rem 0.45rem !important;
    }
}
/* ===========================
   TRAVEL PACKAGES — CLEAN, SMALL CARDS
=========================== */

#packagesGrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* Card Box */
.package-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    transition: .25s ease;
}

.package-card:hover {
    transform: translateY(-4px);
}

/* Image */
.package-card .package-image {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

/* Content */
.package-info {
    padding: 1rem;
}

.package-info h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.package-desc {
    font-size: 0.85rem;
    color: #555;
    min-height: 36px;
    overflow: hidden;
    line-height: 1.35;
}

/* Duration */
.package-duration {
    margin-top: 6px;
    font-size: 0.85rem;
    color: #333;
    display: flex;
    align-items: center;
    gap: 5px;
}

.package-duration i {
    font-size: 0.8rem;
    color: var(--primary);
}

/* CTA Button */
.package-btn {
    margin-top: 10px;
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
    border-radius: 8px;
}

/* ===========================
   MOBILE FIX (iPhone SE)
=========================== */

@media (max-width: 480px) {
    #packagesGrid {
        grid-template-columns: repeat(1, 1fr);
        gap: 0.7rem;
        padding: 0 0.5rem;
    }

    .package-card .package-image {
        height: 110px;
    }

    .package-info {
        padding: 0.6rem;
    }

    .package-info h3 {
        font-size: 0.8rem;
    }

    .package-desc {
        font-size: 0.7rem;
        min-height: 28px;
    }

    .package-duration {
        font-size: 0.72rem;
    }

    .package-btn {
        padding: 0.35rem 0.5rem;
        font-size: 0.7rem;
    }
}

/* ===========================
   TABLET
=========================== */
@media (min-width: 481px) and (max-width: 900px) {
    #packagesGrid {
        grid-template-columns: repeat(1, 1fr);
        gap: 1rem;
    }

    .package-card .package-image {
        height: 130px;
    }
}

/* ============================================
   ULTRA MINI MODE for Mobile (Cards 50% smaller)
============================================ */

@media (max-width: 520px) {

    /* 2 cards per row, tighter gap */
    #packagesGrid {
        grid-template-columns: repeat(1, 1fr) !important;
        gap: 0.4rem !important;
        padding: 0 0.3rem !important;
    }

    /* Card container */
    .package-card {
        border-radius: 8px !important;
        box-shadow: 0 2px 6px rgba(0,0,0,0.06) !important;
    }

    /* Smaller image */
    .package-card .package-image {
        height: 80px !important;
        object-fit: cover !important;
    }

    /* Content tiny & tight */
    .package-info {
        padding: 0.35rem 0.4rem !important;
    }

    .package-info h3 {
        font-size: 0.65rem !important;
        line-height: 1.05 !important;
        margin-bottom: 2px !important;
    }

    .package-desc {
        font-size: 0.55rem !important;
        line-height: 1.1 !important;
        min-height: 20px !important;
        max-height: 22px !important;
        overflow: hidden !important;
    }

    .package-duration {
        margin-top: 3px !important;
        font-size: 0.55rem !important;
        gap: 3px !important;
    }

    .package-duration i {
        font-size: 0.55rem !important;
    }

    /* Buttons tiny but still tappable */
    .package-btn {
        margin-top: 5px !important;
        padding: 0.25rem 0.4rem !important;
        font-size: 0.6rem !important;
        border-radius: 5px !important;
    }
}

/* -----------------------------------------
   MOBILE TWEAKS ONLY — FINAL POLISH
   ----------------------------------------- */
@media (max-width: 820px) {

  /* 1. Smaller main image on mobile */
  .main-image {
    aspect-ratio: 3/3 !important;   /* safer ratio */
    max-height: 300px !important;   /* reduced height */
    border-radius: 8px !important;
  }

  /* Extra small screens */
  @media (max-width: 480px) {
    .main-image {
      aspect-ratio: 16/10 !important;
      max-height: 240px !important;
    }
  }

  /* 2. Compact the price-card so it fully fits */
  .price-card {
    padding: 10px !important;
    border-radius: 10px !important;
    transform: scale(0.96);            /* slight shrink */
    transform-origin: top center;
  }

  /* Make inner elements tighter */
  .price-card .rate-row,
  .price-card select,
  .price-card input[type="date"] {
    padding: 8px !important;
  }

  .price-card .total-row {
    font-size: 0.95rem !important;
  }

  .price-card .btn {
    padding: 8px 10px !important;
    font-size: 0.9rem !important;
  }
  
  /* WhatsApp & Book buttons smaller */
  #whatsappBtn, #bookBtn {
    padding: 10px !important;
  }
}
