* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: #ffffff;
    color: #0f172a;
    line-height: 1.5;
    overflow-x: hidden;
}

#home{
    background: 
    linear-gradient(rgba(44, 42, 42, 0.45), rgba(0,0,0,0.45)),
    url("../images/homebg.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* ACTIVE NAV LINK HEADER */

nav ul li a.active{
    color:#38bdf8;
    font-weight:600;
}

nav ul li a::after{
    content:"";
    position:absolute;
    width:0%;
    height:2px;
    background:#38bdf8;
    bottom:-5px;
    left:0;
    transition:0.3s;
}

nav ul li a:hover::after{
    width:100%;
}

/* ================= HEADER ================= */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 4%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background-color: #ffffff;
    backdrop-filter: blur(20px);
    transition: 0.3s;
    border-bottom: gray;
}

header.scrolled {
    background: #ffffff;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.logo{
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img{
    height: 45px;
    width: auto;
}

.logo-text{
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    text-decoration: none;
    letter-spacing: 0.5px;
}

.logo a{
    text-decoration: none;
}

/* NAVIGATION */
nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    color: #0f172a;
    font-weight: 500;
    position: relative;
    transition: 0.3s;
}

nav ul li a:hover {
    color: #38bdf8;
}

/* MOBILE MENU BUTTON */
.menu-toggle {
    display: none;
    font-size: 2rem;
    cursor: pointer;
}
/* ======================FOR THE HOME PAGE SECTION=========================== */

/* = HERO  */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero h1 {
    font-size:clamp(2rem,6vw,5.5rem);
    font-weight: 800;
    color: #ffffff;
}

/* paragraph stays static */

.hero p {
    margin: 20px 0 30px;
    font-size: 1.2rem;
    color: #ffffff;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* typing text */

#typing-text{
    display:inline-block;
    padding-right:8px;
    animation: blink 2s infinite;
    transition: opacity 0.6s ease;
}

@keyframes blink{
0%{border-color:white;}
50%{border-color:transparent;}
100%{border-color:white;}
}

/* BUYOUZ color */

.highlight{
    color:#38bdf8;
}

/* ================= HOME ABOUT SECTION ================= */

.about{
padding:90px 5%;
background:#f8fafc;
}

/* .about-home-container{
display:flex;
align-items:center;
justify-content:space-between;
gap:60px;
max-width:1500px;
margin:auto;
text-align: justify;
} */

.about-home-container{
display:flex;
flex-wrap:wrap;
align-items:center;
justify-content:space-between;
gap:60px;
}

.about-home-text{
flex:1;
}

.about-home-text h2{
font-size:48px;
margin-bottom:20px;
color:BLACK;
}

.about-home-text p{
font-size:16px;
line-height:1.8;
margin-bottom:25px;
color:#444;
max-width:520px;
}

.about-home-image{
flex:1;
}

.about-home-image img{
width:100%;
max-height: 420px;
height:auto;
object-fit:cover;
border-radius:12px;
box-shadow:0 10px 25px rgba(0,0,0,0.15);
}

.about h2{
font-size:62px;
margin-bottom:20px;
}

.about p{
color:#000000;
margin-bottom: 20px;
}

.about-text{
flex:1;
}

.about-image img{
width:100%;
border-radius:10px;
}

/* ================= PREVIEW SECTIONS ================= */

#projects-preview,
#amenities-preview,
#models-preview{
    padding:30px 5%;
    background:#f8fafc;
}

/* FEATURES GRID */
.features{
display:grid;
grid-template-columns:repeat(4, 1fr);
gap:30px;
margin-top:10px;
}

.feature-box{
background:white;
padding:30px 25px;
border-radius:12px;
box-shadow:0 8px 20px rgba(0,0,0,0.06);
transition:0.3s;
text-align: center;
}

.feature-box:hover{
transform:translateY(-8px);
box-shadow:0 15px 30px rgba(0,0,0,0.1);
}

.feature-text h3{
font-size:16px;
margin-bottom:5px;
text-align: center;
}

.feature-text p{
font-size:12px;
color:#666;
text-align: left;
margin-bottom:15px;
}

.feature-image{
transition:0.3s;
}

.feature-image:hover{
transform:translateY(-10px);
}

.feature-image img{
width:100%;
height:220px;
object-fit:fill;
border-radius:10px;
box-shadow:0 8px 20px rgba(0,0,0,0.08);
transition:0.4s;
}

.feature-image:hover img{
transform:scale(1);
}

.unit-feature-text h3{
font-size:16px;
margin-bottom:5px;
text-align: center;
}

.unit-feature-text p{
font-size:12px;
color:#666;
text-align: left;
margin-bottom:15px;
}

.unit-feature-image{
transition:0.3s;
}

.unit-feature-image:hover{
transform:translateY(-10px);
}

.unit-feature-image img{
width:100%;
height:220px;
object-fit:fill;
border-radius:10px;
box-shadow:0 8px 20px rgba(0,0,0,0.08);
transition:0.4s;
}

.unit-feature-image:hover img{
transform:scale(1);
}

/* /* ================================FOR THE ABOUT PAGE ===========================* */
.about-hero{
padding:100px 10%;
background:#f8fafc;
}

.about-hero-container{
display:flex;
align-items:center;
justify-content:space-between;
gap:120px;
max-width:1200px;
margin:auto;
text-align: justify;
}

.about-hero-text{
flex:1;
}

.about-hero-text h1{
font-size:42px;
margin-bottom:20px;
color:#1e3a8a;
}

.about-hero-text p{
font-size:16px;
line-height:1.8;
color:#444;
margin-bottom:15px;
}

.about-hero-image{
flex:1;
}

.about-hero-image img{
width:100%;
height:420px;
object-fit:cover;
border-radius:12px;
box-shadow:0 10px 25px rgba(0,0,0,0.15);
}

/*  MISSION VISION VALUES  */

.mission-vision{
    padding: 70px 10%;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    background: 
    linear-gradient(rgba(44, 42, 42, 0.45), rgba(0,0,0,0.45)),
    url("../images/vmv.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.mv-container{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:50px;
max-width:1500px;
margin:auto;
}

.mv-card{
background: rgba(255,255,255,0.8); /* 80% opacity */
backdrop-filter: blur(5px);
padding:40px 35px;
text-align:center;
border-radius:12px;
box-shadow:0 8px 25px rgba(0,0,0,0.08);
transition:0.3s;
}

.mv-card:hover{
transform:translateY(-8px);
}

.mv-icon{
font-size:40px;
margin-bottom:20px;
}

.mv-card h3{
font-size:22px;
margin-bottom:15px;
color:#1e3a8a;
}

.mv-card p{
font-size:15px;
line-height:1.7;
color:black;
text-align: justify;
}

.why-buyouz{
padding:80px 10%;
text-align:center;
}

.feature-card{
background:white;
padding:30px;
border-radius:10px;
box-shadow:0 5px 15px rgba(0,0,0,0.1);
}

.about-cta{
text-align:center;
padding:30px 5%;
background:#1e3a8a;
color:white;
}

.cta-btn{
display:inline-block;
margin-top:20px;
background:white;
color:#1e3a8a;
padding:12px 30px;
border-radius:6px;
text-decoration:none;
}

/* ==================FOR THE PROJECTS PAGE AND AMENITIES PAGE AND MODEL UNIT FEATURES PAGE (HERO-TITLE)===================== */
/* ================= PROJECT OVERVIEW ================= */
.hero-title{
    padding: 130px 10%;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    background: 
    linear-gradient(rgba(44, 42, 42, 0.45), rgba(0,0,0,0.45)),
    url("../images/vmv.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-title h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: #ffffff;
}

.hero-title p {
    margin: 20px 0 30px;
    font-size: 1.2rem;
    color: #ffffff;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    padding: 14px 35px;
    border-radius: 30px;
    background: linear-gradient(45deg, #38bdf8, #6366f1);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.4);
}

.btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(99, 102, 241, 0.6);
}

.project-overview{
padding:60px 5%;
background:#f8fafc;
}

.project-overview-container{
display:flex;
flex-wrap:wrap; /* IMPORTANT */
align-items: flex-start;
justify-content:space-between;
gap:70px;
max-width:1200px;
margin:auto;
text-align:justify;
}

.project-overview-text{
flex:1;
}

.project-overview-text h2{
font-size:42px;
margin-bottom:20px;
color:#000;
}

.project-overview-text p{
font-size:16px;
line-height:1.8;
color:#444;
}

.project-overview-image{
flex:1;
}

.project-overview-image img{
width:100%;
height:auto;
object-fit:cover;
border-radius:12px;
box-shadow:0 10px 25px rgba(0,0,0,0.15);
}

.project-overview-text,
.project-overview-image{
    flex:1 1 400px; /* responsive magic */
}



/*  FUTURE POINT PROJECT HIGHLIGHTS  */

.ftpps{
padding:30px 5%;
background:#f8fafc;
}

.ftpps h2{
text-align: center;
margin-bottom:30px;

}

.ftpps-projects{
display:flex;
flex-direction:column;
gap:40px;
max-width:1200px;
margin:auto;
}

.ftpps-card{
display:flex;
align-items:flex-start;
gap:60px;
flex-wrap:wrap; /* IMPORTANT */
}

.ftpps-image{
flex:1;
}

.ftpps-image img{
width:100%;
height:auto;
object-fit:fill;
border-radius:12px;
box-shadow:0 10px 25px rgba(0,0,0,0.15);
}

.ftpps-text{
flex:1;
text-align: justify;
}

.ftpps-text h3{
font-size:28px;
margin-bottom:15px;
}

.ftpps-text p{
font-size:16px;
line-height:1.8;
color:#444;
}
.ftpps-image,
.ftpps-text{
    flex:1 1 400px; /* auto responsive */
}

/* ===== FEATURE ICON ===== */
.feature-icon{
display:flex;
justify-content:center;
align-items:center;
margin-bottom:15px;
}

.feature-icon img{
width:70px;
height:70px;
object-fit:contain;
transition:0.3s;
}

/* hover effect */

.feature-icon img{
transform:scale(1.1);
}

/* ================================FOR THE UNIT FEATURES PAGE MODEL====================== */
/* modelhtml */
.condo-unit-features{
padding:50px 10%;
background:#f8f9fb;
text-align:center;
}

.condo-section-title{
font-size:42px;
font-weight:700;
margin-bottom:30px;
}

.condo-unit-container{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:25px;
}

.condo-unit-card{
position:relative;
border-radius:16px;
overflow:hidden;
cursor:pointer;
box-shadow:0 10px 25px rgba(0,0,0,0.1);
}

.condo-unit-card img{
width:100%;
height:250px;
object-fit:cover;
transition:0.5s;
}

.condo-unit-card:hover img{
transform:scale(1.1);
}

.condo-overlay{
position:absolute;
bottom:0;
left:0;
width:100%;
padding:30px;
background:linear-gradient(transparent, rgba(0,0,0,0.7));
color:white;
opacity:0;
transition:0.4s;
text-align:left;
}

.condo-unit-card:hover .condo-overlay{
opacity:1;
}

.condo-overlay h3{
font-size:22px;
margin-bottom:5px;
}

.condo-overlay p{
font-size:14px;
}

/* MODAL */
.modal{
display:none;
position:fixed;
z-index:999;
padding-top: 100px;
left:0;
top:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.9);
}

.modal-content{
display:block;
margin:auto;
max-width:100%;
max-height:90%;
}

.close{
position:absolute;
top:100px;
right:100px;
color:white;
font-size:40px;
cursor:pointer;
}

/* ==================FOR THE CONTACT PAGE===================== */
/* ================= CONTACT FORM ================= */

.contact-container{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:40px;
    margin-top:40px;
    width:100%;
    max-width:1100px;
    align-items:start;
}

.contact-info{
    text-align:left;
}

.contact-info h3{
    margin-bottom: 24px;
    font-size: 34px;
    
}

.contact-info p{
    color:#64748b;
    margin-bottom:24px;
    font-size: 22px;
}

.contact-form{
    display:flex;
    flex-direction:column;
    gap:15px;
    background:#ffffff;
    padding:20px;
    border-radius:16px;
    box-shadow:0 10px 30px rgba(0,0,0,0.08);
}

.iframe-wrapper{
    width:100%;
    height:100%;
    overflow:hidden;
    border-radius:12px;
}

.iframe-wrapper iframe{
    width:100%;
    height:100%;
    border:none;
}

.contact-form input,
.contact-form textarea{
    padding:14px;
    border-radius:8px;
    border:1px solid #e2e8f0;
    font-family:'Poppins', sans-serif;
}

.contact-form textarea{
    min-height:120px;
}

.contact-form button{
    border:none;
    cursor:pointer;
}

.contact-form h3{
    margin-bottom:5px;
    font-size: 24px;
}

.form-subtext{
    font-size:14px;
    color:#64748b;
}

/* GOOGLE MAP */

.map-container{
    width:100%;
    margin-top:40px;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,0.1);
}

/* ===================ALL COMPONENTS====================== */

/* ================= CONTACT FOOTER ================= */
.contact{
    padding: 30px 5%;
    background:#1e3a8a;
    color:white;
}

.h2 {
    font-size: 10px;
}
.contact p{
    margin-bottom:30px;
}

/* FOOTER */
.footer-divider{
    width: 100%;
    height: 1px;
    background-color: gray;
    border-radius: 10px;
}

footer {
    /* background: #f1f5f9; */
    background: #ffffff;
    padding: 10px;
    text-align: center;
    color: #64748b;
}

/* ================= FULL HEIGHT SECTIONS ================= */
section {
    /* min-height: 100vh; */
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: column;
    padding: 30px 10%;
    text-align: center;
    
}

h2{
    font-size: 2.5rem;
    margin-bottom: 30px;
}

/* ==========================FOR ALL PAGE RESPONSIVE=============================== */
/* FOR DESKTOP 1024PX */
@media (max-width:1024px){

.condo-unit-container{
grid-template-columns:repeat(2,1fr);
}
.hero h1 {
        font-size: 2.8rem;
    }
    .features {
        grid-template-columns: repeat(2, 1fr);
    }
    .condo-unit-container{
    grid-template-columns:repeat(2,1fr);
}

}
/* FOR LAPTOP 900PX */
@media (max-width:900px){

.about-hero-container{
flex-direction:column;
text-align:center;
}

.about-hero-image img{
height:auto;
}

.mv-container{
grid-template-columns:1fr;
}

.about-home-container{
flex-direction:column;
text-align:center;
}

.about-home-text p{
max-width:100%;
font-size: 16px;
}

.about-home-text h2{
font-size:22px;
}

.about-home-image img{
height:auto;
}

.features{
grid-template-columns:repeat(2,1fr);
}

.feature-text h3{
    font-size:18px;
}

}

/* FOR LAPTOP 768PX */
@media(max-width: 768px) {

    .menu-toggle {
        display: block;

    }

    nav ul {
        position: absolute;
        top: 70px;
        right: 0;
        flex-direction: column;
        /* background: #0f172a; */
        background: #ffffff;
        width: 220px;
        display: none;
        padding: 20px;
        border: 1px solid #e2e8f0;
        box-shadow: 10px 20px 25px rgba(0, 0, 0, 0.05);
        border-radius: 10px;
    }

    nav ul.active {
        display: flex;
    }

    nav ul li {
        margin: 15px 0;
        text-align: center;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    section {
        padding: 70px 5%;
    }
    .features {
        grid-template-columns: 1fr;
    }
    .contact-container{
    grid-template-columns:1fr;
    }
    .feature-text h3{
    font-size:12px;
    }
    .h2 {
    font-size: 16px;
    }

    .hero-title h1{
        font-size: 30px;
    }

    .project-overview-container{
        flex-direction:column;
        text-align:justify;
    }

    .project-overview-text{
        text-align:justify;
    }

    .project-overview-text h2{
        font-size:28px;
    }

    .project-overview-text p{
        font-size:14px;
    }
    .project-overview-container{
    flex-direction: row-reverse;
}

    .ftpps-card{
            flex-direction:column;
            text-align:justify;
        }

        .ftpps-text{
            text-align:justify;
        }

        .ftpps-text h3{
            font-size:22px;
        }

        .ftpps h2{
            font-size: 30px;
        }

        .ftpps-text p{
            font-size:14px;
        }
        .ftpps-card:nth-child(even){
        flex-direction: row-reverse;
        }

        .contact-form{
        margin-top:0;
        }

        .iframe-wrapper{
            height:700px;
        }
        
}

@media (max-width:600px){

.condo-unit-container{
grid-template-columns:1fr;
}

.condo-section-title{
font-size:32px;
}

}

@media (max-width:500px){

.features{
grid-template-columns:1fr;
}

.h2 {
    font-size: 16px;
}

}