/* ================= RESET ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #F8F5F0;
    color: #1a1a1a;
}

a {
    text-decoration: none;
}

/* ================= CONTAINER ================= */
.container {
    width: 90%;
    max-width: 1300px;
    margin: auto;
}

/* ================= TOP HEADER ================= */
.top-header {
    background: linear-gradient(90deg, #0A3D62, #06283D);
    color: #fff;
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.top-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-left span {
    margin-right: 15px;
    opacity: 0.9;
}

.top-center {
    color: #F4C430;
    font-weight: 500;
}

.top-right a {
    color: #fff;
    margin-left: 15px;
    transition: 0.3s;
}

.top-right a:hover {
    color: #F4C430;
}

/* REGISTER BUTTON */
.btn-register {
    background: linear-gradient(135deg, #F4C430, #ffd95e);
    color: #000 !important;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 600;
}

/* ================= NAVBAR ================= */
.main-navbar {
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

/* LOGO */
.logo a {
    font-size: 28px;
    font-weight: 700;
    color: #0A3D62;
}
.logo span {
    color: #F4C430;
}

/* MENU */
.nav-menu ul {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-menu ul li {
    position: relative;
}

.nav-menu ul li a {
    color: #333;
    font-weight: 500;
    transition: 0.3s;
}

.nav-menu ul li a:hover {
    color: #0A3D62;
}

/* MEGA MENU */
.mega-menu {
    position: absolute;
    top: 50px;
    left: 0;
    background: #fff;
    display: none;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    gap: 50px;
    min-width: 500px;
}

.mega-parent:hover .mega-menu {
    display: flex;
}

.mega-col h4 {
    margin-bottom: 10px;
    color: #0A3D62;
}

.mega-col a {
    display: block;
    margin-bottom: 8px;
    color: #555;
}

/* NAV BUTTONS */
.nav-actions {
    display: flex;
    align-items: center;
}

.btn-primary {
    background: linear-gradient(135deg, #F4C430, #ffd95e);
    padding: 10px 22px;
    border-radius: 30px;
    font-weight: 600;
    color: #000;
    box-shadow: 0 5px 15px rgba(244,196,48,0.4);
}

.btn-outline {
    border: 1px solid #0A3D62;
    padding: 10px 18px;
    border-radius: 30px;
    color: #0A3D62;
    margin-right: 10px;
}


/* ================= NAVBAR PREMIUM ================= */
.main-navbar {
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

/* WRAPPER */
.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

/* LOGO */
.logo a {
    font-size: 30px;
    font-weight: 700;
    color: #0A3D62;
}
.logo span {
    color: #F4C430;
}

/* MENU */
.nav-menu ul {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-menu ul li {
    position: relative;
}

.nav-menu ul li a {
    font-weight: 500;
    color: #333;
    padding: 5px 0;
}

/* HOVER UNDERLINE */
.nav-menu ul li a::after {
    content: '';
    width: 0%;
    height: 2px;
    background: #F4C430;
    position: absolute;
    bottom: -5px;
    left: 0;
    transition: 0.3s;
}

.nav-menu ul li a:hover::after {
    width: 100%;
}

/* MEGA MENU */
.mega-menu {
    position: absolute;
    top: 60px;
    left: 0;
    display: none;
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 25px 70px rgba(0,0,0,0.15);
    gap: 50px;
    min-width: 700px;
}

.mega-parent:hover .mega-menu {
    display: flex;
}

/* COLUMNS */
.mega-col h4 {
    color: #0A3D62;
    margin-bottom: 12px;
}

.mega-col a {
    display: block;
    margin-bottom: 8px;
    color: #555;
}

.mega-col.highlight {
    background: #F8F5F0;
    padding: 15px;
    border-radius: 10px;
}

/* ACTION BUTTONS */
.nav-actions {
    display: flex;
    align-items: center;
}

.btn-primary {
    background: linear-gradient(135deg, #F4C430, #ffd95e);
    padding: 10px 22px;
    border-radius: 30px;
    font-weight: 600;
    color: #000;
    margin-left: 10px;
    box-shadow: 0 8px 20px rgba(244,196,48,0.4);
}

.btn-outline {
    border: 1px solid #0A3D62;
    padding: 10px 18px;
    border-radius: 30px;
    color: #0A3D62;
}

/* HOVER EFFECT */
.btn-primary:hover {
    transform: translateY(-2px);
}

.btn-outline:hover {
    background: #0A3D62;
    color: white;
}
/* ================= FOOTER ================= */
.footer {
    background: #0A3D62;
    color: #fff;
    padding-top: 70px;
}

/* MAIN GRID */
.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 40px;
}

/* BRAND */
.footer-col.brand h2 {
    color: #F4C430;
    margin-bottom: 15px;
}

.footer-col.brand p {
    color: #dcdcdc;
    line-height: 1.6;
    margin-bottom: 15px;
}

.contact span {
    display: block;
    font-size: 14px;
    margin-bottom: 6px;
}

/* LINKS */
.footer-col h4 {
    margin-bottom: 15px;
    font-weight: 600;
}

.footer-col a {
    display: block;
    margin-bottom: 10px;
    color: #ccc;
    font-size: 14px;
    transition: 0.3s;
}

.footer-col a:hover {
    color: #F4C430;
}

/* STRIP */
.footer-strip {
    background: #08304d;
    margin-top: 50px;
    padding: 25px 0;
}

.strip-flex {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.footer-strip h4 {
    margin-bottom: 8px;
}

.footer-strip p {
    font-size: 14px;
    color: #ccc;
}

/* BOTTOM */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding: 15px 0;
}

.bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bottom-links a {
    margin-left: 20px;
    color: #ccc;
    font-size: 14px;
}

.bottom-links a:hover {
    color: #F4C430;
}

/* RESPONSIVE */
@media(max-width: 992px){
    .footer-main {
        grid-template-columns: 1fr 1fr;
    }

    .strip-flex {
        flex-direction: column;
    }
}

@media(max-width: 600px){
    .footer-main {
        grid-template-columns: 1fr;
    }
}
/* ================= HERO ================= */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

/* VIDEO */
.hero-video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    top: 0;
    left: 0;
    transform: scale(1.1);
}

/* OVERLAY */
.hero-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, rgba(10,61,98,0.75), rgba(0,0,0,0.6));
}

/* CONTENT */
.hero-center {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    top: 50%;
    transform: translateY(-50%);
    max-width: 900px;
}

.hero h1 {
    font-size: 60px;
    font-weight: 700;
}

.hero p {
    margin: 15px 0 35px;
    font-size: 18px;
    opacity: 0.9;
}

/* ================= SEARCH ================= */
.search-bar {
    width: 100%;
}

.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    max-width: 750px;
    margin: auto;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(20px);
    border-radius: 60px;
    padding: 8px;
    box-shadow: 0 15px 60px rgba(0,0,0,0.4);
}

/* ICON */
.icon {
    margin-left: 15px;
    font-size: 18px;
}

/* INPUT */
.search-wrapper input {
    flex: 1;
    border: none;
    outline: none;
    padding: 14px;
    font-size: 15px;
    background: transparent;
    color: #fff;
}

/* BUTTON */
.search-wrapper button {
    background: linear-gradient(135deg, #F4C430, #ffd95e);
    border: none;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
}

/* SUGGESTION BOX */
#suggestBox {
    position: absolute;
    top: 65px;
    width: 100%;
    background: #fff;
    border-radius: 15px;
    display: none;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    overflow: hidden;
}

#suggestBox div {
    padding: 12px 15px;
    cursor: pointer;
    font-size: 14px;
}

#suggestBox div:hover {
    background: #f5f5f5;
}

/* ================= RESPONSIVE ================= */
@media(max-width: 768px){

    .hero h1 {
        font-size: 34px;
    }

    .search-wrapper {
        flex-direction: column;
        border-radius: 20px;
    }

    .search-wrapper button {
        width: 100%;
        margin-top: 10px;
    }
}
/* ================= NAVBAR ================= */
.main-navbar {
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(15px);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* LOGO */
.logo a {
    font-size: 26px;
    font-weight: 700;
    color: #0A3D62;
}
.logo span {
    color: #F4C430;
}

/* MENU */
.nav-menu ul {
    display: flex;
    gap: 25px;
    list-style: none;
}

.nav-menu ul li {
    position: relative;
}

/* MEGA MENU DESKTOP */
.mega-menu {
    position: absolute;
    top: 50px;
    left: 0;
    background: white;
    display: none;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    gap: 30px;
}

.mega-parent:hover .mega-menu {
    display: flex;
}

/* BUTTONS */
.nav-actions {
    display: flex;
}

.btn-primary {
    background: #F4C430;
    padding: 10px 20px;
    border-radius: 30px;
}

.btn-outline {
    border: 1px solid #0A3D62;
    padding: 10px 18px;
    border-radius: 30px;
    margin-right: 10px;
}

/* ================= HAMBURGER ================= */
.hamburger {
    display: none;
    font-size: 26px;
    cursor: pointer;
}

/* ================= MOBILE ================= */
@media(max-width: 992px){

    .hamburger {
        display: block;
    }

    .nav-actions {
        display: none;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: white;
        padding: 30px;
        transition: 0.3s;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 20px;
    }

    /* MOBILE MEGA MENU */
    .mega-menu {
        position: static;
        display: none;
        box-shadow: none;
        padding: 10px 0;
    }

    .mega-parent.active .mega-menu {
        display: block;
    }
}
/* ===== MOBILE VIEW FIX ONLY ===== */
@media (max-width: 768px) {

    /* Remove right side white space */
    html, body {
        overflow-x: hidden;
    }

    /* Fix container spacing */
    .container {
        width: 100%;
        padding: 0 12px;
    }

    /* Fix navbar menu */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        height: 100vh;
        background: #fff;
        padding: 25px;
        transition: 0.3s;
        z-index: 999;
    }

    .nav-menu.active {
        right: 0;
    }

    /* Stack menu items */
    .nav-menu ul {
        flex-direction: column;
        gap: 18px;
    }

    /* Fix mega menu (MAIN ISSUE) */
    .mega-menu {
        position: static !important;
        display: none;
        width: 100%;
        min-width: 100% !important;
        box-shadow: none;
        padding: 10px 0;
    }

    .mega-parent.active .mega-menu {
        display: block;
    }

    /* Hero text size */
    .hero h1 {
        font-size: 32px;
    }

    /* Search box fix */
    .search-wrapper {
        flex-direction: column;
        border-radius: 18px;
    }

    .search-wrapper button {
        width: 100%;
        margin-top: 10px;
    }

    /* Prevent overflow from media */
    img, video {
        max-width: 100%;
        height: auto;
    }
}
/* SEARCH FIX */
.search-wrapper {
    position: relative;
}

/* SUGGEST BOX */
#suggestBox {
    position: absolute;
    top: 60px;
    width: 100%;
    background: #fff;
    border-radius: 12px;
    display: none;
    z-index: 999;
    max-height: 250px;
    overflow-y: auto;
}

/* MOBILE FIX */
@media(max-width: 768px){
    #suggestBox {
        top: 100%;
    }
}
/* SECTION */
.properties {
    padding: 80px 0;
    background: #F8F5F0;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 32px;
}

/* GRID */
.property-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 25px;
}

/* CARD */
.property-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.property-card:hover {
    transform: translateY(-5px);
}

/* IMAGE */
.property-img {
    position: relative;
    height: 220px;
}

.property-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* TAG */
.tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #F4C430;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
}

/* CONTENT */
.property-content {
    padding: 20px;
}

.property-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.location {
    font-size: 14px;
    color: #777;
}

/* BOTTOM */
.bottom {
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-weight: 600;
    color: #0A3D62;
}

.view-btn {
    background: #0A3D62;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
}

/* MOBILE */
@media(max-width: 992px){
    .property-grid {
        grid-template-columns: repeat(2,1fr);
    }
}

@media(max-width: 600px){
    .property-grid {
        grid-template-columns: 1fr;
    }
}
/* HERO */
.about-hero {
    position: relative;
    height: 90vh;
    overflow: hidden;
}

/* VIDEO */
.about-video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* OVERLAY */
.about-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, rgba(10,61,98,0.85), rgba(0,0,0,0.7));
}

/* CONTENT */
.about-hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 900px;
    top: 50%;
    transform: translateY(-50%);
}

/* TAGLINE */
.tagline {
    letter-spacing: 2px;
    font-size: 12px;
    color: #F4C430;
}

/* HEADING */
.about-hero h1 {
    font-size: 56px;
    margin: 15px 0;
    line-height: 1.2;
}

/* TEXT */
.about-hero p {
    font-size: 18px;
    opacity: 0.9;
    max-width: 600px;
}

/* BUTTONS */
.hero-buttons {
    margin-top: 30px;
}

.btn-primary {
    background: linear-gradient(135deg, #F4C430, #ffd95e);
    padding: 12px 25px;
    border-radius: 30px;
    margin-right: 10px;
}

.btn-outline {
    border: 1px solid #fff;
    padding: 12px 25px;
    border-radius: 30px;
    color: #fff;
}

/* MOBILE */
@media(max-width: 768px){
    .about-hero h1 {
        font-size: 32px;
    }

    .about-hero-content {
        padding: 0 15px;
    }
}
/* SECTION */
.about-story {
    padding: 100px 0;
    background: #fff;
}

/* GRID */
.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* TAG */
.section-tag {
    font-size: 12px;
    letter-spacing: 2px;
    color: #F4C430;
}

/* HEADING */
.story-content h2 {
    font-size: 42px;
    margin: 15px 0;
}

/* TEXT */
.story-content p {
    margin-bottom: 15px;
    color: #555;
}

.highlight {
    font-weight: 500;
    color: #000;
}

/* SIGNATURE */
.signature {
    margin-top: 25px;
}

.signature span {
    display: block;
    font-size: 13px;
    color: #888;
}

/* IMAGE STACK */
.image-stack {
    position: relative;
}

.img-main {
    width: 100%;
    border-radius: 20px;
}

.img-float {
    position: absolute;
    width: 60%;
    bottom: -30px;
    right: -20px;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

/* FLOAT CARD */
.floating-card {
    position: absolute;
    bottom: -60px;
    left: 20px;
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

/* MOBILE */
@media(max-width: 768px){
    .story-grid {
        grid-template-columns: 1fr;
    }

    .img-float {
        position: static;
        margin-top: 10px;
        width: 100%;
    }

    .floating-card {
        position: static;
        margin-top: 15px;
    }
    
}
/* SECTION */
.why-premium {
    padding: 100px 0;
    background: #F8F5F0;
}

/* HEAD */
.section-head {
    text-align: center;
    max-width: 600px;
    margin: auto;
    margin-bottom: 50px;
}

.section-head span {
    font-size: 12px;
    letter-spacing: 2px;
    color: #F4C430;
}

.section-head h2 {
    font-size: 32px;
    margin: 10px 0;
}

.section-head p {
    color: #666;
}

/* GRID */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 25px;
}

/* CARD */
.why-item {
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 18px;
    transition: 0.3s ease;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

/* ICON */
.why-item .icon {
    font-size: 24px;
    margin-bottom: 15px;
}

/* TITLE */
.why-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

/* TEXT */
.why-item p {
    font-size: 14px;
    color: #666;
}

/* HOVER EFFECT */
.why-item:hover {
    transform: translateY(-6px);
    background: #fff;
}

/* MOBILE */
@media(max-width: 992px){
    .why-grid {
        grid-template-columns: repeat(2,1fr);
    }
}

@media(max-width: 600px){
    .why-grid {
        grid-template-columns: 1fr;
    }
}
/* SECTION */
.stats-premium {
    padding: 100px 0;
    background: #0A3D62;
    color: white;
}

/* GRID */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    text-align: center;
    gap: 20px;
}

/* BOX */
.stat-box {
    padding: 20px;
}

/* NUMBER */
.stat-box h2 {
    font-size: 42px;
    color: #F4C430;
    margin-bottom: 5px;
}

/* TEXT */
.stat-box p {
    font-size: 14px;
    opacity: 0.9;
}

/* MOBILE */
@media(max-width: 768px){
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
}