/*
 * 3M Estates - Clean Theme v5 Stylesheet
 * 100% Elementor Free Compatible | Zero Shortcodes/HTML Widgets | Clean Selectors
 */

:root {
    --gold-primary: #D4AF37;
    --gold-hover: #E5C378;
    --bg-dark: #06080D;
    --bg-dark-card: #0B0E17;
    --bg-dark-surface: #111625;
    --text-main: #F8FAFC;
    --text-muted: #94A3B8;
    --border-dark: rgba(255, 255, 255, 0.08);
    --border-gold: rgba(212, 175, 55, 0.35);
    --trust-green: #10B981;
    --whatsapp-green: #25D366;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-pill: 9999px;
}

/* Glassmorphism & High-Conversion Card Styles */
.glass-card {
    background: rgba(11, 14, 23, 0.78) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid var(--border-dark) !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45) !important;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.glass-card:hover {
    border-color: var(--gold-primary) !important;
    transform: translateY(-5px) !important;
    box-shadow: 0 20px 50px rgba(212, 175, 55, 0.18) !important;
}

/* Gold CTA Button Styles */
.btn-gold,
.elementor-button.btn-gold,
.btn-gold .elementor-button {
    background: linear-gradient(135deg, #D4AF37 0%, #C5A059 100%) !important;
    background-color: #D4AF37 !important;
    color: #06080D !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    border-radius: var(--radius-pill) !important;
    padding: 16px 36px !important;
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.45) !important;
    border: none !important;
    transition: all 0.35s ease !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    cursor: pointer !important;
}

.btn-gold:hover,
.elementor-button.btn-gold:hover,
.btn-gold .elementor-button:hover {
    transform: translateY(-3px) !important;
    background: linear-gradient(135deg, #E5C378 0%, #D4AF37 100%) !important;
    box-shadow: 0 14px 34px rgba(212, 175, 55, 0.65) !important;
    color: #000 !important;
}

/* Outline & WhatsApp Buttons */
.btn-outline {
    background: transparent !important;
    border: 1.5px solid var(--gold-primary) !important;
    color: var(--gold-primary) !important;
    border-radius: var(--radius-pill) !important;
    padding: 14px 32px !important;
    font-weight: 600 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    transition: all 0.35s ease !important;
}

.btn-outline:hover {
    background: rgba(212, 175, 55, 0.15) !important;
    transform: translateY(-2px) !important;
    color: #FFF !important;
}

/* ==========================================================================
   MASTER GRID & RESPONSIVE LAYOUT SYSTEM (CLEAN SELECTORS)
   Forces exact 55% / 40% side-by-side Hero & About split + 4-card rows
   ========================================================================== */

/* 1. HERO SECTION & ABOUT SECTION (55% Left Col / 40% Right Col Split on Desktop) */
.hero-section,
.about-section,
.elementor-section-full_width {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
}

.hero-section .hero-grid-row,
.hero-grid-row,
.about-section .about-grid-row,
.about-grid-row,
.hero-section .elementor-container > .e-con,
.about-section .elementor-container > .e-con {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    max-width: 1340px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    gap: 40px !important;
    box-sizing: border-box !important;
}

/* Force Left Column EXACTLY 55% Width */
.hero-section .hero-left-col,
.hero-left-col,
.about-section .about-left-col,
.about-left-col,
.hero-section .elementor-container > .e-con > .e-con:first-child,
.about-section .elementor-container > .e-con > .e-con:first-child {
    width: 55% !important;
    max-width: 55% !important;
    flex: 0 0 55% !important;
    box-sizing: border-box !important;
}

/* Force Right Column EXACTLY 40% Width */
.hero-section .hero-right-col,
.hero-right-col,
.hero-lead-form-card,
.about-section .about-right-col,
.about-right-col,
.about-image-card,
.hero-section .elementor-container > .e-con > .e-con:last-child,
.about-section .elementor-container > .e-con > .e-con:last-child {
    width: 40% !important;
    max-width: 40% !important;
    flex: 0 0 40% !important;
    box-sizing: border-box !important;
}

/* Hero Stat Row - Horizontal display below CTAs */
.hero-stats-row {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 28px !important;
    align-items: center !important;
    width: 100% !important;
}

.hero-stat-item {
    flex: 0 0 auto !important;
    min-width: 110px !important;
}

/* 2. FOUR-CARD HORIZONTAL GRIDS (Towers, Amenities, Floor Plans, Specs) */
.towers-grid-row,
.amenities-grid-row,
.floorplans-grid-row,
.specs-grid-row,
.cards-grid-row {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: stretch !important;
    gap: 24px !important;
    width: 100% !important;
    max-width: 1340px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.tower-card,
.amenity-card,
.floorplan-card,
.spec-card,
.towers-grid-row > .e-con,
.amenities-grid-row > .e-con,
.floorplans-grid-row > .e-con,
.specs-grid-row > .e-con,
.cards-grid-row > .e-con {
    width: calc(25% - 24px) !important;
    max-width: calc(25% - 24px) !important;
    flex: 0 0 calc(25% - 24px) !important;
    box-sizing: border-box !important;
}

/* 3. RESPONSIVE BREAKPOINTS (Tablet & Mobile) */
@media (max-width: 1024px) {
    .hero-section .hero-grid-row,
    .hero-grid-row,
    .about-section .about-grid-row,
    .about-grid-row,
    .hero-section .elementor-container > .e-con,
    .about-section .elementor-container > .e-con {
        flex-direction: column !important;
        flex-wrap: wrap !important;
        gap: 32px !important;
    }

    .hero-section .hero-left-col,
    .hero-left-col,
    .hero-section .hero-right-col,
    .hero-right-col,
    .hero-lead-form-card,
    .about-section .about-left-col,
    .about-left-col,
    .about-section .about-right-col,
    .about-right-col,
    .about-image-card,
    .hero-section .elementor-container > .e-con > .e-con:first-child,
    .hero-section .elementor-container > .e-con > .e-con:last-child,
    .about-section .elementor-container > .e-con > .e-con:first-child,
    .about-section .elementor-container > .e-con > .e-con:last-child {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }

    .tower-card,
    .amenity-card,
    .floorplan-card,
    .spec-card,
    .towers-grid-row > .e-con,
    .amenities-grid-row > .e-con,
    .floorplans-grid-row > .e-con,
    .specs-grid-row > .e-con,
    .cards-grid-row > .e-con {
        width: calc(50% - 24px) !important;
        max-width: calc(50% - 24px) !important;
        flex: 0 0 calc(50% - 24px) !important;
    }
}

@media (max-width: 768px) {
    .tower-card,
    .amenity-card,
    .floorplan-card,
    .spec-card,
    .towers-grid-row > .e-con,
    .amenities-grid-row > .e-con,
    .floorplans-grid-row > .e-con,
    .specs-grid-row > .e-con,
    .cards-grid-row > .e-con,
    .hero-stat-item {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }

    .mobile-sticky-bar {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr);
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 999999;
        box-shadow: 0 -4px 20px rgba(0,0,0,0.5);
    }

    .mobile-sticky-bar a,
    .mobile-sticky-bar button {
        padding: 14px 0;
        text-align: center;
        font-weight: 700;
        font-size: 0.85rem;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        text-decoration: none;
    }
}

@media (min-width: 769px) {
    .mobile-sticky-bar {
        display: none !important;
    }
}

/* Modal Styling */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(6, 8, 13, 0.85);
    backdrop-filter: blur(8px);
    z-index: 9999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.modal-content {
    background: var(--bg-dark-card);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-lg);
    padding: 36px;
    max-width: 480px;
    width: 100%;
    position: relative;
    box-shadow: 0 25px 60px rgba(0,0,0,0.7);
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
}

.form-group {
    margin-bottom: 18px;
    text-align: left;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-main);
}

.form-input,
.form-select {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-dark-surface);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-sm);
    color: var(--text-main);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s;
}

.form-input:focus,
.form-select:focus {
    border-color: var(--gold-primary);
}

/* ==========================================================================
   ULTRA-LUXURY SCREENCAPTURE BUTTONS, CARDS & CONTACT FORM 7 STYLING
   ========================================================================== */

/* 1. ULTRA-CLEAR THEME BUTTONS (.btn, .btn-gold, .btn-outline, .elementor-button) */
body .btn,
body .btn-gold,
body .elementor-button {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    padding: 16px 32px !important;
    border-radius: 8px !important;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    line-height: 1.2 !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    text-decoration: none !important;
    overflow: hidden !important;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    background: linear-gradient(135deg, #F9E3A3 0%, #D4AF37 50%, #B89228 100%) !important;
    color: #0A0E17 !important;
    z-index: 1 !important;
}

body .btn:hover,
body .btn-gold:hover,
body .elementor-button:hover {
    transform: translateY(-3px) scale(1.02) !important;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
    background: linear-gradient(135deg, #FFF0BE 0%, #E5C378 50%, #C8A038 100%) !important;
    color: #000000 !important;
}

body .btn-outline {
    background: rgba(10, 14, 23, 0.6) !important;
    border: 1px solid #D4AF37 !important;
    color: #D4AF37 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), inset 0 0 15px rgba(212, 175, 55, 0.1) !important;
}

body .btn-outline:hover {
    background: #D4AF37 !important;
    color: #0A0E17 !important;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5) !important;
    transform: translateY(-3px) !important;
}

/* 2. CRYSTAL-CLEAR GLASSMORPHIC CARDS (.glass-card, .stat-box, .tower-card, .amenity-card, .site-visit-card) */
body .glass-card,
body .stat-box,
body .tower-card,
body .amenity-card,
body .site-visit-card,
body .raghava-card {
    background: linear-gradient(145deg, rgba(26, 33, 49, 0.82) 0%, rgba(13, 17, 26, 0.92) 100%) !important;
    border: 1px solid rgba(212, 175, 55, 0.35) !important;
    border-radius: 14px !important;
    padding: 32px !important;
    box-shadow: 0 14px 35px -10px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    position: relative !important;
    overflow: hidden !important;
}

body .glass-card:hover,
body .stat-box:hover,
body .tower-card:hover,
body .amenity-card:hover,
body .site-visit-card:hover,
body .raghava-card:hover {
    border-color: #D4AF37 !important;
    box-shadow: 0 20px 45px -10px rgba(212, 175, 55, 0.35), inset 0 1px 0 rgba(212, 175, 55, 0.3) !important;
    transform: translateY(-6px) !important;
    background: linear-gradient(145deg, rgba(32, 40, 60, 0.88) 0%, rgba(18, 23, 35, 0.95) 100%) !important;
}

/* Card Titles & Accents */
body .glass-card h3,
body .stat-box h3,
body .tower-card h3,
body .amenity-card h3,
body .site-visit-card h3 {
    color: #FFFFFF !important;
    font-weight: 800 !important;
    letter-spacing: 0.02em !important;
    margin-bottom: 12px !important;
}

/* 3. CONTACT FORM 7 PLUG & PLAY LUXURY STYLES */
.wpcf7 {
    width: 100% !important;
}

.raghava-cf7-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    width: 100% !important;
}

.wpcf7-form-control-wrap {
    display: block !important;
    width: 100% !important;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="date"],
.wpcf7-form select,
.wpcf7-form textarea {
    width: 100% !important;
    padding: 15px 18px !important;
    background: rgba(10, 14, 22, 0.85) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: 8px !important;
    color: #FFFFFF !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 0.95rem !important;
    line-height: 1.4 !important;
    transition: all 0.25s ease !important;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4) !important;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form input[type="date"]:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
    border-color: #D4AF37 !important;
    background: rgba(15, 20, 32, 0.95) !important;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.25), inset 0 2px 4px rgba(0, 0, 0, 0.4) !important;
    outline: none !important;
}

.wpcf7-form input[type="submit"],
.wpcf7-submit {
    width: 100% !important;
    padding: 16px 32px !important;
    background: linear-gradient(135deg, #F9E3A3 0%, #D4AF37 50%, #B89228 100%) !important;
    color: #0A0E17 !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 8px !important;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.35) !important;
}

.wpcf7-form input[type="submit"]:hover,
.wpcf7-submit:hover {
    transform: translateY(-3px) scale(1.02) !important;
    background: linear-gradient(135deg, #FFF0BE 0%, #E5C378 50%, #C8A038 100%) !important;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.6) !important;
}

/* CF7 Response Output Alert Banners */
.wpcf7-response-output {
    margin: 16px 0 0 0 !important;
    padding: 14px 18px !important;
    border-radius: 8px !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    text-align: center !important;
}

.wpcf7 form.sent .wpcf7-response-output {
    background: rgba(16, 185, 129, 0.15) !important;
    border: 1px solid #10B981 !important;
    color: #10B981 !important;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output {
    background: rgba(239, 68, 68, 0.15) !important;
    border: 1px solid #EF4444 !important;
    color: #EF4444 !important;
}
