/* --- Variables & Resets --- */
:root {
    /* Color Palette */
    --primary-green: #6F9888;
    --primary-green-hover: #4b5740;
    --accent-beige: #e4dacb;
    --accent-beige-hover: #d3c6b0;
    --text-dark: #2c3328;
    --text-light: #666666;
    --bg-off-white: #fdfdfd;
    --bg-grey: #f9f9f9;
    --dull-white: rgba(255, 255, 255, 0.8);
    --white: #ffffff;

    /* UI Variables */
    --container-width: 1200px;
    --radius-lg: 20px;
    --radius-md: 12px;
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body,
p {
    font-size: 15px;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-grey);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

h1,
h2,
h3,
h4 {
    font-family: 'Roboto', sans-serif;
    letter-spacing: normal;
}

.brand-logo {
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: -0.5px;
}

/* Home Page Specific Font Override - Removed as global is now Roboto */

h2 {
    padding-bottom: 20px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 30px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
}

/* --- Header --- */
header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), transparent);
    border-bottom: none;
    padding: 20px 0;
    transition: 0.3s;
}

header.scrolled {
    position: fixed;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
}

header.scrolled .brand-logo,
header.scrolled .nav-links a,
header.scrolled .nav-socials a {
    color: var(--text-dark);
    text-shadow: none;
}

header.scrolled .nav-links a.active {
    color: var(--primary-green);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
}

.brand-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.brand-logo img {
    height: 45px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
    vertical-align: middle;
}

@media (max-width: 768px) {
    .brand-logo img {
        height: 35px;
    }
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--white);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background: var(--accent-beige);
    transition: 0.3s;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--accent-beige);
}

.nav-socials {
    display: flex;
    gap: 15px;
}

.nav-socials a {
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: 0.3s;
}

.nav-socials a:hover {
    transform: translateY(-2px);
}

/* --- Index Hero Section --- */
.hero-section {
    position: relative;
    width: 100%;
    /* Default height for Index, will override for Property via ID */
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    color: white;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
}



.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.6));
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    padding: 0 30px;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 600;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease forwards 0.5s;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease forwards 0.7s;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease forwards 0.9s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Buttons --- */
.btn-primary {
    background: var(--white);
    color: var(--text-dark);
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-outline:hover {
    background: white;
    color: var(--primary-green);
}

/* --- Property Hero Slider --- */
#hero-slider.hero-section {
    height: 65vh;
    /* Taller for cinematic feel */
    min-height: 500px;
    overflow: hidden;
    background: #000;
    display: block;
    /* Overrides flex from generic hero */
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#hero-slider .hero-overlay {
    height: 30%;
    top: auto;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 40px;
    pointer-events: none;
    z-index: 10;
}

.nav-btn {
    pointer-events: auto;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.nav-btn:hover {
    background: white;
    color: black;
}

/* --- Feature Cards Section (Index) --- */
.features-section {
    margin-top: -80px;
    position: relative;
    z-index: 20;
    margin-bottom: 80px;
}

.features-section-mobile {
    display: none;
    margin-top: -60px;
    position: relative;
    z-index: 20;
    margin-bottom: 60px;
}

@media (max-width: 567px) {
    .features-section {
        display: none;
    }

    .features-section-mobile {
        display: block;
    }
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 1.05rem;
    color: var(--text-dark);
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.feature-list li i {
    color: var(--primary-green);
    font-size: 1.2rem;
    width: 30px;
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

@media (min-width: 568px) and (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .feature-card {
        padding: 15px;
    }

    .feature-card h3 {
        font-size: 1rem;
        margin-bottom: 8px;
    }

    .feature-card p {
        font-size: 0.8rem;
        line-height: 1.4;
    }

    .feature-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        margin-bottom: 15px;
    }
}

.feature-card {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.4s ease, box-shadow 0.4s ease, z-index 0s linear 0.4s;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-hover);
    z-index: 10;
    position: relative;
    transition: transform 0.4s ease, box-shadow 0.4s ease, z-index 0s linear 0s;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-grey);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-light);
}

/* --- About Hynt --- */
/* --- About Hynt --- */
.about-section {
    padding: 80px 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* --- About Hynt Modern Mix --- */
.mix-layout {
    max-width: 1100px;
    margin: 0 auto 80px;
}

.mix-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--text-dark);
    line-height: 1;
}

.mix-wrapper {
    display: flow-root;
    /* Contains floats so siblings don't overlap */
}

.mix-float-img {
    float: right;
    width: 450px;
    max-width: 50%;
    margin-left: 60px;
    margin-bottom: 20px;
    margin-top: 10px;
    object-fit: contain;
    /* Modern touch: slight overlap or shadow */
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.08));
    transition: transform 0.3s ease;
}

.mix-float-img:hover {
    transform: scale(1.02);
}

.mix-wrapper p {
    font-size: 1.2rem;
    line-height: 1.9;
    color: #555;
    margin-bottom: 30px;
    text-align: justify;
}

.mix-wrapper p:first-of-type::first-letter {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-green);
    float: left;
    line-height: 0.8;
    margin-right: 15px;
    margin-top: 5px;
}

@media (max-width: 900px) {
    .mix-float-img {
        float: none;
        width: 100%;
        max-width: 400px;
        display: block;
        margin: 0 auto 40px;
    }

    .mix-title {
        text-align: center;
        font-size: 2.8rem;
    }

    .mix-wrapper p {
        font-size: 1.1rem;
        text-align: left;
    }
}

@media (max-width: 600px) {
    /* Title remains visible as per new request */
    /* Only specific overrides if needed */
}

@media (max-width: 768px) {
    .mix-float-img {
        display: none !important;
    }
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: var(--text-dark);
}

.about-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 1.05rem;
    text-align: justify;
}

.about-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateX(50px);
    transition: 1s ease;
}

.about-image.visible {
    opacity: 1;
    transform: translateX(0);
}

.about-content {
    opacity: 0;
    transform: translateX(-50px);
    transition: 1s ease;
}

.about-content.visible {
    opacity: 1;
    transform: translateX(0);
}

/* --- Hospitality Services --- */
.services-section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.section-header p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.service-card {
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid #f0f0f0;
    transition: 0.3s;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.service-card:hover {
    box-shadow: var(--shadow-card);
    border-color: var(--accent-beige);
}

.service-icon {
    min-width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #f4f8f4;
    color: var(--primary-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* --- Popular Locations (Redesign) --- */
.locations-section {
    padding: 40px 0;
    background: var(--bg-grey);
}

.locations-section .container {
    padding: 0 0;
    /* Full width swipe on mobile, container padding handled by wrapper */
    max-width: var(--container-width);
    margin: 0 auto;
}

/* Scroll Container (Flex row, no wrap) */
.locations-scroll {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    /* Smooth mobile scroll */
    white-space: nowrap;
    gap: 15px;
    padding: 10px 20px;
    /* Padding to show shadows/focus */
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE */
    cursor: grab;
    /* Suggest drag availability */
    margin: 0 auto;
}

/* Center items if they don't fill screen on Desktop */
@media (min-width: 1024px) {
    .locations-scroll {
        justify-content: center;
    }
}

.locations-scroll::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.locations-scroll.active {
    cursor: grabbing;
}

/* Button Card Style */
.location-card {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    /* Fixed equal height */
    padding: 0 30px;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    /* Clean rounded corners */
    transition: all 0.2s ease;
    min-width: 120px;
    user-select: none;

    /* Text Style */
    color: var(--text-dark);
    text-transform: capitalize;
}

/* Typography Override */
.location-card h3 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    color: inherit;
    /* Inherit from card for active state */
}

/* Hide Images for Button Look */
.loc-img {
    display: none;
}

/* Hover State */
.location-card:hover {
    background: #f2f2f2;
    transform: translateY(-1px);
    border-color: rgba(0, 0, 0, 0.15);
}

/* Active State */
.location-card.active {
    background: var(--primary-green);
    color: var(--white);
    border-color: var(--primary-green);
    box-shadow: 0 4px 12px rgba(96, 109, 83, 0.25);
}

.location-card.active:hover {
    background: var(--primary-green-hover);
    transform: none;
}

/* Mobile & Touch */
@media (max-width: 768px) {
    .locations-section .container {
        padding: 0;
    }

    .locations-scroll {
        justify-content: flex-start;
        /* Left align for scrolling */
        padding: 15px 20px;
    }
}

/* --- Property Listing Cards (Index) --- */
.listings-section {
    /*padding: 80px 0;*/
    padding-top: 10px;
    padding-bottom: 80px;
    background: var(--bg-grey);
}

.listing-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    margin-bottom: 30px;
    box-shadow: var(--shadow-card);
    transition: 0.3s;
    border: 1px solid #eee;
}

.listing-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

.listing-img {
    height: 100%;
    min-height: 250px;
}

.listing-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.listing-details {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 768px) {
    .listing-details {
        padding: 10px;
    }
}

.listing-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.listing-header h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
}

.rating-badge {
    background: #fff8e1;
    color: #f59e0b;
    padding: 5px 10px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.amenities-row {
    display: flex;
    gap: 10px;
    color: var(--text-light);
    margin-bottom: 25px;
    font-size: 0.9rem;
    flex-wrap: wrap;
    justify-content: flex-start;
    /* Left align desktop */
}

@media (max-width: 768px) {
    .amenities-row {
        justify-content: center;
    }
}

.amenities-row span {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 5px 10px;
    border-radius: 5px;
    border: 1px solid #eee;

    justify-content: flex-start;
}

@media (max-width: 768px) {
    .amenities-row span {
        font-size: 0.80rem;
        font-weight: 500;
        width: 142px;
    }
}

.amenities-row span i {
    min-width: 25px;
    /* Slightly wider for icon alignment */
    text-align: center;
    color: var(--primary-green);
}

.view-btn {
    align-self: flex-start;
    padding: 10px 25px;
    background: var(--primary-green);
    color: white;
    border-radius: 30px;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
}

@media (max-width: 768px) {
    .view-btn {
        align-self: center;
    }
}

.view-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: 0.4s;
}

.view-btn:hover::after {
    width: 200%;
    height: 200%;
}

/* --- Why Stay With Us --- */
.why-us-section {
    padding: 10px 0;
    text-align: center;
    margin-bottom: 30px;
}

.features-icon-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 50px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 150px;
    opacity: 0;
    transform: translateY(20px);
    transition: 0.5s;
}

.feature-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.icon-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #eef2eb;
    color: var(--primary-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.feature-item h4 {
    font-size: 1rem;
    color: var(--text-dark);
}

/* --- Promo Banner --- */
.promo-banner {
    height: 225px;
    background: url('https://images.unsplash.com/photo-1596394516093-501ba68a0ba6?q=80&w=2070&auto=format&fit=crop') fixed center/cover;
    border-radius: var(--radius-lg);
    margin: 40px auto;
    max-width: var(--container-width);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.promo-overlay {
    background: rgba(0, 0, 0, 0.4);
    padding: 30px 50px;
    border-radius: 20px;
    backdrop-filter: blur(5px);
    text-align: center;
    color: white;
}

.promo-overlay h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    padding-bottom: 15px;
}

/* --- CTA Section --- */
.cta-section {
    text-align: center;
    padding: 60px 0;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.btn-pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(96, 109, 83, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(96, 109, 83, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(96, 109, 83, 0);
    }
}

/* --- Image Gallery Masonry --- */
.gallery-section {
    padding: 80px 0;
    background: var(--bg-off-white);
}

.gallery-grid {
    column-count: 3;
    column-gap: 20px;
}

.gallery-item {
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
    break-inside: avoid;
}

.gallery-item img {
    width: 100%;
    transition: 0.5s;
    display: block;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Modern Gallery Header */
.gallery-header-modern {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.gallery-header-modern .sub-heading {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--primary-green);
    margin-bottom: 15px;
    text-transform: uppercase;
}

.gallery-header-modern h2 {
    font-size: 2.8rem;
    font-weight: 500;
    line-height: 1.2;
    color: var(--text-dark);
    max-width: 900px;
    margin: 0 auto;
}

.gallery-header-modern .highlight {
    position: relative;
    display: inline-block;
    color: var(--primary-green);
    font-weight: 600;
}

.gallery-header-modern .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(96, 109, 83, 0.15);
    z-index: -1;
    transform: skew(-10deg);
}

/* --- Footer --- */
footer {
    background: #f0f1ec;
    padding: 50px 0;
    margin-top: 0;
    border-top: none;
}

.footer-content {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 20px;
}

/* --- Property Page Specifics --- */
.main-content {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 30px 30px 0;
    position: relative;
    background: var(--white);
}

@media (max-width: 768px) {
    .main-content {
        padding: 30px 15px 0;
    }
}

.thumbnails-wrapper {
    margin-top: 0;
    margin-bottom: 40px;
}

.thumbnails {
    display: flex;
    flex-wrap: nowrap;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 15px;
    cursor: grab;
    scrollbar-width: none;
    user-select: none;
    -webkit-overflow-scrolling: touch;
}

.thumbnails::-webkit-scrollbar {
    display: none;
}

.thumbnails.active {
    cursor: grabbing;
}

.thumb {
    flex: 0 0 180px;
    width: 180px;
    min-width: 180px;
    height: 120px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: 0.3s;
}

.thumb .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(2px);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.thumb .overlay i {
    color: white;
    font-size: 1.5rem;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    transform: scale(0.8);
    transition: transform 0.3s;
}

.thumb:hover .overlay,
.thumb.active .overlay {
    opacity: 1;
}

.thumb:hover .overlay i,
.thumb.active .overlay i {
    transform: scale(1);
}

.thumb:hover img {
    transform: scale(1.1);
}

.property-grid {
    display: block;
    margin-bottom: 0;

    /*padding-bottom: 50px;*/
}

/* Property Details */
.property-header h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.property-header .location {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 20px;
    /* Slight adjust for spacing */
}

/* Ensure left part stays left */
.location-left {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    /* Moved color here */
}

/* Availability Dropdown Styles */
.availability-dropdown {
    position: relative;
}

.availability-btn {
    background: white;
    border: 1px solid #ddd;
    color: var(--text-dark);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
    font-weight: 500;
}

.availability-btn:hover {
    border-color: var(--primary-green);
    color: var(--primary-green);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 10px;
    background: white;
    width: max-content;
    /* Ensure width fits content */
    min-width: 200px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #eee;
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
}

.availability-dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 7px 15px;
    color: var(--text-dark);
    font-size: 0.9rem;
    border-radius: 8px;
    margin-bottom: 2px;
    transition: 0.2s;
    display: flex;
    align-items: center;
    white-space: nowrap;
    /* Prevent text wrapping */
}

.dropdown-item:hover {
    background: var(--bg-grey);
    color: var(--primary-green);
    transform: translateX(5px);
}

.dropdown-item i {
    width: 20px;
    margin-right: 5px;
    color: var(--text-light);
}

/* Mobile Responsive for Property Header */
@media (max-width: 767px) {
    .property-header .location {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .availability-dropdown {
        width: 100%;
    }

    .availability-btn {
        width: 100%;
        justify-content: center;
        padding: 12px;
        /* Larger touch target */
    }

    .dropdown-menu {
        width: 100%;
        left: 0;
        right: 0;
    }
}

.rating {
    color: #f59e0b;
    font-weight: 600;
    margin-left: 10px;
}

.badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    justify-content: flex-start;
    /* Left align default */
}

@media (max-width: 767px) {
    .badges {
        justify-content: center;
    }
}

.badge {
    background: white;
    border: 1px solid #e0e0e0;
    padding: 8px 15px;
    border-radius: 50px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    text-align: center;
}

@media (max-width: 768px) {
    .badge {
        justify-content: flex-start;
        text-align: left;
        padding-left: 20px;
        font-size: 0.80rem;
        /* Added back for mobile */
        width: 159px;
        /* Added back for mobile */
    }
}

.badge i {
    color: var(--primary-green);
    min-width: 20px;
}

.amenities-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px 30px;
    margin-bottom: 40px;
}

/* Amenities Item Base Style */
.amenity-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    color: #444;
    width: 100%;
    padding: 5px 0;
    /* Removed badge styles (bg, border, radius, center, fixed width) */
}

.amenity-item i {
    color: var(--primary-green);
    min-width: 25px;
    /* Slightly wider for alignment */
    text-align: center;
}

/* Mobile Responsive Overrides */

.features-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 40px;
}

.features-list li {
    position: relative;
    padding-left: 20px;
    color: #444;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .amenities-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .amenity-item {
        font-size: 0.85rem;
        /* Mobile Override */
    }

    .features-list li {
        font-size: 0.85rem;
    }
}

.amenity-item i {
    color: var(--text-light);
    width: 20px;
    text-align: center;
}

.features-list li::before {
    content: '•';
    color: var(--primary-green);
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.2em;
    line-height: 1;
}

.description p {
    margin-bottom: 15px;
    color: #555;
    font-size: 1.05rem;
}

/* Detailed Features (Property) */
.detailed-features {
    margin-top: 40px;
    margin-bottom: 40px;
}

.feature-row {
    display: flex;
    gap: 40px;
    margin-bottom: 50px;
    align-items: center;
}

.feature-row:last-child {
    margin-bottom: 0;
}

.feature-text {
    flex: 1;
}

.feature-text h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.feature-text p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 15px;
}

.feature-image {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.feature-image:hover img {
    transform: scale(1.05);
}

/* Compact Features Grid */
.compact-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    /* Centers items horizontally, handling the odd-item-last rule */
    gap: 30px;
    margin: 40px 0;
}

.compact-features .feature-card-glass {
    flex: 0 0 calc(50% - 15px);
    /* Mimic 2-column grid (50% width minus half the gap) */
    max-width: calc(50% - 15px);
}



/* Glass Feature Cards */
.feature-card-glass {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 600px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.feature-card-glass:hover {
    transform: translateY(-5px);
}

.card-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    transition: transform 0.8s ease;
}

.feature-card-glass:hover .card-bg-img {
    transform: scale(1.05);
    /* Slow zoom on hover */
}

/* Diagonal Glass Overlay */
.glass-diagonal-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    /* Glass Effect */
    /* Glass Effect */
    background: rgba(0, 0, 0, 0.4);
    /* Darker, more transparent background */
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    /* Diagonal Top Edge */
    clip-path: polygon(0 15%, 100% 0, 100% 100%, 0 100%);
    padding: 70px 30px 40px;
    /* Extra top padding for diagonal space */
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.glass-diagonal-overlay h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #ffffff;
    /* White text */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    /* Shadow for legibility */
    font-family: 'Space Grotesk', sans-serif;
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUp 0.6s 0.2s forwards;
}

.glass-diagonal-overlay p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 12px;
    color: #f0f0f0;
    /* Off-white text */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    /* Shadow for legibility */
    /* High contrast dark text */
    font-weight: 500;
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUp 0.6s 0.4s forwards;
}

.glass-diagonal-overlay p:last-child {
    margin-bottom: 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .compact-features {
        grid-template-columns: 1fr;
        /* Fallback for grid logic */
        gap: 20px;
        display: block;
        /* Stack vertically on mobile */
    }

    .compact-features .feature-card-glass {
        flex: none;
        max-width: 100%;
        margin-bottom: 20px;
    }

    .feature-card-glass {
        height: 500px;
        /* Fixed height for proper overlay display */
        display: block;
    }

    .card-bg-img {
        position: absolute;
        height: 100%;
        width: 100%;
        /* Cover the card */
    }

    /* Fix Actions Card Visibility on Mobile */
    .actions-card {
        display: flex !important;
        position: fixed !important;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        background: white;
        z-index: 9999;
        margin: 0;
        padding: 15px 20px;
        border-radius: 20px 20px 0 0;
        box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
        gap: 15px;
    }

    /* Adjust buttons inside actions card for mobile */
    .actions-card .btn {
        margin: 0;
        flex: 1;
        padding: 12px;
        font-size: 0.95rem;
    }

    /* Restore Glass Overlay on Mobile */
    .glass-diagonal-overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: auto;
        /* Allow it to grow */
        background: rgba(0, 0, 0, 0.4);
        /* Darker, more transparent background */
        /* Slightly more solid for mobile readability */
        backdrop-filter: blur(2px);
        -webkit-backdrop-filter: blur(2px);
        clip-path: polygon(0 8%, 100% 0, 100% 100%, 0 100%);
        /* Flatter diagonal */
        padding: 50px 20px 30px;
        border-top: 1px solid rgba(255, 255, 255, 0.3);
    }

    .glass-diagonal-overlay h3 {
        font-size: 1.4rem;
        margin-bottom: 10px;
        transform: none;
        opacity: 1;
        animation: none;
        color: #ffffff;
        /* White text */
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    }

    .glass-diagonal-overlay p {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 10px;
        color: #f0f0f0;
        /* Off-white text */
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
        /* Ensure contrast */
        transform: none;
        opacity: 1;
        animation: none;
    }
}

.feature-row.reverse {
    flex-direction: row-reverse;
}

/* Booking Partners & Actions */
.booking-partners {
    margin-bottom: 40px;
    background: #fdfdfd;
    border: 1px solid #eee;
    padding: 20px;
    border-radius: 12px;
}

.booking-partners h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.partner-btn {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: white;
    font-size: 0.9rem;
    color: #555;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.2s;
}

.partner-btn:hover {
    border-color: var(--primary-green);
    color: var(--primary-green);
}

.actions-card {
    background: transparent;
    padding: 20px 0;
    margin-top: 30px;
    position: static;
    display: flex;
    gap: 20px;
    box-shadow: none;
    max-width: 400px;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px;
    width: 100%;
    border-radius: 50px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    margin-bottom: 15px;
    font-size: 1rem;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-whatsapp {
    background-color: var(--primary-green);
    color: white;
}

.btn-call {
    border: 2px solid var(--primary-green);
    color: var(--primary-green);
}

.btn-call:hover {
    background-color: var(--primary-green);
    color: white;
}

.btn-booking {
    background-color: var(--accent-beige);
    color: var(--text-dark);
    margin-bottom: 0;
}

.btn-booking:hover {
    background-color: var(--accent-beige-hover);
}

/* Floating Actions */
.floating-actions {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: 0.3s;
}

.float-whatsapp {
    background: #25D366;
}

.float-call {
    background: var(--primary-green);
}

.float-btn:hover {
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 900px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .listing-card {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        column-count: 2;
    }

    .listing-img {
        height: 250px;
    }

    .nav-links {
        display: none;
    }

    /* Property Page Responsive */
    #hero-slider.hero-section {
        height: 40vh;
    }

    .property-grid {
        grid-template-columns: 1fr;
    }

    .actions-card {
        position: fixed !important;
        bottom: 0 !important;
        top: auto !important;
        left: 0;
        right: 0;
        width: 100%;
        border-radius: 20px 20px 0 0;
        padding: 15px 20px;
        padding-bottom: calc(15px + env(safe-area-inset-bottom));
        /* Safe Area Support */
        z-index: 10000;
        box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
        display: flex;
        gap: 10px;
        margin: 0;
        height: auto;
        max-width: 100%;
        background: white;
        transform: translate3d(0, 0, 0);
        /* Force GPU */
    }

    .btn {
        margin: 0;
        padding: 12px;
        font-size: 0.9rem;
        flex: 1;
    }

    .feature-row,
    .feature-row.reverse {
        flex-direction: column;
        gap: 20px;
    }

    .feature-image {
        width: 100%;
        height: 250px;
    }

    .gallery-header-modern h2 {
        font-size: 2rem;
    }
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        column-count: 1;
    }

    .floating-actions {
        display: none;
    }
}

/* --- Contact Page Styles (Modern Split Card) --- */
.contact-grid {
    display: grid;
    grid-template-columns: 4fr 6fr;
    max-width: 1100px;
    margin: 40px auto;
    /* Added top/bottom margin */
    background: white;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    /* Softer, larger shadow */
    overflow: hidden;
    /* Ensures children don't overflow corners */
}

/* Left Panel: Info */
.contact-info-card {
    background: var(--primary-green);
    color: white;
    padding: 60px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Decorative circle overlay for modern feel */
.contact-info-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    pointer-events: none;
}

.contact-info-card::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    pointer-events: none;
}

.contact-info-card h3 {
    font-size: 2rem;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 35px;
    position: relative;
    z-index: 1;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item i {
    font-size: 1.4rem;
    color: var(--accent-beige);
    margin-top: 5px;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    /* Circle background for icon */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.info-item:hover i {
    background: var(--white);
    color: var(--primary-green);
    transform: scale(1.1);
}

.info-item h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.info-item p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Right Panel: Form */
.contact-form-card {
    background: white;
    padding: 60px;
    border: none;
    box-shadow: none;
    border-radius: 0;
}

.contact-form-card h3 {
    color: var(--text-dark);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #f0f0f0;
    /* Softer border */
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: 0.3s;
    background: #f9fafb;
    /* Very light background */
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-green);
    background: white;
    box-shadow: none;
    /* Removed glow for cleaner look */
}

.form-control::placeholder {
    color: #bbb;
}

textarea.form-control {
    min-height: 160px;
    resize: none;
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
        border-radius: 20px;
        margin: 20px 0;
    }

    .contact-info-card {
        padding: 40px 30px;
    }

    .contact-form-card {
        padding: 40px 30px;
    }
}

/* --- Mobile Navigation --- */
.mobile-nav-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: white;
    z-index: 1100;
}

header.scrolled .mobile-nav-toggle {
    color: var(--text-dark);
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100%;
    background: white;
    z-index: 1100;
    transition: 0.3s;
    padding: 80px 20px 20px;
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
}

.mobile-nav-menu.active {
    right: 0;
}

.mobile-nav-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
}

.mobile-nav-link {
    display: block;
    padding: 15px 0;
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 500;
    border-bottom: 1px solid #f0f0f0;
}

.mobile-nav-link:hover {
    color: var(--primary-green);
}



.mobile-nav-dropdown-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.mobile-nav-dropdown-icon {
    transition: 0.3s;
}

.mobile-nav-dropdown.active .mobile-nav-dropdown-icon {
    transform: rotate(180deg);
}

.mobile-nav-dropdown-content {
    display: none;
    padding-left: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    margin-top: 5px;
}

.mobile-nav-dropdown.active .mobile-nav-dropdown-content {
    display: block;
}

.mobile-sub-link {
    display: block;
    padding: 12px 0;
    font-size: 1rem;
    color: #666;
    border-bottom: 1px solid #eee;
}

.mobile-sub-link:last-child {
    border-bottom: none;
}

.mobile-sub-link:hover {
    color: var(--primary-green);
    padding-left: 5px;
}

@media (max-width: 900px) {
    .nav-links {
        display: none;
    }

    .mobile-nav-toggle {
        display: block;
        margin-left: 20px;
        /* Space between socials and toggle */
    }

    .nav-socials {
        margin-left: auto;
        /* Push to right */
    }
}

/* Fix for Mobile Menu Padding on Index Page */
.home-page .mobile-nav-menu {
    padding-right: 40px;
    /* Increased padding */
}

.home-page .mobile-nav-close {
    right: 40px;
    /* Moved close icon further inward */
}

/* --- Property Loader & Animations --- */
.listings-loading {
    min-height: 400px;
    position: relative;
    opacity: 1 !important;
    /* Override inline opacity */
}

/* Skeleton Loader */
.skeleton-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    margin-bottom: 30px;
    border: 1px solid #eee;
    height: 300px;
}

.skeleton-img,
.skeleton-text {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

.skeleton-img {
    height: 100%;
    width: 100%;
}

.skeleton-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

.skeleton-text {
    height: 20px;
    border-radius: 4px;
}

.skeleton-title {
    height: 30px;
    width: 60%;
}

.skeleton-desc {
    height: 15px;
    width: 100%;
}

.skeleton-btn {
    height: 40px;
    width: 120px;
    border-radius: 20px;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* Listing Entry Animation */
.listing-entry {
    animation: fadeInUp 0.5s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Skeleton Adjustment */
@media (max-width: 900px) {
    .skeleton-card {
        grid-template-columns: 1fr;
        height: auto;
    }

    .skeleton-img {
        height: 200px;
    }
}

/* --- Testimonials Section --- */
.testimonials-section {
    padding: 80px 0;
    background: #f9f9f9;
}

.testimonials-section h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 25px;
    color: var(--text-dark);
}

.testimonials-viewport {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 30px;
    padding: 40px 5vw;
    /* Side padding to help centering first/last items */
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
    scroll-snap-type: x mandatory;
    /* Enable snapping */
}

/* Center Logic based on item count */
.testimonials-viewport[data-visible="1"],
.testimonials-viewport[data-visible="2"] {
    justify-content: center;
}

@media (max-width: 768px) {

    /* On mobile, 2 items (85vw + gap) will overflow, so force left align */
    .testimonials-viewport[data-visible="2"] {
        justify-content: flex-start;
    }
}

.testimonials-viewport::-webkit-scrollbar {
    display: none;
}

.testimonials-viewport.active {
    cursor: grabbing;
}

.testimonial-card {
    flex: 0 0 320px;
    /* Slightly smaller for better mobile centering */
    max-width: 320px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    scroll-snap-align: center;
    /* Center align items */
}

/* Force hide filtered items */
.testimonial-card.hidden {
    display: none !important;
}

@media (max-width: 768px) {
    .testimonial-card {
        flex: 0 0 85vw;
        /* Responsive width for mobile */
        max-width: 350px;
    }

    .testimonials-viewport {
        gap: 15px;
        padding: 30px 20px;
    }
}

/* Source Badge Overlay */
.source-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    padding: 6px 12px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #333;
    box-shadow: 0 3px 7px rgba(0, 0, 0, 0.15);
    z-index: 5;
    pointer-events: none;
}

.source-badge i {
    font-size: 14px;
}

/* Brand Colors */
.source-badge.airbnb i {
    color: #FF5A5F;
}

.source-badge.tripadvisor i {
    color: #34E0A1;
}

.source-badge.booking i {
    color: #003580;
}

.source-badge.google i {
    color: #4285F4;
}

.source-badge.makemytrip i {
    color: #E41F05;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.testimonial-card img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Pagination Dots */
.testimonial-pagination {
    display: none;
    /* Hidden by default for desktop */
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.dot {
    width: 12px;
    height: 12px;
    background: #ddd;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.dot.active {
    background: var(--primary-green);
    transform: scale(1.2);
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .testimonials-viewport {
        justify-content: flex-start;
        /* Left align for scroll */
    }

    .testimonial-pagination {
        display: flex;
        /* Show on tablets/mobile */
    }

    .testimonial-card {
        flex: 0 0 calc(50% - 15px);
        /* 2 visible on tablet */
    }
}

@media (max-width: 768px) {
    .testimonials-section {
        padding: 60px 0;
    }

    .testimonials-viewport {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        width: 100%;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-x;
        gap: 15px;
        padding: 10px 20px;
        scroll-snap-type: x mandatory;
    }

    .testimonial-card {
        flex: 0 0 100% !important;
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        scroll-snap-align: center;
        margin-right: 0;
        display: block !important;
        /* Ensure it doesn't become inline */
    }
}

/* Footer Logo Override */
footer .brand-logo {
    color: var(--text-dark) !important;
}

/* Testimonial Tabs */
.testimonial-tabs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
    margin-top: 40px;
}

@media (max-width: 768px) {
    .testimonial-tabs {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 10px;
        /* Space for scrollbar if needed */
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-left: 20px;
        padding-right: 20px;
    }

    .testimonial-tabs::-webkit-scrollbar {
        display: none;
    }

    .tab-btn {
        flex: 0 0 auto;
        /* Prevent shrinking */
        white-space: nowrap;
    }
}

.tab-btn {
    padding: 14px 35px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: var(--white);
    border-radius: 50px;
    cursor: pointer;
    font-size: 1rem;
    /* font-weight: 600;*/
    letter-spacing: 0.3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-light);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    display: flex;
    align-items: center;
    gap: 10px;
}

.tab-btn i {
    font-size: 1.1rem;
    transition: 0.3s;
}

.tab-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    color: var(--primary-green);
    border-color: var(--primary-green);
}

.tab-btn.active {
    background: var(--primary-green);
    color: var(--white);
    border-color: var(--primary-green);
    box-shadow: 0 10px 25px rgba(96, 109, 83, 0.3);
    transform: translateY(-3px);
}

.tab-btn.active i {
    color: var(--white);
}

.testimonial-card.fade-in {
    animation: fadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Lightbox Styles */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 10001;
    /* High z-index */
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 5px;
    animation: zoomIn 0.3s;
}

@keyframes zoomIn {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 10002;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.lightbox-prev,
.lightbox-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    /* Visible icon color */
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0, 0, 0, 0.3);
    /* Ensure bg visible */
    z-index: 10002;
}

.lightbox-next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.lightbox-prev {
    left: 0;
    border-radius: 3px 0 0 3px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.lightbox-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}