@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

@font-face {
    font-family: 'Mona Sans';
    src: url('../fonts/Mona-Sans.woff2') format('woff2');
    font-weight: 200 900;
    font-stretch: 75% 125%;
}

@font-face {
    font-family: 'PFScandal Black';
    src: url('../fonts/PF Scandal Pro Display Black.ttf') format('truetype');
}

:root {
    /* Color Palette - Precise Match */
    --primary: #4B1A7A;
    --dark: #1A1A1A;
    --white: #FFFFFF;
    --gray-bg: #EAECEF;
    --gray-text: #666666;
    --accent-bg: #FDFBF7;
    --submit-btn: #F4F4F2;
    --gray-divider: #E5E7EB;

    /* Typography - Scaled Down */
    --font-heading: 'Mona Sans', sans-serif;
    --font-body: 'Mona Sans', sans-serif;
    --font-script: 'PFScandal Black', sans-serif;

    /* Spacing - Compact */
    --section-padding: 25px 0;
    --container-width: 1100px;

    /* Transitions */
    --transition: all 0.3s ease;
}

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

body {
    font-family: var(--font-body);
    color: var(--dark);
    overflow-x: hidden;
    font-size: 15px;
}

/* Smaller base font */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header - Precise Match */
header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

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

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

.logo-img {
    width: 126px;
    height: auto;
    object-fit: contain;
    transition: var(--transition);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text .elite {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: #111;
    line-height: 1;
}

.logo-text .sapphire {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 35px;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: #333;
    transition: var(--transition);
    position: relative;
    padding-bottom: 5px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary);
}

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

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.mobile-toggle {
    display: none;
    font-size: 1.4rem;
    cursor: pointer;
    color: var(--dark);
}

.phone-pill {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #F4F4F4;
    padding: 6px 15px 6px 6px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #111;
    transition: var(--transition);
}

.phone-pill:hover {
    background: var(--primary);
    color: white;
}

.phone-pill .icon-circle {
    background: #111;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: var(--transition);
}

.phone-pill:hover .icon-circle {
    background: white;
    color: var(--primary);
}

/* Hero - Scaled Down */
.hero {
    height: 90vh;
    /* Slightly shorter */
    background: url('../images/Banner\ Image\ 1920\ X\ 1080.jpg') center/cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 60px;
}

.hero h1 {
    font-size: 2.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero .ready-space {
    font-family: var(--font-script);
    font-size: 1.75rem;
    margin-top: -5px;
}

.hero p {
    max-width: 500px;
    font-size: 0.9rem;
    color: #444;
    margin: 15px auto 30px;
}

.btn-explore {
    background: var(--primary);
    color: white;
    padding: 8px 8px 8px 25px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 10px 25px rgba(75, 26, 122, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-explore:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(75, 26, 122, 0.5);
}

.btn-explore .arrow-circle {
    background: white;
    color: var(--dark);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Stats - More Compact */
.stats {
    padding: var(--section-padding);
    border-bottom: 1px solid #eee;
}

.stats .container {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.stat-item {
    flex: 1;
    text-align: center;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 60px;
    width: 1px;
    background-color: var(--gray-divider);
}

.stat-item h2 {
    font-size: 2.2rem;
    margin-bottom: 5px;
    display: inline-block;
    font-weight: 700;
}

.stat-item span {
    font-size: 1.8rem;
    font-weight: 700;
    color: #111;
}

.stat-item p {
    font-size: 0.75rem;
    color: #999;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

/* Interactive Cursor States */
a:hover~.cursor-outline,
button:hover~.cursor-outline {
    transform: scale(1.5);
    background: rgba(75, 26, 122, 0.1);
}

/* Developers Marquee Section */
.developers {
    padding: var(--section-padding);
    background: white;
    overflow: hidden;
}

.developers h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
}

.logo-marquee {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 10px 0 30px;
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.logo-track {
    display: flex;
    gap: 30px;
    width: max-content;
    padding-right: 30px; /* Crucial for seamless loop with gap */
    animation: scrollLogos 25s linear infinite;
}

.logo-marquee:hover .logo-track {
    animation-play-state: paused;
}

.logo-box {
    background: white;
    border: 1px solid #f0f0f0;
    border-radius: 2px;
    padding: 15px 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    height: 90px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    transition: var(--transition);
}

.logo-box:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transform: translateY(-3px);
}

.logo-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.7);
    transition: var(--transition);
}

.logo-box:hover img {
    filter: grayscale(0%) opacity(1);
}

@keyframes scrollLogos {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Properties */
.properties {
    padding: var(--section-padding);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 1.8rem;
}

.see-all {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--dark);
    font-size: 0.85rem;
}

.see-all svg {
    flex-shrink: 0;
}

.property-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.property-card {
    border-radius: 3px;
    overflow: hidden;
    background: white;
}

.property-card img {
    height: 300px;
    width: 100%;
    object-fit: cover;
}

.property-content {
    padding: 25px;
}

.property-content h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.property-meta {
    display: flex;
    gap: 15px;
    color: #666;
    font-size: 0.8rem;
    margin-bottom: 12px;
}

.property-price {
    font-size: 1.2rem;
    font-weight: 700;
    border-top: 1px solid var(--gray-divider);
    padding-top: 15px;
    margin-top: 10px;
}

.price-aed {
    font-size: 0.75rem;
    color: #888;
    font-weight: 500;
    margin-left: 8px;
}

/* Latest Offplan Launches */
.offplan {
    padding: var(--section-padding);
    background: white;
}

.offplan-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.offplan-header h2 {
    font-size: 2.2rem;
    color: var(--dark);
    margin: 0;
}

.offplan-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-more-offplan {
    background: #F4F4F2;
    color: var(--dark);
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
}

.btn-more-offplan:hover {
    background: var(--dark);
    color: white;
}

.offplan-arrows {
    display: flex;
    gap: 8px;
}

.offplan-arrow {
    background: #F4F4F2;
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.85rem;
    color: #555;
    transition: var(--transition);
}

.offplan-arrow:hover {
    background: var(--dark);
    color: white;
}

.offplan-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.offplan-card {
    background: white;
    border: 1px solid var(--gray-divider);
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    transition: var(--transition);
}

.offplan-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.offplan-image-wrap {
    position: relative;
    height: 250px;
    overflow: hidden;
}

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

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

.offplan-tag {
    position: absolute;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 500;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.offplan-tag.handover {
    top: 15px;
    left: 15px;
    border-radius: 2px;
}

.offplan-tag.type {
    top: 15px;
    right: 15px;
    background: transparent;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.card-slide-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.8rem;
    opacity: 0;
    transition: var(--transition);
}

.offplan-image-wrap:hover .card-slide-arrow {
    opacity: 1;
}

.card-slide-arrow:hover {
    background: rgba(255, 255, 255, 0.5);
}

.card-slide-arrow.left {
    left: 15px;
}

.card-slide-arrow.right {
    right: 15px;
}

.offplan-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.offplan-main-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.offplan-title-dev h3 {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 4px;
}

.offplan-dev-name {
    font-size: 0.85rem;
    color: var(--gray-text);
}

.offplan-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.offplan-price {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-bottom: 20px;
}

.price-lbl {
    font-size: 0.85rem;
    color: #999;
}

.price-val {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
}

.offplan-card-divider {
    border: none;
    border-top: 1px solid var(--gray-divider);
    margin-top: auto;
    margin-bottom: 15px;
}

.offplan-footer-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--gray-text);
    margin-bottom: 20px;
}

.offplan-footer-info i {
    color: #999;
    margin-right: 6px;
}

.btn-enquire-now {
    display: block;
    width: 100%;
    background: white;
    color: var(--primary);
    border: 1px solid var(--primary);
    text-align: center;
    padding: 12px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.btn-enquire-now:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(75, 26, 122, 0.2);
}

/* Prime Locations */
.locations {
    padding: var(--section-padding);
    background: white;
}
.locations-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}
.locations-header h2 {
    font-size: 2.2rem;
    color: var(--dark);
    margin: 0;
}
.btn-view-areas {
    background: #f0f0f0;
    color: #333;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}
.btn-view-areas:hover {
    background: #e0e0e0;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 250px 250px;
    gap: 15px;
}
.location-card {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    display: block;
}
.location-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.location-card:hover img {
    transform: scale(1.05);
}
.location-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 20px 20px 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 100%);
    color: white;
}
.location-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    font-weight: 600;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}
.location-overlay p {
    font-size: 0.85rem;
    color: #eee;
    margin: 0;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.loc-large-top {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
}
.loc-large-right {
    grid-column: 3 / 4;
    grid-row: 1 / 3;
}
.loc-small-left {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
}
.loc-small-mid {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
}

/* Services */
.services {
    padding: var(--section-padding);
    background: var(--accent-bg);
}

.services h2 {
    font-size: 2.2rem;
    margin-bottom: 40px;
    max-width: 350px;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.service-card {
    background: white;
    padding: 35px;
    border-radius: 3px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(75, 26, 122, 0.08);
    border-color: rgba(75, 26, 122, 0.1);
}

.service-icon {
    background: var(--accent-bg);
    width: 45px;
    height: 45px;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 25px;
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(75, 26, 122, 0.2);
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.service-card:hover h3 {
    color: var(--primary);
}

.service-card p {
    color: #666;
    font-size: 0.85rem;
    line-height: 1.6;
}

/* Testimonials - Refined */
.testimonials {
    padding: var(--section-padding);
    background: white;
}

.testimonial-badge {
    background: #E8E8FF;
    color: var(--primary);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.testimonial-card {
    background: #F9F9F9;
    padding: 35px;
    border-radius: 4px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    min-height: 250px;
}

.swiper-slide {
    height: auto;
}

.testimonialSwiper {
    padding-bottom: 50px;
}

.testimonial-card p {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 30px;
}

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

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-author img {
    width: 45px;
    height: 45px;
    border-radius: 10%;
}

.testimonial-author h4 {
    font-size: 0.95rem;
    margin: 0;
}

.testimonial-author small {
    color: #999;
}

.quote-icon {
    font-size: 6rem;
    color: #F0F0F0;
    position: absolute;
    bottom: 10px;
    right: 20px;
    font-family: var(--font-body);
    line-height: 1;
    z-index: 0;
}

.testimonial-card p {
    position: relative;
    z-index: 1;
}

.testimonials .swiper-pagination {
    position: relative;
    margin-top: 40px;
    bottom: 0;
}

.testimonials .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #DDD;
    opacity: 1;
}

.testimonials .swiper-pagination-bullet-active {
    background: var(--primary);
}

/* Team Section */
.team {
    padding: var(--section-padding);
    background: var(--accent-bg);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.team-card {
    position: relative;
    border-radius: 2px;
    overflow: hidden;
    background: #e0d9d0;
    /* Beige background for image */
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.team-card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

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

.team-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(40, 40, 40, 0.9);
    color: white;
    padding: 15px;
    text-align: center;
}

.team-info h4 {
    font-size: 0.95rem;
    margin-bottom: 4px;
    color: white;
    font-weight: 600;
}

.team-info p {
    font-size: 0.75rem;
    color: #bbb;
    margin: 0;
}

/* Blog Section */
.blog {
    padding: var(--section-padding);
    background: white;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    background: white;
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 1px solid var(--gray-divider);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(75, 26, 122, 0.08);
    border-color: rgba(75, 26, 122, 0.1);
}

.blog-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

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

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

.blog-date {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary);
    color: white;
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.blog-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-content h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.blog-content h3 a:hover {
    color: var(--primary);
}

.blog-content p {
    color: #666;
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.read-more {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--primary);
    transition: var(--transition);
    margin-top: auto;
}

.read-more i {
    transition: transform 0.3s ease;
    font-size: 0.8rem;
}

.read-more:hover {
    color: var(--dark);
}

.read-more:hover i {
    transform: translateX(5px);
}

/* FAQ Section */
.faq {
    padding: var(--section-padding);
    background: white;
}

.faq-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
}

.faq-left span {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
    display: block;
}

.faq-left h2 {
    font-size: 2.2rem;
    margin-bottom: 60px;
}

.faq-contact-box p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
}

.btn-contact-faq {
    background: var(--dark);
    color: white;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    display: inline-block;
    font-size: 0.85rem;
}

.faq-accordion {
    border-top: 1px solid #eee;
}

.faq-item {
    border-bottom: 1px solid #eee;
    transition: var(--transition);
}

.faq-question {
    padding: 25px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.05rem;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    padding-bottom: 0;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
}

.faq-item.active {
    background: var(--accent-bg);
    padding: 0 25px;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-bottom: 25px;
}

.faq-question i {
    transition: transform 0.3s ease;
    font-size: 0.8rem;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

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

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

.delay-3 {
    transition-delay: 0.6s;
}

/* Advanced Reveal Varieties */
.reveal-zoom {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-zoom.active {
    opacity: 1;
    transform: scale(1);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease-out;
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

/* Hover Effects */
.property-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.property-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.property-card img {
    transition: transform 0.6s ease;
}

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

.btn-explore:hover .arrow-circle {
    transform: translateX(5px);
}

.arrow-circle {
    transition: transform 0.3s ease;
}

/* Contact */
.contact {
    padding: var(--section-padding);
    background: var(--accent-bg);
}

.contact-layout {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 60px;
}

.contact-left h2 {
    font-size: 2rem;
    margin-bottom: 30px;
}

.contact-details {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #333;
}

.contact-details div {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    font-weight: 600;
    font-size: 0.8rem;
    margin-bottom: 10px;
    margin-top: 20px;
}

.contact-form label:first-child {
    margin-top: 0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    background: var(--gray-bg);
    border: none;
    border-radius: 10px;
    padding: 12px 25px;
    font-family: inherit;
    font-size: 0.9rem;
    color: #444;
}

.contact-form textarea {
    border-radius: 10px;
    padding: 15px 25px;
}

.btn-submit {
    width: 100%;
    background: var(--submit-btn);
    border: none;
    border-radius: 10px;
    padding: 15px;
    font-size: 1rem;
    font-weight: 500;
    margin-top: 30px;
    cursor: pointer;
    transition: var(--transition);
}

/* Pre-footer */
.pre-footer-img {
    width: 100%;
    height: 500px;
    overflow: hidden;
    margin-bottom: 0;
}

.pre-footer-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Footer */
footer {
    padding: 30px 0;
}

footer .container {
    display: flex;
    justify-content: flex-end;
}

.footer-socials {
    display: flex;
    gap: 20px;
    font-size: 1.2rem;
}

/* Responsive */
@media (max-width: 992px) {
    :root {
        --section-padding: 15px 0;
    }

    .property-grid,
    .offplan-grid,
    .services-grid,
    .contact-layout,
    .team-grid,
    .faq-layout,
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero .ready-space {
        font-size: 1.5rem;
    }

    .desktop-only {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        flex-direction: column;
        gap: 0;
        padding: 0;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.4s ease-out, padding 0.4s ease-out, opacity 0.4s ease-out;
    }

    .nav-links.active {
        max-height: 400px;
        padding: 20px 0;
        opacity: 1;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 15px;
        width: 100%;
        border-bottom: 1px solid #f5f5f5;
    }

    .section-header,
    .offplan-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .offplan-actions {
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .hero .ready-space {
        font-size: 1.25rem;
    }

    .hero p {
        font-size: 0.8rem;
    }

    .stats .container {
        flex-direction: column;
        gap: 40px;
    }

    .stat-item:not(:last-child)::after {
        display: none;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

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

    .pre-footer-img {
        height: 300px;
    }

    .footer .container {
        justify-content: center;
    }
}

@media (max-width: 992px) {
    .locations-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto;
    }
    .loc-large-top {
        grid-column: 1 / 3;
        grid-row: 1 / 2;
        height: 250px;
    }
    .loc-large-right {
        grid-column: 1 / 3;
        grid-row: 3 / 4;
        height: 250px;
    }
    .loc-small-left {
        grid-column: 1 / 2;
        grid-row: 2 / 3;
        height: 250px;
    }
    .loc-small-mid {
        grid-column: 2 / 3;
        grid-row: 2 / 3;
        height: 250px;
    }
}
@media (max-width: 768px) {
    .locations-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .locations-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .loc-large-top, .loc-large-right, .loc-small-left, .loc-small-mid {
        grid-column: 1 / 2;
        grid-row: auto;
        height: 250px;
    }
}

/* ==========================================================================
   WhatsApp Floating Popout Styles
   ========================================================================== */
.whatsapp-popout-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.whatsapp-btn {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}

.whatsapp-btn:hover {
    transform: scale(1.08) translateY(-3px);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: transparent;
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    animation: whatsapp-pulse-anim 2s infinite;
    z-index: -1;
    pointer-events: none;
}

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

/* WhatsApp Chat Bubble */
.whatsapp-chat-bubble {
    position: absolute;
    bottom: 75px;
    right: 0;
    width: 280px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    opacity: 0;
    transform: translateY(15px) scale(0.95);
    pointer-events: none;
    transform-origin: bottom right;
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.whatsapp-chat-bubble.show {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.whatsapp-bubble-close {
    position: absolute;
    top: 10px;
    right: 12px;
    background: none;
    border: none;
    font-size: 18px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    line-height: 1;
    padding: 2px 6px;
    transition: color 0.2s ease;
}

.whatsapp-bubble-close:hover {
    color: #555;
}

.whatsapp-bubble-header {
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--gray-divider);
    padding-bottom: 8px;
}

.online-indicator {
    width: 8px;
    height: 8px;
    background-color: #25D366;
    border-radius: 50%;
    display: inline-block;
    position: relative;
}

.online-indicator::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(37, 211, 102, 0.4);
    animation: indicator-pulse 2s infinite;
}

@keyframes indicator-pulse {
    0% {
        transform: scale(0.5);
        opacity: 1;
    }
    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

.bubble-title {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dark);
}

.bubble-message {
    font-size: 0.85rem;
    color: var(--gray-text);
    line-height: 1.4;
    margin: 0;
}

.whatsapp-bubble-btn {
    align-self: flex-start;
    display: flex;
    align-items: center;
    gap: 6px;
    background: #25D366;
    color: var(--white);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 8px 14px;
    border-radius: 6px;
    transition: background 0.2s ease, transform 0.2s ease;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.2);
}

.whatsapp-bubble-btn:hover {
    background: #128C7E;
    transform: translateY(-1px);
}

/* Adjust for smaller screens */
@media (max-width: 576px) {
    .whatsapp-popout-container {
        bottom: 20px;
        right: 20px;
    }
    .whatsapp-btn {
        width: 50px;
        height: 50px;
        font-size: 26px;
    }
    .whatsapp-chat-bubble {
        bottom: 65px;
        width: 250px;
        padding: 15px;
    }
}