@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Roboto:wght@300;400&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #f0f0f0;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


/* Smooth scrolling behavior */
html {
    scroll-behavior: smooth;
}

/* Fallback for browsers that don't support smooth scrolling */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

/* Prevent layout shifts during scroll */
:root {
    scroll-padding-top: 80px; /* Adjust based on your header height */
}
 


@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}



/* Header Styles */
        .header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            background: linear-gradient(145deg, #0c2461 0%, #0c2461 100%);
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            z-index: 1000;
        }

        .nav-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            max-width: 1200px;
            margin: 0 auto;
            padding: 10px;
        }

        .logo img {
            max-height: 60px;
            width: auto;
        }

        /* Desktop Navigation */
        .desktop-nav {
            display: flex;
            gap: 1.5rem;
        }

        .desktop-nav a {
            text-decoration: none;
            color: var(--background-white);
            font-weight: 500;
            position: relative;
            transition: color 0.3s ease;
        }

        .desktop-nav a::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background: linear-gradient(90deg, #9D9E54, #c9a959);
            transition: width 0.3s ease;
        }

        .desktop-nav a:hover {
            color: var(--accent-color);
        }

        .desktop-nav a:hover::after {
            width: 100%;
        }

        
        /* Slide Menu */
        .slide-menu {
            position: fixed;
            top: 0;
            right: -300px;
            width: 250px;
            height: 100%;
            background-color: var(--primary-color);
            box-shadow: -4px 0 20px rgba(0,0,0,0.1);
            transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            z-index: 1100;
            padding: 20px 0;
        }

        .slide-menu.open {
            right: 0;
        }

        .slide-menu-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 20px 15px;
            border-bottom: 1px solid rgba(255,255,255,0.1);
        }

        .slide-menu-header h2 {
            color: var(--background-white);
            font-size: 1.2rem;
            font-weight: 600;
        }

        .slide-menu-close {
            background: none;
            border: none;
            cursor: pointer;
        }

        .slide-menu-close svg {
            stroke: var(--accent-color);
        }

        .slide-menu-items {
            padding: 10px 0;
        }

        .slide-menu-item {
            display: flex;
            align-items: center;
            padding: 12px 20px;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }

        .slide-menu-item:hover {
            background: linear-gradient(90deg, #9D9E54, #c9a959);
            opacity: 0.8;
        }

        .slide-menu-item-icon {
            margin-right: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .slide-menu-item-icon svg {
            width: 20px;
            height: 20px;
            stroke: var(--background-white);
        }

        .slide-menu-item-text {
            color: var(--background-white);
            font-weight: 500;
            font-size: 0.95rem;
        }

        .menu-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.4);
            z-index: 1050;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.4s ease, visibility 0.4s;
        }

        .menu-overlay.show {
            opacity: 1;
            visibility: visible;
        }

        /* Responsive Adjustments */
        @media screen and (max-width: 768px) {
            .desktop-nav {
                display: none;
            }

            .mobile-menu-toggle {
                display: block;
            }
        }

        .menu-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 45px;
    cursor: pointer;
    transition: 0.3s;
    position: relative;
    z-index: 2;
    padding: 0 10px;
}

.menu-icon .navigation-tab__icon {
    display: block;
    color: #9D9E54;
    transition: transform 0.3s ease;
    line-height: 1;
}

.menu-icon.active .navigation-tab__icon {
    transform: rotate(90deg);
    color: #c9a959;
}

/* Responsive Navigation Styles */
@media screen and (max-width: 1024px) {
    .desktop-nav {
        display: none !important;
    }

    .menu-icon {
        display: flex !important;
    }

    .slide-menu {
        display: block !important;
    }
}

@media screen and (min-width: 1025px) {
    .menu-icon {
        display: none !important;
    }

    .slide-menu {
        display: none !important;
    }

    .desktop-nav {
        display: flex !important;
    }

    .menu-overlay {
        display: none !important;
    }
}

/* Additional Responsive Tweaks */
@media screen and (max-width: 320px) {
    .slide-menu {
        width: 100%;
        right: -100%;
    }

    .nav-container {
        padding: 10px 5px;
    }

    .logo img {
        max-height: 40px;
    }
}

@media screen and (min-width: 321px) and (max-width: 480px) {
    .slide-menu {
        width: 280px;
        right: -280px;
    }
}

@media screen and (min-width: 481px) and (max-width: 768px) {
    .slide-menu {
        width: 300px;
        right: -300px;
    }
}
/* CSS for controlling the browser status bar behavior */
:root {
    --scroll-padding: env(safe-area-inset-top);
}

body {
    /* Initial state with status bar visible */
    padding-top: var(--scroll-padding);
    transition: padding-top 0.3s;
}

body.hide-status-bar {
    /* State when status bar should be hidden */
    padding-top: 0;
}

/* Ensure proper menu icon transition */
.menu-icon .navigation-tab__icon {
    display: block;
    color: #9D9E54;
    transition: transform 0.3s ease;
    line-height: 1;
}

/* Add CSS to ensure the menu closes properly on small screens */
@media screen and (max-width: 768px) {
    .slide-menu {
        transition: right 0.3s ease;
    }
    
    .menu-overlay {
        transition: opacity 0.3s ease, visibility 0.3s;
    }
}






.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    overflow: hidden; /* Prevent any potential overflow issues */
    background-color: #11509d ; /* Fallback background color */
}

/* Dark overlay */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Darkening overlay */
    z-index: 1;
}

/* Background for non-iOS devices */
@supports not (-webkit-touch-callout: none) {
    .hero {
        background-image: url('/assets/img/luxury.jpg');
        background-attachment: fixed;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }
}

/* Special handling for iOS devices */
@supports (-webkit-touch-callout: none) {
    .hero::after {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: url('/assets/img/luxury.jpg');
        background-position: center;
        background-size: cover;
        z-index: 0; /* Below the overlay */
        -webkit-transform: translateZ(0); /* iOS hardware acceleration */
        transform: translateZ(0);
    }
}

.hero-content {
    position: relative;
    z-index: 2; /* Above both the background and overlay */
    max-width: 800px;
    padding: 0 20px;
}
h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5em;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2em;
    max-width: 600px;
    margin: 0 auto 30px;
}

.cta-button {
    display: inline-block;
    background-color: #c9a959;
    color: #0c2461;
    padding: 12px 24px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #ffffff;
}

.features {
    padding: 80px 0;
    background-color: #ffffff;
}

.features h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr;  /* Force single column on smallest screens */
    gap: 30px;
    margin-top: 30px;
}

.feature {
    text-align: center;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature i {
    font-size: 2em;
    color: #0c2461;
    margin-bottom: 15px;
}

footer {
    background-color: #0c2461;
    color: #ffffff;
    text-align: center;
    padding: 20px 0;
}
/* Add these new styles for the footer */
footer {
    background-color: #0c2461;
    color: #ffffff;
    padding: 40px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-section {
    flex: 1;
    min-width: 200px;
    margin-bottom: 20px;
}

.footer-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2em;
    margin-bottom: 15px;
    color: #c9a959;
}

.footer-section p {
    margin-bottom: 10px;
}

.footer-section a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #c9a959;
}

.copyright {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
/* ... (keep all other existing styles) ... */

    /* Existing styles... */

    .trending-trips {
        padding: 80px 0;
        background-color: #ffffff;
    }

    .trending-trips h2 {
        font-family: 'Playfair Display', serif;
        font-size: 2.5em;
        text-align: center;
        margin-bottom: 40px;
        color: #0c2461;
    }

    .trip-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
    }

    .trip-card {
        background-color: #f9f9f9;
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease;
    }

    .trip-card:hover {
        transform: translateY(-5px);
    }

    .trip-image {
        height: 200px;
        background-size: cover;
        background-position: center;
    }

    .trip-details {
        padding: 20px;
    }

    .trip-details h3 {
        font-family: 'Playfair Display', serif;
        font-size: 1.5em;
        margin-bottom: 10px;
        color: #0c2461;
    }

    .trip-info {
        margin-bottom: 5px;
        font-size: 0.9em;
    }

    .trip-price {
        font-weight: bold;
        color: #0c2461;
        font-size: 1.2em;
        margin-top: 10px;
    }

    .promotion {
        background-color: #c9a959;
        color: #0c2461;
        padding: 5px 10px;
        border-radius: 5px;
        font-weight: bold;
        font-size: 0.9em;
        display: inline-block;
        margin-top: 10px;
    }
    .video-showcase {
        padding: 50px 0;
        background-color: #f8f8f8;
    }
    
    .video-container {
        max-width: 100%;
        margin: 0 auto;
        position: relative;
        padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
        height: 0;
        overflow: hidden;
    }
    
    .video-container video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 8px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        object-fit: cover;
    }

    .about-section {
padding: 80px 0;
position: relative;
overflow: hidden;
}

.about-section::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-image: url('/assets/img/about.jpg');
background-size: cover;
background-position: center;
opacity: 0.08;
z-index: 50;
}

.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
position: relative;
z-index: 2;
}

.about-content {
display: flex;
flex-direction: row-reverse;
align-items: center;
gap: 60px;
background: rgba(255, 255, 255, 0.95);
padding: 50px;
border-radius: 20px;
box-shadow: 
0 10px 30px rgba(0,0,0,0.1),
0 0 0 1px rgba(255,255,255,0.95);
}
.about-text {
flex: 1;
}

.about-text h2 {
font-size: 2.5rem;
color: #1a2632; /* Darker color for better contrast */
margin-bottom: 25px;
font-weight: 600;
text-shadow: 1px 1px 0 rgba(255,255,255,0.5);
}

.about-text p {
font-size: 1.1rem;
line-height: 1.8;
color: #2c3e50; /* Darker color for better contrast */
margin-bottom: 20px;
font-weight: 500; /* Slightly bolder text */
}

.image-container {
flex: 0 0 400px;
height: 400px;
position: relative;
filter: drop-shadow(0 10px 20px rgba(0,0,0,0.15)); /* Added drop shadow */
}

.circular-image {
width: 100%;
height: 100%;
border-radius: 50%;
object-fit: cover;
box-shadow: 
0 15px 35px rgba(0,0,0,0.2),
inset 0 0 50px rgba(255,255,255,0.5);
position: relative;
background-color: white;
/*border: 4px solid white; /* Added white border */
}

/* Enhanced glossy effect */
.circular-image::after {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(120deg, 
rgba(255,255,255,0.8) 0%, 
rgba(255,255,255,0.3) 50%, 
rgba(255,255,255,0.1) 100%);
border-radius: 50%;
pointer-events: none;
}


/* iPhone SE, iPhone 5 (320px) */
@media screen and (min-width: 320px) {
.container {
padding: 0 15px;
}



h1 {
font-size: 2em;
}



.hero p {
font-size: 1em;
padding: 0 15px;
}

.feature-grid {
grid-template-columns: 1fr;
gap: 20px;
padding: 0 15px;
}

.about-content {
padding: 20px;
gap: 30px;
}

.image-container {
flex: 0 0 250px;
height: 250px;
}

.about-text h2 {
font-size: 1.8rem;
}

.form-container {
padding: 20px;
}
}

/* iPhone X, 11 Pro, 12 Mini, 13 Mini (375px) */
@media screen and (min-width: 375px) {


h1 {
font-size: 2.3em;
}

.hero p {
font-size: 1.1em;
}

/*.feature-grid {
padding: 0 20px;
}*/

.about-content {
padding: 30px;
}

.image-container {
flex: 0 0 300px;
height: 300px;
}
}

/* iPhone XR, 11, 12, 13, 14 (390-414px) */
@media screen and (min-width: 390px) {
.container {
padding: 0 20px;
}


h1 {
font-size: 2.5em;
}


.about-text h2 {
font-size: 2rem;
}
}

/* iPhone 12 Pro Max, 13 Pro Max, 14 Plus (428-430px) */
@media screen and (min-width: 428px) {


h1 {
font-size: 2.8em;
}

.hero p {
font-size: 1.15em;
}


}



/* Larger Phones - Galaxy S Series, Pixel Series (>440px) */
@media screen and (min-width: 440px) {
.container {
padding: 0 25px;
}

h1 {
font-size: 3em;
}

.hero p {
font-size: 1.2em;
max-width: 500px;
}

.about-content {
padding: 40px;
}

.image-container {
flex: 0 0 350px;
height: 350px;
}
}
/*For slightly larger screens
@media screen and (min-width:477px){

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
        }
    
}*/

/* Tablets and Larger Phones (768px) */
@media screen and (min-width: 768px) {
.container {
padding: 0 30px;
}



.about-content {
flex-direction: row-reverse;
padding: 50px;
gap: 60px;
}

.form-grid {
grid-template-columns: repeat(2, 1fr);
}

.footer-content {
flex-wrap: nowrap;
gap: 40px;
}
}

/*For larger screens PC and TVs
@media screen and (min-width:1200){

    .feature-grid {
        grid-template-columns: repeat(4, 1fr);
        }
    
}*/

/* Landscape Orientations */
@media screen and (orientation: landscape) and (max-height: 600px) {
.hero {
height: 120vh;
}

.hero-content {
padding: 100px 20px;
}


}

/* High-DPI Screens (iPhone Pro models, Samsung Ultra) */
@media screen and (-webkit-min-device-pixel-ratio: 3),
screen and (min-resolution: 3dppx) {
.hero::before {
background: rgba(0, 0, 0, 0.4);
}

img {
image-rendering: -webkit-optimize-contrast;
}
}

/* Foldable Devices (Galaxy Z Flip) */
@media screen and (max-width: 320px) and (orientation: portrait) {


/*.feature-grid {
gap: 15px;
}*/

.about-content {
padding: 15px;
}
}

.features {
    /* Force light colors regardless of system preference */
    background-color: #f9f9f9 !important;
    color: #333 !important;
}

.feature {
    background-color: #f9f9f9 !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3) !important;
}

/* Notch Handling (iPhone X and newer) */
@supports (padding: max(0px)) {


.hero-content {
padding-left: env(safe-area-inset-left);
padding-right: env(safe-area-inset-right);
}
}
@media screen and (max-width: 767px) {
.about-section {
padding: 60px 0;
}

.about-content {
flex-direction: column;
padding: 30px 20px;
gap: 30px;
}

.image-container {
order: -1;
flex: 0 0 280px;
height: 280px;
width: 280px;
margin: 0 auto;
}

.about-text {
order: 1; /* This ensures text appears after the image */
text-align: center;
}

.about-text h2 {
font-size: 2rem;
margin-bottom: 20px;
}

.about-text p {
font-size: 1rem;
line-height: 1.6;
margin-bottom: 15px;
}
}

/* Small phones (up to 374px) */
@media screen and (max-width: 374px) {
.about-content {
padding: 20px 15px;
}

.image-container {
order: -1;
flex: 0 0 240px;
height: 240px;
width: 240px;
}

.about-text h2 {
font-size: 1.75rem;
}

.about-text p {
font-size: 0.95rem;
}
}

/* Medium phones (375px - 480px) */
@media screen and (min-width: 375px) and (max-width: 480px) {
.image-container {
order: -1;
flex: 0 0 300px;
height: 300px;
width: 300px;
}
}

/* Larger phones (481px - 767px) */
@media screen and (min-width: 481px) and (max-width: 767px) {
.about-content {
padding: 35px 25px;
}

.image-container {
order: -1;
flex: 0 0 320px;
height: 320px;
width: 320px;
}

.about-text h2 {
font-size: 2.25rem;
}

.about-text p {
font-size: 1.1rem;
}
}

/* Tablet & Desktop (768px and above) */
@media screen and (min-width: 768px) {
.about-content {
flex-direction: row-reverse;
padding: 50px;
gap: 60px;
text-align: left;
}

.image-container {
order: 0;
flex: 0 0 400px;
height: 400px;
}
.about-text {
/* Reset order for desktop view */
order: 0;
}
}
/* Base styles for the trending trips section */
.trending-trips {
    padding: 80px 0;
    background-color: #ffffff;
}

.trending-trips h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    color: #0c2461;
}

.trip-grid {
    display: flex;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.trip-card {
    background-color: #f9f9f9;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    flex: 1 1 100%; /* Default full width */
}

/* When there's only one card */
.trip-grid:has(:first-child:last-child) .trip-card {
    max-width: 100%;
    min-width: 280px;
}

/* When there are exactly two cards */
.trip-grid:has(:nth-child(2):last-child) .trip-card {
    flex: 1;
}

/* When there are three cards */
.trip-grid:has(:nth-child(3)) .trip-card {
    flex: 1;
}

.trip-card:hover {
    transform: translateY(-5px);
}

.trip-image {
    height: 250px;
    background-size: cover;
    background-position: center;
}

.trip-details {
    padding: 25px;
}

.trip-details h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #0c2461;
}

.trip-info {
    margin-bottom: 10px;
    font-size: 1rem;
    line-height: 1.6;
}

.trip-price {
    font-weight: bold;
    color: #0c2461;
    font-size: 1.2em;
    margin: 20px 0;
}

.promotion {
    background-color: #c9a959;
    color: #0c2461;
    padding: 8px 16px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 0.9em;
    display: inline-block;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.promotion:hover {
    background-color: #e6c200;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .trip-grid {
        overflow-x: auto;
        padding-bottom: 20px;
        gap: 20px;
    }
    
    .trip-card {
        flex: 0 0 calc(33.333% - 20px);
        min-width: 280px;
    }
}

@media (max-width: 768px) {
    .trip-grid {
        flex-direction: column;
        gap: 25px;
        overflow-x: visible;
    }
    
    .trip-card {
        flex: 1;
        min-width: 100%;
    }

    .trip-image {
        height: 200px;
    }

    .trip-details {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .trending-trips h2 {
        font-size: 2em;
        margin-bottom: 30px;
    }

    .trip-image {
        height: 180px;
    }
}

/* Hide scrollbar but keep functionality */
.trip-grid::-webkit-scrollbar {
    display: none;
}

.trip-grid {
    -ms-overflow-style: none;
    scrollbar-width: none;
}


.parallax {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 50vh;
  width: 100vw;
  background-image: linear-gradient(rgba(0,0,0,.4), rgba(0,0,0,.4)), url('/assets/img/luxury.jpg');
  margin-left: calc(-50vw + 50%); /* Break out of the container and center */
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  color: #ffffff;
}
@media screen and (max-width: 767px) {
    .parallax {
      height: 30vh; /* Reduced height for mobile screens */
    }
  }

.p-2 {
  background-image: linear-gradient(rgba(0,0,0,.4), rgba(0,0,0,.4)), url(https://images.unsplash.com/photo-1549880181-56a44cf4a9a5?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1350&q=80);
}

.p-3 {
  background-image: linear-gradient(rgba(0,0,0,.4), rgba(0,0,0,.4)), url(https://images.unsplash.com/photo-1474401915596-3c5adf84ef01?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1350&q=80);
}


.contact-form-section {
    padding: 40px 0; /* Reduced padding for mobile */
    background: linear-gradient(rgba(12, 36, 97, 0.05), rgba(12, 36, 97, 0.02));
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

        .form-header {
            text-align: center;
            margin-bottom: 40px;
        }

        .form-header h2 {
            font-family: 'Playfair Display', serif;
            color: #0c2461;
            font-size: 2.5em;
            margin-bottom: 10px;
        }

        .form-header p {
            color: #666;
            font-size: 1.1em;
        }

        .form-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
        }

        .form-group {
            position: relative;
            margin-bottom: 20px;
        }

        .full-width {
            grid-column: 1 / -1;
        }

        .luxury-form input,
        .luxury-form textarea {
            width: 100%;
            padding: 12px;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-size: 16px;
            background: transparent;
            transition: all 0.3s ease;
        }

        .luxury-form input:focus,
        .luxury-form textarea:focus {
            border-color: #0c2461;
            outline: none;
            box-shadow: 0 0 0 2px rgba(12, 36, 97, 0.1);
        }

        .luxury-form label {
            position: absolute;
            left: 12px;
            top: 50%;
            transform: translateY(-50%);
            background: white;
            padding: 0 5px;
            color: #666;
            font-size: 14px;
            transition: all 0.3s ease;
            pointer-events: none;
        }

        .luxury-form textarea + label {
            top: 20px;
            transform: none;
        }

        .luxury-form input:focus + label,
        .luxury-form textarea:focus + label,
        .luxury-form input:not(:placeholder-shown) + label,
        .luxury-form textarea:not(:placeholder-shown) + label {
            top: 0;
            font-size: 12px;
            color: #0c2461;
        }

        .submit-btn {
            background: #0c2461;
            color: #c9a959;
            padding: 15px 30px;
            border: none;
            border-radius: 5px;
            font-size: 16px;
            cursor: pointer;
            transition: all 0.3s ease;
            display: block;
            margin: 30px auto 0;
            width: fit-content;
        }

        .submit-btn:hover {
            background: #0a1f4d;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(12, 36, 97, 0.2);
        }

        @media (max-width: 768px) {
            .form-grid {
                grid-template-columns: 1fr;
            }
            
            .form-container {
                padding: 20px;
                margin: 0 20px;
            }
        }

        @media screen and (max-width: 768px) {
            .contact-form-section {
                padding: 20px 0;
            }
        
            .form-container {
                padding: 20px;
                margin: 0 15px;
                border-radius: 10px;
            }
        
            .form-header h2 {
                font-size: 1.8em;
                margin-bottom: 8px;
            }
        
            .form-header p {
                font-size: 1em;
            }
        
            .form-grid {
                grid-template-columns: 1fr;
                gap: 15px;
            }
        
            .form-group {
                margin-bottom: 15px;
            }
        
            .luxury-form input,
            .luxury-form textarea {
                padding: 10px;
                font-size: 14px;
            }
        
            .luxury-form label {
                font-size: 13px;
            }
        
            .luxury-form input:focus + label,
            .luxury-form textarea:focus + label,
            .luxury-form input:not(:placeholder-shown) + label,
            .luxury-form textarea:not(:placeholder-shown) + label {
                font-size: 11px;
            }
        
            .submit-btn {
                padding: 12px 25px;
                font-size: 14px;
               /* width: 50%; /* Full width button on mobile */
                margin: 20px auto 0;
            }
        }
        
        /* Additional breakpoint for very small screens */
        @media screen and (max-width: 375px) {
            .form-container {
                padding: 15px;
                margin: 0 10px;
            }
        
            .form-header h2 {
                font-size: 1.5em;
            }
        
            .form-header {
                margin-bottom: 25px;
            }
        }
/* Main container styles */
.amahle-trips {
    padding: 4rem 0;
    background: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.amahle-trips h2 {
    text-align: center;
    margin-bottom: 2.5rem;
    color: #0c2461;
    font-size: 2rem;
}

/* Grid Layout Variables */
:root {
    --gap: 8px;
    --base: clamp(2rem, 8cqi, 80px);
    --easing: linear(
      0 0%,
      0.1538 4.09%,
      0.2926 8.29%,
      0.4173 12.63%,
      0.5282 17.12%,
      0.6255 21.77%,
      0.7099 26.61%,
      0.782 31.67%,
      0.8425 37%,
      0.8887 42.23%,
      0.9257 47.79%,
      0.9543 53.78%,
      0.9752 60.32%,
      0.9883 67.11%,
      0.9961 75%,
      1 100%
    );
    --speed: 0.6s;
}

/* Grid Layout */
.amahle-trips-grid {
    display: grid;
    container-type: inline-size;
    grid-template-columns: 10fr 1fr 1fr/* 1fr*/;
    gap: var(--gap);
    list-style-type: none;
    justify-content: center;
    padding: 0;
    height: clamp(300px, 50vh, 474px);
    margin: 0 auto;
    width: 100%;
    max-width: calc(100% - 2rem);
    transition: grid-template-columns var(--speed) var(--easing);
}

.amahle-trips-grid li {
    background: #fff;
    position: relative;
    overflow: hidden;
    min-width: var(--base);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s ease;
}

.amahle-trips-grid li:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Article styling */
.amahle-trips-grid article {
    width: calc(var(--article-width) * 1px);
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 1rem;
    padding-inline: calc(var(--base) * 0.5 - 9px);
    padding-bottom: 1rem;
    overflow: hidden;
}

/* Slideshow styling */
.trip-slideshow {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.trip-slideshow .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    z-index: 1;
}

.trip-slideshow .slide.active {
    opacity: 1;
    z-index: 2;
}

.trip-slideshow .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) brightness(1.2);
    scale: 1.1;
    transition-property: filter, scale;
    transition-duration: calc(var(--speed) * 1.2);
    transition-timing-function: var(--easing);
}

.slide-controls {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.slide-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.slide-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.slide-dot.active {
    background: white;
}

/* Article content styling */
.amahle-trips-grid h3 {
    position: absolute;
    top: 1rem;
    left: calc(var(--base) * 0.5);
    transform-origin: 0 50%;
    rotate: 90deg;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #0c2461;
    margin: 0;
    opacity: 0.6;
    transition: opacity calc(var(--speed) * 1.2) var(--easing);
    white-space: nowrap;
}

.amahle-trips-grid p {
    font-size: 13px;
    text-wrap: balance;
    line-height: 1.25;
    color: #2c3e50;
    margin: 0;
    opacity: 0;
    transition: opacity calc(var(--speed) * 1.2) var(--easing);
    width: fit-content;
}

.amahle-trips-grid a {
    position: absolute;
    bottom: 1rem;
    height: 18px;
    line-height: 1;
    color: #0c2461;
    text-decoration: none;
    opacity: 0;
    transition: opacity calc(var(--speed) * 1.2) var(--easing);
    width: fit-content;
}

.amahle-trips-grid a:is(:focus-visible, :hover) {
    outline: none;
}

.amahle-trips-grid a:is(:focus-visible, :hover) span {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.amahle-trips-grid a span {
    display: inline-block;
    line-height: 18px;
    translate: calc(var(--base) * 0.5);
    font-weight: 500;
}

/* Active state styling */
[data-active='true'] .slide img {
    filter: grayscale(0) brightness(1);
    scale: 1;
    transition-delay: calc(var(--speed) * 0.25);
}

[data-active='true'] :is(h3) {
    opacity: 1;
}

[data-active='true'] :is(a, p) {
    opacity: var(--opacity, 1);
    transition-delay: calc(var(--speed) * 0.25);
}

/* Responsive styles */
@media (max-width: 768px) {
    .amahle-trips-grid {
        height: clamp(300px, 70vh, 474px);
    }
    
    .amahle-trips h2 {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }
}

/* Preloader Styles */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0c2461;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: clamp(50px, 8vw, 100px);
    height: clamp(50px, 8vw, 100px);
    border-radius: 50%;
    display: inline-block;
    position: relative;
    vertical-align: middle;
}

.loader,
.loader:before,
.loader:after {
    animation: 1s infinite ease-in-out;
}

.loader:before,
.loader:after {
    width: 100%; 
    height: 100%;
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 0;
}

.loader-7 {
    animation: loader7-1 1.5s infinite linear;
    box-shadow: 0 clamp(4px, 0.6vw, 8px) clamp(20px, 3vw, 40px) rgba(157, 158, 84, 0.2);
}

.loader-7:before,
.loader-7:after {
    content: '';
    width: 80%;
    height: 80%;
    top: 5%;
    background: linear-gradient(45deg, #9D9E54, #b8b94d);
    box-shadow: 0 clamp(2px, 0.4vw, 6px) clamp(15px, 2.5vw, 30px) rgba(157, 158, 84, 0.3);
}

.loader-7:before {
    left: -5%;
    animation: loader7-2 1s infinite alternate ease-in-out;
    transform-origin: 10% 50%;
}

.loader-7:after {
    left: auto;
    right: -5%;
    animation: loader7-2 1s 1s infinite alternate ease-in-out;
    transform: scale(0);
    transform-origin: 90% 50%;
}

@keyframes loader7-1 {
    0%   { transform: rotate(20deg); }
    100% { transform: rotate(380deg); }
}

@keyframes loader7-2 {
    0%   { 
        transform: scale(0); 
        background: rgba(255, 255, 255, 0.9);
    }
    100% { 
        transform: scale(1);
        background: #c9a959;
    }
}

/* Content styles - will only display after preloader disappears */
.site-content {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.site-content.visible {
    opacity: 1;
}

/* Tablet (768px - 1023px): Two-column layout */
@media screen and (min-width: 550px) and (max-width: 900px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);  /* Two features per row */
    }
}

/* Small Desktop (1024px - 1199px): Three-column layout 
@media screen and (min-width: 1024px) and (max-width: 1199px) {
    .feature-grid {
        grid-template-columns: repeat(3, 1fr);  
    }
}
*/

/* Large Desktop (≥ 1200px): Four-column layout */
@media screen and (min-width: 900px) {
    .feature-grid {
        grid-template-columns: repeat(4, 1fr);  /* Four features per row */
    }
}


