/*
Theme Name: anothercost
Theme URI: https://example.com
Author: Ibrahem
Author URI: https://example.com
Description: A simple blank theme for landing pages
Version: 1.0.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lavitheme
*/

/* ========================================
   CSS Variables & Reset
======================================== */
:root {
    --color-primary: #fff;
    --color-secondary: #6b3a3a;
    --color-accent: #8b5a5a;
    --color-white: #ffffff;
    --color-light: #f8f9fa;
    --color-text: #333333;
    --color-text-light: #eee;
    --font-primary: 'Cairo', 'Playfair Display', Georgia, serif;
    --font-secondary: 'Cairo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --transition: all 0.3s ease;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
}

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

html {
    scroll-behavior: smooth;
    direction: rtl;
}

html[dir="ltr"] {
    direction: ltr;
}

body {
    font-family: var(--font-secondary);
    line-height: 1.8;
    color: var(--color-text);
    background-color: var(--color-white);
    overflow-x: hidden;
    text-align: right;
}

html[dir="ltr"] body {
    direction: ltr;
    text-align: left;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ========================================
   Header Styles
======================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    background: transparent;
    transition: var(--transition);
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    padding: 15px 0;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo a {
    display: block;
}

.logo-tagline {
    font-size: 8px;
    letter-spacing: 2px;
    color: var(--color-text-light);
    margin-top: 2px;
    text-transform: uppercase;
}

/* Header Left (RTL) */
.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-direction: row-reverse;
}

.whatsapp-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.whatsapp-icon:hover {
    background: rgba(0, 0, 0, 0.05);
}

.btn-consultation {
    padding: 12px 28px;
    border: 1.5px solid var(--color-primary);
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-primary);
    background: transparent;
    transition: var(--transition);
}



.language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.language-switcher-pill {
    padding: 0;
    border-radius: 999px;
    background: transparent;
    border: none;
    backdrop-filter: none;
    box-shadow: none;
}

.language-switcher-link {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    min-width: 106px;
    height: 46px;
    padding: 4px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    direction: ltr;
    background: rgba(10, 16, 24, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
    overflow: hidden;
}

.language-switcher-link:hover {
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.28);
}

.language-switcher-option {
    position: relative;
    z-index: 2;
    width: 50%;
    text-align: center;
    line-height: 1;
    transition: var(--transition);
}

.language-switcher-thumb {
    position: absolute;
    top: 4px;
    left: 4px;
    width: calc(50% - 4px);
    height: calc(100% - 8px);
    border-radius: 999px;
    background: linear-gradient(135deg, #f4d696 0%, #e6b75c 100%);
    box-shadow: 0 10px 22px rgba(230, 183, 92, 0.32);
    transition: transform 0.3s ease;
}

.language-switcher-toggle.is-arabic .language-switcher-thumb {
    transform: translateX(0);
}

.language-switcher-toggle.is-english .language-switcher-thumb {
    transform: translateX(100%);
}

.language-switcher-toggle.is-arabic .option-ar,
.language-switcher-toggle.is-english .option-en {
    color: #0f1720;
}

.language-switcher-toggle.is-arabic .option-en,
.language-switcher-toggle.is-english .option-ar {
    color: rgba(255, 255, 255, 0.72);
}

.hero-language-switcher {
    position: absolute;
    top: 34px;
    right: 40px;
    z-index: 4;
}

.flag-icon {
    font-size: 18px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--color-primary);
    transition: var(--transition);
}

/* ========================================
   Hero Section
======================================== */
.hero-section {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 80px 0 ;

}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        225deg,
        rgba(0, 0, 0, 0.6) 0%,
        rgba(0, 0, 0, 0.4) 40%,
        rgba(0, 0, 0, 0.2) 70%,
        rgba(0, 0, 0, 0.1) 100%
    );
    z-index: 1;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 120px 40px 60px;
    width: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 650px;
}

/* Developer Badge */
.developer-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.developer-logo {
    font-size: 20px;
    font-weight: 300;
    letter-spacing: 2px;
    color: var(--color-primary);
}

.developer-name {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--color-primary);
    text-transform: uppercase;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 20px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-white, #fff);
    margin-bottom: 20px;
    backdrop-filter: blur(4px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4ade80;
    display: inline-block;
    animation: pulse-dot 1.5s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.4); }
}

/* Hero Title */
.hero-title {
    font-family: var(--font-primary);
    font-size: clamp(42px, 6vw, 72px);
    font-weight: 700;
    line-height: 1.1;
    color: var(--color-primary);
    margin-bottom: 24px;
}

/* Hero Description */
.hero-description {
    font-size: 17px;
    line-height: 1.7;
    color: var(--color-text-light);
    margin-bottom: 40px;
    max-width: 520px;
	font-weight : bold
}

.hero-description2 {
    margin-top: -25px;
    font-size: 15px;
    font-weight: 600;
    color: var(--color-primary, #fff);
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}

.btn-call-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #f0f1f3;
    border: 1.5px solid #e0e2e6;
    color: #0d1b2a;
    transition: var(--transition);
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-call-circle:hover {
    background: #0d1b2a;
    color: #fff;
    border-color: #0d1b2a;
    box-shadow: 0 4px 12px rgba(13, 27, 42, 0.3);
}

.btn-call-circle svg {
    transition: var(--transition);
}

.btn-whatsapp-circle {
    background: linear-gradient(145deg, #25d366 0%, #20bd5a 50%, #128c7e 100%);
    border-color: #25d366;
    color: #fff;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp-circle:hover {
    background: linear-gradient(145deg, #34eb77 0%, #25d366 50%, #20bd5a 100%);
    border-color: #34eb77;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 25px;
    background: var(--color-white);
    border: 1.5px solid var(--color-primary);
    border-radius: 40px;
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text);
    transition: var(--transition);
}



.btn-download svg {
    transition: var(--transition);
}

.btn-download:hover svg {
    transform: translateY(2px);
}

.btn-reserve {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 48px;
    background: transparent;
    border: 1.5px solid rgba(26, 26, 46, 0.3);
    border-radius: 40px;
    font-size: 15px;
    font-weight: 500;
    color: var(--color-primary);
    transition: var(--transition);
}

.btn-reserve:hover {
    border-color: var(--color-primary);
    background: rgba(26, 26, 46, 0.05);
}

/* ========================================
   Units Details Section
======================================== */
.units-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.units-header {
    margin-bottom: 50px;
}

.units-section .section-title {
    color: #1a1a2e;
}

.units-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1200px;
    margin: 0 auto;
}

.unit-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #eaeaea;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.unit-card:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    transform: translateY(-6px);
    border-color: transparent;
}

.unit-image {
    width: 100%;
    height: 220px;
    position: relative;
    overflow: hidden;
}

.unit-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.unit-card:hover .unit-image img {
    transform: scale(1.08);
}

.unit-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.3) 0%, transparent 100%);
}

.unit-label {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 6px 16px;
    background: #0d1b2a;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
    z-index: 2;
    letter-spacing: 0.5px;
}

.unit-info {
    padding: 24px 24px 12px;
    text-align: right;
}

.unit-name {
    font-family: var(--font-primary);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1a1a2e;
}

.unit-meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 0;
}

.unit-meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #555;
    font-weight: 500;
    padding: 10px 14px;
    background: #f7f8fa;
    border-radius: 10px;
    transition: background 0.2s;
}

.unit-card:hover .unit-meta-item {
    background: #f0f2f5;
}

.unit-meta-item svg {
    flex-shrink: 0;
    color: #0d1b2a;
}

.unit-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
}

.unit-buttons .unit-cta {
    flex: 1;
    border-top: none;
    border-radius: 10px;
    padding: 10px 16px;
    background: #0d1b2a;
    color: #fff;
    font-size: 14px;
}

.unit-buttons .unit-cta:hover {
    background: #1a2d42;
}

.unit-buttons .btn-call-circle {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: none;
    background: #f0f1f3;
    color: #0d1b2a;
    transition: all 0.3s ease;
}

.unit-buttons .btn-call-circle:hover {
    background: #0d1b2a;
    color: #fff;
}

.unit-buttons .btn-whatsapp-circle {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: none;
    box-shadow: none;
}

.unit-card:hover .unit-buttons .unit-cta {
    background: #0d1b2a;
    color: #fff;
}

.unit-cta {
    display: flex;
    align-items: center;
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 0 0 16px 16px;
    border: none;
    border-top: 1px solid #f0f0f0;
    background: #fafbfc;
    margin: 0;
    color: #0d1b2a;
    gap: 8px;
    transition: all 0.3s ease;
}

.unit-card:hover .unit-cta {
    background: #0d1b2a;
    color: #fff;
    border-color: #0d1b2a;
}

/* Units Responsive */
@media (max-width: 900px) {
    .units-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .units-section {
        padding: 50px 0;
    }
    .units-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 400px;
    }
    .unit-image {
        height: 200px;
    }
}

/* Price Info Card */
.price-info-card {
    position: absolute;
    left: 40px;
    right: auto;
    bottom: 80px;
}

.price-row {
    display: flex;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
	width:100%
}

.price-item {
    padding: 24px 32px;
	flex-grow : 1 ;
    display: flex;
    flex-direction: column;
    min-width: 160px;
}

.price-main {
    background: var(--color-secondary);
    color: var(--color-white);
}

.price-plan {
    background: rgba(60, 40, 40, 0.9);
    color: var(--color-white);
}

.price-value {
    font-family: var(--font-primary);
    font-size: 28px;
    font-weight: 500;
    text-align: center;
    margin-bottom: 4px;
    direction: ltr;
}

.price-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
    margin-bottom: 12px;
}

.price-usd {
    font-size: 14px;
    opacity: 0.9;
}

.price-detail {
    display: flex;
    flex-direction: column;
    font-size: 13px;
    opacity: 0.9;
    line-height: 1.4;
}

/* ========================================
   Responsive Design
======================================== */
@media (max-width: 1200px) {
    .hero-container {
        padding: 100px 30px 60px;
    }
    
    .price-info-card {
position: relative;
inset: auto;}
}

@media (max-width: 992px) {
    .header-container {
        padding: 0 20px;
    }
    
    .btn-consultation {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .hero-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 40px;
        padding-bottom: 40px;
    }
	.herotop{
		        flex-direction: column;

	}
    .hero-language-switcher {
        top: 24px;
        right: 30px;
    }
       .price-info-card {
        position: relative;
        right: 0;
        bottom: 0;
        align-self: flex-start;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .site-header {
        padding: 15px 0;
    }
    
    .header-left {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    

    
    .hero-container {
        padding: 20px;
    }

    .hero-language-switcher {
        position: static;
        margin-bottom: 18px;
        align-self: flex-end;
    }

    .language-switcher-link {
        min-width: 94px;
        height: 42px;
        padding: 4px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-description {
        font-size: 15px;
    }
    
    .hero-buttons {
		width : 100%
    }
    
    .btn-download,
    .btn-reserve {
        
        justify-content: center;
    }

    
    .price-item {
        padding: 20px 24px;
    }
}

@media (max-width: 480px) {
    .logo svg {
        width: 100px;
    }
    
    .hero-title {
        font-size: 30px;
    }
    
    .developer-name {
        font-size: 12px;
    }
}

/* ========================================
   Latest Projects Section
======================================== */
.latest-projects-section {
    padding: 80px 0;
    background-color: var(--color-white);
    position: relative;
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.section-title {
    font-family: var(--font-primary);
    font-size: 34px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 12px;
    letter-spacing: 1px;
    text-align: center;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Project Card */
.project-card {
    display: block;
    position: relative;
    width: 100%;
    height: 450px;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
}

.project-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.85) 0%,
        rgba(0, 0, 0, 0.6) 30%,
        rgba(0, 0, 0, 0.4) 60%,
        rgba(0, 0, 0, 0.3) 100%
    );
    transition: var(--transition);
}

.project-card:hover .project-overlay {
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.9) 0%,
        rgba(0, 0, 0, 0.7) 30%,
        rgba(0, 0, 0, 0.5) 60%,
        rgba(0, 0, 0, 0.4) 100%
    );
}

.project-info {
    position: absolute;
    bottom: 50px;
    right: 0;
    left: 0;
    padding: 30px;
    color: var(--color-white);
    z-index: 2;
	text-align: left;
}

.project-name {
    font-family: var(--font-primary);
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.3;
}

.project-location {
    font-size: 14px;
    opacity: 0.85;
    font-weight: 400;
}

/* Floating Action Buttons */
.floating-actions {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 0;
    z-index: 999;
}

.floating-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px 20px;
    background: var(--color-primary);
    color: var(--color-white);
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.floating-btn:hover {
    background: var(--color-secondary);
}

.floating-btn-arrow {
    padding: 15px;
}

.floating-btn-request,
.floating-btn-call {
    flex-direction: column;
    padding: 15px 10px;
}

.floating-btn span {
    font-size: 11px;
    font-weight: 500;
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

.floating-btn-request span,
.floating-btn-call span {
    writing-mode: horizontal-tb;
    font-size: 12px;
}

/* ========================================
   Latest Projects Responsive
======================================== */
@media (max-width: 1200px) {
    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .project-card {
        height: 400px;
    }
}

@media (max-width: 992px) {
    .section-container {
        padding: 0 20px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .project-card {
        height: 380px;
    }
}

@media (max-width: 768px) {
    .latest-projects-section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .project-card {
        height: 360px;
    }
    
    .project-name {
        font-size: 20px;
    }
    
    .floating-actions {
        bottom: 20px;
        top: auto;
        left: 50%;
        transform: translateX(-50%);
        flex-direction: row;
        gap: 10px;
    }
    
    .floating-btn {
        border-radius: 50px;
        padding: 12px 20px;
    }
    
    .floating-btn-arrow {
        display: none;
    }
    
    .floating-btn-request,
    .floating-btn-call {
        flex-direction: row;
    }
    
    .floating-btn span {
        writing-mode: horizontal-tb;
    }
}

@media (max-width: 480px) {
    .project-card {
        height: 320px;
    }
    
    .project-info {
        padding: 20px;
    }
    
    .project-name {
        font-size: 18px;
    }
}

/* ========================================
   Payment Plan Section
======================================== */
.payment-plan-section {
    padding: 80px 0;
    background-color: #ffffff;
}

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

.payment-title {
    font-family: var(--font-primary);
    font-size: 36px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 20px;
}

.payment-description {
    font-size: 16px;
    line-height: 1.8;
    color: #555555;
    max-width: 800px;
    margin: 0 auto;
}

/* Payment Cards */
.payment-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.payment-card {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 40px 30px 30px;
    text-align: center;
    transition: all 0.35s ease;
}

.payment-card:hover {
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
    border-color: transparent;
}

.payment-percentage {
    font-family: var(--font-primary);
    font-size: 45px;
    font-weight: 300;
    color: #0d1b2a;
    line-height: 1;
    margin-bottom: 20px;
}

.payment-label {
    background: #0d1b2a;
    padding: 12px 20px;
    margin: 0 -30px;
}

.payment-label span {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
}

.payment-note {
    font-size: 15px;
    color: #333333;
    margin-top: 20px;
    font-weight: 500;
}

/* Payment Plan Responsive */
@media (max-width: 992px) {
    .payment-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .payment-card:last-child {
        grid-column: span 2;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .payment-percentage {
        font-size: 45px;
    }
}

@media (max-width: 768px) {
    .payment-plan-section {
        padding: 60px 0;
    }
    
    .payment-title {
        font-size: 28px;
    }
    
    .payment-description {
        font-size: 14px;
        padding: 0 20px;
    }
    
    .payment-cards {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 20px;
    }
    
    .payment-card:last-child {
        grid-column: auto;
        max-width: none;
        width: 100%;
    }
    
    .payment-percentage {
        font-size: 35px;
    }
    
    .payment-card {
        padding: 30px 20px 25px;
    }
    
    .payment-label {
        margin: 0 -20px;
        padding: 10px 15px;
    }
}

@media (max-width: 480px) {
    .payment-percentage {
        font-size: 35px;
    }
    
    .payment-label span {
        font-size: 14px;
    }
}

/* ========================================
   Amenities Section
======================================== */
.amenities-section {
    padding: 80px 0;
    background-color: #ffffff;
}

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

.amenities-title {
    font-family: var(--font-primary);
    font-size: 36px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 20px;
}

.amenities-description {
    font-size: 16px;
    line-height: 1.8;
    color: #555555;
    max-width: 900px;
    margin: 0 auto;
}

/* ========================================
   Gallery Section
======================================== */
.gallery-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.gallery-header {
    margin-bottom: 30px;
}

/* Gallery Swiper */
.gallery-swiper {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    max-width: 1050px;
    margin: 0 auto;
}

.gallery-slide {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-slide:hover img {
    transform: scale(1.03);
}

.gallery-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    color: #1a1a2e;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.gallery-nav-btn:hover {
    background: #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
}

.gallery-nav-prev {
    left: 16px;
}

.gallery-nav-next {
    right: 16px;
}

.gallery-pagination {
    text-align: center;
    margin-top: 20px;
}

.gallery-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #ccc;
    opacity: 1;
    margin: 0 4px;
}

.gallery-pagination .swiper-pagination-bullet-active {
    background: #0d1b2a;
    width: 24px;
    border-radius: 4px;
}

/* Gallery Responsive */
@media (max-width: 768px) {
    .gallery-nav-btn {
        width: 36px;
        height: 36px;
    }
    .gallery-section {
        padding: 50px 0;
    }
}

/* Gallery Lightbox */
.gallery-slide[data-lightbox] {
    cursor: pointer;
}

.gallery-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.gallery-lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    animation: lightboxFadeIn 0.3s ease;
}

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

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: background 0.2s;
    z-index: 10;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.15);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    cursor: pointer;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 10;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.25);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

@media (max-width: 768px) {
    .lightbox-nav {
        width: 38px;
        height: 38px;
    }
    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }
    .lightbox-close { top: 12px; right: 12px; }
}

/* Amenities Grid */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 50px;
}

.amenity-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 20px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.35s ease;
    border: 1px solid transparent;
}

.amenity-item:hover {
    background: #ffffff;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
    border-color: #eee;
}

.amenity-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    color: #0d1b2a;
    transition: var(--transition);
}

.amenity-item:hover .amenity-icon {
    color: #1a1a2e;
    transform: scale(1.1);
}

.amenity-icon svg {
    width: 100%;
    height: 100%;
}

.amenity-name {
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 600;
    color: #1a1a2e;
    line-height: 1.4;
}

/* CTA Button */
.amenities-cta {
    text-align: center;
    margin-top: 50px;
}

.section-cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.section-cta-buttons .btn-call-circle {
    width: 50px;
    height: 50px;
}

.btn-register {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 44px;
    background: #0d1b2a;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.35s ease;
}

.btn-register:hover {
    background: #162d4a;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(13, 27, 42, 0.25);
}

.btn-register svg {
    transition: var(--transition);
}

.btn-register:hover svg {
    transform: translateX(-3px);
}

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

@media (max-width: 992px) {
    .amenities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .amenity-icon {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 768px) {
    .amenities-section {
        padding: 60px 0;
    }
    
    .amenities-title {
        font-size: 28px;
    }
    
    .amenities-description {
        font-size: 14px;
        padding: 0 20px;
    }
    
    .amenities-grid {
        padding: 0 20px;
    }
    
    .amenity-item {
        padding: 25px 15px;
    }
    
    .btn-register {
        padding: 14px 32px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
        .amenities-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 2px;
        padding: 0;
    }
   .amenity-icon {
        width: 45px;
        height: 45px;
    }
    
    .amenity-name {
        font-size: 13px;
    }
}

/* ========================================
   Video Section
======================================== */
.video-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.video-header {
    text-align: center;
    margin-bottom: 50px;
}

.video-title {
    font-family: var(--font-primary);
    font-size: 36px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 20px;
}

.video-description {
    font-size: 16px;
    line-height: 1.8;
    color: #555555;
    max-width: 700px;
    margin: 0 auto;
}

.video-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.project-video {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16/9;
    background: #000;
}

.video-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.video-play-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.play-button {
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    transition: var(--transition);
}

.play-button:hover {
    transform: scale(1.1);
}

/* Video Responsive */
@media (max-width: 768px) {
    .video-section {
        padding: 60px 0;
    }
    
    .video-title {
        font-size: 28px;
    }
    
    .video-description {
        font-size: 14px;
        padding: 0 20px;
    }
    
    .video-container {
        margin: 0 20px;
        border-radius: 8px;
    }
    
    .play-button svg {
        width: 60px;
        height: 60px;
    }
}

/* ========================================
   Contact Form Section
======================================== */
.contact-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.contact-header {
    text-align: center;
    margin-bottom: 50px;
}

.contact-title {
    font-family: var(--font-primary);
    font-size: 36px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 20px;
}

.contact-description {
    font-size: 16px;
    line-height: 1.8;
    color: #555555;
    max-width: 600px;
    margin: 0 auto;
}

/* Inline Contact Form */
.contact-form-inline {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.form-row {
    display: flex;
    gap: 20px;
    align-items: flex-end;
}

.form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

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

/* Shared Form Inputs */
.form-input {
    width: 100%;
    padding: 16px 20px;
    font-family: var(--font-secondary);
    font-size: 15px;
    color: #333333;
    background: #ffffff;
    border: 1.5px solid #e0e0e0;
    border-radius: 12px;
    transition: var(--transition);
    text-align: right;
}

.form-input:focus {
    outline: none;
    border-color: #0d1b2a;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(13, 27, 42, 0.08);
}

.form-input::placeholder {
    color: #999999;
}

.input-text,
.input-phone {
    /* Same styling inherited from .form-input */
}

/* Shared Submit Button */
.btn-form-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 40px;
    background: #0d1b2a;
    color: #ffffff;
    font-family: var(--font-secondary);
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.35s ease;
    white-space: nowrap;
}

.btn-form-submit:hover {
    background: #162d4a;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(13, 27, 42, 0.25);
}

.btn-form-submit svg {
    transition: var(--transition);
}

.btn-form-submit:hover svg {
    transform: translateX(-3px);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.btn-form-submit:disabled {
    opacity: 0.8;
    cursor: not-allowed;
}

/* Popup Form */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    visibility: visible;
    transition: var(--transition);
    padding: 20px;
}

.popup-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}

.popup-container {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px;
    max-width: 450px;
    width: 100%;
    position: relative;
    transform: scale(1);
    transition: var(--transition);
}

.popup-overlay.hidden .popup-container {
    transform: scale(0.9);
}

.popup-close {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: #333333;
    transition: var(--transition);
}

.popup-close:hover {
    background: #e5e5e5;
    color: #0d1b2a;
}

.popup-header {
    text-align: center;
    margin-bottom: 30px;
}

.popup-title {
    font-family: var(--font-primary);
    font-size: 28px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 10px;
}

.popup-description {
    font-size: 15px;
    color: #666666;
}

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

.popup-form .btn-form-submit {
    width: 100%;
    margin-top: 10px;
}

/* Contact Form Responsive */
@media (max-width: 768px) {
    .contact-section {
        padding: 60px 0;
    }
    
    .contact-title {
        font-size: 28px;
    }
    
    .contact-description {
        font-size: 14px;
        padding: 0 20px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .form-row .form-group {
        width: 100%;
    }
    
    .form-input {
        padding: 14px 18px;
    }
    
    .btn-form-submit {
        width: 100%;
        padding: 16px 30px;
        font-size: 15px;
    }
    
    .popup-container {
        padding: 30px 25px;
    }
    
    .popup-title {
        font-size: 24px;
    }
}

/* ========================================
   Footer
======================================== */
.site-footer {
    background: #0d1b2a;
    padding: 30px 0;
    text-align: center;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.copyright {
    font-size: 14px;
    color: #ffffff;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .site-footer {
        padding: 20px 0;
    }
    
    .copyright {
        font-size: 13px;
    }
}

/* ========================================
   Fixed Contact Buttons
======================================== */
.fixed-contact-buttons {
    position: fixed;
    left: 25px;
    bottom: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9998;
}

.fixed-btn {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.35);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.fixed-btn:hover {
    transform: scale(1.15) translateY(-3px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.45);
}

.fixed-btn svg {
    width: 28px;
    height: 28px;
    filter: drop-shadow(0 2px 3px rgba(0,0,0,0.2));
}

/* Phone Button */
.fixed-btn-phone {
    background: linear-gradient(145deg, #2563eb 0%, #1d4ed8 50%, #1e40af 100%);
    box-shadow: 0 6px 25px rgba(37, 99, 235, 0.5);
}

.fixed-btn-phone:hover {
    background: linear-gradient(145deg, #3b82f6 0%, #2563eb 50%, #1d4ed8 100%);
    box-shadow: 0 10px 35px rgba(37, 99, 235, 0.6);
}

/* WhatsApp Button */
.fixed-btn-whatsapp {
    background: linear-gradient(145deg, #25d366 0%, #20bd5a 50%, #128c7e 100%);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
}

.fixed-btn-whatsapp:hover {
    background: linear-gradient(145deg, #34eb77 0%, #25d366 50%, #20bd5a 100%);
    box-shadow: 0 10px 35px rgba(37, 211, 102, 0.6);
}

/* Pulse Animation for WhatsApp */
.fixed-btn-whatsapp::before {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25d366;
    animation: pulse 2s infinite;
    z-index: -1;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.4);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}

/* Fixed Buttons Responsive */
@media (max-width: 768px) {
    .fixed-contact-buttons {
        left: 15px;
        bottom: 15px;
        gap: 12px;
    }
    
    .fixed-btn {
        width: 54px;
        height: 54px;
    }
    
    .fixed-btn svg {
        width: 24px;
        height: 24px;
    }
    
    .fixed-btn-whatsapp::before {
        width: 54px;
        height: 54px;
    }
}

/* Clickable Elements */
.amenity-item, div#openPopupBtn, .project-image, .payment-card, .btn-register {
    cursor: pointer;
}

@media screen and (max-width: 768px) {
    .project-video {
        aspect-ratio: 9/12;
    }
}


.herotop {
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.project-card div#openPopupBtn {
    position: absolute;
    bottom: 10px;
    padding: 8px 20px;
    right: auto;
    left: auto;
    margin: 0 20px;
	text-align : center ;
    width: calc(100% - 40px);
}

html[dir="ltr"] .header-left {
    flex-direction: row;
}

html[dir="ltr"] .logo,
html[dir="ltr"] .hero-content,
html[dir="ltr"] .unit-info,
html[dir="ltr"] .popup-header,
html[dir="ltr"] .project-info,
html[dir="ltr"] .price-item,
html[dir="ltr"] .price-detail {
    text-align: left;
}

html[dir="ltr"] .contact-header,
html[dir="ltr"] .payment-header,
html[dir="ltr"] .amenities-header,
html[dir="ltr"] .video-header,
html[dir="ltr"] .footer-container,
html[dir="ltr"] .copyright,
html[dir="ltr"] .section-title {
    text-align: center;
}



html[dir="ltr"] .hero-language-switcher {
    right: auto;
    left: 40px;
}

html[dir="ltr"] .price-info-card {
    right: auto;
    left: 40px;
}

html[dir="ltr"] .unit-badge {
    right: auto;
    left: 14px;
}

html[dir="ltr"] .form-input,
html[dir="ltr"] .input-select,
html[dir="ltr"] .popup-container,
html[dir="ltr"] .contact-form,
html[dir="ltr"] .popup-form,
html[dir="ltr"] .unit-meta-item {
    direction: ltr;
    text-align: left;
}

html[dir="ltr"] .popup-close {
    left: auto;
    right: 15px;
}

html[dir="ltr"] .fixed-contact-buttons {
    right: auto;
    left: 25px;
}

html[dir="ltr"] .lightbox-prev {
    left: auto;
    right: 20px;
}

html[dir="ltr"] .lightbox-next {
    right: auto;
    left: 20px;
}

html[dir="ltr"] .lightbox-close {
    right: auto;
    left: 20px;
}

html[dir="ltr"] .project-card div#openPopupBtn {
    left: auto;
    right: auto;
}

@media (max-width: 992px) {
    html[dir="ltr"] .hero-language-switcher {
        left: 30px;
    }

    html[dir="ltr"] .price-info-card {
        left: 0;
    }
}

@media (max-width: 768px) {
    html[dir="ltr"] .hero-language-switcher {
        left: auto;
        align-self: flex-start;
    }

    html[dir="ltr"] .fixed-contact-buttons {
        left: 15px;
    }
}

svg {
    pointer-events: none;
}
