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

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #f7f9fc;
    color: #222;
    overflow-x: hidden;
}

.main-container {
    width: 100%;
}

header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 94%;
    height: 80px;
    padding: 0 45px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    border-radius: 20px;
    background: rgba(20,20,20,.45);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255,255,255,.15);
    box-shadow: 0 12px 35px rgba(0,0,0,.25);
    transition: .4s;
}

header:hover {
    background: rgba(20,20,20,.55);
}

.logo {
    width: 15%;
}

.logo img {
    width: 80%;
}

.menu-toggle {
    display: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
}

.left-bar {
    display: flex;
    align-items: center;
}

.left-bar ul {
    display: flex;
    list-style: none;
    gap: 45px;
}

.left-bar ul li a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    font-size: 16px;
    position: relative;
    transition: .35s;
}

.left-bar ul li a::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 3px;
    border-radius: 20px;
    background: #1fa2ff;
    transition: .35s;
}

.left-bar ul li a:hover {
    color: #8ceaff;
}

.left-bar ul li a:hover::after {
    width: 100%;
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 150px 30px 100px;
    background: linear-gradient(rgba(8,20,40,.65),rgba(8,20,40,.72));
    /* background: linear-gradient(rgba(8,20,40,.65),rgba(8,20,40,.72)),url("../static/images/real-estate-bg.jpg"); */
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    width: 650px;
    height: 650px;
    background: rgba(0,208,255,.08);
    border-radius: 50%;
    top: -200px;
    right: -120px;
    filter: blur(25px);
}

.hero::after {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    background: rgba(0,255,170,.08);
    border-radius: 50%;
    bottom: -180px;
    left: -120px;
    filter: blur(25px);
}

.hero-content {
    max-width: 900px;
    position: relative;
    z-index: 5;
    animation: fadeUp 1s ease;
}

.hero-badge {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 50px;
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(10px);
    color: #fff;
    font-size: 14px;
    margin-bottom: 25px;
    letter-spacing: .5px;
}

.hero h1 {
    color: #fff;
    font-size: 68px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 25px;
    text-shadow: 0 10px 25px rgba(0,0,0,.35);
}

.hero p {
    color: #e5eef8;
    font-size: 22px;
    line-height: 1.8;
    margin-bottom: 50px;
}

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

.cta-buttons a {
    text-decoration: none;
}

.primary-btn,
.secondary-btn {
    padding: 18px 40px;
    border-radius: 60px;
    font-size: 17px;
    font-weight: 600;
    transition: .4s;
    display: flex;
    align-items: center;
    gap: 12px;
}

.primary-btn {
    color: #fff;
    background: #00b4ff;
    box-shadow: 0 18px 35px rgba(0,102,255,.35);
}

.primary-btn:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0,102,255,.45);
}

.secondary-btn {
    color: #fff;
    border: 2px solid rgba(255,255,255,.45);
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(10px);
}

.secondary-btn:hover {
    background: #fff;
    color: #0d6efd;
    transform: translateY(-8px);
}

.primary-btn,
.secondary-btn {
    animation: floatButton 4s ease-in-out infinite;
}

.secondary-btn {
    animation-delay: .5s;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatButton {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
    100% {
        transform: translateY(0);
    }
}

section {
    padding: 100px 8%;
}

section h2 {
    font-size: 42px;
    text-align: center;
    margin-bottom: 18px;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    color: #666;
    max-width: 760px;
    margin: auto;
    margin-bottom: 70px;
    line-height: 1.8;
    font-size: 18px;
}

.services {
    background: #fff;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
    gap: 35px;
    margin-top: 50px;
}

.service-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 22px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: .35s;
    border: 1px solid #edf1f7;
    box-shadow: 0 15px 40px rgba(20,30,60,.06);
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 60px rgba(20,30,60,.14);
}

.service-card .icon {
    width: 80px;
    height: 80px;
    margin: auto;
    margin-bottom: 25px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    color: white;
    background: linear-gradient(135deg,#007cf0,#00dfd8);
    box-shadow: 0 15px 30px rgba(0,124,240,.25);
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 24px;
    color: #222;
}

.service-card p {
    color: #666;
    line-height: 1.8;
}

.why-us {
    background: #f8fafc;
    text-align: center;
}
.section-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: #1fa2ff;
    margin-bottom: 14px;
    position: relative;
    
}
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(240px,1fr));
    gap: 30px;
    margin-top: 55px;
}

.why-card {
    background: white;
    border-radius: 20px;
    padding: 35px;
    text-align: center;
    transition: .35s;
    box-shadow: 0 12px 30px rgba(0,0,0,.06);
}

.why-card:hover {
    transform: translateY(-10px);
}

.why-card i {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    background: #1fa2ff;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
    font-size: 28px;
    margin-bottom: 20px;
}

.why-card h3 {
    margin-bottom: 15px;
}

.why-card p {
    color: #666;
    line-height: 1.7;
}

.stats {
    background: #0f172a;
    color: white;
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(190px,1fr));
    gap: 10px;
}

.stat {
    text-align: center;
}

.stat h2 {
    color: #00dfd8;
    font-size: 20px;
    margin-bottom: 10px;
}

.stat p {
    font-size: 18px;
    opacity: .9;
}

.join-section {
    text-align: center;
    background: white;
}

.join-section p {
    max-width: 750px;
    margin: auto;
    color: #666;
    line-height: 1.8;
    margin-bottom: 40px;
}

.join-btn {
    text-decoration: none;
    display: inline-block;
    padding: 18px 45px;
    border-radius: 60px;
    color: white;
    font-weight: 600;
    background: #007cf0;
    transition: .35s;
    box-shadow: 0 18px 35px rgba(0,124,240,.30);
}

.join-btn:hover {
    transform: translateY(-8px);
}

footer {
    background: #0f172a;
    color: #d1d5db;
    padding: 70px 8% 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
}

.footer-column img {
    width: 180px;
    margin: -50px -5px;
}
.socials{
    display: flex;
    align-items: center;
    gap: 20px;
}
.footer-column h4 {
    color: white;
    margin-bottom: 20px;
}

.footer-column p {
    margin-bottom: 12px;
    line-height: 1.8;
}

.footer-column a {
    display: block;
    margin-bottom: 12px;
    color: #d1d5db;
    transition: .3s;
    text-decoration: none;
}

.footer-column a:hover {
    color: #00dfd8;
    padding-left: 8px;
}

.copyright {
    margin-top: 50px;
    border-top: 1px solid rgba(255,255,255,.08);
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
}

::-webkit-scrollbar {
    width: 7px;
}

::-webkit-scrollbar-track {
    background: #ececec;
}

::-webkit-scrollbar-thumb {
    background: #54575a;
    border-radius: 30px;
}

@media (max-width: 1024px) {
    ::-webkit-scrollbar {
        display: none;
    }
    html {
        scrollbar-width: none;
    }

    body {
        -ms-overflow-style: none;
    }
    header {
        position: absolute;
        top: 0;
        left: 0;
        transform: none;
        width: 100%;
        border-radius: 0;
        height: 88px;
        padding: 20px 20px 20px 0px;
    }

    .logo {
        width: 55%;
    }

    .menu-toggle {
        display: block;
    }

    .left-bar {
        position: absolute;
        inset: 0;
        background: rgba(0,0,0,.45);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
        visibility: hidden;
        opacity: 0;
        transition: .3s ease;
        z-index: 99999;
        right: 0;
        left: 0;
        bottom: 0;
        top: 0;
        height: 100vh;
        overflow: hidden;
    }

    .left-bar.active {
        visibility: visible;
        opacity: 1;
    }

    .left-bar ul {
        position: absolute;
        top: 0;
        right: 0;
        width: 320px;
        max-width: 85vw;
        height: 100%;
        background: #fff;
        transform: translateX(100%);
        transition: transform .35s ease;
        display: flex;
        flex-direction: column;
        box-shadow: 0 20px 50px rgba(0,0,0,.2);
        color: #222;
        padding: 20px;
        gap: 20px;
    }

    .left-bar.active ul {
        transform: translateX(0);
    }

    .left-bar ul li a {
        color: #222;
        font-size: 18px;
        text-decoration: none;
    }

    .left-bar ul li {
        border-bottom: 1px solid rgba(0,0,0,.08);
    }
    .left-bar ul li a::after {
        background: none;
        content: none;
    }

    .left-bar ul li a:hover {
        color: none;
    }

    .hero {
        min-height: 85vh;
        padding-top: 120px;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero p {
        font-size: 18px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .primary-btn,
    .secondary-btn {
        width: 100%;
        padding: 17px 20px;
        justify-content: center;
    }
    .primary-btn:hover,
    .secondary-btn:hover {
        -webkit-tap-highlight-color: transparent;
    }
    .service-cards,
    .why-grid,
    .stats {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

    

    .service-card,
    .why-card,
    .stat {
        animation: fadeCard .8s ease;
    }

    @keyframes fadeCard {
        from {
            opacity: 0;
            transform: translateY(35px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}