* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* Image Optimization and Lazy Loading Styles */
img {
    height: auto;
    display: block;
}

.lazy-image {
    background: linear-gradient(90deg, #f0f0f0 25%, rgba(255, 255, 255, 0.5) 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    transition: opacity 0.3s ease;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.lazy-image[data-src] {
    opacity: 0.7;
}

:root {
    --brand-blue: #00c2f2;
    scroll-padding-top: 113px
}

body {
    font-family: "Montserrat", sans-serif;
    line-height: 1.6;
    color: black;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 194, 242, 0.2);
}

.container {
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    /* Header zoom prevention */
    transform: scale(1);
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    zoom: 1;
    -webkit-zoom: 1;
    -moz-zoom: 1;
    -ms-zoom: 1;
    -o-zoom: 1;
}

/* Hamburger Menu Button - Enhanced for ALL mobile devices */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
    /* Universal mobile touch optimization */
    -webkit-tap-highlight-color: rgba(0, 194, 242, 0.3);
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    /* Ensure it's above other elements */
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    /* Improve touch response on ALL devices */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    box-sizing: border-box;
    outline: none;
    /* Force interactivity */
    pointer-events: auto;
    /* Prevent iOS zoom on double tap */
    -webkit-user-zoom: none;
    /* Improve rendering */
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background-color: #00c2f2;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
    /* iOS optimization - keeping functionality but not changing appearance */
    pointer-events: none;
    /* Prevent interference with parent click */
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Hamburger Animation */
.hamburger-menu.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translateY(9px);
}

.hamburger-menu.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translateY(-9px);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.header-social .social-icon-img {
    width: 28px;
    padding-top: 2.5px;
    height: 28px;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: brightness(0) saturate(100%) invert(60%) sepia(100%) saturate(2000%) hue-rotate(180deg) brightness(1.1) contrast(1.2);
}

.header-social .social-icons a:hover .social-icon-img {
    transform: scale(1.2);
    filter: brightness(0) saturate(100%) invert(50%) sepia(100%) saturate(2500%) hue-rotate(180deg) brightness(1.3) contrast(1.3) drop-shadow(0 2px 4px rgba(0, 194, 242, 0.5));
}

.social-row-1 {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex: 1;
}

.nav-link {
    color: #00c2f2;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #00c2f2;
    transition: width 0.3s ease;
    border-radius: 1px;
}

.nav-link:hover::after {
    width: 95%;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.logo-image {
    height: 80px;
    width: auto;
    display: block;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    transform: translate(-50%, -50%);
    object-fit: cover;
    /* iOS compatibility */
    -webkit-transform: translate(-50%, -50%);
    /* Ensure video is above fallback image */
    background: transparent;
}

/* Fallback image styles */
.hero-video img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-content {
    position: relative;
    z-index: 1;
    background: rgba(0, 0, 0, 0.2);
    padding: 2rem;
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

.hero-content h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    color: #00c2f2;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: #00c2f2;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    min-height: 44px;
    min-width: 44px;
    touch-action: manipulation;
    user-select: none;
}

.btn:hover {
    background: #00c2f2;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.rooms-section {
    padding: 50px 0;
    background: whitesmoke;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: black;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #00c2f2;
}

.rooms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.room-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: all 0.3s ease;
}

.room-card-link:hover {
    text-decoration: none;
    color: inherit;
}

.room-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 3px solid #00c2f2;
    position: relative;
}

.room-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 194, 242, 0.3);
    border-color: #0099cc;
}

.room-image {
    height: 250px;
    background: linear-gradient(45deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    position: relative;
    overflow: hidden;
}

.room-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="20" cy="80" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="80" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="50" r="3" fill="rgba(255,255,255,0.1)"/></svg>');
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

.room-content {
    padding: 1rem;
    background: linear-gradient(135deg, rgba(0, 194, 242, 0.02), rgba(255, 255, 255, 1));
}

.room-name {
    color: black;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-align: center;
    position: relative;
}

.room-name::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: #00c2f2;
    border-radius: 1px;
}

.room-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
    text-align: center;
    margin-top: 0.75rem;
    opacity: 0.8;
}

.entities-section {
    padding: 50px 0;
    background: whitesmoke;
    color: white;
}

.entities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.entity-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid #00c2f2;
    position: relative;
    overflow: hidden;
}

.entity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 194, 242, 0.2);
    border-color: #0099cc;
}

.entity-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.entity-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: black;
}

.entity-description {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.9;
    color: black;
    text-align: center;
}

/* Location Section Styles */
.location-section {
    padding: 50px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: stretch;
    margin-top: 3rem;
}

.location-info h3 {
    color: black;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.location-info h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--brand-blue);
}

.location-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #6c757d;
    margin-bottom: 2rem;
}

.location-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.location-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid var(--brand-blue);
}

.location-item:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(0, 194, 242, 0.15);
}

.location-icon {
    font-size: 2rem;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.location-text strong {
    color: black;
    font-size: 1.1rem;
    font-weight: 600;
    display: block;
    margin-bottom: 0.3rem;
}

.location-text p {
    color: #6c757d;
    margin: 0;
    font-size: 0.95rem;
}

.location-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.location-buttons .btn {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 600;
}

.location-buttons .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.location-buttons .btn:hover::before {
    left: 100%;
}

.location-buttons .btn:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 194, 242, 0.3);
}

.location-buttons .btn-primary:hover {
    box-shadow: 0 8px 25px rgba(0, 194, 242, 0.4);
    background: linear-gradient(135deg, var(--brand-blue), #0099cc);
    color: white;
}

.location-buttons .btn-primary:hover .btn-icon {
    filter: brightness(0) invert(1);
    transform: scale(1.1) rotate(5deg);
}

.location-buttons .btn-secondary:hover {
    background: linear-gradient(135deg, var(--brand-blue), #0099cc);
    border-color: var(--brand-blue);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 194, 242, 0.4);
    color: white;
}

.location-buttons .btn-secondary:hover .btn-icon {
    filter: brightness(0) invert(1);
    transform: scale(1.1) rotate(5deg);
}

.location-buttons .btn .btn-icon {
    transition: all 0.3s ease;
    width: 18px;
    height: 18px;
}

.location-map {
    position: relative;
    background: white;
    border-radius: 15px;
    padding: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    /* height: 93.5%; */
}

.location-map iframe {
    width: 100%;
    flex: 1;
    min-height: 400px;
    border: 0;
    border-radius: 10px;
}

footer {
    background: #00c2f2;
    color: white;
    text-align: center;
    font-size: 0.8rem;
    padding: 0.5rem 0;
    position: relative;
}

.footer-link {
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding: 2px 4px;
    border-radius: 3px;
    color: white;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: white;
    transition: width 0.3s ease;
}

.footer-link:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.1);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
}

.footer-link:hover::after {
    width: 100%;
}

/* Preloader Styles */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #00c2f2, #0099cc);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    /* Fallback animation to hide preloader if JS fails */
    animation: preloaderFallback 6s ease-in-out forwards;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Force hide preloader on mobile if needed */
.preloader[style*="display: none"],
.preloader[style*="visibility: hidden"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

/* Fallback animation for mobile */
@keyframes preloaderFallback {

    0%,
    85% {
        opacity: 1;
        visibility: visible;
    }

    100% {
        opacity: 0;
        visibility: hidden;
        display: none;
    }
}

.preloader-content {
    text-align: center;
    color: white;
}

.preloader-logo {
    width: 300px;
    height: auto;
    margin-bottom: 2rem;
    animation: logoFloat 2s ease-in-out infinite;
}

.loading-bar {
    width: 250px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    overflow: hidden;
    margin: 1.5rem auto;
    position: relative;
}

.loading-progress {
    height: 100%;
    background: white;
    border-radius: 2px;
    animation: loadingProgress 2s ease-in-out infinite;
}

.loading-text {
    font-size: 1.1rem;
    font-weight: 500;
    margin-top: 1rem;
    opacity: 0.9;
    animation: textPulse 1.5s ease-in-out infinite;
}

/* Animations */
@keyframes logoFloat {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes loadingProgress {
    0% {
        width: 0%;
        transform: translateX(-100%);
    }

    50% {
        width: 100%;
        transform: translateX(0%);
    }

    100% {
        width: 100%;
        transform: translateX(100%);
    }
}

@keyframes textPulse {

    0%,
    100% {
        opacity: 0.7;
    }

    50% {
        opacity: 1;
    }
}

/* Hide main content while loading */
body.loading {
    overflow: hidden;
}

body.loading header,
body.loading .hero,
body.loading .rooms-section,
body.loading .entities-section,
body.loading footer {
    visibility: hidden;
}

/* Custom Scrollbar Styles */
::-webkit-scrollbar {
    width: 15px;
    height: 15px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 6px;
}

::-webkit-scrollbar-thumb {
    background: #00c2f2;
    border-radius: 6px;
    border: 2px solid #f1f1f1;
}

::-webkit-scrollbar-corner {
    background: #f1f1f1;
}

/* For Firefox */
html {
    scrollbar-width: thin;
    scrollbar-color: #00c2f2 #f1f1f1;
}

/* Mobile Touch Enhancements */
input,
textarea,
select {
    min-height: 44px;
    font-size: 16px;
    /* Prevents zoom on iOS */
    padding: 0.75rem;
    border-radius: 8px;
    border: 2px solid #ddd;
    transition: all 0.3s ease;
    touch-action: manipulation;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #00c2f2;
    box-shadow: 0 0 0 3px rgba(0, 194, 242, 0.2);
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Prevent horizontal scrolling */
body {
    overflow-x: hidden;
}

/* Improve button interaction */
button,
.btn,
a[role="button"] {
    cursor: pointer;
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .rooms-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .entities-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .logo-image {
        height: 80px;
    }
}

@media (max-width: 1024px) {
    .rooms-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .entities-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .location-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .location-buttons {
        justify-content: center;
    }

    .location-buttons .btn {
        flex: 1;
        min-width: 200px;
    }
}

@media (min-width: 769px) {
    .navbar {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    .rooms-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .entities-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {

    /* Adjust scroll margin for minimized mobile header */
    .rooms-section,
    .entities-section,
    .location-section {
        scroll-margin-top: 70px;
    }

    .header-content {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0.25rem 0;
        min-height: 50px;
        /* Minimized height */
        position: relative;
        /* Create a grid-like layout for perfect centering */
        grid-template-columns: 1fr auto 1fr;
        display: grid;
        grid-template-areas: "hamburger logo social";
    }

    /* Show hamburger menu on mobile - PERFECTLY CENTERED */
    .hamburger-menu {
        display: flex !important;
        /* Grid positioning */
        grid-area: hamburger;
        justify-self: left;
        align-self: left;
        /* Force visibility and interaction on ALL mobile devices */
        visibility: visible !important;
        pointer-events: auto !important;
        z-index: 1001 !important;
        opacity: 1 !important;
        /* Extend touch area for easier tapping */
        min-width: 44px;
        min-height: 44px;
        padding: 7px;
        /* Hamburger positioning for mobile accessibility */
        background: transparent;
        border-radius: 8px;
        /* Force rendering layer */
        will-change: transform;
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
    }

    /* Ensure hamburger lines stay centered in expanded touch area */
    .hamburger-menu .hamburger-line {
        margin: 0 auto;
        width: 30px;
    }

    /* Logo perfectly centered on mobile */
    .logo {
        grid-area: logo;
        justify-self: center;
        align-self: center;
        margin: 0;
        /* Ensure logo stays centered */
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .logo-image {
        height: 75px;
        /* Optimized logo size for mobile visibility */
        width: auto;
    }

    /* Hide navbar by default on mobile */
    .navbar {
        position: fixed;
        top: 95px;
        /* Below the minimized header */
        left: 0;
        width: 100%;
        background: white;
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        gap: 1.5rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
        z-index: 999;
        order: 2;
    }

    /* Show navbar when menu is active - ENHANCED for ALL mobile devices */
    .navbar.active {
        transform: translateY(0) !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: flex !important;
        /* Force positioning */
        position: fixed !important;
        top: 95px !important;
        left: 0 !important;
        width: 100vw !important;
        /* iOS optimization */
        -webkit-transform: translateY(0) !important;
        -webkit-overflow-scrolling: touch;
        /* Force rendering layer for smooth animation */
        will-change: transform, opacity;
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
        /* Ensure it appears above everything */
        z-index: 999 !important;
    }

    .nav-link {
        font-size: 1.1rem;
        padding: 1rem 2rem;
        width: 80%;
        text-align: center;
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        min-height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid rgba(0, 194, 242, 0.3);
        /* Enhanced touch optimization for ALL mobile devices */
        -webkit-tap-highlight-color: rgba(0, 194, 242, 0.3);
        user-select: none;
        -webkit-user-select: none;
        -webkit-touch-callout: none;
        cursor: pointer;
        touch-action: manipulation;
        /* Improve touch responsiveness */
        transform: translateZ(0);
        -webkit-transform: translateZ(0);
        /* Force interactivity */
        pointer-events: auto;
        /* Better rendering */
        will-change: transform, background-color;
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
    }

    /* Hide social icons on mobile to save space */
    .header-social {
        display: none;
        /* Keep grid area for layout consistency */
        grid-area: social;
    }

    /* Additional mobile centering enhancements */
    .container {
        padding: 0 15px;
        width: 100%;
        max-width: 100%;
    }

    /* Ensure perfect header centering on all mobile devices */
    @media (max-width: 768px) {
        header .container {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 100%;
        }

        .header-content {
            width: 100%;
            max-width: 100%;
            margin: 0 auto;
        }

        /* Make sure logo is perfectly centered */
        .logo {
            position: relative;
            z-index: 1000;
        }

        /* Hamburger menu positioning fine-tuning */
        .hamburger-menu {
            position: relative;
            z-index: 1001;
        }
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
}

/* iPhone-specific optimizations */
@supports (-webkit-touch-callout: none) {
    .hamburger-menu {
        /* Invisible extended touch area for iPhone */
        position: relative;
    }

    .hamburger-menu::before {
        content: '';
        position: absolute;
        top: -10px;
        left: -10px;
        right: -10px;
        bottom: -10px;
        background: transparent;
        /* Extend touch area without visual change */
    }

    .navbar.active {
        /* Force hardware acceleration on iPhone */
        -webkit-transform: translateY(0) translateZ(0);
        transform: translateY(0) translateZ(0);
        will-change: transform, opacity;
    }
}

/* Universal mobile device support */
@media (max-width: 768px) and (pointer: coarse) {

    /* Enhanced header centering for touch devices */
    .header-content {
        grid-template-columns: 1fr auto 1fr !important;
        grid-template-areas: "hamburger logo social" !important;
        align-items: center !important;
        justify-items: center !important;
    }

    .hamburger-menu {
        /* Extra large touch area for touch devices */
        min-width: 50px !important;
        min-height: 50px !important;
        padding: 10px !important;
        /* Ensure maximum touch response */
        touch-action: manipulation !important;
        -webkit-touch-callout: none !important;
        -webkit-user-select: none !important;
        user-select: none !important;
        /* Perfect grid centering */
        justify-self: center !important;
        align-self: center !important;
    }

    .hamburger-menu .hamburger-line {
        /* Keep lines properly centered */
        margin: 0 auto;
        width: 30px;
    }

    /* Logo perfect centering for touch devices */
    .logo {
        justify-self: center !important;
        align-self: center !important;
        margin: 0 !important;
    }

    .navbar.active {
        /* Maximum compatibility display */
        position: fixed !important;
        top: 95px !important;
        left: 0 !important;
        right: 0 !important;
        width: 100vw !important;
        background: white !important;
        z-index: 999 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        padding: 2rem 0 !important;
        transform: translateY(0) !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
}

/* Continue mobile styles */
@media (max-width: 768px) {

    .rooms-section,
    .entities-section,
    .location-section {
        padding: 40px 0;
    }

    .rooms-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .entities-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Mobile video optimizations */
    .hero-video {
        /* Optimize for mobile performance */
        transform: translate(-50%, -50%) scale(1.1);
        -webkit-transform: translate(-50%, -50%) scale(1.1);
        /* Slightly larger scale to prevent black bars on mobile */
    }

    .hero-content {
        padding: 1.5rem;
        margin: 0 1rem;
    }

    .hero-content h1 {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }

    .hero-content p {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }

    .btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }

    .room-card {
        border-width: 2px;
        margin: 0 0.5rem;
    }

    .room-image {
        height: 200px;
    }

    .room-content {
        padding: 1.2rem;
    }

    .room-name {
        font-size: 1.1rem;
    }

    .entity-card {
        padding: 1.5rem;
        margin: 0 0.5rem;
    }

    .entity-icon {
        font-size: 2.5rem;
    }

    .entity-name {
        font-size: 1.1rem;
    }

    .entity-description {
        font-size: 0.9rem;
    }

    .preloader-logo {
        width: 120px;
        display: block;
        margin: 0 auto 2rem auto;
    }

    .loading-bar {
        width: 200px;
    }

    .loading-text {
        font-size: 1rem;
    }

    .location-content {
        gap: 1.5rem;
        grid-template-columns: 1fr;
    }
}

.location-info h3 {
    font-size: 1.8rem;
    /* text-align: center; */
    margin-bottom: 1rem;
}

.location-description {
    font-size: 1rem;
    /* text-align: center; */
    margin-bottom: 1.5rem;
}

.location-item {
    padding: 1rem;
    margin: 0 0.5rem;
    border-radius: 10px;
}

.location-buttons {
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.location-buttons .btn {
    width: 100%;
    justify-content: center;
    padding: 0.7rem 0.9rem;
    font-size: 0.85rem;
}

.location-map {
    padding: 0.8rem;
    margin: 0 0.5rem;
}

.location-map iframe {
    height: 300px;
    border-radius: 8px;
}

@media (max-width: 480px) {

    /* Adjust scroll margin for small mobile header */
    .rooms-section,
    .entities-section,
    .location-section {
        scroll-margin-top: 120px;
    }

    .container {
        padding: 0 10px;
    }

    .header-content {
        gap: 0.6rem;
        /* Maintain perfect grid centering on small screens */
        grid-template-columns: 1fr auto 1fr !important;
        grid-template-areas: "hamburger logo social" !important;
        display: grid !important;
        align-items: center !important;
        justify-items: center !important;
    }

    /* Enhanced centering for small mobile devices */
    .hamburger-menu {
        justify-self: left !important;
        align-self: left !important;
        min-width: 48px !important;
        min-height: 48px !important;
    }

    .logo {
        justify-self: center !important;
        align-self: center !important;
        margin: 0 !important;
    }

    .nav-link {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
    }

    .logo-image {
        height: 65px;
    }

    .hero-content {
        padding: 1rem;
        margin: 0 0.5rem;
    }

    .hero-content h1 {
        font-size: 1.5rem;
        margin-bottom: 0.6rem;
    }

    .hero-content p {
        font-size: 1rem;
        margin-bottom: 1.2rem;
    }

    .btn {
        padding: 8px 20px;
        font-size: 0.8rem;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    .rooms-section,
    .entities-section,
    .location-section {
        padding: 30px 0;
    }

    .rooms-grid,
    .entities-grid {
        gap: 1rem;
    }

    .room-card,
    .entity-card {
        margin: 0;
    }

    .room-image {
        height: 180px;
    }

    .room-content {
        padding: 1rem;
    }

    .room-name {
        font-size: 1rem;
    }

    .entity-card {
        padding: 1.2rem;
    }

    .entity-icon {
        font-size: 2rem;
    }

    .entity-name {
        font-size: 1rem;
    }

    .entity-description {
        font-size: 0.85rem;
    }

    .rooms-grid {
        grid-template-columns: 1fr;
    }

    .entities-grid {
        grid-template-columns: 1fr;
    }

    .location-info h3 {
        font-size: 1.5rem;
        margin-bottom: 0.8rem;
    }

    .location-description {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 1.2rem;
    }

    .location-item {
        padding: 0.8rem;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
        border-radius: 8px;
        margin-bottom: 0.5rem;
    }

    .location-icon {
        font-size: 1.5rem;
        margin-bottom: 0.3rem;
    }

    .location-text strong {
        font-size: 1rem;
        margin-bottom: 0.2rem;
        text-align: left;
    }

    .location-text p {
        font-size: 0.85rem;
    }

    .location-buttons {
        gap: 0.6rem;
        margin-top: 1rem;
    }

    .location-buttons .btn {
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem;
        border-radius: 20px;
    }

    .location-map {
        padding: 0.6rem;
        margin: 0;
    }

    .location-map iframe {
        height: 250px;
        border-radius: 6px;
    }
}

/* Extra small mobile devices */
@media (max-width: 360px) {

    /* Adjust scroll margin for extra small mobile header */
    .rooms-section,
    .entities-section,
    .location-section {
        scroll-margin-top: 110px;
    }

    .container {
        padding: 0 8px;
    }

    /* Perfect centering for extra small devices */
    .header-content {
        grid-template-columns: 1fr auto 1fr !important;
        grid-template-areas: "hamburger logo social" !important;
        display: grid !important;
        align-items: center !important;
        justify-items: center !important;
    }

    .hamburger-menu {
        justify-self: left !important;
        align-self: left !important;
        min-width: 46px !important;
        min-height: 46px !important;
    }

    .logo {
        justify-self: center !important;
        align-self: center !important;
    }

    .hero-content {
        padding: 0.8rem;
        margin: 0 0.3rem;
    }

    .hero-content h1 {
        font-size: 1.3rem;
    }

    .hero-content p {
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .nav-link {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
    }

    .room-image {
        height: 160px;
    }

    .entity-icon {
        font-size: 1.8rem;
    }

    .location-info h3 {
        font-size: 1.3rem;
    }

    .location-buttons .btn {
        padding: 0.5rem 0.7rem;
        font-size: 0.75rem;
        border-radius: 18px;
    }

    .location-map iframe {
        height: 220px;
    }

    .preloader-logo {
        width: 100px;
        display: block;
        margin: 0 auto 1.5rem auto;
    }

    .loading-bar {
        width: 180px;
        margin: 1rem auto;
    }
}

@media (max-width: 768px) and (orientation: landscape) {
    .rooms-grid {
        grid-template-columns: 1fr;
    }

    .entities-grid {
        grid-template-columns: 1fr;
    }
}

/* Private Pool & Guest House Page Styles */
.private-pool-hero {
    position: relative;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 113px;
}

.private-pool-hero .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    background: rgba(0, 0, 0, 0.4);
    padding: 3rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.private-pool-hero .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.private-pool-hero .hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.property-details {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.property-overview {
    margin-bottom: 4rem;
}

.property-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.property-intro h2 {
    font-size: 2.5rem;
    color: black;
    margin-bottom: 1rem;
    position: relative;
}

.property-intro h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--brand-blue);
}

.lead-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #6c757d;
    max-width: 800px;
    margin: 2rem auto;
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.highlight-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    border: 1px solid #00c2f2;
}

.highlight-item:hover {
    transform: translateY(-5px);
}

.highlight-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.highlight-item h3 {
    color: black;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.highlight-item p {
    color: #6c757d;
    margin: 0;
}

.image-gallery-section {
    margin: 4rem 0;
}

.image-gallery-section h2 {
    text-align: center;
    font-size: 2.2rem;
    color: black;
    margin-bottom: 2rem;
    position: relative;
}

.image-gallery-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--brand-blue);
}

.main-gallery {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 1000px;
    margin: 0 auto;
}

.featured-image {
    margin-bottom: 1.5rem;
}

.main-gallery-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.thumbnail-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1rem;
}

.gallery-thumbnail {
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.gallery-thumbnail:hover {
    transform: scale(1.05);
    border-color: var(--brand-blue);
}

.gallery-thumbnail.active {
    border-color: var(--brand-blue);
    transform: scale(1.02);
}

.detailed-info {
    margin: 4rem 0;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.amenities-section ul,
.property-specs ul,
.highlight-item ul,
.detailed-info ul {
    list-style: none;
    padding: 0;
}

.amenities-section li,
.property-specs li,
.highlight-item li,
.detailed-info li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
    color: #6c757d;
}

.amenities-section li::before,
.property-specs li::before,
.highlight-item li::before,
.detailed-info li::before {
    content: '•';
    color: var(--brand-blue);
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.2rem;
}

.amenities-section,
.property-specs {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.amenities-section h3,
.property-specs h3 {
    color: black;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--brand-blue);
    padding-bottom: 0.5rem;
}

.specs-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid var(--brand-blue);
}

.spec-item strong {
    color: black;
    font-weight: 600;
}

.spec-item span {
    color: #6c757d;
    /* text-align: right; */
}

.pricing-availability {
    margin: 4rem 0;
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.pricing-availability h2 {
    text-align: center;
    font-size: 2.2rem;
    color: black;
    margin-bottom: 2rem;
    position: relative;
}

.pricing-availability h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--brand-blue);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.pricing-card {
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 1.5rem;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 194, 242, 0.15);
    border-color: var(--brand-blue);
}

.pricing-card.weekend {
    border-color: var(--brand-blue);
    background: linear-gradient(135deg, rgba(0, 194, 242, 0.05), #f8f9fa);
}

.pricing-card h3 {
    color: black;
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    border-bottom: 2px solid var(--brand-blue);
    padding-bottom: 0.5rem;
}

.time-slots {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.time-slot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.time-slot:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 194, 242, 0.2);
}

.time-slot.special {
    background: linear-gradient(135deg, var(--brand-blue), #0099cc);
    color: white;
}

.time-slot .time {
    font-weight: 600;
    color: black;
}

.time-slot.special .time {
    color: white;
}

.time-slot .price {
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--brand-blue);
}

.time-slot.special .price {
    color: white;
}

.pricing-notes {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--brand-blue);
}

.pricing-notes h4 {
    color: black;
    margin-bottom: 1rem;
}

.pricing-notes ul {
    list-style: none;
    padding: 0;
}

.pricing-notes li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
    color: #6c757d;
}

.pricing-notes li::before {
    content: '•';
    color: var(--brand-blue);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.booking-section {
    margin: 4rem 0;
    background: linear-gradient(135deg, var(--brand-blue), #0099cc);
    color: white;
    padding: 4rem;
    border-radius: 15px;
    text-align: center;
    max-width: 1000px;
    margin: 4rem auto;
}

.booking-cta h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.booking-cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.contact-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: white;
    color: var(--brand-blue);
    border-color: var(--brand-blue);
}

.btn-primary:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.btn-secondary {
    background: white;
    color: var(--brand-blue);
    border-color: var(--brand-blue);
}

.btn-secondary:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.btn-icon {
    width: 25px;
    height: 28px;
    filter: brightness(0) saturate(100%) invert(60%) sepia(100%) saturate(2000%) hue-rotate(180deg) brightness(1.1) contrast(1.2);
}

.btn-primary .btn-icon {
    filter: brightness(0) saturate(100%) invert(60%) sepia(100%) saturate(2000%) hue-rotate(180deg) brightness(1.1) contrast(1.2);
}

.btn-secondary .btn-icon {
    filter: brightness(0) saturate(100%) invert(60%) sepia(100%) saturate(2000%) hue-rotate(180deg) brightness(1.1) contrast(1.2);
}

.btn-secondary:hover .btn-icon {
    filter: brightness(0) saturate(100%) invert(60%) sepia(100%) saturate(2000%) hue-rotate(180deg) brightness(1.1) contrast(1.2);
}

/* Responsive Styles for Private Pool Page */
@media (max-width: 1024px) {
    .info-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .pricing-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .private-pool-hero {
        height: 60vh;
    }

    .private-pool-hero .hero-content {
        padding: 2rem;
    }

    .property-intro h2 {
        font-size: 2rem;
    }

    .lead-description {
        font-size: 1.2rem;
    }

    .highlight-grid {
        grid-template-columns: 1fr;
    }

    .highlight-item h3 {
        font-size: 1.1rem;
    }

    .highlight-item p {
        font-size: 1rem;
    }

    .main-gallery-image {
        height: 300px;
    }

    .thumbnail-gallery {
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    }

    .gallery-thumbnail {
        height: 60px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        /* width: 250px; */
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .private-pool-hero .hero-content {
        padding: 1.5rem;
    }

    .property-details {
        padding: 2rem 0;
    }

    .property-intro h2 {
        font-size: 1.8rem;
    }

    .lead-description {
        font-size: 1rem;
    }

    .highlight-item h3 {
        font-size: 1rem;
    }

    .highlight-item p {
        font-size: 0.9rem;
    }

    .main-gallery {
        padding: 1rem;
    }

    .main-gallery-image {
        height: 250px;
    }

    .thumbnail-gallery {
        grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
    }

    .gallery-thumbnail {
        height: 50px;
    }

    .amenities-section,
    .property-specs {
        padding: 1.5rem;
    }

    .booking-section {
        padding: 2rem;
    }

    .spec-item {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

/* Extra small mobile devices - Room Pages */
@media (max-width: 360px) {
    .property-intro h2 {
        font-size: 1.6rem;
    }

    .lead-description {
        font-size: 0.9rem;
    }

    .highlight-item h3 {
        font-size: 0.9rem;
    }

    .highlight-item p {
        font-size: 0.8rem;
    }

    .private-pool-hero .hero-content {
        padding: 1rem;
    }

    .main-gallery-image {
        height: 220px;
    }
}