* {
    margin: 0;
    html, body {
    width: 100%;
    overflow-x: hidden;
}
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2c5aa0;
    --secondary-color: #ff6b6b;
    --text-color: #333;
    --light-bg: #f5f5f5;
    --white: #fff;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.navbar-brand .logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    transition: color 0.3s;
    font-size: 14px;
}

.nav-link:hover {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: 0.3s;
}
@media (max-width: 768px) {
    .header {
        display: none;
    }
}

/* Hero Section */
.carousel-container {
    width: 100%;
    height: 500px;   /* Desktop height */
    overflow: hidden;
    position: relative;
}
.carousel-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero {
    position: relative;
    overflow: hidden;
}
.carousel-container {
    width: 100%;
}
.carousel {
    height: 100%;
    position: relative;
}

.carousel-item {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.carousel-item.active {
    opacity: 1;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
}

.carousel-overlay h1 {
    font-size: 48px;
    margin-bottom: 20px;
    animation: slideDown 0.8s ease;
}

.carousel-overlay p {
    font-size: 20px;
    animation: slideUp 0.8s ease;
}
.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

@keyframes slideDown {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
@media (max-width: 768px) {

    .carousel-container {
        height: 300px;   /* Fixed mobile height */
    }

}
/* Search Section */
.search-section {
    position: relative;
    top: -40px;
    z-index: 10;
}

.search-form {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 25px;
    background: var(--white);
    padding: 25px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}
@media (max-width: 768px) {

    .search-form {
        grid-template-columns: 1fr;
    }

    .carousel-overlay h1 {
        font-size: 26px;
    }

    .carousel-overlay p {
        font-size: 14px;
    }

    .carousel-container {
        height: 350px;
    }

}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    font-family: inherit;
}

.search-btn {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s;
    align-self: flex-end;
}

.search-btn:hover {
    background: #1a3a66;
}

/* Featured Section */
.featured-section,
.packages-section,
.about-section,
.contact-section {
    padding: 60px 0;
}

.featured-section h2,
.recommended-section h2,
.categories-section h2,
.testimonials-section h2,
.packages-section h2,
.about-section h2,
.contact-section h2 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 10px;
    text-align: center;
}

.section-subtitle {
    color: #666;
    font-size: 16px;
    margin-bottom: 40px;
    text-align: center;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.package-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.package-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.package-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.package-card:hover .package-image img {
    transform: scale(1.1);
}

.package-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--secondary-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
}

.package-info {
    padding: 20px;
}

.package-info h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.destination,
.duration {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.description {
    font-size: 14px;
    color: #777;
    margin-bottom: 15px;
    min-height: 50px;
}

.package-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-size: 18px;
    font-weight: bold;
    color: var(--secondary-color);
}

.btn-view,
.btn-primary,
.btn-secondary {
    display: inline-block;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.btn-view {
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 16px;
    font-size: 12px;
}

.btn-view:hover {
    background: #1a3a66;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    padding: 12px 25px;
    width: 100%;
    font-size: 14px;
}

.btn-primary:hover {
    background: #1a3a66;
}

.btn-secondary {
    background: var(--secondary-color);
    color: var(--white);
    padding: 10px 20px;
    margin-top: 15px;
    font-size: 14px;
}

.btn-secondary:hover {
    background: #e85555;
}

/* Recommended Section */
.recommended-section {
    background: var(--light-bg);
    padding: 60px 0;
}

.destinations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.destination-card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
    text-align: center;
}

.destination-card:hover {
    transform: translateY(-5px);
}

.destination-card a {
    text-decoration: none;
    color: var(--text-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.destination-card h3 {
    color: var(--primary-color);
    font-size: 18px;
}

.destination-card i {
    color: var(--secondary-color);
    transition: transform 0.3s;
}

.destination-card:hover i {
    transform: translateX(5px);
}

/* Categories Section */
.categories-section {
    padding: 60px 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.category-card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.category-icon {
    font-size: 48px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.category-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Testimonials Section */
.testimonials-section {
    background: var(--light-bg);
    padding: 60px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.testimonial-card {
    background: var(--white);
    padding: 25px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
}

.stars {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 16px;
}

.testimonial-text {
    font-style: italic;
    color: #666;
    margin-bottom: 15px;
}

.testimonial-author {
    font-weight: bold;
    color: var(--primary-color);
}

/* Package Detail Section */
.package-detail-section {
    padding: 40px 0;
}

.package-detail-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 30px;
}

.breadcrumb {
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

.detail-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.detail-info h1 {
    color: var(--primary-color);
    font-size: 32px;
    margin-bottom: 20px;
}

.package-meta {
    background: var(--light-bg);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.package-meta p {
    margin: 10px 0;
    color: #666;
}

.price-section {
    background: var(--primary-color);
    color: var(--white);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 20px;
}

.price-section .price {
    color: var(--white);
    margin: 0;
}

.detail-info h3 {
    color: var(--primary-color);
    margin-top: 25px;
    margin-bottom: 15px;
}

.highlights,
.itinerary,
.inclusions {
    text-align: left;
    color: #666;
    line-height: 1.8;
}

/* Booking Form */
.booking-form-section {
    background: var(--light-bg);
    padding: 25px;
    border-radius: 8px;
}

.booking-form-section h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.booking-form-section .form-group {
    margin-bottom: 15px;
}

.booking-form-section label {
    display: block;
    margin-bottom: 5px;
    color: var(--primary-color);
    font-weight: 500;
}

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-form,
.contact-info {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 8px;
}

.contact-form h3,
.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 25px;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 24px;
    color: var(--secondary-color);
}

.info-item h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.info-item p {
    color: #666;
}

/* About Section */
.about-content {
    background: var(--light-bg);
    padding: 40px;
    border-radius: 8px;
}

.about-text h3 {
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: 15px;
    margin-top: 25px;
}

.about-text p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.8;
}

.features-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.features-list li {
    color: #666;
    padding: 10px 0;
}

.features-list i {
    color: var(--secondary-color);
    margin-right: 10px;
}

/* Messages */
.success-message {
    background: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    border: 1px solid #c3e6cb;
}

.error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    border: 1px solid #f5c6cb;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: var(--white);
    padding: 60px 0 20px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.footer-section p {
    color: #bbb;
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.6;
}
/* new code for white text color */
/* Footer background */
.footer-section {
    background: #2c3e50;
    color: #fff;
}

/* All paragraph and list text white */
.footer-section p,
.footer-section li,
.footer-section span,
.footer-section a {
    color: #fff;
    text-decoration: none;
}

/* Keep heading color unchanged */
.footer-section h4,
.footer-section h5 {
    color: #ff6b6b; /* your heading color */
}


/* Link hover effect */
.footer-section a:hover {
    color: #f8c146;
}


/* chardhamsection */

/* Char Dham Section */
.char-dham-section {
    padding: 60px 20px;
    background: #f8f9fa;
}


.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.section-header p {
    color: #666;
}

/* Grid: 4 columns */
.char-dham-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Card */
.char-dham-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    text-decoration: none;
    display: block;
    height: 260px;
}

/* Image wrapper */
.dham-image-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.dham-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Overlay gradient */
.dham-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
}

/* Content over image */
.dham-content {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: #fff;
}

.dham-content h3 {
    margin: 0;
    font-size: 20px;
}

.dham-content p {
    margin: 5px 0 10px;
    font-size: 14px;
}

.dham-arrow {
    font-size: 18px;
}

/* Hover effect */
.char-dham-card:hover img {
    transform: scale(1.05);
    transition: 0.4s;
}

/* Tablet */
@media (max-width: 992px) {
    .char-dham-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 576px) {
    .char-dham-grid {
        grid-template-columns: 1fr;
    }
}
/* infinite scrolllllllllllllllllllllllllllllllllllllllllllll */
/* ===============================================
       INFINITE SCROLL PACKAGES
       =============================================== */

  /* Wrapper */
.infinite-scroll-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
}

/* Track (this controls horizontal layout) */
.infinite-scroll-track {
    display: flex;            /* important */
    gap: 20px;
    width: max-content;       /* allow horizontal growth */
    animation: scroll-left 25s linear infinite;
}

/* Each card */
.infinite-package-card {
    flex: 0 0 280px;          /* fixed width cards */
    text-decoration: none;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.infinite-package-card:hover {
    transform: translateY(-5px);
}

/* Image */
.infinite-card-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.infinite-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Card content */
.infinite-card-info {
    padding: 15px;
}

.infinite-card-info h3 {
    font-size: 18px;
    margin-bottom: 5px;
    color: #03045e;
}

.destination {
    font-size: 14px;
    color: #666;
}

.price {
    font-weight: bold;
    color: #e63946;
}

/* Animation */
@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}
/* buttonn of view all packages */
.view-all-wrapper {
    border: #155724;
    text-align: center;
    margin-top: 30px;
}

.btn-view-all {
    background: #03045e;
    color: #fff;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
}
header {
  display: flex;
  justify-content: space-between; /* Pushes logo to left, nav to right */
  align-items: center;
  padding: 10px 5%;
  flex-wrap: wrap; /* Allows items to drop to the next line if space runs out */
}
/* ============================= */
/* MOBILE NAVBAR RESPONSIVE FIX  */
/* ============================= */

@media (max-width: 768px) {

    .nav-menu {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding: 20px 0;
        display: none;   /* hide by default */
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }

    .nav-menu.active {
        display: flex;   /* show when active */
    }

    .hamburger {
        display: flex;   /* show hamburger on mobile */
    }

}