/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Theme: Cool sky blue, deep ocean, midnight navy, crisp mango, glowing tangerine */
    --sky-blue: #7EC8E3;
    --deep-ocean: #1B4F72;
    --midnight-navy: #0D1B2A;
    --crisp-mango: #FFC324;
    --tangerine: #FF9F1C;
    --primary-color: var(--deep-ocean);
    --secondary-color: var(--sky-blue);
    --accent-color: var(--tangerine);
    --accent-light: var(--crisp-mango);
    --bg-cream: #E8F4F8;
    --text-light: #ffffff;
    --text-dark: var(--midnight-navy);
    --text-gray: #4A5568;
    --bg-light: #F0F8FC;
    --nav-bg: rgba(255, 255, 255, 0.97);
    --nav-text: var(--midnight-navy);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Rubik', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

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

/* Navigation - Translucent by default, white when scrolled */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    padding: 1rem 0;
    transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
    box-shadow: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 25px rgba(0, 0, 0, 0.08);
    border-bottom-color: rgba(0, 0, 0, 0.06);
    padding: 0.8rem 0;
}

/* Nav text: white when translucent, black when scrolled (white background) */
.navbar .logo-text,
.navbar .nav-link {
    color: var(--nav-text);
    transition: color 0.35s ease;
}

.navbar:not(.scrolled) .logo-text,
.navbar:not(.scrolled) .nav-link {
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

.navbar.scrolled .logo-text,
.navbar.scrolled .nav-link {
    color: var(--midnight-navy);
    text-shadow: none;
}

.navbar:not(.scrolled) .hamburger span {
    background: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.navbar.scrolled .hamburger span {
    background: var(--midnight-navy);
    box-shadow: none;
}

/* All-properties and property pages: navbar text always black (no hero) */
.page-all-properties .navbar .logo-text,
.page-all-properties .navbar .nav-link,
.page-property .navbar .logo-text,
.page-property .navbar .nav-link {
    color: var(--midnight-navy);
    text-shadow: none;
}

.page-all-properties .navbar .hamburger span,
.page-property .navbar .hamburger span {
    background: var(--midnight-navy);
    box-shadow: none;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.logo a.logo-link:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

.logo-img {
    height: 80px;
    min-height: 80px;
    width: auto;
    max-width: 240px;
    object-fit: contain;
    display: block;
}

.logo-text {
    display: none;
}

@media (max-width: 768px) {
    .logo-img {
        height: 64px;
        min-height: 64px;
        max-width: 200px;
    }
}

.logo h2 {
    color: var(--text-light);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--nav-text);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    display: inline-block;
    transition: transform 0.2s ease, color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-light));
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-color);
    transform: translateY(-2px);
}

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

.nav-link.active {
    color: var(--accent-color);
}

.nav-link.active::after {
    width: 100%;
}

/* Properties dropdown */
.nav-item-dropdown {
    position: relative;
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    list-style: none;
    background: var(--text-light);
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
    z-index: 1001;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.nav-item-dropdown:hover .nav-dropdown-menu,
.nav-item-dropdown.dropdown-open .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-menu li {
    margin: 0;
}

.nav-dropdown-menu a {
    display: block;
    padding: 0.6rem 1.25rem;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: background 0.2s ease, color 0.2s ease;
}

.nav-dropdown-menu a:hover {
    background: var(--bg-light);
    color: var(--accent-color);
}

.nav-dropdown-menu .dropdown-view-more {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    margin-top: 0.25rem;
    padding-top: 0.6rem;
    font-weight: 600;
    color: var(--accent-color);
}

.nav-dropdown-menu .dropdown-view-more:hover {
    background: rgba(255, 159, 28, 0.1);
}

.nav-dropdown-toggle::after {
    display: inline-block;
    margin-left: 0.35em;
    content: '';
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    vertical-align: 0.2em;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--nav-text);
    transition: var(--transition);
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--nav-bg);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

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

.preloader-inner {
    text-align: center;
}

.preloader-buildings {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 12px;
    height: 80px;
    margin-bottom: 24px;
}

.preloader-building {
    width: 24px;
    background: linear-gradient(180deg, var(--accent-color) 0%, var(--primary-color) 100%);
    border-radius: 4px 4px 0 0;
    transform-origin: bottom;
    animation: buildingRise 1s ease-out backwards;
}

.preloader-building.b1 { height: 30px; animation-delay: 0.1s; }
.preloader-building.b2 { width: 28px; height: 50px; animation-delay: 0.2s; }
.preloader-building.b3 { width: 32px; height: 70px; animation-delay: 0.3s; }
.preloader-building.b4 { width: 26px; height: 45px; animation-delay: 0.4s; }
.preloader-building.b5 { height: 35px; animation-delay: 0.5s; }

@keyframes buildingRise {
    from {
        transform: scaleY(0);
        opacity: 0;
    }
    to {
        transform: scaleY(1);
        opacity: 1;
    }
}

.preloader-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 0.05em;
    animation: preloaderTextPop 0.6s ease-out 0.6s both;
}

.preloader-progress {
    width: 120px;
    height: 4px;
    background: rgba(27, 79, 114, 0.2);
    border-radius: 2px;
    margin: 20px auto 12px;
    overflow: hidden;
}

.preloader-progress-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
    animation: preloaderProgress 1.4s ease-out 0.3s forwards;
}

.preloader-loading {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-gray);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    animation: preloaderPulse 0.8s ease-in-out 0.8s infinite;
}

@keyframes preloaderTextPop {
    from {
        opacity: 0;
        transform: scale(0.9);
        letter-spacing: 0.2em;
    }
    to {
        opacity: 1;
        transform: scale(1);
        letter-spacing: 0.05em;
    }
}

@keyframes preloaderProgress {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes preloaderPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Hero Background Image Slider + Parallax */
.hero-slider-bg {
    height: 100vh;
    position: relative;
    overflow: hidden;
    border: none;
    outline: none;
}

.hero-parallax-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    will-change: transform;
}

.hero-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.hero-slide-bg.active {
    opacity: 0.3;
    z-index: 1;
}

@media (max-width: 768px) {
    .hero-slide-bg {
        background-attachment: scroll;
    }
}

.hero-slide-bg.slide-1 {
    background-image: url('../images/others/hr1.png');
}

.hero-slide-bg.slide-2 {
    background-image: url('../images/others/hb.png');
}

.hero-slide-bg.slide-3 {
    background-image: url('../images/others/hr3.jpg');
}

/* Hero overlay – dark enough for text readability, images still visible */
.hero-overlay-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
    pointer-events: none;
}

.hero-content-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 3;
    padding: 0 20px;
    max-width: 800px;
    width: 100%;
    pointer-events: none;
}

/* Hero content – staggered entrance (triggered when .hero-ready is set after preloader) */
.hero-content-overlay .hero-animate {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-slider-bg.hero-ready .hero-company-name {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
}

.hero-slider-bg.hero-ready .hero-tagline {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.12s;
}

.hero-slider-bg.hero-ready .hero-tagline-sub {
    opacity: 0.95;
    transform: translateY(0);
    transition-delay: 0.22s;
}

.hero-line-reveal {
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--crisp-mango));
    margin: 0 auto 1.25rem;
    border-radius: 2px;
    transition: width 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.2s;
}

.hero-slider-bg.hero-ready .hero-line-reveal {
    width: 80px;
}

.hero-company-name {
    font-size: 5.5rem;
    font-weight: 800;
    margin-bottom: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.02em;
}

.hero-company-name .hero-name-word {
    display: inline-block;
}

.hero-tagline {
    font-size: 1.75rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5), 0 0 12px rgba(0, 0, 0, 0.25);
}

.hero-tagline.typewriter::after {
    content: '';
    display: inline-block;
    width: 2px;
    height: 1em;
    margin-left: 8px;
    background: currentColor;
    vertical-align: -0.12em;
    animation: heroCaretBlink 1s steps(2, start) infinite;
}

@keyframes heroCaretBlink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

.hero-content-overlay .hero-tagline-sub {
    font-size: 1.2rem;
    font-weight: 300;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

/* Scroll-down indicator – chevron only */
.hero-scroll-down {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: #fff;
    text-decoration: none;
    background: rgba(0, 0, 0, 0.35);
    border-radius: 50%;
    backdrop-filter: blur(8px);
    animation: heroScrollDownFade 1s ease-out 1.2s both;
}

.hero-scroll-down:hover {
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
}

.hero-scroll-down-chevron {
    width: 16px;
    height: 16px;
    border-right: 2.5px solid currentColor;
    border-bottom: 2.5px solid currentColor;
    transform: rotate(45deg);
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes heroScrollDownFade {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes scrollBounce {
    0%, 100% { transform: rotate(45deg) translateY(0); }
    50% { transform: rotate(45deg) translateY(6px); }
}

/* Buildings background - animating on scroll */
.section-with-buildings {
    position: relative;
    overflow: hidden;
}

.buildings-bg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    pointer-events: none;
    z-index: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 6px;
    padding: 0 10%;
}

.buildings-bg .building-block {
    display: block;
    width: 40px;
    max-width: 4vw;
    background: linear-gradient(180deg, rgba(27, 79, 114, 0.5) 0%, rgba(126, 200, 227, 0.65) 100%);
    border-radius: 6px 6px 0 0;
    min-height: 40px;
    transform-origin: bottom center;
    transform: translateY(100px);
    opacity: 0;
}

.buildings-bg .building-block:nth-child(1) { height: 55px; transition-delay: 0.05s; }
.buildings-bg .building-block:nth-child(2) { height: 85px; transition-delay: 0.1s; }
.buildings-bg .building-block:nth-child(3) { height: 120px; transition-delay: 0.15s; }
.buildings-bg .building-block:nth-child(4) { height: 70px; transition-delay: 0.2s; }
.buildings-bg .building-block:nth-child(5) { height: 95px; transition-delay: 0.25s; }
.buildings-bg .building-block:nth-child(6) { height: 60px; transition-delay: 0.3s; }
.buildings-bg .building-block:nth-child(7) { height: 110px; transition-delay: 0.35s; }
.buildings-bg .building-block:nth-child(8) { height: 75px; transition-delay: 0.4s; }
.buildings-bg .building-block:nth-child(9) { height: 100px; transition-delay: 0.45s; }
.buildings-bg .building-block:nth-child(10) { height: 65px; transition-delay: 0.5s; }


/* Hero Section (Legacy - keeping for compatibility) */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 46, 0.4);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--text-light);
    padding: 0 20px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    background: var(--accent-color);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(255, 159, 28, 0.4);
}

.btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 25px rgba(255, 159, 28, 0.5);
    background: var(--accent-light);
    animation: glowPulse 1.5s ease-in-out infinite;
}

.btn-overlay {
    padding: 12px 30px;
    background: var(--text-light);
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-overlay:hover {
    background: var(--accent-color);
    color: var(--text-light);
}

/* Animations */
.animate-fade-in {
    animation: fadeInUp 1s ease-out;
}

.animate-fade-in-delay {
    animation: fadeInUp 1s ease-out 0.3s both;
}

.animate-fade-in-delay-2 {
    animation: fadeInUp 1s ease-out 0.6s both;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll-left {
    opacity: 0;
    transform: translateX(-40px) scale(0.88);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll-left.animated {
    opacity: 1;
    transform: translateX(0) scale(1);
}

.animate-on-scroll-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll-right.animated {
    opacity: 1;
    transform: translateX(0);
}

.animate-on-scroll-scale {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.animate-on-scroll-scale.animated {
    opacity: 1;
    transform: scale(1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes glowPulse {
    0%, 100% { box-shadow: 0 4px 15px rgba(255, 159, 28, 0.4); }
    50% { box-shadow: 0 4px 25px rgba(255, 195, 36, 0.6); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

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

@keyframes titleUnderline {
    from { width: 0; }
    to { width: 80px; }
}

/* Properties Section */
.properties {
    padding: 100px 0;
    background: var(--bg-light);
}

.properties .container,
.about .container,
.contact .container {
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    transform: scale(0.88);
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), background 0.6s ease, background-clip 0.6s ease, color 0.6s ease, -webkit-background-clip 0.6s ease;
}

.section-title.animated {
    transform: scale(1);
    background: linear-gradient(135deg, var(--deep-ocean) 0%, var(--sky-blue) 45%, var(--tangerine) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -8px;
    transform: translateX(-50%);
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-light));
    border-radius: 2px;
    transition: width 0.5s ease;
}

.animate-on-scroll.animated .section-title::after,
.section-header .section-title::after {
    width: 80px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.properties-action {
    text-align: center;
    margin-top: 50px;
}

.property-card {
    background: var(--text-light);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease, border-color 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.property-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(255, 159, 28, 0.2);
    border-color: rgba(255, 159, 28, 0.3);
}

.property-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.property-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.property-card:hover .property-image {
    transform: scale(1.12) rotate(1deg);
}

.property-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(27, 79, 114, 0.85) 0%, rgba(255, 159, 28, 0.35) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.property-card:hover .property-overlay {
    opacity: 1;
}

.property-card:hover .btn-overlay {
    animation: fadeInScale 0.4s ease both;
}

.property-content {
    padding: 25px;
}

.property-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.property-location {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text-gray);
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.property-location svg {
    color: var(--accent-color);
    flex-shrink: 0;
    margin-top: 3px;
}

.property-description {
    color: var(--text-gray);
    margin-bottom: 15px;
    line-height: 1.6;
}

.property-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.btn-view-details {
    width: 100%;
    text-align: center;
    margin-top: 15px;
    padding: 12px 30px;
    background: var(--primary-color);
    color: var(--text-light);
    border: 2px solid var(--primary-color);
}

.btn-view-details:hover {
    background: transparent;
    color: var(--primary-color);
}

.property-plans {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.plan-link {
    font-size: 0.8rem;
    color: var(--accent-color);
    text-decoration: none;
    padding: 4px 10px;
    border: 1px solid var(--accent-color);
    border-radius: 6px;
    transition: var(--transition);
}

.plan-link:hover {
    background: var(--accent-color);
    color: var(--text-light);
}

.feature-tag {
    padding: 5px 15px;
    background: var(--bg-light);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--text-light);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text p {
    color: var(--text-gray);
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.stat-label {
    color: var(--text-gray);
    font-size: 1.1rem;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--bg-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    margin-top: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: var(--text-light);
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.info-item:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.info-item svg {
    color: var(--accent-color);
    flex-shrink: 0;
}

.info-item h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.info-item p {
    color: var(--text-gray);
}

.contact-form {
    background: var(--text-light);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: 'Rubik', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--bg-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background: var(--text-light);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Page Header */
.page-header {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, var(--bg-cream) 0%, var(--secondary-color) 100%);
    text-align: center;
}

.page-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
}

/* Filters Section */
.filters-section {
    padding: 40px 0;
    background: var(--bg-light);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

/* All-properties page: flexbox layout for filters and filtered grid */
.page-all-properties .filters-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.page-all-properties .filters-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.page-all-properties .properties-grid-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 50px;
    justify-content: center;
}

.page-all-properties .properties-grid-flex .property-card {
    flex: 1 1 300px;
    min-width: 280px;
    max-width: 100%;
}

.search-box {
    position: relative;
    margin-bottom: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.search-box svg {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-gray);
}

.search-input {
    width: 100%;
    padding: 15px 20px 15px 50px;
    border: 2px solid var(--secondary-color);
    border-radius: 50px;
    font-family: 'Rubik', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--text-light);
}

.search-input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(255, 159, 28, 0.1);
}

.filters-row {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-select {
    padding: 12px 20px;
    border: 2px solid var(--secondary-color);
    border-radius: 8px;
    font-family: 'Rubik', sans-serif;
    font-size: 1rem;
    background: var(--text-light);
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition);
    min-width: 180px;
}

.filter-select:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(255, 159, 28, 0.1);
}

.btn-secondary {
    background: var(--secondary-color);
    color: var(--text-dark);
    padding: 12px 30px;
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--text-light);
}

.no-results {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-gray);
    font-size: 1.2rem;
}

/* Property Plans Grid */
.property-plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.plan-item {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.plan-item h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.plan-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    transition: var(--transition);
    cursor: pointer;
}

.plan-image:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    color: var(--text-light);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}


/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--primary-color);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        padding: 2rem 0;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu .nav-link {
        color: var(--text-light);
    }

    .nav-menu .nav-link:hover {
        color: rgba(255, 255, 255, 0.9);
    }

    .nav-item-dropdown {
        flex-direction: column;
    }

    .nav-dropdown-menu {
        position: static;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        margin-top: 0;
        padding: 0;
        background: rgba(255, 255, 255, 0.08);
        box-shadow: none;
        border-radius: 8px;
        margin-left: 1rem;
        margin-right: 1rem;
        transform: none;
        transition: max-height 0.3s ease, opacity 0.2s ease, padding 0.2s ease;
    }

    .nav-item-dropdown.dropdown-open .nav-dropdown-menu {
        opacity: 1;
        visibility: visible;
        max-height: 280px;
        padding: 0.5rem 0;
        margin-top: 0.5rem;
    }

    .nav-dropdown-menu a {
        color: var(--text-light);
    }

    .nav-dropdown-menu a:hover {
        background: rgba(255, 255, 255, 0.12);
        color: var(--text-light);
    }

    .nav-dropdown-menu .dropdown-view-more {
        border-top-color: rgba(255, 255, 255, 0.2);
        color: var(--accent-color);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .page-title {
        font-size: 2.2rem;
    }

    .page-subtitle {
        font-size: 1rem;
    }

    .filters-row {
        flex-direction: column;
    }

    .filter-select {
        width: 100%;
    }

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

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

    .contact-content {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .page-title {
        font-size: 1.75rem;
    }

    .property-plans-grid {
        grid-template-columns: 1fr;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn {
        padding: 12px 30px;
        font-size: 0.9rem;
    }

    .property-content {
        padding: 20px;
    }

    .contact-form {
        padding: 25px;
    }
}

/* Property Detail Pages */
.property-hero {
    height: 70vh;
    position: relative;
    margin-top: 70px;
    overflow: hidden;
}

.property-hero-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.property-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(27, 79, 114, 0.8) 0%, rgba(13, 27, 42, 0.7) 100%);
}

.property-hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--text-light);
    z-index: 2;
    padding: 0 20px;
}

.property-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.property-hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    opacity: 0.95;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

.property-details-section {
    padding: 80px 0;
    background: var(--text-light);
}

.property-details-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.property-main-content h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.property-main-content p {
    color: var(--text-gray);
    margin-bottom: 20px;
    line-height: 1.8;
    font-size: 1.05rem;
}

.subsection-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin: 30px 0 20px;
    font-weight: 600;
}

.property-features-list {
    list-style: none;
    padding: 0;
}

.property-features-list li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    color: var(--text-gray);
    font-size: 1.05rem;
}

.property-features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.property-info-card {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.info-card-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    font-weight: 700;
}

.property-info-card .info-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.property-info-card .info-item:last-child {
    border-bottom: none;
}

.property-info-card .info-item strong {
    display: block;
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.property-info-card .info-item p {
    color: var(--text-gray);
    margin: 0;
    line-height: 1.6;
}

.location-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.location-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.location-item {
    background: var(--text-light);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.location-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
}

.location-item svg {
    color: var(--accent-color);
    margin-bottom: 15px;
}

.location-item h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.location-item p {
    color: var(--text-gray);
    margin: 0;
}

@media (max-width: 968px) {
    .property-details-grid {
        grid-template-columns: 1fr;
    }
    
    .property-info-card {
        position: static;
    }
    
    .property-hero-title {
        font-size: 2.5rem;
    }
    
    .property-hero-subtitle {
        font-size: 1.2rem;
    }
}
