/*
Theme Name: Modern Estate
Theme URI: https://example.com/modern-estate
Author: Antigravity
Author URI: https://example.com
Description: A premium real estate theme with carousel features, inspired by classic designs but with a modern twist.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: modern-estate
*/

:root {
    --primary-color: #1e293b;
    /* Slate 800 */
    --secondary-color: #ca8a04;
    /* Yellow 600 - Gold-ish */
    --text-color: #334155;
    /* Slate 700 */
    --bg-light: #f8fafc;
    /* Slate 50 */
    --white: #ffffff;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s ease;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: var(--bg-light);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header: Professional Standard Construction Style */
.site-header {
    background: #1e293b;
    /* Dark Slate Blue */
    color: var(--white);
    height: 90px;
    /* Reduced from 120px */
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    padding: 0;
    /* Reset */
    width: 100%;
}

.header-inner {
    display: flex;
    justify-content: flex-start;
    /* Align Left towards logo */
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 0 40px;
    gap: 60px;
    /* Space between logo and menu */
}

/* Logo Section */
.site-branding {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 5px 0;
    flex-shrink: 0;
    /* Prevent squishing */
}

/* Logo Size Logic */
.site-branding img,
.custom-logo-link img {
    height: 75px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.site-branding:hover img {
    transform: scale(1.02);
}

/* Navigation Section */
.main-navigation {
    height: 100%;
    display: flex;
    align-items: center;
    /* Remove flex-grow to stop it from pushing socials */
}

.main-navigation ul {
    display: flex;
    gap: 30px;
    /* Slightly tighter spacing */
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation a {
    color: #f1f5f9;
    /* Slate 100 */
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 10px 0;
    position: relative;
    transition: color 0.3s ease;
}

.main-navigation a:hover {
    color: var(--secondary-color);
    /* Gold/Yellow accent */
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.main-navigation a:hover::after {
    width: 100%;
}

.main-navigation a:hover {
    color: var(--secondary-color);
}

/* Header Socials */
.header-right-socials {
    margin-left: auto;
    /* Push to the far right */
    display: flex;
    gap: 20px;
    align-items: center;
}

.header-right-socials a {
    color: var(--white);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.header-right-socials a:hover {
    color: var(--secondary-color);
    transform: scale(1.1);
}

/* Hero Fix */
.hero-section {
    margin-top: 0;
    position: relative;
    height: calc(100vh - 90px);
    /* Updated calc */
    min-height: 600px;
    overflow: hidden;
}

.hero-slider {
    width: 100%;
    height: 100%;
}

/* --- Custom Vanilla Slider (Conflict Free) --- */
.custom-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #0f172a;
    /* Dark background to prevent white flashes */
}

.slider-track {
    width: 100%;
    height: 100%;
    position: relative;
}

.custom-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    /* visibility: hidden; removed */
    pointer-events: none;
    transition: opacity 1s ease-in-out;
    z-index: 1;

    /* Flex Center Content */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.custom-slide.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
}

/* Ensure Hero Content is centered */
.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Custom Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 24px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 100;
    /* Boosted Z-Index */
    pointer-events: auto;
    /* Force clickable */
}

.slider-arrow:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-50%) scale(1.1);
}

.prev-arrow {
    left: 20px;
}

.next-arrow {
    right: 20px;
}

/* Custom Dots */
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 100;
}

.dot {
    width: 14px;
    height: 14px;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: background 0.3s ease;
    padding: 0;
    pointer-events: auto;
    position: relative;
    z-index: 101;
}

.dot.active {
    background: var(--secondary-color);
}

@media (hover: hover) {
    .dot:hover {
        background: var(--secondary-color);
    }
}

/* Standard Swiper Navigation - Reworked */
.hero-next,
.hero-prev {
    position: absolute !important;
    /* Force Critical Positioning */
    top: 50% !important;
    transform: translateY(-50%);
    color: var(--white) !important;
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.3) !important;
    /* Semi-transparent background for click target */
    border-radius: 50%;
    /* Circle again for better touch target */
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    z-index: 100 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.hero-prev {
    left: 20px !important;
}

.hero-next {
    right: 20px !important;
}

.hero-next::after,
.hero-prev::after {
    font-size: 24px !important;
    font-weight: bold;
}

.hero-next:hover,
.hero-prev:hover {
    background: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
    transform: translateY(-50%) scale(1.1);
    /* Keep centered vertically while scaling */
}

.hero-slide {
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 20px;
}

.hero-content h2 {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--secondary-color);
    color: var(--white);
    font-weight: 600;
    border-radius: 2px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--secondary-color);
}

.btn:hover {
    background: transparent;
    color: var(--white);
}

/* Section General */
.section-padding {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
}

/* About Section */
.about-section {
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.about-image img {
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Developments Carousel */
.developments-section {
    background: var(--bg-light);
}

.developments-slider {
    padding-bottom: 50px;
    /* Space for pagination */
}

.dev-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    height: 100%;
}

.dev-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.dev-image {
    height: 250px;
    overflow: hidden;
}

.dev-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.dev-card:hover .dev-image img {
    transform: scale(1.1);
}

.dev-content {
    padding: 25px;
}

.dev-content h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.dev-location {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.dev-link {
    color: var(--secondary-color);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

/* Footer */
.site-footer {
    background: var(--primary-color);
    color: #94a3b8;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-widget h4 {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content h2 {
        font-size: 2.5rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .main-navigation {
        display: none;
        /* Mobile menu implementation needed for full theme */
    }

    .developments-grid {
        gap: 20px;
    }
}

/* Page Header */
.page-header {
    background: var(--white);
    padding: 60px 0 20px;
    text-align: center;
}

.page-title {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.title-separator {
    width: 60px;
    height: 2px;
    background: #ccc;
    margin: 0 auto;
}

/* Developments Grid */
.developments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

/* Modern Dev Card */
.dev-card-modern {
    background: var(--white);
    border-radius: 0;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.dev-image-wrapper {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.dev-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.dev-card-modern:hover .dev-image-wrapper img {
    transform: scale(1.05);
}

.dev-overlay-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(30, 41, 59, 0.9);
    /* Slate 800 with opacity */
    color: var(--white);
    padding: 12px 20px;
    font-size: 0.9rem;
    font-family: var(--font-body);
    display: flex;
    align-items: center;
    gap: 5px;
}

.dev-status {
    font-weight: 700;
    color: #e2e8f0;
}

.dev-details {
    padding: 25px 0;
    text-align: center;
}

.dev-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dev-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 25px;
    color: #64748b;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
}

.meta-item svg {
    width: 28px;
    height: 28px;
    stroke: var(--primary-color);
}

.dev-price-pill {
    background: #ecfdf5;
    /* emerald-50 */
    color: #064e3b;
    /* emerald-900 */
    display: inline-block;
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 1.05rem;
}

.dev-price-pill strong {
    font-weight: 700;
    font-size: 1.15rem;
}

/* Fix Swiper Buttons */
.swiper-button-next,
.swiper-button-prev {
    color: #ffffff !important;
    background: rgba(0, 0, 0, 0.4);
    /* Slightly darker for contrast */
    width: 70px;
    /* Bigger touch target */
    height: 70px;
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    z-index: 100 !important;
    transition: all 0.3s ease;
    cursor: pointer;
    /* Ensure pointer cursor */
    border: 2px solid rgba(255, 255, 255, 0.2);
    /* Subtle border */
}

/* Hero Overlay for Readability */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* 40% dark overlay */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    /* Ensure text is above overlay */
    /* ... existing styles ... */
    max-width: 800px;
}

/* Ensure Swiper Buttons are above everything */
.hero-next,
.hero-prev,
.hero-pagination {
    z-index: 100 !important;
    position: absolute !important;
    pointer-events: auto !important;
    /* Force clickable */
}

/* Position the dots correctly since they lost default styles */
.hero-pagination {
    bottom: 20px !important;
    left: 0;
    width: 100%;
    text-align: center;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    margin: 0 5px !important;
    /* Add spacing manually */
    display: inline-block;
    border-radius: 50%;
    cursor: pointer !important;
}

.swiper-pagination-bullet-active {
    background: var(--secondary-color);
}

/* Updated About Button */
.about-btn-wrapper {
    margin-top: 20px;
}

.btn-dark {
    background-color: #333;
    color: #fff;
    border: 1px solid #333;
}

.btn-dark:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

/* --- Contact Page Styles --- */
.contact-section-wrapper {
    position: relative;
    width: 100%;
    min-height: calc(100vh - 90px);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
}

.contact-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    /* Use Image 3 as background with dark overlay */
    z-index: 1;
}

.contact-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Left Col - Contact Info */
.contact-info-col {
    color: #fff;
}

.contact-heading {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.1;
}

.contact-intro {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.6;
    max-width: 500px;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.info-icon-wrapper {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.info-item:hover .info-icon-wrapper {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: scale(1.1);
}

.info-icon-wrapper svg {
    stroke: #fff;
    width: 24px;
    height: 24px;
}

.info-content {
    display: flex;
    flex-direction: column;
}

.info-label {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
    opacity: 0.7;
    margin-bottom: 4px;
}

.info-link {
    font-size: 1.2rem;
    font-weight: 500;
    color: #fff;
}

.info-link:hover {
    color: var(--secondary-color);
}

.social-connect {
    margin-top: 20px;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #25D366;
    /* WhatsApp Green */
    color: #fff;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.whatsapp-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    color: #fff;
}

.whatsapp-btn svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* Right Col - Form */
.contact-form-col {
    position: relative;
    padding-left: 20px;
    /* Slight separation */
}

.contact-form-card {
    background: #ffffff;
    padding: 45px;
    border-radius: 0px;
    /* Sharp premium edges or slight radius */
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    /* Deep shadow */
    position: relative;
}

.contact-form-card::before {
    content: '';
    position: absolute;
    top: -10px;
    right: -10px;
    bottom: -10px;
    left: -10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: -1;
    /* Background border effect if transparent, but here it's complicated. */
    /* Let's skip the fancy outer border if card is white. */
    display: none;
}

.form-title {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 30px;
    font-weight: 700;
    font-family: var(--font-heading);
    text-align: center;
}

.modern-contact-form .form-group {
    margin-bottom: 25px;
}

.modern-contact-form label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #64748b;
    margin-bottom: 8px;
    font-weight: 600;
}

.modern-contact-form input,
.modern-contact-form textarea {
    width: 100%;
    padding: 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0;
    /* Boxy premium look */
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.modern-contact-form input:focus,
.modern-contact-form textarea:focus {
    outline: none;
    background: #fff;
    border-color: var(--secondary-color);
}

.submit-btn {
    width: 100%;
    padding: 18px;
    background: var(--primary-color);
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 2px solid var(--primary-color);
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    font-size: 0.9rem;
}

.submit-btn:hover {
    background: transparent;
    color: var(--primary-color);
}

/* Responsive */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .contact-info-col {
        text-align: center;
        padding-bottom: 20px;
    }

    .info-list {
        align-items: center;
    }

    .contact-heading {
        font-size: 2.5rem;
    }

    .contact-form-col {
        padding-left: 0;
    }
}

/* --- About Us Page (Elite Template) --- */
.about-hero {
    position: relative;
    height: 60vh;
    /* Premium height, not too big */
    min-height: 400px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    background-color: #1e293b;
    /* Fallback colour */
}

.about-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
    z-index: 1;
}

.about-hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    text-align: left;
    /* Elite aligned left usually looks sharper */
}

.hero-subtitle {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 20px;
    opacity: 0.9;
    /* Increased opacity */
    color: #fbbf24;
    /* Brighter Gold/Amber for better contrast */
    font-weight: 600;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    line-height: 1.1;
    font-weight: 700;
    color: #ffffff !important;
    /* Force White to override global H1 dark color */
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    /* Add shadow for better legibility */
}

/* Vision Section */
.about-vision-section {
    background: #fff;
}

.vision-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    /* 1/3 Heading, 2/3 Content */
    gap: 60px;
}

.section-heading-sm {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.heading-line {
    width: 40px;
    height: 2px;
    background: var(--secondary-color);
}

.lead-text {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--primary-color);
    margin-bottom: 25px;
    font-weight: 500;
}

.vision-content p {
    color: #64748b;
    line-height: 1.8;
}

/* Values Section */
.values-section {
    background: #f8fafc;
    padding: 100px 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
}

.value-item {
    position: relative;
    padding: 30px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease;
}

.value-item:hover {
    transform: translateY(-10px);
}

.value-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 4rem;
    color: rgba(0, 0, 0, 0.05);
    position: absolute;
    top: 10px;
    right: 20px;
    line-height: 1;
}

.value-item h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-weight: 700;
}

.value-item p {
    font-size: 0.95rem;
    color: #64748b;
}

/* Signature Section */
.signature-section {
    text-align: center;
    background: #fff;
}

.brand-quote {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-style: italic;
    color: var(--primary-color);
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.4;
}

.brand-author {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--secondary-color);
    font-style: normal;
}

/* Responsive About */
@media (max-width: 768px) {
    .about-hero {
        height: 50vh;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .vision-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   MOBILE NAVIGATION & RESPONSIVE FIXES
   ========================================= */

/* Mobile Toggle Button */
.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 2000;
    /* Highest priority */
    padding: 10px;
}

.mobile-nav-toggle span {
    display: block;
    width: 30px;
    height: 2px;
    background-color: var(--white);
    margin: 6px 0;
    transition: all 0.3s ease;
}

/* Active State for Hamburger (X shape) */
.mobile-nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.mobile-nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* Mobile Menu Overlay - Premium */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Dark gradient background with blur */
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1500;
    display: none !important;
    /* Force hide on desktop */
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

/* Force Flex on Mobile */
@media (max-width: 992px) {
    .mobile-menu-overlay {
        display: flex !important;
        align-items: center;
        justify-content: center;
    }
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-inner {
    width: 100%;
    max-width: 400px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 80vh;
    /* Don't fill full height to avoid overlaying OS bars */
    text-align: center;
}

.mobile-menu-logo {
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.5s ease 0.1s;
}

.mobile-menu-overlay.active .mobile-menu-logo {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu-items {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.mobile-menu-items li {
    margin: 20px 0;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s ease;
}

/* Staggered Animation Delay for Items */
.mobile-menu-overlay.active .mobile-menu-items li:nth-child(1) {
    transition-delay: 0.1s;
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu-overlay.active .mobile-menu-items li:nth-child(2) {
    transition-delay: 0.2s;
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu-overlay.active .mobile-menu-items li:nth-child(3) {
    transition-delay: 0.3s;
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu-overlay.active .mobile-menu-items li:nth-child(4) {
    transition-delay: 0.4s;
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu-items a {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: #f8fafc;
    /* Slate 50 */
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    position: relative;
    display: inline-block;
    transition: color 0.3s ease;
}

.mobile-menu-items a:hover {
    color: var(--secondary-color);
}

/* Menu Footer */
.mobile-menu-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease 0.5s;
    width: 100%;
}

.mobile-menu-overlay.active .mobile-menu-footer {
    opacity: 1;
    transform: translateY(0);
}

.mobile-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 12px 25px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.mobile-contact-btn:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
}

.mobile-socials {
    display: flex;
    gap: 20px;
}

.mobile-socials a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.mobile-socials a:hover {
    background: #fff;
    color: var(--primary-color);
    transform: scale(1.1);
}

/* RESPONSIVE OVERRIDES */
@media (max-width: 992px) {
    .main-navigation {
        display: none;
        /* Hide standard nav on tablet/mobile */
    }

    .mobile-nav-toggle {
        display: block;
        position: absolute;
        right: 20px;
        top: 35px;
        /* Adjust based on header height */
        pointer-events: auto !important;
    }

    .header-right-socials {
        margin-right: 60px;
        /* Push WhatsApp icon left of hamburger */
    }
}

@media (max-width: 768px) {

    /* Fix Page Titles being too large */
    .page-title {
        font-size: 2.2rem;
        line-height: 1.2;
        word-wrap: break-word;
    }

    /* Developments Grid: Force 1 column and reduce width issues */
    .developments-grid {
        grid-template-columns: 1fr !important;
        gap: 30px;
        padding: 0 10px;
    }

    /* Ensure cards don't overflow */
    .dev-card-modern {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }

    /* Adjust overlay text sizing */
    .dev-overlay-bar {
        font-size: 0.8rem;
        padding: 10px;
    }

    .dev-title {
        font-size: 1.1rem;
        padding: 0 10px;
    }

    .dev-meta {
        gap: 15px;
        flex-wrap: wrap;
    }

    .site-header {
        height: 80px;
        /* Ensure header isn't too tall */
    }

    .mobile-nav-toggle {
        top: 25px;
        /* Adjust for smaller header */
    }
}

/* Mobile Menu Close Button */
.mobile-menu-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
 