/* --- ROOT VARIABLES --- */
:root {
    --primary-navy: #1B3022;
    --accent-light-green: #048b3f;
    --text-white: #FFFFFF;
    --light-bg: #f8f9fa;
    --overlay-dark: rgba(0, 0, 0, 0.5);
    --transition-speed: 0.3s;
 
}

/* --- RESET & BASE STYLES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Oswald', sans-serif;
}

body {
    background-color: var(--light-bg);
    overflow-x: hidden;
}



/* --- HERO SECTION --- */
.hero {
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    color: var(--text-white);
    position: relative; /* Keep this relative */
    padding: 80px 5%;
    gap: 40px;
    overflow: hidden; /* This hides the "extra" image during zoom */
}

/* The animated background layer */
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.7)), 
                url('sigiriya.png');
    background-size: cover;
    background-position: center;
    z-index: -1; /* Puts it behind the text */
    animation: slowZoom 20s infinite alternate ease-in-out;
}

/* The Zoom Animation */
@keyframes slowZoom {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.15); /* Zooms in by 15% */
    }
}

.hero-content {
    flex: 1;
    text-align: left;
    z-index: 2;
}


.hero-content h1 {
    font-size: 5rem; /* Responsive font size */
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;    
    margin-top: 60px;
    text-transform: uppercase;
}

.hero-content p {
    max-width: 650px;
    margin: 0 auto 35px auto;
    font-size: 1.1rem;
    font-weight: 300;
    opacity: 0.9;
    letter-spacing: 0.5px;
}

.btn-book {
    background: var(--accent-light-green);
    color: var(--text-white);
    border: 2px solid var(--accent-light-green);
    padding: 15px 50px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition-speed);
    text-transform: uppercase;
}

.btn-book:hover {
    background: transparent;
    border-color: var(--text-white);
    color: var(--text-white);
    transform: translateY(-3px);
}
/* --- SOCIAL SIDEBAR - FIXED & REFINED --- */
.social-sidebar {
    position: fixed; /* Changed from absolute to fixed to stay visible on scroll */
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.40); /* Slightly higher opacity for visibility */
    backdrop-filter: blur(12px); /* Increased blur for a premium glass effect */
    padding: 20px 12px;
    border-radius: 0 25px 25px 0;
    display: flex;
    flex-direction: column;
    gap: 20px; /* Tighter gap for better professional proportions */
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-left: none;
    z-index: 999; /* Ensures it sits above hero content but below the header */
 }

.social-sidebar a {
    color: #ffffff; /* Ensures icons are bright white */
    font-size: 1.2rem;
    transition: all var(--transition-speed) ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.social-sidebar a:hover {
    color: var(--primary-navy); /* Uses your primary green branding */
    transform: translateX(5px) scale(1.1); /* Slides out slightly on hover */
}



/* --- IMAGE SLIDING CONTAINER --- */
.images-container {
    flex: 1.2; 
    display: flex;
    gap: 15px;
    height: 500px;
    align-items: center;
    z-index: 2;
    margin-top:80px;
}

.slide-card {
    position: relative;
    flex: 1; /* Default state: narrow */
    height: 100%;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    transition: all 0.7s cubic-bezier(0.25, 1, 0.5, 1);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
}

/* Expansion Effect: Triggered by Hover OR .active class */
.slide-card:hover,
.slide-card.active {
    flex: 4; 
}

/* Vertical Text (Visible when card is small) */
.slide-name-vertical {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%) rotate(-90deg);
    font-family: 'Oswald', sans-serif;
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    white-space: nowrap;
    opacity: 0.8;
    transition: opacity 0.3s;
}

/* Hide vertical text on Hover OR when Active */
.slide-card:hover .slide-name-vertical,
.slide-card.active .slide-name-vertical {
    opacity: 0;
}

/* Content inside the expanded card */
.slide-content {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    padding: 20px;
}

/* Show content on Hover OR when Active */
.slide-card:hover .slide-content,
.slide-card.active .slide-content {
    opacity: 1;
}

.images-container:hover .slide-card.active:not(:hover) {
    flex: 1;
}
.images-container:hover .slide-card.active:not(:hover) .slide-content {
    opacity: 0;
}
.images-container:hover .slide-card.active:not(:hover) .slide-name-vertical {
    opacity: 0.8;
}

/* --- INNER ELEMENTS --- */
.slide-play-btn {
    width: 55px;
    height: 55px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    margin-bottom: 15px;
    font-size: 1rem;
}

.slide-info {
    position: absolute;
    bottom: 30px;
    left: 30px;
    text-align: left;
}

.slide-info h4 {
    font-size: 1.8rem;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.slide-info span {
    color: var(--accent-light-green);
    font-size: 0.9rem;
    letter-spacing: 1px;
}
 
/* --- MOBILE HIDE --- */
@media (max-width: 768px) {
    .social-sidebar {
        display: none; /* Keep hidden on mobile as per your existing logic */
    }

    images-container{
        display: none;
    }
}
 

  /* 1. Hide mobile container by default on Desktop */
.images-container-mobile {
    display: none;
}



@media (max-width: 768px) {
    .hero {
        flex-direction: column; 
        justify-content: flex-start;
        align-items: center;
        padding: 60px 20px 40px 20px;
        text-align: center;
        gap: 20px;
        height: auto;
        min-height: 100vh;
        position: relative;
        overflow: hidden; /* Vital to prevent horizontal scroll during zoom */
    }

    /* Applying the zoom to the background specifically for mobile */
    .hero::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.7)), 
                    url('sigiriya.png');
        background-size: cover;
        background-position: center;
        z-index: -1;
        /* Slightly faster zoom for mobile to feel more dynamic */
        animation: slowZoomMobile 15s infinite alternate ease-in-out;
    }
}

/* Specific Keyframes for Mobile */
@keyframes slowZoomMobile {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.2); /* Slightly deeper zoom for smaller screens */
    }
}


@media (max-width: 768px) {
 
    

    
.hero-content {
    text-align: center;
    flex: unset;
    width: 100%;
    margin-top: 10px; /* Reduced from 60px */
}

/* Further Reduced Title Size */
.hero-content h1 {
    font-size: 2.1rem; /* Reduced from 2.5rem */
    line-height: 1.3;
    margin-bottom: 10px; /* Tighter spacing */
}

/* Further Reduced Paragraph Size */
.hero-content p {
    font-size: 0.85rem; /* Reduced from 0.95rem */
    margin: 0 auto 15px auto; /* Tighter bottom margin */
    max-width: 90%; /* Slight constraint to keep line lengths readable */
    line-height: 1.4;
}

/* Even Smaller Button */
.btn-book {
    padding: 8px 24px; /* More compact button */
    font-size: 0.8rem;  /* Smaller font */
    width: auto;
    display: inline-block;
}

    /* 4. Small Square Mobile Container */
    .images-container {
        display: none !important; /* Hide Desktop cards */
    }

    .images-container-mobile {
        display: flex; /* Show Mobile cards */
        order: 2;      /* Position below the button */
        width: 100%;
        max-width: 400px; /* Keeps the cards from getting too wide */
        gap: 8px;
        height: 180px;    /* Shorter height for the "square" look */
        margin-top: 20px;
        z-index: 2;
    }

    /* 5. Mobile Card Styling (Square Look) */
    .slide-card-mobile {
        position: relative;
        flex: 1; /* Small square-ish state */
        height: 100%;
        border-radius: 10px;
        background-size: cover;
        background-position: center;
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        overflow: hidden;
        border: 1px solid rgba(255,255,255,0.1);
    }

    .slide-card-mobile.active {
        flex: 3; /* Expanded state */
    }

    /* Vertical Text - Centered for small height */
    .slide-name-vertical-mobile {
        position: absolute;
        bottom: 50%;
        left: 50%;
        transform: translate(-50%, 50%) rotate(-90deg);
        font-family: 'Oswald', sans-serif;
        font-size: 0.8rem;
        text-transform: uppercase;
        letter-spacing: 1px;
        white-space: nowrap;
        opacity: 0.7;
        transition: opacity 0.3s;
    }

    .slide-card-mobile.active .slide-name-vertical-mobile {
        opacity: 0;
    }

    /* Info Overlay for the active card */
    .slide-content-mobile {
        position: absolute;
        inset: 0;
        background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        padding: 12px;
        opacity: 0;
        transition: opacity 0.4s ease;
    }

    .slide-card-mobile.active .slide-content-mobile {
        opacity: 1;
    }

    .slide-info-mobile h4 {
        font-size: 1rem;
        margin: 0;
        color: #fff;
        text-transform: uppercase;
    }

    .slide-info-mobile span {
        font-size: 0.6rem;
        color: var(--accent-light-green);
        letter-spacing: 1px;
    }
}
 




/* Hide all cards by default if they are beyond the 5th child */
.images-container .slide-card:nth-child(n+6),
.images-container-mobile .slide-card-mobile:nth-child(n+6) {
    display: none;
}

/* Ensure the container stays stable */
.images-container {
    display: flex;
    overflow: hidden;
    transition: all 0.5s ease;
}
















/* --- FEATURED DESTINATIONS SECTION --- */
.featured-destinations {
    padding: 80px 5%;
    max-width: 1300px;
    margin: 0 auto;
    text-align: center;
}

.section-header {
    margin-bottom: 50px;
}

.section-header .subtitle {
    color: var(--accent-light-green);
    font-weight: 600;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-navy);
    margin-top: 10px;
    line-height: 1.2;
}

/* Grid Layout */
.destinations-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Individual Cards */
.dest-card {
    position: relative;
    height: 300px;
    border-radius: 15px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.4s ease;
}

.dest-card:hover {
    transform: translateY(-10px);
}

/* Dark gradient overlay at bottom of card */
.dest-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 20px;
}

.dest-overlay h3 {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 500;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
}















/* --- SERVICES SECTION --- */
.services-section {
    position: relative;
    background-color: var(--light-bg); /* Matches your global light background */
    padding: 80px 0 100px 0;
    margin-top: -40px; 
    z-index: 5;
}

/* Decorative Paper Edge effect */
.torn-edge {
    position: absolute;
    top: -25px;
    left: 0;
    width: 100%;
    height: 40px;
    background-image: url('paper-edge-mask.png'); 
    background-size: 100% 100%;
    z-index: 10;
    /* Optional: If using a transparent mask, filter it to match background */
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0 20px;
}

.service-item {
    flex: 1;
    text-align: center;
    padding: 0 30px;
    position: relative;
    transition: transform var(--transition-speed);
}

.service-item:hover {
    transform: translateY(-10px);
}

/* Vertical Dividers - Themed with Primary Navy (low opacity) */
.service-item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background-color: rgba(27, 48, 34, 0.1); /* Primary Navy at 10% */
}

.service-icon {
    font-size: 3rem;
    color: var(--accent-light-green); /* Themed Green */
    margin-bottom: 25px;
    display: inline-block;
    transition: var(--transition-speed);
}

.service-item:hover .service-icon {
    color: var(--primary-navy);
    transform: scale(1.1);
}

.service-item h3 {
    font-size: 1.4rem;
    color: var(--primary-navy); /* Themed Navy */
    margin-bottom: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-item p {
    font-size: 0.95rem;
    color: #555; /* Neutral grey for readability */
    line-height: 1.7;
    font-family: 'Oswald', sans-serif; /* Keep Oswald for branding consistency */
    font-weight: 300;
    text-transform: none; 
}

/* --- RESPONSIVE SERVICES --- */
@media (max-width: 992px) {
    .services-container {
        flex-wrap: wrap;
    }
    .service-item {
        flex: 50%; /* 2x2 grid */
        margin-bottom: 50px;
    }
    /* Hide dividers in grid layout for cleanliness */
    .service-item::after {
        display: none !important;
    }
}

@media (max-width: 600px) {
    .services-section {
        padding: 60px 0;
    }
    .service-item {
        flex: 100%; 
        padding: 0 15px;
    }
}
















/* --- CTA & TESTIMONIAL SECTION --- */
.cta-testimonial-section {
    position: relative;
    padding: 120px 20px 200px 20px; /* Increased padding for the overlap */
    background: linear-gradient(var(--overlay-dark), var(--overlay-dark)), 
                url('elephant.jpg'); 
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    color: var(--text-white);
}

.cta-content .cta-subtitle {
    font-family: 'Brush Script MT', cursive; 
    font-size: 1.8rem;
    color: var(--accent-light-green); /* Use accent green for the script text */
    margin-bottom: 10px;
}

.cta-content h2 {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    margin: 10px 0 20px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
}

.cta-content p {
    max-width: 700px;
    margin: 0 auto 40px;
    font-weight: 300;
    line-height: 1.8;
    opacity: 0.9;
    font-size: 1.1rem;
}

.btn-browse {
    background: var(--accent-light-green);
    color: var(--text-white);
    border: none;
    padding: 15px 45px;
    border-radius: 50px; /* Pill shape to match header buttons */
    font-weight: 600;
    text-transform: uppercase;
    font-family: 'Oswald', sans-serif;
    cursor: pointer;
    transition: var(--transition-speed);
  
}

.btn-browse:hover {
    background: var(--primary-navy);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* --- FLOATING TESTIMONIAL CARD --- */
.testimonial-wrapper {
    position: absolute;
    bottom: -70px; /* Overlaps deeply into the next section */
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 950px;
    z-index: 20;
}

.testimonial-card {
    background: #FFFFFF;
    border-radius: 100px;
    display: flex;
    align-items: center;
    padding: 30px 50px;
    color: var(--primary-navy);
    text-align: left;
    border: 1px solid rgba(0,0,0,0.05);
    
    /* FIX: Prevents card from expanding beyond container */
    width: 100%; 
    box-sizing: border-box;
    overflow: hidden; 
}
.user-info {
    display: flex;
    align-items: center;
    gap: 20px;
    min-width: 280px;
    border-right: 2px solid #f0f0f0;
    padding-right: 30px;
}

.user-img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-light-green);
    padding: 3px;
}

.user-details h4 {
    color: var(--primary-navy);
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.user-details span {
    font-size: 0.85rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.testimonial-text {
    padding-left: 40px;
    position: relative;
    /* FIX: Allows the text area to stay within bounds */
    flex-grow: 1;
    min-width: 0; 
}

 
/* Class to show full text when 'Read More' is clicked */
.testimonial-text p.expanded {
    display: block; /* Removes the clamp */
    -webkit-line-clamp: unset;
    overflow: visible;
}



/* Quote Icon Decoration */
.quote-icon {
    position: absolute;
    top: -20px;
    right: 20px;
    font-size: 4rem;
    color: rgba(4, 139, 63, 0.1); /* Very faint green */
    z-index: -1;
    font-family: serif;
}

/* Slider Controls */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-navy);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 30;
    transition: var(--transition-speed);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.slider-arrow:hover {
    background: var(--accent-light-green);
 }

.prev { left: -25px; }
.next { right: -25px; }

 


/* --- FLOATING TESTIMONIAL CARD --- */
.testimonial-text p {
    font-style: italic;
    color: #444;
    line-height: 1.6;
    font-size: 1.05rem;
    font-weight: 300;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    
    /* LINE CLAMP LOGIC: Limits to exactly 2 lines */
    display: -webkit-box;
    -webkit-line-clamp: 2; 
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis; /* Adds the "..." at the end */
    
    transition: max-height 0.3s ease;
}

/* --- MOBILE ADJUSTMENTS (Max 950px) --- */
@media (max-width: 950px) {
    .testimonial-wrapper {
        bottom: -60px; /* Give more space for the vertical stack */
        margin-top: 100px;
        width: 95%;
    }

    .testimonial-card {
        border-radius: 30px; /* Slightly less round for better space usage */
        padding: 30px 20px;
        flex-direction: column;
        text-align: center;
        height: auto;
    }
    
    .user-info {
        flex-direction: column; /* Stack image over name on mobile */
        border-right: none;
        border-bottom: 1px solid #f0f0f0;
        padding: 0 0 15px 0;
        margin-bottom: 15px;
        min-width: unset;
        width: 100%;
        gap: 10px;
    }

    .user-img {
        width: 70px; /* Slightly smaller image for mobile */
        height: 70px;
    }

    .testimonial-text {
        padding-left: 0;
        width: 100%;
    }

    /* Increase line clamp for mobile if you want to show a bit more text before "Read More" */
    .testimonial-text p {
        -webkit-line-clamp: 2; /* Allowing 3 lines on mobile for better balance */
        font-size: 0.95rem;
    }

    /* Adjust arrows for mobile so they don't overlap the text */
    .slider-arrow {
        width: 40px;
        height: 40px;
        top: 120px;
        bottom: -60px; /* Move arrows below the card on mobile */
        transform: none;
    }
    
    .prev { left: 20%; transform: translateX(-50%); }
    .next { right: 20%; transform: translateX(50%); }
    
    .slider-dots {
        bottom: -80px;
    }

.btn-browse {
 margin-bottom: 100px;
  
}
     
}

.read-more-btn {
    background: transparent; /* Remove button background */
    border: none;            /* Remove button border */
    padding: 0;              /* Remove padding */
    margin: 5px 0 0 0;       /* Space it slightly from the text */
    
    /* Text Styling */
    color: var(--accent-light-green);          /* Link Blue color */
    font-size: 0.95rem;
    font-weight: 600;
    font-family: inherit;    /* Use same font as paragraph */
    text-decoration: underline;   /* No underline by default */
    cursor: pointer;         /* Shows the "hand" icon on hover */
    display: inline-block;
    transition: color 0.2s ease;
}

.read-more-btn:hover {
    color: var(--primary-navy);          /* Darker blue on hover */
    text-decoration: underline; /* Shows underline on hover like a real link */
}

.read-more-btn:focus {
    outline: none;           /* Removes the blue outline when clicked */
}










/* --- TOUR PACKAGES SECTION --- */
.tour-packages {
    padding: 100px 5%;
    max-width: 1300px;
    margin: 0 auto;
    background-color: var(--light-bg);
}

.packages-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
    gap: 40px;
}

/* Themed Green Subtitle */
.subtitle-green {
    color: var(--accent-light-green);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 10px;
}

.packages-header h2 {
    color: var(--primary-navy);
    font-size: 2.8rem;
    text-transform: uppercase;
}

.header-right {
    max-width: 500px;
}

.header-right p {
    color: #666;
    font-size: 1rem;
    margin-bottom: 20px;
    line-height: 1.6;
    font-weight: 300;
}

.btn-discover {
    border: 2px solid var(--accent-light-green);
    background: transparent;
    color: var(--accent-light-green);
    padding: 10px 25px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    font-family: 'Oswald', sans-serif;
    transition: var(--transition-speed);
}

.btn-discover:hover {
    background: var(--accent-light-green);
    color: white;
}

/* --- GRID & CARDS --- */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
}

.package-card {
    background: #fff;
    border-radius: 30px;
    padding: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
    transition: var(--transition-speed);
    border: 1px solid rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.card-image {
    height: 280px;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.expand-btn {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--accent-light-green);
    color: white;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 20px 0 20px;
    text-decoration: none;
    font-size: 1.2rem;
    transition: var(--transition-speed);
    z-index: 2;
}

/* Floating info badge - FIXED FOR LINE BREAKING */
.tour-badge {
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 10px 20px;
    border-radius: 25px 25px 0 0;
    display: flex;
    flex-direction: column; /* Changed to column for better wrapping */
    align-items: center;
    gap: 5px;
    width: 85%;
    text-align: center;
    /* Allow text to wrap to next line */
    white-space: normal; 
    box-shadow: 0 -5px 15px rgba(0,0,0,0.05);
}

.tour-badge .loc {
    color: #777;
    font-size: 0.85rem;
    display: block;
    line-height: 1.2;
    /* Force word break if the name is a very long single string */
    word-break: break-word; 
    overflow-wrap: break-word;
}

.tour-badge .dur {
    color: var(--primary-navy);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.card-body {
    padding: 30px 10px 15px;
    text-align: center;
}

/* Card Title - FIXED FOR MOBILE LINE BREAKING */
.card-body h3 {
    font-size: 1.4rem;
    color: var(--primary-navy);
    margin-bottom: 15px;
    text-transform: uppercase;
    font-weight: 700;
    line-height: 1.3;
    /* Ensure long titles break correctly */
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.btn-book-now {
    width: 100%;
    background: var(--accent-light-green);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 15px;
    font-weight: 600;
    text-transform: uppercase;
    font-family: 'Oswald', sans-serif;
    cursor: pointer;
    transition: var(--transition-speed);
    margin-top: auto; /* Keeps buttons aligned even if text height varies */
}

.btn-book-now:hover {
    background: var(--primary-navy);
    transform: scale(1.02);
}

/* --- RESPONSIVE / MOBILE FIXES --- */
@media (max-width: 768px) {
    .packages-header {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 40px;
    }
    
    .packages-header h2 {
        font-size: 2.2rem;
    }
    
    .packages-grid {
        grid-template-columns: 1fr;
    }

    .tour-badge {
        width: 92%;
        padding: 8px 12px;
    }
    
 .card-body h3 {
        font-size: 1.15rem;
        /* Aggressive break if the word is still too long for tiny screens */
        word-break: break-all; 
    }
}

/* Smallest Phone Screen Specifics */
@media (max-width: 480px) {
    .tour-badge .loc {
        font-size: 0.75rem;
        /* Aggressive break for very small screens */
        word-break: break-all; 
    }
    
    .card-image {
        height: 230px;
    }
}











/* --- WHY CHOOSE US SECTION --- */
.why-choose-us {
    position: relative;
    background-color: var(--light-bg); /* Matches your global background */
    padding: 120px 5% 80px;
    margin-top: 80px;
    border-top: 1px solid rgba(27, 48, 34, 0.05); /* Subtle Navy border */
}

/* Centered Logo Badge - Designed like a seal */
.brand-badge {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    background: #FFFFFF;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    z-index: 5;
    border: 4px solid var(--light-bg); /* Creates a cutout effect */
}

.brand-badge img {
    width: 75%;
    height: auto;
    object-fit: contain;
}

.values-container {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.value-item {
    text-align: left;
    padding: 20px 30px;
    position: relative;
    transition: var(--transition-speed);
}

/* Vertical lines between columns using Navy at low opacity */
.value-item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -10px;
    top: 20%;
    height: 60%;
    width: 1px;
    background-color: rgba(27, 48, 34, 0.1);
}

.value-icon {
    width: 60px;
    height: 60px;
    background: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    margin-bottom: 25px;
    color: var(--accent-light-green); /* Themed Green */
    font-size: 1.4rem;
    transition: var(--transition-speed);
}

.value-item:hover .value-icon {
    background: var(--accent-light-green);
    color: #FFFFFF;
    transform: rotateY(180deg); /* Modern flip effect */
}

.value-item h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    color: var(--primary-navy);
    line-height: 1.3;
    margin-bottom: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.value-item p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    font-family: 'Oswald', sans-serif;
    font-weight: 300;
    text-transform: none;
}

/* --- RESPONSIVE GRID --- */
@media (max-width: 1024px) {
    .values-container {
        grid-template-columns: repeat(2, 1fr);
    }
    /* Remove dividers on the 2nd and 4th items for tablet grid */
    .value-item:nth-child(2n)::after {
        display: none;
    }
    .value-item {
        padding: 20px;
    }
}

@media (max-width: 600px) {
    .why-choose-us {
        padding-top: 100px;
    }
    .values-container {
        grid-template-columns: 1fr;
    }
    .value-item {
        text-align: center;
    }
    .value-item::after {
        display: none;
    }
    .value-icon {
        margin: 0 auto 20px;
    }
}







/* --- VIDEO CTA SECTION --- */
.video-cta-section {
    position: relative;
    width: 100%;
    height: 65vh; 
    min-height: 500px;
    background: linear-gradient(var(--overlay-dark), var(--overlay-dark)), 
                url('sunset.jpg'); 
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-white);
    overflow: hidden;
}

.video-overlay {
    max-width: 850px;
    padding: 0 20px;
    z-index: 2;
}

/* Play Button with Pulse Animation */
.play-button-outer {
    width: 90px;
    height: 90px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-speed);
    position: relative;
}

/* The Pulse Effect */
.play-button-outer::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid #fff;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.6); opacity: 0; }
}

.play-button-inner {
    width: 65px;
    height: 65px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-light-green); /* Themed Green Icon */
    font-size: 1.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    padding-left: 5px; /* Centers the triangle icon visually */
}

.play-button-outer:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.3);
}

.play-button-outer:hover .play-button-inner {
    color: var(--primary-navy);
}

.premium-tag {
    font-family: 'Brush Script MT', cursive; 
    font-size: 1.8rem;
    color: var(--accent-light-green);
    display: block;
    margin-bottom: 10px;
}

.video-cta-section h2 {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.video-cta-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 0 auto 40px;
    max-width: 650px;
    opacity: 0.95;
    font-weight: 300;
}

.btn-discover-more {
    background: var(--accent-light-green);
    color: var(--text-white);
    border: none;
    padding: 15px 45px;
    border-radius: 50px; /* Pill shape consistency */
    font-weight: 600;
    text-transform: uppercase;
    font-family: 'Oswald', sans-serif;
    cursor: pointer;
    transition: var(--transition-speed);
}

.btn-discover-more:hover {
    background: var(--text-white);
    color: var(--primary-navy);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .video-cta-section {
        height: auto;
        padding: 100px 20px;
    }
    
    .play-button-outer {
        width: 80px;
        height: 80px;
    }

    .play-button-inner {
        width: 55px;
        height: 55px;
    }
}






/* --- CONTACT SECTION --- */
.contact-section {
    padding: 100px 5%;
    background-color: #FFFFFF;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.contact-info .subtitle-green {
    color: var(--accent-light-green);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 10px;
}

.contact-info h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 2.8rem;
    color: var(--primary-navy);
    text-transform: uppercase;
    margin-bottom: 20px;
}

.contact-info p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 40px;
    font-weight: 300;
}

.info-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Icon circles styled with theme green */
.info-item i {
    width: 55px;
    height: 55px;
    background: rgba(4, 139, 63, 0.1); /* Light green tint */
    color: var(--accent-light-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: var(--transition-speed);
}

.info-item:hover i {
    background: var(--accent-light-green);
    color: #FFFFFF;
    transform: scale(1.1);
}

.info-item h4 {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    margin-bottom: 2px;
    color: var(--primary-navy);
    letter-spacing: 0.5px;
}

.info-item p {
    margin-bottom: 0;
    color: #777;
    font-size: 0.95rem;
}

/* Form Styling */
.contact-form-wrapper {
    background: #FFFFFF;
    padding: 50px;
    border-radius: 30px; /* Consistent with your package cards */
    box-shadow: 0 25px 60px rgba(27, 48, 34, 0.08); /* Navy tinted shadow */
    border: 1px solid rgba(0,0,0,0.03);
}

.form-group {
    margin-bottom: 25px;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid #eee;
    border-radius: 15px; /* Softer, modern corners */
    background: var(--light-bg);
    font-family: 'Oswald', sans-serif;
    font-weight: 300;
    outline: none;
    transition: var(--transition-speed);
    color: var(--primary-navy);
}

.form-group input:focus, 
.form-group textarea:focus {
    border-color: var(--accent-light-green);
    background: #FFFFFF;
    box-shadow: 0 0 10px rgba(4, 139, 63, 0.1);
}

.btn-submit {
    width: 100%;
    background: var(--accent-light-green);
    color: white;
    padding: 16px;
    border: none;
    border-radius: 50px; /* Pill-shaped button to match header */
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition-speed);
}

.btn-submit:hover {
    background: var(--primary-navy);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .contact-info {
        text-align: center;
    }
    
    .info-item {
        justify-content: center;
        text-align: left;
    }

    .contact-form-wrapper {
        padding: 30px;
    }
}










