/* ---------- CSS VARIABLES (Colors) ---------- */
:root {
    --navy: #1B3A6B;
    --navy-dark: #142C52;
    --gold: #C9912C;
    --gold-dark: #A87820;
    --white: #FFFFFF;
    --light-gray: #F5F7FA;
    --gray: #6B7280;
    --dark: #1F2937;
    --header-h: 80px;
}

/* ---------- RESET & BASE STYLES ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    padding-top: 90px;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

/* ---------- UTILITY CLASSES ---------- */
.container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.gold-text {
    color: var(--gold);
}

.gold-line {
    width: 60px;
    height: 4px;
    background: var(--gold);
    margin: 15px auto;
    border-radius: 2px;
}

/* ---------- BUTTONS ---------- */
.btn {
    padding: 12px 28px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-golden {
    padding: 10px 22px;
    border-radius: 8px;
    background: var(--navy); /* gold */
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition:  0.3s ease;
}

.btn-gold:hover {
    background: var(--gold-dark);
    box-shadow: 0 4px 15px rgba(201, 145, 44, 0.4);
}

.btn-outline {
    padding: 10px 22px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: transparent;
    border: 1.5px solid var(--navy);
    color: var(--navy);
}

.btn-outline:hover {
    background: var(--navy);
    color: var(--white);
}

.btn-outline-white {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--navy);
}

.btn-full {
    width: 100%;
    padding: 16px;
    font-size: 16px;
}

/* ==========================================
   HEADER
   ========================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

header{
    padding: 20px 40px;
    margin-bottom: 32px;
}

.header-content {
    max-width: 1300px;
    margin: 0 auto;
    background: #FFF8E8;
    border-radius: 60px;
    padding: 18px 40px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.logo-link :hover {
    opacity: 0.8;
}

.logo img{
    height: 35px;
    width: auto;
    object-fit: contain;
}

/* Navigation */
.nav {
    display: flex;
    gap: 20px;
    align-items: center;
    height: 100%;
}

.nav-link {
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    white-space: nowrap;
}

.nav-link:hover{
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
}

/* Dropdown container */
.dropdown {
    position: relative;
}

/* Dropdown arrow */
.arrow-icon {
    font-size: 12px;
    margin-left: 4px;
}

/* Dropdown menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    
    background: white;
    min-width: 220px;

    border-radius: 8px;
    padding: 10px 0;

    box-shadow: 0 10px 25px rgba(0,0,0,0.08);

    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);

    transition: all 0.25s ease;

    z-index: 1000;
}

/* Dropdown links */
.dropdown-menu a {
    display: block;
    padding: 10px 18px;
    color: var(--navy);
    font-size: 14px;
    text-decoration: none;
    transition: background 0.2s;
}

.dropdown-menu a:hover {
    background: #f5f5f5;
}

/* SHOW dropdown on hover */
.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}



/* Header Buttons */
.header-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

/* Mobile Menu Toggle */
.menu-toggle {
    margin-left: auto;
    display: flex;
}

.menu-toggle span {
    width: 24px;
    height: 2.5px;
    background: var(--navy);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.menu-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }



/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;

    background: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=1920&h=1080&fit=crop')
        center / cover no-repeat;
    
    max-width: 1400px;
    margin: 0 auto;
    margin-top: 50px;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0,0,0,0.12);
    padding: 90px 20px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4); /* adjust darkness as needed */
    z-index: 0;
}

.hero-container {
    position: relative;
    z-index: 1; /* ADD THIS - keeps text above overlay */
}

.hero-content {
    text-align: center;
    width: 100%;
    max-width: 1200px;
}

.hero-title {
    font-size: clamp(48px, 8vw, 72px);
    font-weight: 800;
    background: linear-gradient(135deg, var(--white) 0%, #f8fafc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.gold-text {
    background: linear-gradient(135deg, var(--gold) 0%, #d97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.home-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--gold), #b45309);
    color: var(--white) !important;
    -webkit-text-fill-color: #fff !important;
    background-clip: border-box;
    border-radius: 50%;
    font-size: 24px;
    margin: 0 12px;
    box-shadow: 0 8px 24px rgba(201, 145, 44, 0.4);
}

.hero-subtitle {
    font-size: clamp(16px, 2.5vw, 20px);
    color: white;
    max-width: 650px;
    margin: 0 auto 60px;
    line-height: 1.6;
}

/* Search Box */
.search-box {
    background: var(--white);
    border-radius: 24px;
    padding: 28px 32px;
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
    box-shadow: 0 32px 80px rgba(0,0,0,0.15);
    border: 1px solid rgba(255,255,255,0.8);
}

.search-field {
    flex: 2;
}

.search-field label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: var(--gray);
    margin-bottom: 6px;
    text-align: center;
}

.search-field select,
.search-field input {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #f1f5f9;
    border-radius: 16px;
    font-size: 16px;
    color: var(--dark);
    background: #fafbfc;
    transition: all 0.3s ease;
}

.search-field select:focus,
.search-field input:focus {
    outline: none;
    border-color: var(--gold);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(201, 145, 44, 0.1);
}

.slider-field {
    flex: 2;
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: #fafbfc;
}

.budget-slider {
    flex: 1;
    height: 8px;
    border-radius: 4px;
    background: #e2e8f0;
    outline: none;
}


.budget-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--gold);
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(201, 145, 44, 0.4);
}

.slider-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--navy);
    min-width: 60px;
}

.search-btn {
    background: #0b3c88;
    color: #fff;

    min-width: 150px;
    height: 46px;

    border-radius: 10px;
    font-weight: 600;
}

.search-btn:hover {
    background: var(--gold);
    box-shadow: 0 6px 20px rgba(201, 145, 44, 0.4);
    transform: translateY(-1px);
}

.search-btn:active {
    transform: translateY(0);
}


/* ==========================================
   STATS SECTION
   ========================================== */
.stats {
    padding: 60px 0;
    background: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 5px;
}

.stat-label {
    color: var(--gray);
    font-size: 14px;
}

/* ==========================================
   SECTION HEADER (Reusable)
   ========================================== */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 32px;
    color: var(--navy);;
}

.section-subtitle {
    color: var(--gray);
    max-width: 550px;
    margin: 0 auto;
}

/* ==========================================
   SERVICES SECTION
   ========================================== */
.services {
    padding: 80px 0;
    background: var(--light-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.service-card {
    position: relative;
    height: 250px;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
}

.service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.service-card:hover img {
    transform: scale(1.1);
}

.service-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(27, 58, 107, 0.9), transparent);
}

.service-content {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: var(--white);
}

.service-icon {
    width: 45px;
    height: 45px;
    background: var(--gold);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 10px;
}

.service-content h3 {
    font-size: 18px;
}

/* ==========================================
   AWARDS SECTION
   ========================================== */
.awards {
    padding: 80px 0;
    background: var(--white);
}

.awards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.award-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--gold);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    margin-bottom: 20px;
}

.awards-description {
    color: var(--gray);
    margin-bottom: 25px;
    line-height: 1.8;
    text-align: justify;
}

.awards-list {
    list-style: none;
    margin-bottom: 30px;
}

.awards-list li {
    padding: 10px 0;
    font-weight: 500;
}

.awards-image {
    position: relative;
}

.awards-image img {
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.awards-badge-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(27, 58, 107, 0.9);
    padding: 10px 15px;
    border-radius: 8px;
}

.awards-badge-overlay p {
    font-size: 11px;
    color: var(--white);
    text-align: center;
}

.awards-badge-overlay p:first-child {
    color: var(--gold);
    font-weight: 600;
}

/* ==========================================
   PROPERTIES SECTION
   ========================================== */
.properties {
    padding: 80px 0;
    background: var(--white);
}

.property-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    border: none;
    border-radius: 25px;
    background: var(--light-gray);
    color: var(--dark);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: 0.3s;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--navy);
    color: var(--white);
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.property-card {
    position: relative;
    height: 550px;
    width: 450px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.property-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.property-card:hover img {
    transform: scale(1.1);
}

.property-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(27, 58, 107, 0.8), transparent 60%);
}

.property-info {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: var(--white);
}

.property-info h3 {
    font-size: 20px;
    margin-bottom: 5px;
}

.property-info p {
    font-size: 14px;
    opacity: 0.9;
}

.property-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gold);
    border: none;
    color: var(--white);
    font-size: 18px;
    cursor: pointer;
    transition: 0.3s;
}

.property-btn:hover {
    background: var(--gold-dark);
    box-shadow: 0 4px 15px rgba(201, 145, 44, 0.4);
}

/* ==========================================
   EXPERT CTA SECTION
   ========================================== */
/* CTA Section Wrapper */
.expert-cta {
    padding: 100px 20px;
    background: #fdfaf3;
}

/* CTA Box */
.cta-box {
    max-width: 1200px;
    margin: auto;
    background: linear-gradient(135deg, #0d2e6d, #081f4d);
    border-radius: 22px;
    padding: 70px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

/* Left Content */
.cta-content {
    max-width: 520px;
    z-index: 2;
}

.cta-content h2 {
    font-size: 42px;
    color: #ffffff;
    margin-bottom: 18px;
    line-height: 1.2;
}

.cta-content p {
    color: rgba(255,255,255,0.85);
    font-size: 16px;
    margin-bottom: 35px;
}

/* Buttons */
.cta-buttons {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    transition: 0.3s ease;
}

/* White Button */
.btn-white {
    background: #ffffff;
    color: #111;
}

.btn-white:hover {
    background: #f1f1f1;
}

/* Gold Button */
.btn-gold {
    background: #d6b15c;
    color: #081f4d;
}

.btn-gold:hover {
    background: #c5a24e;
}

/* Right Image */
.cta-image {
    position: absolute;
    right: -40px;
    bottom: -60px;
    width: 420px;
}

.cta-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* ==========================================
   INQUIRY FORM SECTION
   ========================================== */
.inquiry {
    padding: 80px 0;
    background: var(--light-gray);
}

.inquiry-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.inquiry-form h2 {
    font-size: 32px;
    color: var(--navy);
    margin-bottom: 5px;
}

.form-subtitle {
    color: var(--gray);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--dark);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 14px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    font-size: 14px;
    background: var(--white);
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--gold);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.inquiry-image img {
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

/* Tablet */
@media (max-width: 992px) {
    .nav,
    .header-buttons {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .hero-title {
        font-size: 36px;
    }
.nav.active {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: fixed;
    top: 70px;
    left: 12px;
    right: 12px;
    height: auto;
    max-height: calc(100vh - 90px);
    background: #ffffff;
    padding: 12px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-radius: 16px;
    z-index: 999;
    overflow-y: auto;
    gap: 0;
}
    .nav.active .nav-link {
        width: 100%;
        padding: 12px 0;
        font-size: 16px;
        border-bottom: 1px solid #f0f0f0;
        justify-content: space-between; /* Pushes arrow to right */
    }

    .nav.active .dropdown {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
    }

    /* Dropdown inside mobile menu */
    .dropdown-menu {
        position: relative; /* Stack normally in flow */
        top: 0;
        left: 0;
        transform: none;
        width: 100%;
        box-shadow: none;
        padding-left: 20px; /* Indent items */
        display: none; /* Hidden by default, JS toggles flex */
    }
    
    /* Adjust Logo size for tablet */
    .logo img {
        height: 24px;
    }
    .logo {
        gap: 8px;
    }
    
    .search-box {
        flex-direction: column;
        gap: 16px;
        padding: 24px;
    }
    
    .search-field {
        flex-direction: row;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid,
    .properties-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .awards-grid,
    .inquiry-grid {
        grid-template-columns: 1fr;
    }
    
    .awards-image {
        order: -1;
    }
    
    .inquiry-image {
        display: none;
    }
}

/* Mobile */
@media (max-width: 576px) {

    :root { --header-h: 70px; }

    .header {
        padding: 0px 14px;
    }
    .header-content{
        padding: 10px 18px;
        border-radius: 40px;
    }
    .logo {
        gap: 8px;
    }
    .logo img {
        height: 28px; /* Smaller logos to fit side-by-side */
    }

    /* Ensure hamburger doesn't get squished */
    .menu-toggle {
        margin-left: auto;
    }
    .hero{
        margin-top: 14px;
        border-radius: 16px;
        min-height: 60vh;
        padding: 50px 16px 40px;
    }

    .hero-title {
        font-size: clamp(30px, 8vw, 42px);
    }

    .hero-subtitle { font-size: 14px; margin-bottom: 36px; }
    .home-icon { width: 44px; height: 44px; font-size: 20px; }
 
    .search-box { padding: 16px; gap: 12px; border-radius: 14px; }
    
    .search-field, .slider-field {
        width: 100%;
    }

    .search-btn {
        width: 100%;
    }
    .section-title {
        font-size: 24px;
    }
    
    .stats { padding: 40px 0; }
    .stat-number { font-size: 34px; }
 
    .services-grid,
    .properties-grid { grid-template-columns: 1fr; }
 
    .property-card { height: 280px; }
 
    .form-row { grid-template-columns: 1fr; gap: 0; }
 
    .cta-box { padding: 40px 24px; border-radius: 16px; }
    .cta-content h2 { font-size: 24px; }
    .cta-buttons { flex-direction: column; }
    .cta-buttons .btn { width: 100%; justify-content: center; }
    
    .footer-nav {
        flex-direction: column;
        gap: 15px;
    }
}