/* General Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #f4f7fc;
    color: #333;
    overflow-x: hidden; /* Prevents horizontal scrolling */
}

/* Header Section */
.header {
    background-color: #3a3d98;
    padding: 10px 20px;
    color: white;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.logo-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo img {
    height: 80px;
}

/* Navbar */
.navbar {
    display: flex;
    align-items: center;
}

.navbar ul {
    list-style-type: none;
    display: flex;
    gap: 25px;
}

.navbar a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
    font-size: 16px;
}

.navbar a:hover {
    color: #ff6f91;
}

.enquiry-btn {
    background-color: #ff6f91;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 30px;
    transition: background-color 0.3s ease;
    margin-left: 25px;
    border: none;
    cursor: pointer;
}

.enquiry-btn:hover {
    background-color: #e55b76;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: white;
    transition: all 0.3s ease-in-out;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    position: relative;
}

.close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: 15px;
    top: 10px;
    cursor: pointer;
}

form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}
form input, form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
form button {
    background-color: #4CAF50;
    color: white;
    padding: 12px 20px;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    width: 100%;
    font-size: 16px;
}
form button:hover {
    background-color: #45a049;
}

/* Hero Section */
.hero {
    background-image: url('/Images/WhatsApp Image 2025-02-10 at 10.15.53 PM (1).jpeg');
    background-size: cover;
    background-position: center;
    height: calc(100vh - 100px); /* Adjusted for header height */
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 100px; /* Offset for fixed header */
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 30px;
}

.cta-btn {
    background-color: #ff6f91;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    font-size: 1.2rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}
.cta-btn:hover {
    background-color: #e55b76;
}

/* Common Section Styling */
section {
    padding: 60px 20px;
    text-align: center;
}

section h2 {
    font-size: 2.2rem;
    color: #3a3d98;
    margin-bottom: 20px;
}

section > p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* About & Assurance */
#about, .assurance {
    background-color: #ffffff;
}

.assurance h2 {
    margin-bottom: 20px;
}

.assurance p {
    margin-bottom: 20px;
}

/* Stats Section */
.stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    background-color: #ffffff;
}
.stat-card {
    background-color: #f8f9fb;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    width: 200px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.stat-card h3 {
    font-size: 2.25rem;
    color: #ff6f91;
    margin-bottom: 10px;
}
.stat-card p {
    font-size: 1rem;
    color: #777;
}
.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Services Section - Original Styling */
.services {
    padding: 60px 20px;
    background-color: #ffffff;
    text-align: center;
}

.services h2 {
    font-size: 2rem;
    color: #3a3d98;
    margin-bottom: 30px;
}

.services-container {
    display: flex;
    justify-content: center; /* Centered the items */
    gap: 20px;
    flex-wrap: wrap; /* Allows items to wrap */
    padding: 20px 0; /* Adjusted padding */
}

.service-card {
    text-align: center;
    background-color: #f8f9fb;
    padding: 25px;
    border-radius: 12px;
    width: calc(100% / 5 - 20px);
    min-width: 200px; /* Added for better handling of fewer items */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service-card img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 15px;
}

.service-card p {
    font-size: 1rem;
    color: #555;
}

.service-card:hover {
    transform: translateY(-10px);
}

/* Tour Photos Section - My Improved Card Style */
.tour-photos {
    background-color: #f9f9f9;
}
.photo-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}
.gallery-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
    width: calc(100% / 4 - 20px);
    min-width: 250px;
}
.gallery-card:hover {
    transform: translateY(-10px);
}
.gallery-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}
.gallery-card p {
    padding: 15px;
    font-size: 1.1rem;
    font-weight: bold;
    color: #555;
}

/* Testimonials Section */
.testimonials {
    background: white;
    padding: 50px 20px;
    max-width: 1200px;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
}

.testimonials > p {
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.testimonial {
    padding: 20px;
    background: #f8f9fb;
    border-radius: 10px;
    /* min-height removed to allow the card to grow with its content */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.testimonial > p {
    font-size: 1.1rem;
    font-style: italic;
    color: #444;
    margin-bottom: 20px;
    white-space: normal; /* Ensures text wraps properly */
    word-break: break-word; /* Breaks long words to prevent overflow */
}

.author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}
.author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}
.author span {
    font-weight: bold;
    color: #3a3d98;
    font-size: 1.1rem;
}

/* Carousel Navigation Buttons - Moved Below */
.testimonial-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
}

.carousel-btn {
    position: static; /* No longer absolute */
    transform: none; /* Reset transform */
    background: #3a3d98;
    color: white;
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}
.carousel-btn:hover {
    background: #ff6f91;
}
.carousel-btn[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
}

.tns-nav {
    text-align: center;
    margin-top: 20px;
}
.tns-nav button {
    width: 10px;
    height: 10px;
    background-color: #ccc;
    border: none;
    border-radius: 50%;
    margin: 0 5px;
    padding: 0;
    transition: background-color 0.3s;
}
.tns-nav button.tns-nav-active {
    background-color: #3a3d98;
}


/* Footer Section */
.footer {
    background-color: #3a3d98;
    color: white;
    padding: 50px 20px 30px;
}
.footer-links {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}
.footer-links div {
    flex: 1;
    min-width: 250px;
}
.footer-links h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
    color: #ff6f91;
}
.footer-links ul {
    list-style-type: none;
}
.footer-links li {
    margin-bottom: 10px;
    font-size: 0.95rem;
}
.copyright {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #5a5db8;
    font-size: 0.9rem;
    color: #ddd;
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
    .service-card {
        width: calc(100% / 4 - 20px);
    }
    .gallery-card {
        width: calc(100% / 3 - 20px);
    }
}

@media (max-width: 768px) {
    .hero-content h1 { font-size: 2.5rem; }

    .hamburger {
        display: block;
    }
    .navbar {
        position: absolute;
        top: 100px;
        left: -100%;
        width: 100%;
        background-color: #3a3d98;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        transition: left 0.3s ease-in-out;
    }
    .navbar.active {
        left: 0;
    }
    .navbar ul {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        width: 100%;
    }
    .navbar li { margin-bottom: 10px; }
    .enquiry-btn { margin: 20px 0 0 0; }

    .service-card {
        width: calc(100% / 3 - 20px);
    }
    .gallery-card {
        width: calc(50% - 15px);
    }
    .footer-links {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-links div {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    section { padding: 40px 15px; }
    .hero {
        margin-top: 80px;
        height: calc(100vh - 80px); /* Adjusted for smaller header */
    }
    .header { padding: 3px 15px; }
    .logo img { height: 70px; }
    .navbar { top: 80px; }
    .hero-content h1 { font-size: 2rem; }
    .hero-content p { font-size: 1rem; }
    .stat-card { width: 100%; }
    .gallery-card {
        width: 100%;
    }
    .testimonials { padding: 50px 5px; }
    /* Note: The following IDs are typically used in JavaScript for Tiny-Slider/Carousel control, 
       but they are being set here as if they were classes/elements, which is unusual for CSS. 
       They are kept for completeness, assuming they refer to specific elements in your HTML. */
    #prev { left: 5px; }
    #next { right: 5px; }
}


