/* ==========================
   Root Variables
========================== */
:root {
  --primary-color: #41231f;
  --secondary-color: #f5c032;
  --text-color: #333;
  --heading-color: #000;
  --light-bg: #eaf8fd;
  --white: #fff;
  --black: #000;
}

/* ==========================
   Base Styles
========================== */
body {
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  padding: 0;
  color: var(--text-color);
  background: var(--white);
}

button { cursor: pointer; border: none; transition: all 0.3s ease; }

        .hero-video {
            position: relative;
            height: 675px;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            text-align: center;
        }

        .hero-video-bg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            z-index: -2;
        }

        /* Desktop video - show by default */
        .hero-video-desktop {
            display: block;
        }

        /* Mobile video - hide by default */
        .hero-video-mobile {
            display: none;
        }

	@media screen and (max-width: 1030px){
            .hero-video {
            height: 410px;
            }
            
        }

        @media screen and (max-width: 1023px) and (min-width: 768px) {
            .hero-video {
            height: 330px;
            }
            
        }

        /* Mobile landscape styles */
        @media screen and (max-width: 767px) and (min-width: 568px) {
            .hero-video {
                height: 400px;
            }
            
            /* Switch to mobile video */
            .hero-video-desktop {
                display: none;
            }
            
            .hero-video-mobile {
                display: block;
            }
            
        }

        /* Mobile portrait styles */
        @media screen and (max-width: 567px) {
            .hero-video {
                height: 258px;
                padding: 20px;
            }
            
            /* Switch to mobile video */
            .hero-video-desktop {
                display: none;
            }
            
            .hero-video-mobile {
                display: block;
            }
            
        }

        /* Very small screens */
        @media screen and (max-width: 320px) {
            .hero-video {
                height: 300px;
                padding: 15px;
            }
        }


.partners {
    text-align: center;
    margin-top: 35px;
    display: flex;
    flex-wrap: wrap;   /* allows wrapping on small devices */
    justify-content: center;
    gap: 80px;         /* spacing between items on desktop */
}

.partners img {
    max-height: 80px;
    width: auto;
    height: auto;      /* ensure images keep aspect ratio */
    max-width: 100%;   /* prevent overflow */
}

/* Tablet (≤992px) */
@media (min-width: 601px) and (max-width: 900px) {
    .partners img {
        max-height: 72px;   /* slightly smaller than desktop */
        max-width: 30%;     /* about 3-4 logos per row */
        height: auto;
    }
    .partners {
        gap: 30px;          /* reduce gap for tablet */
        justify-content: center;
    }
}
/* Mobile (≤600px) */
@media (max-width: 600px) {
    .partners {
        gap: 15px; 
        justify-content: center;
    }

    .partners img {
        max-height: 67px;  
        max-width: 37%;  /* roughly 3 images per row */
        height: auto;
    }
}


.listings {
    text-align: center;
	font-weight: 300;
    padding: 5px 0 43px 0; /* combined padding */
}

.cardhome {
    display: inline-block;
    width: 312px;
    margin: 20px;
    background-color: #fff; /* clean white background */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    vertical-align: top;
    box-sizing: border-box;
    overflow: hidden; /* clip child elements like image border radius */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cardhome:hover {
    transform: translateY(-10px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.18);
}

.cardhome img {
    height: 180px;
    width: 100%;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    object-fit: cover;
    transition: transform 0.3s ease;
}


.cardhome .content {
    padding: 20px 25px;
    color: #41231f;
    text-align: center;
}

.cardhome .content h3 {
    margin: 0 0 12px;
    font-size: 22px;
    font-weight: 700;
}

.cardhome .content p {
    font-size: 15px;
    color: #6b4b3a;
    margin: 0 0 20px;
    line-height: 1.4;
}

.cardhome button {
    background-color: #41231f;
    color: white;
    padding: 10px 25px;
    border: none;
    cursor: pointer;
	font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 15px;
    width: 100%;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 8px rgba(65, 35, 31, 0.3);
}



/* Tablet (≤992px) */
@media (max-width: 992px) {
    .cardhome {
        width: 45%; 
        margin: 15px auto;
        display: inline-block;
    }
}

/* Mobile (≤600px) → 1 card per row */
@media (max-width: 600px) {
    .cardhome {
        width: 90%; /* use most of the screen width */
        max-width: 300px; /* keep max width same as desktop */
        margin: 10px auto;
        display: block;
    }
    .cardhome button {
        font-size: 14px;
        padding: 8px 16px;
        width: 100%; /* full width button for easier tap */
        box-sizing: border-box;
    }
}

.listings h2,
.section-heading {
    color: #41231f;
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 25px;
    text-align: center; /* Center heading */
}

/* Services container */
.service {
    padding: 25px 0;
    max-width: 1200px;
    margin: 0 auto;
}

/* Grid for service cards only */
.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 per row desktop */
    gap: 20px;
}

/* Service card styling */
.service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px; /* reduced padding = less height */
    aspect-ratio: 4 / 3; /* less tall than square */
    border-radius: 12px;
    transition: transform 0.3s ease;
}

/* Alternate background colors */
.service-card:nth-of-type(odd) {
    background-color: #41231f;
    color: white;
}
.service-card:nth-of-type(even) {
    background-color: white;
    color: #41231f;
    border: 1px solid #ccc;
}

/* Service title */
.service-card h2 {
    margin-top: 22px;
    margin-bottom: -10px;
    font-size: 18px;
    text-align: center;
}
.service-card:nth-of-type(odd) h2 {
    color: white;
	font-weight:400;
}
.service-card:nth-of-type(even) h2 {
    color: #41231f;
	font-weight:400;
}

/* Service image */
.service-card img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

/* Hover */
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

/* Responsive */
@media (max-width: 1030px) {
    .service-grid {
        grid-template-columns: repeat(4, 1fr);
         margin: 10px;
    }
    .service-card {
        padding: 12px;
    }
}

@media (max-width: 992px) {
    .service-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .service-card {
        padding: 12px;
    }
}

@media (max-width: 600px) {
    .service-grid {
        gap: 10px;
        grid-template-columns: repeat(2, 1fr);
        margin: 8px;
    }
    .service-card {
        padding: 12px;
	width: 150px;
    }
    .service-card h2 {
        font-size: 16px;
    }
}



/* 🔹 Experts */
.experts {
    text-align: center;
    position: relative;
    isolation: isolate;
    color: white;
    padding-top: 20px;
}
.experts::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #41231f;
    clip-path: polygon(0 40%, 183% 0%, 100% 100%, 0% 100%); 
    z-index: -1; 
}
.expert-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}
.expert {
    display: none;
    width: 990px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    
    color: white;
    padding-top: 30px;
    border-radius: 10px;
}
.expert.active {
    display: flex;
}
.expert-text {
    flex: 1;
    text-align: left;
    font-size: 25px;
}
.expert-text h3 {
    margin-top: 75px;
	font-weight:400;
    color: white;
}

.expert-text p {
    font-size: 23px;
	font-weight:200;
}

.expert-text ul {
    list-style: none;
    padding: 0;
}

.expert-img {
    flex: 1;
          height: 257px;
    text-align: right;
}
.expert-img img {
    max-width: 430px;
    border-radius: 10px;
}

/* Small arrow buttons */
.arrow {
    background-color: transparent;
    border: none;
    color: white; /* Arrow color */
    font-size: 24px; /* Adjust size as needed */
    cursor: pointer;
    margin-bottom: 10px;
}
.arrow.left {
    left: 10px;
}
.arrow.right {
    right: 10px;
}

@media screen and (max-width: 1030px) {
    .expert-container {
        max-width: 100%;
        padding: 0 15px;
    }
    
    .expert {
        width: 100%;
        flex-direction: column;
        gap: 15px;
        padding-top: 20px;
    }
    
    .expert-text {
        text-align: center;
        font-size: 20px;
        order: 2;
    }
    
    .expert-text h3 {
        margin-top: 20px;
    }
    
    .expert-text p {
        font-size: 18px;
    }

    .expert-img {
        height: auto;
        text-align: center;
        order: 1;
    }
    
    .expert-img img {
        max-width: 100%;
        width: 350px;
    }
    
    .arrow {
        font-size: 20px;
    }
}


@media screen and (max-width: 768px) {
    .expert-container {
        max-width: 100%;
        padding: 0 15px;
    }
    
    .expert {
        width: 100%;
        flex-direction: column;
        gap: 15px;
        padding-top: 20px;
    }
    
    .expert-text {
        text-align: center;
        font-size: 20px;
        order: 2;
    }
    
    .expert-text h3 {
        margin-top: 20px;
    }
    
    .expert-img {
        height: auto;
        text-align: center;
        order: 1;
    }
    
    .expert-img img {
        max-width: 100%;
        width: 350px;
    }
    
    .arrow {
        font-size: 20px;
    }
}

/* Mobile Styles (480px and below) */
@media screen and (max-width: 480px) {
    .experts {
        padding-top: 15px;
    }
    
    .expert-container {
        padding: 0 10px;
    }
    
    .expert {
        gap: 10px;
        padding-top: 15px;
    }
    
    .expert-text {
        font-size: 18px;
    }
    
    .expert-text h3 {
        margin-top: 15px;
        font-size: 20px;
    }
    
    .expert-text p {
        font-size: 16px;
    }

    .expert-img img {
        width: 280px;
    }
    
    .arrow {
        font-size: 18px;
    }
}

/* Extra Small Mobile (360px and below) */
@media screen and (max-width: 360px) {
    .expert-text {
        font-size: 16px;
    }
    
    .expert-text h3 {
        font-size: 18px;
    }
    
    .expert-text p {
        font-size: 16px;
    }

    .expert-img img {
        width: 250px;
    }
    
    .arrow {
        font-size: 16px;
    }
}

/* Enquiry Popup Modal */
.modal, .enquiry-modal {
  display: none;
  position: fixed;
  z-index: 999; /* Ensure it's above other content */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
}

.modal-content, .enquiry-content {
  background: var(--white);
  padding: 30px;
  border-radius: 10px;
  width: 400px;
  max-width: 90%; /* Added for responsiveness */
  text-align: center;
  position: relative;
  animation: popIn 0.5s ease; /* Added animation */
}

.modal-content h2, .enquiry-content h2 {
  margin-bottom: 35px;
  color: var(--primary-color); /* Consistent color */
  font-size: 24px;
  font-weight: 400;
}

.modal-content input, .enquiry-content input {
  width: 93%;
  padding: 12px;
  font-family:'Montserrat', sans-serif;
  font-weight:400;
  margin-bottom: 15px;
  border: 1px solid #ddd; /* Lighter border */
  border-radius: 6px;
  font-size: 14px;
}

.buttons {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 5px;
  flex-wrap: wrap; 
}

.buttons .btn {
  flex: 1;               /* take equal space */
  padding: 12px;
  font-size: 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
  text-align: center;
}


/* Submit button style */
.buttons .btn-submit {
  background-color:  #41231f; 
  color:  #fff;
  font-weight: 400;
  font-family:'Montserrat', sans-serif;
}

@media (min-width: 601px) and (max-width: 900px) {
  .modal-content, .enquiry-content {
    width: 320px;
    padding: 25px;
  }
  .modal-content h2, .enquiry-content h2 {
    font-size: 22px;
    margin-bottom: 30px;
  }
  .modal-content input, .enquiry-content input {
    font-size: 13px;
    padding: 10px;
  }
  .buttons .btn {
    font-size: 14px;
    padding: 10px;
  }
  .close-btn {
    font-size: 22px;
    top: 8px;
    right: 12px;
  }
}

/* Mobile (≤600px) → stack buttons */
@media (max-width: 600px) {
  .modal-content, .enquiry-content {
    width: 80%;
    padding: 20px;
  }
  .modal-content h2, .enquiry-content h2 {
    font-size: 20px;
    margin-bottom: 25px;
  }
  .modal-content input, .enquiry-content input {
    font-size: 12px;
    padding: 8px;
  }
  .buttons {
    flex-direction: column;
  }
  .buttons .btn {
    width: 100%;
    font-size: 14px;
    padding: 12px;
  }
  .close-btn {
    font-size: 20px;
    top: 6px;
    right: 10px;
  }
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 31px;
  cursor: pointer;
  color: var(--text-color);
}

@keyframes popIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}


/* Section container */
.roles {
  max-width: 1200px;
  margin: 0 auto;
  padding: 25px 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

/* Card styling */
.roles .info-card {
  background: #fff;
  border-radius: 10px;
  padding: 25px 30px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect */
.roles .info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

/* Heading */
.roles .info-card h3 {
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 12px;
  color: #000;
}

/* Paragraph */
.roles .info-card p {
  font-size: 16px;
  line-height: 1.6;
  font-weight: 300;
  color: #333;
}

.details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 25px;
    position: relative;
    max-width: 1200px;
    margin: 20px auto;
}

.info-cards {
background-color: #eaeaea;
  border-radius: 10px;
  padding: 25px 30px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease
}

.info-cards:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.info-cards p {
  font-size: 17px;
    font-weight: 400;
    line-height: 1.6;
    color: #333;
}


.circle {
  position: absolute;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  background: #41231f;
  border-radius: 50%;
  border: 4px solid #41231f;
  z-index: 2;
}

@media (min-width: 601px) and (max-width: 1080px) {
  .details {
    grid-template-columns: 1fr 1fr; /* keep 2 columns */
    gap: 25px;
    margin-left: 20px;
    margin-right: 20px;
    max-width: 988px; /* optional: constrain width on tablets */
  }
  .info-cards p {
    font-size: 16px;
  }
  .circle {
    width: 60px;
    height: 60px;
  }
}

/* Mobile (≤ 600px) */
@media (max-width: 600px) {
  .details {
    grid-template-columns: 1fr; /* stack in single column */
    margin: 0 auto 25px auto;
    padding: 20px;
  }

  .info-cards {
    padding: 20px;
   width: AUTO;
  }

  .info-cards p {
    font-size: 15px;
  }

  /* Hide circle completely */
  .circle {
    display: none;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .roles {
    grid-template-columns: 1fr; /* stack vertically */
  }
}
/* Project Search Heading */
.search-title {
  text-align: center;
  font-size: 24px;
  margin-top: 35px;
  margin-bottom: 10px;
  font-weight: 500;
  color: #222;
}

.filter-bar {
  text-align: center;
  margin: 20px;
}

.custom-select {
  position: relative;
  width: 200px;
  cursor: pointer;
  display: inline-block;
  margin: 5px;
}

.custom-select .selected {
  padding: 10px;
  border: 1px solid #aaa;
  border-radius: 5px;
  background: #fff;
  font-weight:400;
  font-family:'Montserrat', sans-serif;
  text-align: justify;
  font-size: 14px;
  position: relative;
}

/* ▼ arrow */
.custom-select .selected::after {
  content: "▼";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  color: #41231f;
  pointer-events: none; /* arrow won’t block clicks */
}

.custom-select .options {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  border: 1px solid #aaa;
  border-radius: 5px;
  background: #fff;
  list-style: none;
  margin: 0;
  padding: 0;
  display: none;
  z-index: 999;
}

.custom-select .options li {
  padding: 10px;
  font-size: 14px;
  font-weight:400;
  font-family:'Montserrat', sans-serif;
  transition: background 0.3s;
}

.custom-select .options li:hover {
  background: #41231f;
  color: #fff;
}

/* Keep your button style */
.filter-bar form button {
  padding: 11.5px;
  margin: 5px;
  border-radius: 5px;
  font-weight:400;
  font-family:'Montserrat', sans-serif;
  font-size: 14px;
  background: #41231f;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}


/* Section Title */
.section-title {
  text-align: center;
  margin: 3px 0;
  font-size: 22px;
  font-weight: 500;
  color: #111;
  padding-top: 20px;
}

/* Projects Grid */
.projects {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 20px;
}

/* Project Card */
.card {
    width: 300px;
    height: 383px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.card-image {
    position: relative;
}

.card-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.view-btn {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 14px;
    background-color: #41231f;
	font-weight:400;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover .view-btn {
    opacity: 1;
}

.badge {
    position: absolute;
    top: 7px;
    left: 7px;
    background:#41231f; /* red badge */
    color: #fff;
    font-size: 12px;
    font-weight: 400;
    padding: 6px 6px;
    border-radius: 25px;
    text-transform: uppercase;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    letter-spacing: 0.5px;
    z-index: 5;
}


.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Possession Bar */
.possession {
  background: #41231f;
  color: #fff;
  font-size: 12px;
  text-align: center;
  padding: 5px;
  font-weight: 400;
}

/* Card Text */
.card h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 10px;
  color: #222;
}

.location, .bedrooms {
  margin: 5px 10px;
  font-weight:400;
  font-size: 14px;
  color: #000000;
}

.price {
  margin: 5px 10px;
  font-size: 14px;
  padding-left: 2px;
  padding-top: 5px;
  font-weight: 500;
  color: #000;
}
.contact-btn {
    cursor: pointer;
    border: none;
	font-weight: 400;
	font-family: 'Montserrat', sans-serif;
    width: 300px;
    height: 46px;
    font-size: 17px;
    color: white;
    margin-top: 9px;
    background: #41231f;
    box-shadow: 0 4px 8px rgba(65, 35, 31, 0.4);
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

@keyframes popIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--white);
  padding: 0px 30px;
  position: relative;
  margin-top: 20px;
  margin-bottom: 20px;
}

.logo img {
  max-height: 50px;
}

header nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
  font-size: 20px;
  align-items: center;
}

header nav ul li {
  position: relative;
}

header nav ul li a {
  text-decoration: none;
  color: var(--primary-color);
  font-weight: 400;
  padding: 8px 12px;
  border-radius: 5px;
  transition: all 0.3s ease;
}

header nav ul li a:hover {
  background-color: #41231f;
  color: var(--white);
}


header nav ul li a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

header nav ul li a:hover::after {
  width: 100%;
}

nav ul li.dropdown {
  position: relative;
}

nav ul li .dropdown-menu {
  display: none;
  padding: 0;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--white);
  border: 1px solid var(--white);
  border-radius: 5px;
  min-width: 220px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  text-align: center;
}

nav ul li .dropdown-menu li {
  display: block;
}

nav ul li .dropdown-menu li a {
  display: block;
  padding: 10px 15px;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  font-size: 19px;
  font-weight: 400;
  text-decoration: none;
  text-align: center;
}

nav ul li .dropdown-menu li a:hover {
  background-color: #41231f;
  color: var(--white);
}

nav ul li.dropdown:hover > .dropdown-menu {
  display: block;
}

.consult-btn {
  background: #41231f;
  color: white;
  font-size: 16px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  padding: 12px 25px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.consult-btn:hover {
    background-color: #D5A769;
}

.hamburger {
  display: none;
  font-size: 28px;
  color: var(--primary-color);
  cursor: pointer;
  border: none;
  background: none;
}


@media (max-width: 1080px) {
  .contact-info {
    display: none; 
  }
 .dropdown-arrow {
    display: none;
  }
nav ul li.dropdown:hover > .dropdown-menu {
  display: none;
}
 .consult-btn{
  display: none;
}

}
/* Optional: For smaller screens, reduce nav font size and gap */
@media (max-width: 600px) {
  header nav ul {
    gap: 15px;
    font-size: 16px;
  }
 
.dropdown-arrow {
    display: none;
  }
nav ul li.dropdown:hover > .dropdown-menu {
  display: none;
}
 

}

/* Hero Section */
.project-image .desktop-image {
  display: block;
  width: 100%;
  height: auto;
}

.project-image .mobile-image {
  display: none;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Tablet breakpoint - most tablets are wider than 768px */
@media (max-width: 750px) {
  .project-image .desktop-image {
    display: none;
  }
  .project-image .mobile-image {
    display: block;
    max-width: 412px;
    margin: 0 auto; /* Center on tablets */
  }
}

/* Mobile phones */
@media (max-width: 480px) {
  .project-image .mobile-image {
    width: 100%;
    max-width: none;
    aspect-ratio: 412/480;
  }
}

.project-title {
  font-size: 48px;
  font-weight: 400;
  margin-top: 20px;
  text-align: center;
  color: var(--black);
  margin-bottom: 15px;
}

.project-subtitle {
  font-size: 18px;
  margin-top: 8px;
  font-weight: 400;
  text-align: center;
  color: var(--text-color);
}

.button-group {
  margin-top: 20px;
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.custom-btn {
  background: #41231f;
  color: white;
  font-size: 16px;
  font-weight: 400;
  font-family:'Montserrat', sans-serif;
  padding: 12px 25px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.share-btn {
  background: transparent;
  color: var(--black);
  padding-left: 10px;
  padding-right: 10px;
}

/* Info Section */
.info-section {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-top: 50px;
  padding: 0 20px;
}

@media (max-width: 992px) {
  .info-section {
    gap: 20px;
    margin-top: 40px;
  }
}


@media (max-width: 600px) {
  .info-section {
    flex-direction: column; 
    align-items: center;   
    gap: 15px;
    margin-top: 30px;
  }
}

.info-box {
  text-align: left;
  width: 380px;
}

@media (max-width: 992px) {
  .info-box {
    max-width: 80%;  /* reduce size a bit */
  }
}

/* Mobile (≤600px) */
@media (max-width: 600px) {
  .info-box {
    max-width: 94%; 
    text-align: start; 
  }
}

.info-box i {
  font-size: 32px;
  color: #41231f;
  margin-bottom: 10px;
  display: block;
}

.info-box hr {
  border: none;
  height: 4px;
  background: linear-gradient(to right, #ffd38e, #41231f);
  width: 100%;
  margin: 0 0 5px 0;
}

.info-box .label {
  font-size: 15px;
  font-weight: 300;
  margin: 2px 0;
  color: var(--text-color);
}

.info-box .value {
  font-size: 18px;
  margin: 5px 0;
  font-weight: 400;
  color: var(--black);
}

/* Two Column + Blue BG */
.two-column-wrapper {
  position: relative;
  width: 100%;
  max-width: 1535px;
  margin-top: 60px;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
}

.two-column-section {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: relative;
  z-index: 2;
  gap: 20px;
  padding: 0 20px;
  box-sizing: border-box;
}

.two-column-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 50px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--black);
  width: 600px;
  margin-right: -50px;
}

.two-column-image img {
  width: 890px;
  height: 600px;
  object-fit: cover;
  display: block;
}

/* Text + QR */
.text-qr-section {
  position: relative;
  z-index: 2;
  padding: 40px 0px;
  font-family: 'Montserrat', sans-serif;
  box-sizing: border-box;
  margin-top: -20px;
  width: 100%;
  max-width: 1500px;
  padding-left: 395px;
  margin-left: auto;
  margin-right: auto;
}

.text-qr-section .top-text {
  font-size: 17px;
  line-height: 1.6;
  font-weight: 300;
  color: var(--black);
  margin-bottom: 20px;
  max-width: 1040px;
  margin-left: 92px;
}

.text-qr-section hr {
  border: none;
  height: 4px;
  background: linear-gradient(to right, #ffd38e, #41231f);
  width: calc(100% - 115px);
  margin: 20px 92px;
}

.text-qr-section .bottom-row {
  display: flex;
  justify-content: end; 
  align-items: flex-start;     
  margin: 0 92px;
  flex-wrap: wrap;
  gap: 15px; 
}

.text-qr-section .right-image img {
  width: 140px;
  height: 140px;
  object-fit: contain;
  display: block;
  user-select: none;
  pointer-events: none; 
}

/* Amenities */
.amenities-section {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  max-width: 1500px;
  padding-top: 60px;
  font-family: 'Montserrat', sans-serif;
  flex-wrap: wrap;
  margin-left: auto;
  margin-right: auto;
  padding-left: 34px;
  padding-right: 20px;
  box-sizing: border-box;
}

.amenities-text {
  font-size: 35px;
  font-weight: 700;
  color: var(--black);
  width: 40%;
}

.amenities-section h2 {
  font-size: 50px;
  font-weight: 400;
  color: black;
  margin: 105px 0;
}

.amenities-list {
  width: 55%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.amenity {
  text-align: center;
}

.amenity img {
  width: 70px;
  height: 65px;
  object-fit: contain;
}

.amenity hr {
  border: none;
  height: 4px;
  width: 80px;
  background: linear-gradient(to right, #ffd38e, #41231f);
  margin: 10px auto;
}

.amenity p {
  font-size: 15px;
  font-weight: 300;
  color: var(--black);
  margin: 0;
}


/* Amenities */
.amenity-section {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  max-width: 1500px;
  padding-top: 20px;
  font-family: 'Montserrat', sans-serif;
  flex-wrap: wrap;
  margin-left: auto;
  margin-right: auto;
  padding-left: 34px;
  padding-right: 50px;
  box-sizing: border-box;
}

.amenity-text {
  font-size: 35px;
  font-weight: 700;
  color: var(--black);
  width: 40%;
}

.amenity-section h2 {
  font-size: 50px;
  font-weight: 400;
  color: black;
  margin: 160px 0;
}

.amenity-list {
  width: 60%;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.amenities {
  text-align: center;
  margin-bottom: 10px;
}

.amenities img {
  width: 85px;
  height: 85px;
  object-fit: contain;
}

.amenities hr {
  border: none;
  height: 4px;
  width: 80px;
  background: linear-gradient(to right, #ffd38e, #41231f);
  margin: 10px auto;
}

.amenities p {
  font-size: 15px;
  font-weight: 300;
  color: var(--black);
  margin: 0;
}


/* Location */
.location-section {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  width: 100%;
  max-width: 1535px;
  padding-top: 60px;
  flex-wrap: wrap;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
  gap: 20px;
}

.map-container {
  width: 58%;
  min-width: 300px;
}

.map-container iframe {
  width: 100%;
  height: 650px;
  border: none;
  display: block;
}

.location-card {
  position: absolute;
  right: 210px;
  top: 220px;
  background: linear-gradient(135deg, #ffd38e, #41231f);
  color: var(--white);
  padding: 50px;
  width: 475px;
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.2);
  box-sizing: border-box;
}


.location-card h2 {
  font-size: 40px;
  font-weight: 400;
  width: 390px;
  color: white;
  margin-top: -16px;
}

.location-card p {
  font-size: 20px;
  font-weight: 300;
  margin: 30px 0;
}

.location-card i {
  color: #41231f;
  margin-right: 10px;
}

.direction-btn {
  display: inline-block;
  background: #41231f;
  color: white;
  padding: 14px 28px;
  font-size: 18px;
  font-weight: 400;
  text-decoration: none;
  margin-top: 12px;
  transition: background 0.3s;
}

.direction-btn i {
  margin-left: 8px;
}



/* ==========================
   Layout Section
========================== */
.layout-section {
  padding: 35px 20px;
  text-align: center;
}

.layout-title {
  font-size: 28px;
  margin-bottom: 40px;
  font-weight: 400;
  color: #000;
}

.layout-container {
  display: flex;
  cursor: pointer;
  justify-content: center;
  gap: 45px;
  flex-wrap: wrap;
}

.layout-card {
  position: relative;
  max-width: 400px;
  flex: 1 1 300px;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  background: #fff;
}

.layout-card img {
  width: 100%;
  height: auto;
  filter: blur(4px);
  display: block;
}

.layout-overlay {
  position: absolute;
  top: 50%; /* exact middle */
  left: 0;
  transform: translateY(-50%);
  width: 100%;
  background: #41231f;
  color: #fff;
  font-size: 16px;
  padding: 10px;
  text-align: center;
  font-weight: 400;
  opacity: 0.95;
}

.lifestyle-section {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  max-width: 1500px;
  padding-top: 60px;
  font-family: 'Montserrat', sans-serif;
  flex-wrap: wrap;
  margin-left: auto;
  margin-right: auto;
  padding-left: 34px;
  padding-right: 20px;
  padding-bottom: 60px;
  box-sizing: border-box;
}

.lifestyle-text {
  font-size: 35px;
  font-weight: 700;
  color: var(--black);
  width: 40%;
}

.lifestyle-section h2 {
  font-size: 50px;
  color: black;
  margin-top: 80px;
  font-weight:400;
  margin-bottom: 34px;
}

.lifestyle-list {
  width: 55%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.lifestyle {
  text-align: center;
}

.lifestyle img {
  width: 70px;
  height: 65px;
  object-fit: contain;
}

.lifestyle hr {
  border: none;
  height: 4px;
  width: 80px;
  background: linear-gradient(to right, #ffd38e, #41231f);
  margin: 10px auto;
}

.lifestyle p {
  font-size: 17px;
  font-weight: 300;
  color: var(--black);
  margin: 0;
}

@media (max-width: 992px) {
  .project-title { font-size: 36px; }
  .two-column-section { flex-direction: column; align-items: center; }
  .two-column-text { width: 100%; margin: 0; font-size: 32px; text-align: center; }
  .two-column-image img { width: 100%; height: auto; }
  .text-qr-section { padding-left: 20px; margin-top: 20px; }
  .text-qr-section .top-text, .text-qr-section hr, .text-qr-section .bottom-row { margin-left: 0; width: 100%; }
  .amenities-section h2{ margin-top:20px; margin-bottom: 40px;}
  .amenities-section { flex-direction: column; padding: 20px 20px; }
  .amenities-text, .amenities-list { width: 100%; text-align: center; }
  .amenities-list { grid-template-columns: repeat(4, 1fr); }
  .amenity-section h2{ margin-top:20px; margin-bottom: 40px;}
  .amenity-section{ flex-direction: column; padding: 20px 20px; }
  .amenity-text, .ameniy-list { width: 100%; text-align: center; }
  .amenity-list { grid-template-columns: repeat(4, 1fr); width: 100%;}
  .location-card { position: static; width: 100%; margin-top: 20px; text-align: center; }
  .map-container { width: 100%; }
  .lifestyle-section { flex-direction: column; padding: 20px 20px; }
  .lifestyle-text, .lifestyle-list { width: 100%; text-align: center; }
  .lifestyle-list { grid-template-columns: repeat(2, 1fr); }
  .layout-container { gap: 20px; }
  .layout-card { max-width: 300px; }
  .layout-overlay { font-size: 15px; padding: 8px; }
}

@media (max-width: 455px) {
.text-qr-section .bottom-row { margin-left: -42px; width: 100%; }
}

@media (max-width: 400px) {
.text-qr-section .bottom-row { margin-left: -22px; width: 100%; }
}

@media (max-width: 375px) {
.text-qr-section .bottom-row { margin-left: 0; width: 100%; }
}


/* Mobiles (≤600px) */
@media (max-width: 600px) {
  .project-image img { height: 300px; }
  .project-title { font-size: 26px; }
  .project-subtitle { font-size: 14px; }
  .custom-btn { font-size: 14px; padding: 10px 20px; }
  .two-column-text { font-size: 22px; }
  .amenities-section h2, .lifestyle-section h2 { font-size: 28px; margin-top: 30px; }
  .amenities-text, .lifestyle-text { font-size: 20px; }
  .amenities-list, .lifestyle-list { gap: 15px; grid-template-columns: repeat(2, 1fr);}
  .amenity img, .lifestyle img { width: 60px; height: 60px; }
  .amenity p, .lifestyle p { font-size: 16px; }
  .amenity-section h2{ font-size: 28px; margin-top: 30px; }
  .amenity-text { font-size: 20px; }
  .amenity-list { gap: 15px; grid-template-columns: repeat(3, 1fr);}
  .amenities img{ width: 60px; height: 60px; }
  .amenities p{ font-size: 16px; }
  .location-card h2 { font-size: 26px; width: 100%; }
  .location-card p { font-size: 16px; }
  .direction-btn { font-size: 14px; padding: 10px 16px; }
  .layout-title { font-size: 22px; margin-bottom: 25px; }
  .layout-card { max-width: 100%; }
  .layout-overlay { font-size: 14px; padding: 6px; }
}
.sample-section {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      padding: 30px;
      gap: 10px;
      justify-items: center; /* centers cards */
    }

    .sample-card {
      position: relative;
      width: 100%;  /* decreased size */
      max-width: 650px; /* limit max size */
      background: #000;
      border-radius: 0; /* no rounded corners */
      overflow: hidden;
      cursor: pointer;
      aspect-ratio: 16 / 9; /* keeps same ratio */
    }

    .sample-card img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      border-radius: 0; /* remove border radius */
    }

    .sample-card iframe {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      border: none;
      display: none;
    }

    .sample-card:hover .overlay {
      background: rgba(0, 0, 0, 0.8);
    }

    /* Responsive */
    @media (max-width: 600px) {
      .sample-card {
        width: 100%;
      }
      .overlay {
        font-size: 35px;
        padding: 8px 16px;
      }
    }

/* Footer */
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 5px;
}

.footer-col {
  font-size: 16px;
  font-weight: 300;
  flex: 1;
  min-width: 250px;
}

.footer-col h3 {
  margin-bottom: 10px;
  border-bottom: 2px solid var(--white);
  display: inline-block;
  font-weight:500;
  color: white;
  padding-bottom: 5px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 10px 0;
}

.footer-col ul li a {
  color: var(--white);
  width: max-content;
  text-decoration: none;
  display: block;
  margin: 6px 0;
  transition: color 0.3s;
}


.social-icons a {
  color: var(--white);
  font-size: 20px;
  margin: 0 10px;
  transition: color 0.3s;
}


/* Back to Top */
#backToTop {
  position: fixed;
  bottom: 31px;
  right: 90px;
  background: #41231f;
  color: white;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: none;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  font-size: 20px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: background 0.3s, transform 0.3s;
  z-index: 1000;
}

/* Responsive Design */
@media (max-width: 1024px) {
  /* Header */
  header {
    flex-wrap: wrap;
    padding: 15px 20px;
  }

  header nav {
    display: none;
    width: 100%;
    order: 3; /* Push nav below logo and contact */
  }

  header nav.active {
    display: block;
  }

  header nav ul {
    flex-direction: column;
    gap: 10px;
    padding: 10px 0;
    background: var(--white);
    font-size: 21px;
    border-top: 1px solid #ddd;
  }

  header nav ul li {
    width: fit-content;
          height:30px;
    text-align: center;
  }

  header nav ul li .dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    min-width: 100%;
  }

  .hamburger {
    display: block;
    order: 2; /* Place hamburger next to logo */
  }

  .contact-block {
    flex-direction: row;
    justify-content: center;
    width: 100%;
    margin-top: 10px;
    font-size: 21px;
    order: 4; /* Push contact block to new line */
  }

  /* Project Section */
  .project-image img {
    height: auto;
  }

  .two-column-section {
    flex-direction: column;
    text-align: center;
  }



  .two-column-image img {
    width: 100%;
    height: auto;
  }

  .blue-bg {
    display: none;
  }

  .text-qr-section {
    width: 100%;
    padding: 20px;
    padding-left: 20px;
  }

  .text-qr-section .top-text {
    margin-left: 0;
    margin-top: 20px;
  }

  .text-qr-section hr {
    width: 100%;
    margin: 20px 0;
  }

  
  .location-section {
    flex-direction: column;
    position: relative;
    padding-left: 0;
    padding-right: 0;
  }

  .map-container {
    width: 100%;
  }

  .location-card {
    position: static; /* or relative if needed */
    width: 90%;       /* make it responsive width */
    max-width: 400px; /* optional max width */
    margin: 20px auto; /* center horizontally with margin */
    padding: 30px;    /* reduce padding for smaller screens */
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.15);
    right: auto;
    top: auto;
  }

  /* Footer */
@media (max-width: 1024px) and (min-width: 769px) {
  .footer-container {
    justify-content: space-around; /* balanced spacing */
    gap: 20px;
  }
  .footer-col {
    min-width: 45%; /* two columns side by side */
  }
  .footer-col.footer-map {
    min-width: 90%; /* map full width */
    margin-top: 15px;
  }
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-col {
    min-width: 100%;
  }
  .footer-col ul li a {
    margin-left: auto;
    margin-right: auto;
  }
  .social-icons {
    justify-content: center;
  }
  .footer-col.footer-map {
    min-width: 100%;
    margin-top: 15px;
  }
}

@media (max-width: 480px) {
  footer {
    padding: 30px 15px;
  }
  .footer-col {
    font-size: 14px;
  }

  .social-icons a {
    font-size: 19px;
    margin: 0 8px;
  }
  #backToTop {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
}



  /* Project Section */
  .project-image img {
    height: 400px; /* Adjusted height for smaller mobiles */
  }

  .two-column-image img {
    height: 300px; /* Adjusted height for smaller mobiles */
  }

  .project-title {
    font-size: 28px;
  }

  .project-subtitle {
    font-size: 14px;
  }

  .custom-btn {
    font-size: 14px;
    padding: 10px 15px;
  }

  .text-qr-section .bottom-row {
    flex-direction: row;
          align-content: center;
          margin-right: 320px;
  }

  .text-qr-section .left-text {
    margin-bottom: 15px;
  }

  .location-section {
    gap: 0;
  }

  .map-container {
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .map-container iframe {
    height: 350px; /* Good mobile height */
  }

  
  .location-card h2 {
    font-size: 26px;
  
  }

  .location-card p {
    font-size: 20px;
  }

  .direction-btn {
    font-size: 16px;
    padding: 12px 20px;
  }

@keyframes popIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
.map-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* Force iframe to scale on small devices */
.map-wrapper iframe {
  max-width: 100% !important;
  height: -1%;
  display: block;
}
@media (min-width: 601px) and (max-width: 992px) {
  .map-wrapper iframe {
    width: 100%;
    height: 400px; /* adjust as needed */
  }
}

/* Section Container */
/* Base Styling */


/* Section Container */
.section-heading {
  max-width: 1000px;
  margin: 50px auto;
  background: #fff;
  border-radius: 10px;
  
}

/* Heading Styles */
.section-heading h4 {
  font-size: 30px;
  color: #000;
  margin: 10px 0;  /* equal spacing top/bottom */
  font-weight: 700;
}

.section-heading h4 em {
  color: #f5c032; /* Accent color */
  font-style: normal;
}

/* Decorative Line */
.section-heading img {
  display: block;
  margin: 15px auto 25px auto; /* equal spacing */
  width: 120px;
}

/* Paragraph Styling */
.section-heading p {
  font-size: 15px;
  color: #333;
  margin: 10px 0; /* equal spacing */
  text-align: justify;
}

/* Responsive */
@media (max-width: 768px) {
  .section-heading {
   
    margin: 20px;
  }
  .section-heading h4 {
    font-size: 18px;
  }
  .section-heading p {
    font-size: 15px;
  }
}


.route-image {
	position: relative
}

.route-image__background-image {
	display: block
}

.route-image__background-image img {
	display: block;
	height: auto;
	width: 100%;
	min-height: 250px
}

.route-image__title {
	position: absolute;
	top: 12.5vw;
	left: 6.25vw;
	margin: 0
}

.route-carousel {
	position: relative;
	background: #f50000;
	height: 210px
}

@media (max-width:979px) and (max-height:415px) and (orientation:landscape),
(min-width:668px) and (min-height:416px) {
	.route-image__title {
		top: 11.11111vw;
		left: 5.55556vw
	}
	.route-carousel {
		height: 33.33333vw
	}
}

.routes {
	height: 400vh
}

.route-slider {
	position: -webkit-sticky;
	position: sticky;
	top: 0;
	width: 100%;
	height: 100vh;
	background: #ccc;
	overflow: hidden
}

.routes--sticky-top .route-slider {
	position: fixed
}

.routes--sticky-bottom {
	position: relative
}

.routes--sticky-bottom .route-slider {
	position: absolute;
	top: auto;
	bottom: 0
}

.route-slider__title {
	position: absolute;
	z-index: 1;
	left: 6.25vw;
	top: 12.5vw;
	margin: 0
}

.route-slider__background {
	position: absolute;
	top: 0;
	left: 100vw;
	width: 75vw;
	height: 100vh;
	overflow: hidden
}

.route-slider__background-image {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%
}

.route-slider__background-image img {
	display: block;
	width: 100%;
	height: 100%;
	-o-object-fit: cover;
	object-fit: cover;
	font-family: object-fit\: cover
}

.route-slider__contents {
	position: absolute;
	left: 75vw;
	width: 75vw;
	height: 100%
}

.route-slider__contents ul {
	background: #f50000;
	position: relative;
	width: 25vw;
	height: 100%
}

.route-slider__contents li {
	display: block;
	margin: 4.16667vw
}

.route-slider__contents b {
	display: block
}

.js .route-slider__contents li {
	position: absolute;
	bottom: 0;
	left: 0;
	transition-property: opacity;
	opacity: 0
}

.js .route-slider__contents li.is-active {
	opacity: 1
}

@media (max-width:979px) and (max-height:415px) and (orientation:landscape),
(min-width:668px) and (min-height:416px) {
	.route-slider__title {
		left: 5.55556vw;
		top: 11.11111vw
	}
}

@media (min-width:668px) and (min-height:416px) {
	.route-slider__title {
		left: 15.78947vw;
		top: 26.31579vw
	}
}

@media (min-width:980px) {
	.route-slider__title {
		left: 12.5vw;
		top: 12.5vw
	}
}

.route-image {
    position: relative
}

.route-image__background-image {
    display: block
}

.route-image__background-image img {
    display: block;
    height: auto;
    width: 100%;
    min-height: 250px
}

.route-image__title {
    position: absolute;
    top: 12.5vw;
    left: 6.25vw;
    margin: 0
}

.route-carousel {
    position: relative;
    background: #f50000;
    height: 210px
}

@media (max-width:979px) and (max-height:415px) and (orientation:landscape),
(min-width:668px) and (min-height:416px) {
    .route-image__title {
        top: 11.11111vw;
        left: 5.55556vw
    }
    .route-carousel {
        height: 33.33333vw
    }
}

.routes {
    height: 400vh
}

.route-slider {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    background: #ccc;
    overflow: hidden
}

.routes--sticky-top .route-slider {
    position: fixed
}

.routes--sticky-bottom {
    position: relative
}

.routes--sticky-bottom .route-slider {
    position: absolute;
    top: auto;
    bottom: 0
}

.route-slider__title {
    position: absolute;
    z-index: 1;
    left: 6.25vw;
    top: 12.5vw;
    margin: 0
}

.route-slider__background {
    position: absolute;
    top: 0;
    left: 100vw;
    width: 75vw;
    height: 100vh;
    overflow: hidden;
    transition: transform 0.1s ease-out; /* Added for smooth slide-in */
    will-change: transform; /* Optimize for animations */
}

.route-slider__background-image {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%
}

.route-slider__background-image img {
    display: block;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    font-family: object-fit\: cover
}

.route-slider__contents {
    position: absolute;
    left: 75vw;
    width: 75vw;
    height: 100%;
    transition: transform 0.1s ease-out; /* Added for smooth slide */
    will-change: transform; /* Optimize for animations */
}

.route-slider__contents ul {
    background: #f50000;
    position: relative;
    width: 25vw;
    height: 100%
}

.route-slider__contents ul.js-routes-texts {
    display: flex; /* Added: Horizontal layout for smooth right-to-left slide */
    flex-direction: row; /* Items side-by-side */
    align-items: flex-end; /* Align to bottom */
    padding: 0;
    margin: 0;
    overflow: hidden;
    transition: transform 0.1s ease-out; /* Smooth movement for the ul itself */
    will-change: transform; /* Optimize for animations */
}

.route-slider__contents li {
    display: block;
    margin: 4.16667vw;
    display: flex; /* Added: Flex for column layout within each li */
    flex-direction: column;
    justify-content: flex-end;
    flex: 0 0 25vw; /* Each li takes 25vw width, no shrink */
    padding: 2vw; /* Added: Adjust for spacing */
    box-sizing: border-box;
    opacity: 0;
    transition: opacity 0.5s ease-in-out; /* Added: Smooth fade for active li */
    position: absolute; /* Retained: For overlay/fading */
    bottom: 0;
    left: 0;
    width: 100%; /* Full width of ul slot */
}

.route-slider__contents b {
    display: block
}

.js .route-slider__contents li {
    position: absolute;
    bottom: 0;
    left: 0;
    transition-property: opacity;
    opacity: 0
}

.js .route-slider__contents li.is-active {
    opacity: 1;
    z-index: 2; /* Added: Bring active to front */
}

.route-slider__contents li.is-active {
    opacity: 1;
    z-index: 2; /* Ensure active state for non-js too */
}

/* Fallback for no-JS: Stack vertically */
.no-js .route-slider__contents ul.js-routes-texts {
    flex-direction: column;
}

.no-js .route-slider__contents li {
    position: relative; /* Reset absolute positioning */
    flex: none; /* Allow natural sizing */
    opacity: 1; /* Show all without fade */
}

@media (max-width:979px) and (max-height:415px) and (orientation:landscape),
(min-width:668px) and (min-height:416px) {
    .route-slider__title {
        left: 5.55556vw;
        top: 11.11111vw
    }
}

@media (min-width:668px) and (min-height:416px) {
    .route-slider__title {
        left: 15.78947vw;
        top: 26.31579vw
    }
}

@media (min-width:980px) {
    .route-slider__title {
        left: 12.5vw;
        top: 12.5vw
    }
}


/* ✅ Fixed mobile zoom-out + keeps 'Go to Top' working */

/* 1. Viewport & overflow stability */
html, body {
  width: 100%;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  touch-action: manipulation;
  scroll-behavior: smooth; /* optional, keeps smooth scroll */
}

/* 2. General animation optimization */
.animate__animated {
  will-change: transform, opacity;
  backface-visibility: hidden;
  perspective: 1000px;
  transform-style: preserve-3d;
  transition-property: opacity, transform !important;
}

/* 3. Adjust "Big" animations to smaller motion on mobile */
/* ✅ Smoother, mobile-friendly animations */
@media (max-width: 768px) {

  /* Fade + slight upward movement */
  .animate__fadeInUpBig {
    animation-name: fadeInUpSoft !important;
  }

  /* Fade + slight slide from left */
  .animate__fadeInLeft {
    animation-name: fadeInLeftSoft !important;
  }

  /* Fade + slight slide from right */
  .animate__fadeInRightBig {
    animation-name: fadeInRightSoft !important;
  }

  /* Fade + slight downward movement */
  .animate__fadeInDownBig {
    animation-name: fadeInDownSoft !important;
  }

  /* Gentle flip instead of flipInX */
  .animate__zoomIn {
    animation-name: flipInSoft !important;
  }

  /* Define keyframes for smoother motions */
  @keyframes fadeInUpSoft {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes fadeInLeftSoft {
    from {
      opacity: 0;
      transform: translateX(-20px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  @keyframes fadeInRightSoft {
    from {
      opacity: 0;
      transform: translateX(20px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  @keyframes fadeInDownSoft {
    from {
      opacity: 0;
      transform: translateY(-20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes flipInSoft {
    from {
      opacity: 0;
      transform: rotateX(-30deg);
    }
    to {
      opacity: 1;
      transform: rotateX(0deg);
    }
  }
}


/* 4. Disable heavy motion on very small screens */
@media (max-width: 480px) {
  /* Fade + slight upward movement */
  .animate__fadeInUpBig {
    animation-name: fadeInUpSoft !important;
  }

  /* Fade + slight slide from left */
  .animate__fadeInLeft {
    animation-name: fadeInLeftSoft !important;
  }

  /* Fade + slight slide from right */
  .animate__fadeInRightBig {
    animation-name: fadeInRightSoft !important;
  }

  /* Fade + slight downward movement */
  .animate__fadeInDownBig {
    animation-name: fadeInDownSoft !important;
  }

  /* Gentle flip instead of flipInX */
  .animate__zoomIn {
    animation-name: flipInSoft !important;
  }

  /* Define keyframes for smoother motions */
  @keyframes fadeInUpSoft {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes fadeInLeftSoft {
    from {
      opacity: 0;
      transform: translateX(-20px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  @keyframes fadeInRightSoft {
    from {
      opacity: 0;
      transform: translateX(20px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  @keyframes fadeInDownSoft {
    from {
      opacity: 0;
      transform: translateY(-20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes flipInSoft {
    from {
      opacity: 0;
      transform: rotateX(-30deg);
    }
    to {
      opacity: 1;
      transform: rotateX(0deg);
    }
  }
}

/* 5. Your existing animation durations */
.animate__animated.animate__fadeInUp {
  --animate-duration: 1s;
}

.animate__animated.animate__zoomIn {
  --animate-duration: 1s;
}

.animate__animated.animate__fadeInLeft {
  --animate-duration: 1s;
}

.animate__animated.animate__fadeInRight {
  --animate-duration: 1s;
}

.animate__animated.animate__fadeInDownBig {
  --animate-duration: 0.5s;
}

/* Global animation timing */
:root {
  --animate-duration: 1000ms;
  --animate-delay: 10s;
}

