/* =======================================================
   GLOBAL VARIABLES & LUXURY COLOR PALETTE
   ======================================================= */
:root {
    --rent-gold: #D4AF37;
    --rent-dark: #000000;
    --rent-card-bg: #111111;
    --rent-white: #ffffff;
    --rent-grey:  #bdbdbd; /* Adjusted slightly so it's readable on pure black */
    --rent-glass: rgba(255, 255, 255, 0.03);
    --rent-glass-border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Work Sans", sans-serif;
    background: var(--rent-dark); /* Fixed the white background bug */
    color: var(--rent-white);
    overflow-x: hidden;
}

/* =========================================
   HEADER & HERO
   ========================================= */
.header {
    position: fixed;  
    top: 0;
    width: 100%;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    background: rgba(0,0,0,0.6);
    z-index: 10;
}

.logo {
    font-weight: 600;
    letter-spacing: 1px;
}

.menu {
    font-size: 26px;
    cursor: pointer;
}

.hero img {
    width: 100%;
    height: 85vh;
    object-fit: cover;
}

/* =========================================
   PAGE TITLE
   ========================================= */
.page-title {
    text-align: center;
    padding: 80px 20px;
    background: var(--rent-card-bg);
    color: var(--rent-white);
}

.page-title h1 {
    font-family: "Playfair Display", serif;
    font-size: 48px;
    margin-bottom: 20px;
}

.page-title p {
    max-width: 1400px;
    margin: auto;
    font-size: 18px;
    font-weight: 200;
} 

/* =========================================
   STRATEGIC SELLING APPROACH SECTION
   ========================================= */
.invest-dubai-section {
    background-color: var(--rent-dark);
    padding: 40px 5%;
}

.invest-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0px 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.invest-image-wrapper {
    width: 100%;
    height: 650px;
    overflow: hidden;
    opacity: 0;
    transform: translateX(-80px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.invest-image-wrapper.show {
    opacity: 1;
    transform: translateX(0);
}

.invest-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.invest-content {
    padding-top: 50px;
    padding-right: 40px;
}

.invest-subtitle {
    display: block;
    font-size: 14px;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: var(--rent-gold);
    margin-bottom: 20px;
}

.invest-title {
    font-family: "Playfair Display", serif;
    font-size: 50px;
    font-weight: 400;
    color: var(--rent-white);
    margin-bottom: 30px;
    line-height: 1.1;
}

.invest-text p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--rent-grey);
    margin-bottom: 25px;
}

/* List Styling */
ul.selling-strategy {
    list-style: none;
    padding: 0;
}

ul.selling-strategy li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 15px;
    color: var(--rent-grey);
    font-size: 14px;
}

ul.selling-strategy li::before {
    content: '•';
    color: var(--rent-gold);
    font-size: 20px;
    position: absolute;
    left: 0;
    top: -5px;
}

@media (max-width: 768px) {
    .invest-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 20px;
        text-align: left;
    }
    .invest-image-wrapper {
        height: 350px;
    }
    .invest-dubai-section {
        padding: 0px 5%;
    }
    .invest-title {
        font-size: 36px;
    }
    .invest-text p {
        font-size: 16px;
        line-height: 1.8;
        color: var(--rent-grey);
        margin-bottom: 25px;
    }
    ul.selling-strategy { 
        text-align: left; 
        display: inline-block;
    }
}

/* =========================================
   RERA SAFETY SECTION
========================================= */
.rera-section {
    background-color: var(--rent-card-bg); /* Changed so it contrasts against the black */
    padding: 0px 5% 30px;
    color: var(--rent-white);
}

.rera-container {
    max-width: 1400px;
    margin: 0 auto;
}

.rera-header {
    padding-top: 100px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 80px;
}

.rera-subtitle {
    display: block;
    font-size: 12px;
    letter-spacing: 4px;
    color: var(--rent-gold);
    margin-bottom: 15px;
    font-weight: 600;
}

.rera-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 50px;
    margin-bottom: 25px;
}

.rera-header p {
    color: var(--rent-grey);
    font-size: 18px;
    line-height: 1.8;
}

/* Cards Layout */
.rera-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.rera-card {
    background: var(--rent-dark);
    padding: 40px;
    border: 1px solid var(--rent-glass-border);
    transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.rera-card:hover {
    transform: translateY(-10px);
    border-color: var(--rent-gold);
}

.rera-icon {
    font-size: 40px;
    font-family: 'Playfair Display', serif;
    color: var(--rent-gold);
    margin-bottom: 20px;
}

.rera-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    margin-bottom: 15px;
}

.rera-card p {
    font-size: 15px;
    color: var(--rent-grey);
    line-height: 1.7;
}

@media (max-width: 992px) {
    .rera-header h2 { font-size: 40px; }
    .rera-cards { grid-template-columns: 1fr 1fr; }
    ul.selling-strategy { text-align: left; display: inline-block; }
}

@media (max-width: 768px) {
    .rera-header h2 { font-size: 36px; }
    .rera-header p { font-size: 16px; }
    .rera-cards { grid-template-columns: 1fr; gap: 30px; }
    .rera-card { padding: 30px; }
}

/* =========================================
   DARK SECTIONS
========================================= */
.dark {
    text-align: center;
    padding: 40px 20px;
    background: var(--rent-dark);
    color: var(--rent-white);
}

.dark h1 {
    font-family: "Playfair Display", serif;
    font-size: 48px;
    margin-bottom: 20px;
}

.dark p {
    max-width: 1400px;
    margin: auto;
    font-size: 18px;
    font-weight: 200;
}

/* =========================================
   FAQ SECTION
========================================= */
.rent-pg-faq {
    position: relative;
    overflow: hidden;
    padding: 120px 5%;
    background: var(--rent-dark);
}

.faq-bg-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.5; 
    filter: grayscale(40%) brightness(0.9); 
    pointer-events: none;
}

.faq-bg-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: radial-gradient(circle at center, rgba(20, 20, 20, 0.253) 0%, rgba(5, 8, 15, 0.85) 100%);
}

.rent-pg-main-title, .rent-pg-section-title {
    font-family: var(--font-heading) !important;
    font-size: 50px !important; /* STRICT DESKTOP HEADING */
    font-weight: 500;
    line-height: 1.2;
   
    /* THE FIX: Layered Text Shadow for perfect readability */
    text-shadow:
        2px 2px 5px rgba(0, 0, 0, 0.9),  /* Crisp dark edge */
        0px 10px 30px rgba(0, 0, 0, 0.7); /* Wide soft dark glow */
}

/* --- STRICT MOBILE VIEW (Max 425px) --- */
@media (max-width: 425px) {
    
    /* Strict Padding for Mobile */
    /* .rent-pg-intro, .projects-section, .rent-pg-faq { padding: 60px 20px !important; } */
    
    /* STRICT MOBILE HEADINGS (36px) */
    .rent-pg-main-title, .rent-pg-section-title {
        font-size: 36px !important;
        margin-bottom: 20px !important;
    }
}

.rent-pg-faq-container {
    position: relative;
    z-index: 2; 
    max-width: 1000px;
    margin: 0 auto;
}

.rent-pg-faq-header { 
    text-align: center; 
    margin-bottom: 60px; 
}

.rent-pg-gold-divider {
    height: 2px; width: 80px;
    background: rgba(255, 196, 3, 0.897);
    margin: 25px auto;
    position: relative;
    overflow: hidden;
}

.rent-pg-gold-divider::after {
    content: ''; 
    position: absolute; 
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, var(--rent-gold), transparent);
    animation: line-sweep 4s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

.rent-pg-faq-item {
    max-width: 1000px;
    margin: 0 auto 20px;
    background: var(--rent-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--rent-glass-border);
    border-radius: 12px; 
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
     box-shadow: 
        0 40px 100px rgba(0, 0, 0, 0.6), 
        0 10px 40px rgba(0, 0, 0, 0.4); 
}

.rent-pg-faq-item:hover {
    background: var(--rent-card-bg);
    border-color: var(--rent-gold);
    transform: translateY(-5px);
}

.rent-pg-faq-item.active {
    background: var(--rent-dark);
    border-color: var(--rent-gold);
}

.rent-pg-faq-btn {
    width: 100%;
    background: none;
    border: none;
    padding: 32px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    outline: none;
}

.rent-pg-faq-q {
    font-family: 'Work Sans', sans-serif !important;
    font-size: 18px !important;
    font-weight: 400;
    color: var(--rent-white);
    text-align: left;
    letter-spacing: 0.3px;
    transition: all 0.4s ease;
}

.rent-pg-faq-item.active .rent-pg-faq-q {
    color: var(--rent-gold);
    font-weight: 500;
}

.rent-pg-faq-icon {
    position: relative;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.rent-pg-faq-icon .line {
    position: absolute;
    background: var(--rent-gold);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.rent-pg-faq-icon .vertical { width: 2px; height: 16px; left: 9px; top: 2px; }
.rent-pg-faq-icon .horizontal { width: 16px; height: 2px; top: 9px; left: 2px; }

.rent-pg-faq-item.active .vertical {
    transform: rotate(90deg);
    opacity: 0;
}

.rent-pg-faq-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.rent-pg-faq-item.active .rent-pg-faq-panel {
    max-height: 600px;
}

.rent-pg-faq-content {
    padding: 0 40px 40px 40px;
    opacity: 0;
    filter: blur(15px);
    transform: translateY(20px);
    transition: opacity 0.8s ease, filter 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.rent-pg-faq-item.active .rent-pg-faq-content {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
    transition-delay: 0.2s;
}

.rent-pg-faq-content p {
    font-family: 'Work Sans', sans-serif !important;
    font-size: 18px !important;
    line-height: 1.8;
    color: var(--rent-grey);
    margin: 0;
}

@media (max-width: 768px) {
    .rent-pg-faq { padding: 80px 20px; }
    .rent-pg-faq-btn { padding: 25px; }
    .rent-pg-faq-content { padding: 0 25px 30px 25px; }
    .rent-pg-faq-q, .rent-pg-faq-content p { font-size: 16px !important; }
}

/* =========================================
   11. TESTIMONIALS
   ========================================= */
.testimonial-row {
    display: flex;
    gap: 20px;
    overflow-x: auto;
}

.section-header {
    margin-top: 20px;
    margin-bottom: 70px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-header h2 {
    font-family: "Playfair Display", serif;
    font-size: 50px; 
    color: var(--rent-white);
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .section-header h2 { font-size: 36px; }
}

.testimonials-scroll {
    display: flex; overflow-x: auto; gap: 30px; padding: 0 5% 100px;
    scrollbar-width: none;
    background-color: var(--rent-dark);
}
.testimonials-scroll::-webkit-scrollbar { display: none; }

.testi-card {
    min-width: 400px; background: var(--rent-card-bg); border: 1px solid var(--rent-glass-border);
    padding: 50px; position: relative;
}

.quote-icon {
    font-size: 60px; color: var(--rent-gold); opacity: 0.3;
    font-family: 'Playfair Display', serif; line-height: 0; margin-bottom: 30px;
}

.testi-card p {
    font-family: 'Work Sans', sans-serif;
    font-style: italic;
    font-size: 18px; 
    line-height: 1.8; color: var(--rent-white); margin-bottom: 30px;
}

.client-name {
    font-family: 'Work Sans', sans-serif; font-weight: 700; color: var(--rent-gold); font-size: 14px;
}

.client-name span {
    display: block; font-weight: 400; color: var(--rent-grey); margin-top: 5px;
}

/* ===============================
   EXPRESS & FOOTER
================================= */
.express {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 80px 60px;
    background: var(--rent-dark);
}

.express h2 {
    font-family: "Playfair Display", serif;
    font-size: 40px;
}

.express form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.express input {
    padding: 12px;
    border-radius: 6px;
    border: none;
}

.footer {
    padding: 20px;
    text-align: center;
    font-size: 12px;
    opacity: 0.6;
}

@media (max-width: 768px) {
    .express { grid-template-columns: 1fr; gap: 40px; }
}

/* ===============================
   SLIDE ANIMATIONS
================================= */
.slide-left {
    opacity: 0;
    transform: translateX(-100px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide-left.show {
    opacity: 1;
    transform: translateX(0);
}

.slide-right {
    opacity: 0;
    transform: translateX(100px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide-right.show {
    opacity: 1;
    transform: translateX(0);
}

/* Free Property Valuation in Dubai & Our Luxury Marketing Advantage */
.vm-journey-section{
    padding:80px 5%;
    background:#0b0b0b;
    color:#fff;
}

/* Container */
.vm-wrapper{
    max-width:1100px;
    margin:auto;
}

/* Heading */
.vm-heading{
    text-align:center;
    font-family:"Playfair Display", serif;
    font-size:50px;
    margin-bottom:80px;
}

/* STEP */
.vm-step{
    display:flex;
    gap:30px;
    margin-bottom:70px;
    align-items:flex-start;
}

/* NUMBER */
.vm-step-number{
    font-size:60px;
    font-weight:600;
    color:transparent;
    -webkit-text-stroke:1px #d4a74f;
    min-width:80px;
}

/* CONTENT */
.vm-step-content h3{
    font-size:26px;
    margin-bottom:15px;
}

.vm-step-content p{
    color:#bfbfbf;
    line-height:1.7;
    margin-bottom:20px;
}

/* TAGS */
.vm-tags{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
}

.vm-tags span{
    padding:8px 14px;
    border:1px solid rgba(255,255,255,0.1);
    border-radius:30px;
    font-size:13px;
    color:#d4d4d4;
    transition:0.3s;
}

.vm-tags span:hover{
    border-color:#d4a74f;
    color:#fff;
}

/* CTA */
.vm-cta{
    text-align:center;
    margin-top:40px;
}

.vm-cta a{
    padding:14px 30px;
    border:1px solid #d4a74f;
    color:#fff;
    text-decoration:none;
    transition:0.3s;
}

.vm-cta a:hover{
    background:#d4a74f;
    color:#000;
}

/* RESPONSIVE */
@media(max-width:768px){
    .vm-step{
        flex-direction:column;
    }

    .vm-step-number{
        font-size:40px;
    }

    .vm-heading{
        font-size:32px;
    }
}