/* RAJ REAL ESTATE LUXURY GOLD DESIGN SYSTEM */
:root {
    --primary-white: #ffffff;
    --secondary-bg: #faf7f2; /* Beige White */
    --luxury-gold: #D4AF37; /* Bright Luxury Gold */
    --luxury-gold-dark: #AA7C11; /* Burnished Gold */
    --luxury-gold-glow: rgba(212, 175, 55, 0.3);
    --dark-accent: #111625; /* Premium Navy Accent */
    --text-muted: #6c757d;
    --transition-smooth: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', 'Inter', sans-serif;
    background-color: var(--primary-white);
    color: var(--dark-accent);
    overflow-x: hidden;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', 'Inter', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--dark-accent);
}

.text-gold {
    color: var(--luxury-gold) !important;
}

/* PREMIUM BUTTON GLOW */
.btn-luxury {
    background-color: var(--dark-accent);
    color: var(--primary-white);
    border: 1px solid var(--luxury-gold);
    padding: 12px 30px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 0;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-luxury:hover {
    background-color: var(--luxury-gold);
    color: var(--dark-accent);
    box-shadow: 0 0 15px var(--luxury-gold-glow);
    transform: translateY(-2px);
}

.btn-gold {
    background-color: var(--luxury-gold);
    color: var(--dark-accent);
    border: 1px solid var(--luxury-gold-dark);
    padding: 12px 30px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 0;
    transition: var(--transition-smooth);
}

.btn-gold:hover {
    background-color: var(--dark-accent);
    color: var(--primary-white);
    box-shadow: 0 0 15px rgba(17, 22, 37, 0.2);
    transform: translateY(-2px);
}

/* STICKY NAVBAR - WHITE BACKGROUND WITH DARK LINKS */
.navbar-custom {
    padding: 15px 0;
    transition: var(--transition-smooth);
    background-color: var(--primary-white) !important; /* White Background */
    border-bottom: 2px solid var(--luxury-gold);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar-custom.scrolled {
    padding: 10px 0;
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
}

.navbar-custom .nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--dark-accent) !important; /* Dark Accent Links */
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 8px 16px !important;
    transition: var(--transition-smooth);
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
    color: var(--luxury-gold) !important;
}

/* HERO SECTION */
.hero-container {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 1;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(17, 22, 37, 0.8) 0%, rgba(17, 22, 37, 0.4) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    align-items: center;
}

/* POPUP ADVERTISEMENT GLASSMORPHISM - REDIRECT CLICK ACTION */
/* .popup-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.popup-slide.active {
    opacity: 1 !important;
    z-index: 2;
}
.ad-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17, 22, 37, 0.75);
    backdrop-filter: blur(15px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.ad-popup-content {
    background: rgba(255, 255, 255, 0.98);
    border: 2px solid var(--luxury-gold);
    border-radius: 8px;
    padding: 30px;
    max-width: 520px;
    width: 90%;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
    text-align: center;
    cursor: pointer; /* Indicates click-to-redirect action */
/* }

.ad-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--dark-accent);
    color: var(--primary-white);
    border: 1px solid var(--luxury-gold);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: none; /* Blocked for 5 seconds */
    /* align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: var(--transition-smooth);
    z-index: 10;
}

.ad-popup-close:hover {
    background: var(--luxury-gold);
    color: var(--dark-accent);
/* } */ 

/* STICKY FLOATING BUTTONS */
.sticky-contact-bar {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9998;
}

.sticky-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary-white);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transition: var(--transition-smooth);
    text-decoration: none;
}

.sticky-btn:hover {
    transform: scale(1.1) translateY(-5px);
    color: var(--primary-white);
}

.sticky-whatsapp {
    background-color: #25d366;
    animation: whatsapp-glow 2s infinite;
}

.sticky-call {
    background-color: var(--luxury-gold);
    animation: call-glow 2s infinite;
}

@keyframes whatsapp-glow {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@keyframes call-glow {
    0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(212, 175, 55, 0); }
    100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

/* MODERN CARD LAYOUTS */
.luxury-card {
    background: var(--primary-white);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 4px;
    overflow: hidden;
    transition: var(--transition-smooth);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
}

.luxury-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.12);
    border-color: var(--luxury-gold);
}

.luxury-card .card-img-wrapper {
    position: relative;
    overflow: hidden;
    padding-top: 66.67%; /* 3:2 ratio */
}

.luxury-card .card-img-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.luxury-card:hover .card-img-wrapper img {
    transform: scale(1.08);
}

/* COUNTER SECTION */
.counter-box {
    background-color: var(--secondary-bg);
    border-top: 3px solid var(--luxury-gold);
    padding: 30px 20px;
    text-align: center;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
}

/* CORE VALUES DISPLAY */
.core-value-box {
    background-color: var(--secondary-bg);
    padding: 40px 30px;
    border-radius: 4px;
    border: 1px solid rgba(212, 175, 55, 0.15);
    transition: var(--transition-smooth);
    height: 100%;
}

.core-value-box:hover {
    border-color: var(--luxury-gold);
    background-color: var(--primary-white);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.1);
}

.core-value-box i {
    font-size: 2.5rem;
    color: var(--luxury-gold);
    margin-bottom: 20px;
    display: inline-block;
}

/* AMENITIES ICON CARDS */
.amenity-card {
    text-align: center;
    padding: 25px 15px;
    border: 1px solid rgba(212, 175, 55, 0.15);
    background-color: var(--primary-white);
    transition: var(--transition-smooth);
    border-radius: 4px;
}

.amenity-card:hover {
    background-color: var(--secondary-bg);
    border-color: var(--luxury-gold);
    transform: translateY(-5px);
}

.amenity-card i {
    font-size: 2rem;
    color: var(--luxury-gold);
    margin-bottom: 15px;
    display: inline-block;
}

/* GOVERNANCE ZONE LICENSES PREVIEW */
.governance-card {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.governance-card img {
    transition: var(--transition-smooth);
}

.governance-card:hover img {
    transform: scale(1.05);
}

/* SMOOTH REVEAL SCROLLING EFFECTS */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* LUXURY FOOTER */
.luxury-footer {
    background-color: var(--dark-accent);
    color: rgba(255,255,255,0.7);
    padding: 70px 0 20px;
    border-top: 3px solid var(--luxury-gold);
}

.luxury-footer h5 {
    color: var(--primary-white);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.luxury-footer h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--luxury-gold);
}

.luxury-footer a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.luxury-footer a:hover {
    color: var(--luxury-gold);
    padding-left: 5px;
}

/* RESPONSIVE DESIGN & MOBILE SIDEBAR DRAWER */
@media (max-width: 991.98px) {
    /* Navbar Toggler Visibility Fix */
    .navbar-custom .navbar-toggler {
        border-color: var(--luxury-gold) !important;
        border-radius: 0;
        padding: 6px 10px;
    }
    
    .navbar-custom .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgb(17, 22, 37)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    }

    /* Prevent default Bootstrap dropdown behavior to use custom sidebar */
    .navbar-custom .navbar-collapse {
        display: none !important;
    }
}

/* Mobile Sidebar Drawer Styles */
.mobile-sidebar-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    max-width: 85vw;
    height: 100vh;

    background-color: var(--dark-accent);
    border-left: 2px solid var(--luxury-gold);
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.3);

    z-index: 10000;
    transition: transform 0.4s ease;

    display: flex;
    flex-direction: column;
    padding: 30px 25px;

    transform: translateX(100%);
}

.mobile-sidebar-drawer.active {
    transform: translateX(0);
}

.mobile-sidebar-close {
    align-self: flex-end;
    font-size: 2rem;
    color: var(--primary-white);
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
    margin-bottom: 30px;
    transition: var(--transition-smooth);
}

.mobile-sidebar-close:hover {
    color: var(--luxury-gold);
}

.mobile-sidebar-header {
    margin-bottom: 40px;
    text-align: center;
}

.mobile-sidebar-header img {
    height: 50px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.mobile-sidebar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-sidebar-nav .nav-link {
    color: var(--primary-white) !important;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 8px 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
    display: block;
}

.mobile-sidebar-nav .nav-link:hover,
.mobile-sidebar-nav .nav-link.active {
    color: var(--luxury-gold) !important;
    padding-left: 8px;
    border-bottom-color: var(--luxury-gold);
}

/* Mobile Sidebar Overlay */
.mobile-sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(17, 22, 37, 0.6);
    backdrop-filter: blur(4px);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.mobile-sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Responsiveness enhancements for small screens */
@media (max-width: 575.98px) {
    .hero-content h1 {
        font-size: 2.2rem !important;
    }
    
    .hero-content p {
        font-size: 0.95rem !important;
    }
    
    .counter-box h2 {
        font-size: 2rem !important;
    }
    
    .sticky-contact-bar {
        bottom: 20px;
        right: 20px;
        gap: 10px;
    }
    
    .sticky-btn {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

html {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    overscroll-behavior-x: none;
}

body {
    width: 100%;
    max-width: 100%;
    margin: 0;
    overflow-x: hidden;
    overscroll-behavior-x: none;
    touch-action: pan-y;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

img,
video,
iframe {
    max-width: 100%;
}
.thank-you-message {
    margin-top: 10px;
    padding: 10px 12px;
    background: #ffffff;
    border-left: 3px solid #d4af37;
    color: #111827;
    font-size: 13px;
    line-height: 1.4;
    text-align: left;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    animation: thankYouFade 0.3s ease;
}

.thank-you-message strong {
    display: block;
    color: #d4af37;
    font-size: 14px;
    margin-bottom: 2px;
}

.thank-you-message span {
    color: #555;
}

@keyframes thankYouFade {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
