/* Basic Reset & Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif; /* Primary font */
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa; /* Lighter background */
    overflow-x: hidden;
}

.section-container {
    max-width: 1200px;
    margin: 60px auto; /* More vertical spacing */
    padding: 30px;
    background-color: #fff;
    border-radius: 12px; /* More rounded corners */
    box-shadow: 0 8px 30px rgba(0,0,0,0.08); /* Softer, deeper shadow */
    animation: fadeIn 1s ease-out forwards; /* Fade in animation */
    opacity: 0; /* Start hidden for animation */
    transform: translateY(20px);
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif; /* Heading font */
    color: #2c3e50;
    margin-bottom: 25px;
    text-align: center;
}

h2 {
    font-size: 3em; /* Larger headings */
    padding-bottom: 15px;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 80px; /* Longer accent line */
    height: 5px;
    background-color: #007bff;
    border-radius: 3px;
}

.cta-button {
    display: inline-block;
    background-color: #007bff;
    color: #fff;
    padding: 15px 35px; /* Larger padding */
    border: none;
    border-radius: 50px; /* Pill shape */
    cursor: pointer;
    font-size: 1.1em;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease; /* Smooth transition for all properties */
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.cta-button:hover {
    background-color: #0056b3;
    transform: translateY(-3px); /* Subtle lift effect */
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

/* Header & Navbar */
.hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('images/hero-travel.jpg') no-repeat center center/cover;
    height: 90vh; /* Taller hero section */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
    position: relative;
    z-index: 1;
}

.navbar {
    position: fixed; /* Fixed navigation */
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background-color: rgba(44, 62, 80, 0.9); /* Darker, slightly transparent */
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: background-color 0.3s ease;
}

.navbar.scrolled {
    background-color: #2c3e50; /* Solid background on scroll */
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 2em;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
}

.navbar ul {
    list-style: none;
    display: flex;
}

.navbar ul li {
    margin-left: 40px; /* More space between links */
}

.navbar ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1em;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s ease;
}

.navbar ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 3px;
    background-color: #007bff;
    transition: width 0.3s ease;
}

.navbar ul li a:hover::after {
    width: 100%;
}

.hero-content {
    margin-top: 50px;
    animation: slideInUp 1s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h1 {
    font-size: 5em; /* Larger, more impactful */
    margin-bottom: 20px;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.6);
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.8em;
    margin-bottom: 40px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Viva.com Banner */
.viva-banner {
    background-color: #1a2a4b; /* Dark blue, matching brand */
    color: #fff;
    text-align: center;
    padding: 20px 0; /* More padding */
    font-size: 1.2em;
    font-weight: 600;
    margin-top: -90px; /* Overlap hero more for modern look */
    position: relative;
    z-index: 999;
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    display: flex;
    justify-content: center;
    align-items: center;
}

.viva-banner .banner-content {
    display: flex;
    align-items: center;
    gap: 15px; /* Space between logo and text */
}

.viva-logo {
    height: 100px; /* Adjust as needed */
    width: auto;
}

/* Destination Grid */
.destination-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.destination-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.destination-card:hover {
    transform: translateY(-8px); /* More pronounced lift */
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

.destination-card img {
    width: 100%;
    height: 220px; /* Slightly taller images */
    object-fit: cover;
    display: block;
}

.destination-card .card-content {
    padding: 20px;
    flex-grow: 1; /* Allows content to push link down */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.destination-card h3 {
    font-size: 1.8em;
    margin-bottom: 10px;
    text-align: left;
    color: #2c3e50;
}

.destination-card p {
    font-size: 1em;
    color: #555;
    margin-bottom: 15px;
    text-align: left;
    line-height: 1.5;
}

.destination-card .card-link {
    display: inline-flex;
    align-items: center;
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.destination-card .card-link i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.destination-card .card-link:hover {
    color: #0056b3;
}

.destination-card .card-link:hover i {
    transform: translateX(5px);
}

/* Tour Cards */
.tour-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); /* Slightly wider cards */
    gap: 30px;
    margin-top: 30px;
}

.tour-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.tour-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

.tour-card img {
    width: 100%;
    height: 240px; /* Taller images for tours */
    object-fit: cover;
    display: block;
}

.tour-card .tour-details {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.tour-card h3 {
    font-size: 1.9em;
    margin-bottom: 10px;
    text-align: left;
    color: #2c3e50;
}

.tour-card p {
    font-size: 1.05em;
    color: #555;
    margin-bottom: 20px;
    flex-grow: 1;
    text-align: left;
}

.tour-card .tour-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto; /* Push to the bottom */
}

.tour-card .price {
    font-size: 1.6em;
    font-weight: 700;
    color: #007bff;
}

.tour-card .book-tour-button {
    background-color: #28a745;
    color: #fff;
    padding: 10px 25px;
    border: none;
    border-radius: 50px; /* Pill shape */
    cursor: pointer;
    font-size: 1em;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(40, 167, 69, 0.3);
}

.tour-card .book-tour-button:hover {
    background-color: #218838;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(40, 167, 69, 0.4);
}

/* Testimonials */
.testimonial-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 25px; /* More space for scrollbar/shadow */
    margin-top: 30px;
    scrollbar-width: thin; /* Firefox */
    scrollbar-color: #007bff #f1f1f1; /* Firefox */
}

/* Custom scrollbar for Webkit browsers */
.testimonial-slider::-webkit-scrollbar {
    height: 8px;
}

.testimonial-slider::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.testimonial-slider::-webkit-scrollbar-thumb {
    background: #007bff;
    border-radius: 10px;
}

.testimonial-slider::-webkit-scrollbar-thumb:hover {
    background: #0056b3;
}


.testimonial-card {
    flex: 0 0 90%;
    margin-right: 30px; /* More space between cards */
    background-color: #f0f8ff; /* Light blue tint */
    border: 1px solid #cceeff; /* Lighter border */
    border-radius: 10px;
    padding: 35px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-card p {
    font-style: italic;
    color: #444;
    margin-bottom: 20px;
    font-size: 1.1em;
    text-align: center;
    line-height: 1.7;
}

.testimonial-card .customer-name {
    font-weight: 700;
    color: #2c3e50;
    text-align: right;
    margin-top: auto;
    font-size: 1.05em;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px; /* More space between fields */
    max-width: 700px;
    margin: 30px auto;
    padding: 30px;
    border: 1px solid #eee; /* Lighter border */
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    padding: 15px; /* More padding */
    border: 1px solid #ddd;
    border-radius: 8px; /* Slightly more rounded */
    font-size: 1em;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25); /* Focus highlight */
    outline: none;
}

.contact-form textarea {
    resize: vertical;
    min-height: 150px; /* Taller text area */
}

.contact-form .cta-button {
    align-self: center; /* Center the button */
    margin-top: 10px;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: #fff;
    padding: 30px 0; /* More padding */
    margin-top: 80px;
    font-size: 0.95em;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Allow wrapping on small screens */
    padding: 0 20px;
}

.footer-content p {
    margin-bottom: 10px;
}

.social-links a {
    color: #fff;
    font-size: 1.5em;
    margin-left: 20px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
    color: #007bff;
    transform: translateY(-3px);
}


/* Responsive Design */
@media (max-width: 992px) {
    .navbar {
        padding: 15px 30px;
    }

    .hero-content h1 {
        font-size: 4em;
    }

    .hero-content p {
        font-size: 1.5em;
    }

    .section-container {
        margin: 40px auto;
        padding: 25px;
    }

    h2 {
        font-size: 2.5em;
    }

    .destination-grid, .tour-card-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }

    .testimonial-card {
        flex: 0 0 95%;
        margin-right: 20px;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding: 15px;
        align-items: flex-start; /* Align items to the start */
    }

    .navbar .logo {
        margin-bottom: 15px;
        text-align: center;
        width: 100%;
    }

    .navbar nav {
        width: 100%;
    }

    .navbar ul {
        flex-direction: column;
        align-items: center;
        margin-top: 0;
        width: 100%;
    }

    .navbar ul li {
        margin: 10px 0;
    }

    .navbar .cta-button {
        display: none; /* Hide button on small screens or make it a full-width block */
    }

    .hero-content h1 {
        font-size: 3em;
    }

    .hero-content p {
        font-size: 1.2em;
    }

    .viva-banner {
        font-size: 1em;
        padding: 15px 0;
        margin-top: -70px;
    }

    .viva-banner .banner-content {
        flex-direction: column;
        gap: 10px;
    }

    .viva-logo {
        height: 30px;
    }

    h2 {
        font-size: 2em;
    }

    .destination-card, .tour-card {
        margin: 0 auto; /* Center single columns */
        max-