
/*
    Atlas Property Group - Design Tokens
    Senior CSS Architect
*/

:root {
    /* Colors */
    --primary-blue: #0B3D91;
    --secondary-sky: #29B6F6;
    --accent-gold: #44150c;
    --accent-gold-hover: #881b1b;
    --accent-green: #D4AF37;
    --accent-green-hover: #B8962E;
    --white: #FFFFFF;
    --black: #111111;
    --dark-gray: #222222;
    --medium-gray: #777777;
    --light-gray: #F5F7FA;
    --border-color: #E1E4E8;

    /* Dark Mode Overrides */
    --bg-color: #FFFFFF;
    --text-color: #222222;
    --card-bg: #FFFFFF;

    /* Typography */
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Poppins', sans-serif;
    --font-btn: 'Montserrat', sans-serif;

    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 50px rgba(0,0,0,0.12);

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.14);
    --glass-border: rgba(255, 255, 255, 0.2);
}

.dark-mode {
    --bg-color: #121212;
    --text-color: #F5F7FA;
    --card-bg: #1E1E1E;
    --light-gray: #1A1A1A;
    --border-color: #333333;
    --glass-bg: rgba(0, 0, 0, 0.7);
}

body.dark-mode {
    --bg-color: #0b1220;
    --text-color: #edf3ff;
    --card-bg: #111c2b;
    --light-gray: #162536;
    --border-color: transparent;
    --white: #edf3ff;
    --black: #edf3ff;
    --medium-gray: #9dacbf;
}

body.dark-mode,
body.dark-mode main,
body.dark-mode section,
body.dark-mode header,
body.dark-mode footer,
body.dark-mode article,
body.dark-mode aside,
body.dark-mode .site-header,
body.dark-mode .main-header,
body.dark-mode .navbar,
body.dark-mode .card,
body.dark-mode .panel,
body.dark-mode .modal-content,
body.dark-mode input,
body.dark-mode select,
body.dark-mode textarea,
body.dark-mode table,
body.dark-mode th,
body.dark-mode td {
    border-color: transparent !important;
}

body.dark-mode .site-header,
body.dark-mode .main-header,
body.dark-mode .nav,
body.dark-mode .navbar,
body.dark-mode .card,
body.dark-mode .panel,
body.dark-mode .modal-content,
body.dark-mode .form-container,
body.dark-mode input,
body.dark-mode select,
body.dark-mode textarea {
    background-color: var(--card-bg) !important;
    color: var(--text-color) !important;
    box-shadow: none !important;
}

body.dark-mode input::placeholder,
body.dark-mode textarea::placeholder,
body.dark-mode label,
body.dark-mode small,
body.dark-mode .text-muted {
    color: var(--medium-gray) !important;
}

body.dark-mode footer.main-footer,
body.dark-mode footer.main-footer .footer-bottom {
    border: 0 !important;
    background: #08101c !important;
}

body.dark-mode footer.main-footer .footer-bottom {
    border-top: 0 !important;
}

@media (max-width: 768px) {
    body.dark-mode .mobile-menu-toggle,
    body.dark-mode .mobile-menu-toggle i,
    body.dark-mode .mobile-menu-toggle svg {
        background: transparent !important;
        border: none !important;
        color: var(--text-color) !important;
        fill: currentColor !important;
        filter: none !important;
    }

    body.dark-mode .mobile-menu-toggle {
        background: transparent !important;
        border: 0 !important;
        outline: 0 !important;
        box-shadow: none !important;
    }
}

/*
    Atlas Property Group - Master Stylesheet
    Senior CSS Architect
*/

/* --- Reset & Base --- */

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-blue);
}

.dark-mode h1,
.dark-mode h2,
.dark-mode h3,
.dark-mode h4 {
    color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 100px 0;
}

/* --- Buttons --- */

.btn {
    display: inline-block;
    padding: 15px 35px;
    font-family: var(--font-btn);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border: none;
    transition: var(--transition-smooth);
    border-radius: 4px;
}

.btn-primary {
    background: var(--primary-blue);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--secondary-sky);
    transform: translateY(-3px);
}

.btn-gold {
    background: var(--border-color);
    color: var(--black);
}

.btn-gold:hover {
    background: #1D4ED8;
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-blue);
}

.compare-toggle {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.compare-toggle:hover {
    background: var(--primary-blue);
    color: var(--white);
}

.compare-toggle.is-active {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.compare-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid rgba(15, 61, 102, 0.12);
    box-shadow: 0 -10px 30px rgba(15, 61, 102, 0.08);
}

.compare-bar.hidden {
    display: none !important;
}

.compare-bar-summary {
    font-size: 0.95rem;
    color: var(--primary-blue);
    font-weight: 700;
}

.compare-bar-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.property-content {
    padding-bottom: 110px;
}

@media (max-width: 768px) {
    .compare-bar {
        flex-direction: column;
        align-items: stretch;
    }
}

.compare-selected-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.compare-card {
    border: 1px solid rgba(11, 61, 145, 0.12);
    border-radius: 18px;
    overflow: hidden;
    background: var(--white);
    display: grid;
    gap: 16px;
}

.compare-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.compare-card-content {
    padding: 20px;
}

.compare-card-price {
    font-size: 1.2rem;
    color: var(--accent-gold);
    margin: 12px 0 8px;
}

.compare-card-meta {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.compare-card-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.compare-table-wrapper {
    overflow-x: auto;
    border: 1px solid rgba(11, 61, 145, 0.12);
    border-radius: 18px;
    background: var(--white);
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px;
}

.compare-table th,
.compare-table td {
    padding: 16px 18px;
    border-bottom: 1px solid rgba(11, 61, 145, 0.08);
    text-align: left;
}

.compare-table th {
    background: rgba(11, 61, 145, 0.04);
    font-weight: 700;
}

.compare-table tr.compare-highlight td {
    background: rgba(255, 238, 210, 0.5);
}

.compare-table tr:last-child td,
.compare-table tr:last-child th {
    border-bottom: none;
}

.compare-page-header .btn {
    min-width: 140px;
}

/* =========================================================
   HEADER & NAVIGATION
   ========================================================= */

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;

    padding: 12px 0;

    /* Premium glass background */
    background: rgba(10, 25, 50, 0.28);

    /* Glass blur */
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);

    /* No solid border */
    border-bottom: none;

    /* Soft glass shadow */
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);

    transition: var(--transition-smooth);
}

.main-header.sticky {
    background: rgba(10, 25, 50, 0.38);

    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);

    padding: 10px 0;

    border-bottom: none;

    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
}

.logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 150px;
    max-width: 250px;
    height: auto;
    object-fit: contain;
    display: block;
    background: transparent;
    max-height: 64px;
}

/* Ensure logo image never shows a colored background */
.main-header .logo-img,
.main-header.sticky .logo-img {
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.logo-text,
.logo-sub {
    display: none;
}

.nav-menu {
    display: flex;
    gap: 26px;
    align-items: center;
}

.nav-menu a {
    font-weight: 600;
    font-size: 15px;
    color: var(--white);
    text-transform: uppercase;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--accent-green);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

@media (min-width: 1025px) {

    .main-header {
        padding: 18px 0;
    }

    .main-header .nav-actions #dark-mode-toggle {
        order: 1;
    }

    .main-header .nav-actions a.btn-gold {
        order: 2;
    }

    .main-header .nav-actions .auth-group {
        order: 3;
    }

    .navbar {
        display: grid;
        grid-template-columns: auto 1fr auto;
        align-items: center;
        justify-items: center;
        gap: 20px;
    }

    .logo {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
    }

    .nav-menu {
        justify-self: center;
    }

    .nav-actions {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        margin-left: 0;
    }
}

.mobile-menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.08);
    justify-content: center;
    padding: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    position: relative;
    z-index: 1300;
}

.mobile-menu-toggle:hover {
    opacity: 0.88;
}

.mobile-menu-toggle i {
    font-size: 20px;
    color: var(--white);
    transition: transform 0.3s ease, color 0.3s ease;
}

.mobile-menu-toggle.is-active i {
    transform: rotate(0deg);
}

.main-header.sticky .nav-link-auth,
.main-header .nav-link-auth {
    color: var(--white);
}

#dark-mode-toggle {
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: var(--white);
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
}

#dark-mode-toggle:hover {
    background: rgba(255, 255, 255, 0.16);
}

/* =========================================================
   MEGA MENU
   ========================================================= */

.has-mega {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.has-mega .mega-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.has-mega .mega-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border: none;
    background: transparent;
    color: var(--white);
    cursor: pointer;
    padding: 0;
    font-size: 12px;
    line-height: 1;
    border-radius: 50%;
    transition: transform 0.2s ease, background 0.2s ease;
}

.has-mega .mega-toggle:hover {
    background: rgba(255,255,255,0.08);
}

.has-mega .mega-toggle[aria-expanded="true"] {
    transform: rotate(-180deg);
}

.mega-menu {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    width: 640px;
    max-width: calc(100vw - 40px);

    background: #ffffff;
    box-shadow: 0 18px 42px rgba(15, 34, 54, 0.16);
    padding: 24px;

    display: none;
    grid-template-columns: repeat(3, minmax(140px, 1fr));
    gap: 18px;

    opacity: 0;
    visibility: hidden;

    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    border-radius: 6px;
}

.mega-menu.services-menu {
    width: 280px;
    padding: 12px;
}

.mega-menu.services-menu .mega-grid,
.mega-menu.services-menu .mega-col {
    gap: 2px;
}

.has-mega.open .mega-menu {
    display: grid;
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.mega-grid {
    display: grid;
    gap: 20px;
}

.mega-col h4 {
    font-size: 16px;
    margin-bottom: 16px;
    padding-bottom: 6px;
}

.mega-col a {
    display: block;
    padding: 10px 12px;
    font-size: 14px;
    color: #3d4b5c;
    border-radius: 4px;
    transition: color 0.2s ease, background 0.2s ease, padding-left 0.2s ease;
}

.mega-col a:hover {
    color: var(--primary-blue);
    background: #f3f6f9;
    padding-left: 16px;
}

@media (max-width: 1024px) {
    .mega-menu {
        width: min(90vw, 640px);
    }

    .mega-menu.services-menu {
        width: min(90vw, 320px);
    }
}

@media (max-width: 768px) {

    .has-mega {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }

    .has-mega .mega-link {
        width: auto;
        flex: 1;
        display: flex !important;
        align-items: center;
        justify-content: flex-start;
        padding: 12px 8px;
        gap: 8px;
    }

    .has-mega .mega-toggle {
        display: inline-flex;
        align-self: center;
        margin-top: 0;
        margin-left: auto;
        padding: 8px;
    }

    .mega-col {
        padding: 0 0 10px;
    }

    .mega-col:last-child {
        border-bottom: none;
    }

    .mega-col h4 {
        margin-bottom: 10px;
    }
}

/* =========================================================
   HERO SLIDER
   ========================================================= */

.hero-slider {
    min-height: 100vh;
    height: auto;
    position: relative;
    overflow: visible;
    padding-bottom: 18px;
}

.slides-wrapper {
    position: absolute;
    inset: 0;
    overflow: hidden;
    width: 100%;
    min-height: 100vh;
    z-index: 0;
}

.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 1.8s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
    backface-visibility: hidden;
}

.slide.active {
    z-index: 1;
    opacity: 1;
}

.slide.active.zoom-in {
    animation: hero-zoom-in 3.2s ease-in-out both;
}

.slide.active.zoom-out {
    animation: hero-zoom-out 3.2s ease-in-out both;
}

@keyframes hero-zoom-in {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.08);
    }
}

@keyframes hero-zoom-out {
    from {
        transform: scale(1.08);
    }

    to {
        transform: scale(1);
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 5;
    width: 100%;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    pointer-events: none;
}

.hero-content {
    max-width: 700px;
    margin: 134px 0 0;
    pointer-events: auto;
}

.hero-content .hero-btns {
    pointer-events: auto;
}

.hero-content h1 {
    font-size: clamp(48px, 5vw, 76px);
    color: var(--white);
    line-height: 1.03;
    margin-bottom: 22px;
}

.hero-content p {
    font-size: 20px;
    color: var(--white);
    max-width: 600px;
    margin-bottom: 40px;
}

.hero-content .accent {
    color: var(--accent-green);
}

.hero-overlay .reveal {
    opacity: 1;
    transform: none;
    transition: none;
    animation: none;
}

.slider-indicators {
    position: absolute;
    left: 50%;
    bottom: 32px;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
}

.slider-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.45);
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.slider-indicators button.active {
    background: var(--accent-gold);
    transform: scale(1.2);
}

@media (prefers-reduced-motion: reduce) {
    .slide {
        transition-duration: 0.01ms;
        animation: none !important;
        transform: none;
    }
}

.hero-search-container {
    position: relative;
    width: min(100%, 1600px);
    max-width: 1600px;
    padding: 0 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 30px auto 0;
}

.hero-overlay .hero-search-container {
    pointer-events: auto;
}

.hero-search-form {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    padding: 12px 18px;
    border-radius: 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-end;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
}

.hero-search-form .search-group {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: flex-end;
}

.hero-search-form .search-group label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 6px;
    text-transform: uppercase;
}

.hero-search-form input,
.hero-search-form select {
    height: 44px;
    padding: 8px 10px;
}

.hero-search-form button[type="submit"] {
    flex: 0 0 140px;
    padding: 13px 18px;
    height: 44px;
    align-self: flex-end;
    display: flex;
    align-items: center;
    background: var(--primary-blue);
    color: var(--white);
    border: 1px solid var(--primary-blue);
    border-radius: 8px;
}

.hero-search-form button[type="submit"]:hover,
.hero-search-form button[type="submit"]:focus-visible {
    background: var(--primary-blue-dark, #0f4f9f);
    border-color: var(--primary-blue-dark, #0f4f9f);
    color: var(--white);
}

.search-group {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: flex-end;
}

.search-group label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary-blue);
}

.search-group input,
.search-group select {
    height: 44px;
    padding: 12px;
    box-sizing: border-box;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 4px;
    outline: none;
}

/* =========================================================
   PROPERTY CARDS
   ========================================================= */

.property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 30px;
}

.property-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
}

.property-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.property-image {
    position: relative;
    height: 250px;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-status {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--white);
    color: var(--black);
    padding: 5px 15px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
}

.property-price {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--primary-blue);
    color: var(--white);
    padding: 8px 15px;
    font-weight: 700;
    border-radius: 4px;
}

.property-info {
    padding: 25px;
}

.property-info h3 {
    margin-bottom: 10px;
    font-size: 24px;
}

.property-location {
    color: var(--medium-gray);
    font-size: 14px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.property-features {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--medium-gray);
}

.feature i {
    color: var(--black);
}

/* =========================================================
   SECTION TITLES
   ========================================================= */

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header span {
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    font-size: 14px;
}

.section-header h2 {
    font-size: 48px;
    margin-top: 10px;
}

.about-hero {
    min-height: 70vh;
    background:
        linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
        url('https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: white;
}

.about-hero .container {
    padding: 0 16px;
}

.about-hero h1 {
    margin: 0;
    font-size: clamp(2.8rem, 6vw, 4.8rem);    
    line-height: 1.05;
    max-width: 12ch;
}

.story-section {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 80px;
    align-items: center;
    padding: 120px 0;
}

.story-section.single-column {
    grid-template-columns: 1fr;
}

.story-section img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 100px auto;
    padding: 40px 0;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: var(--border-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
}

.timeline-item.left {
    left: 0;
    text-align: right;
}

.timeline-item.right {
    left: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: var(--white);
    border: 4px solid var(--accent-gold);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item.right::after {
    left: -10px;
}

/* =========================================================
   AUTH UI
   ========================================================= */

.nav-link-auth {
    font-weight: 700;
    font-size: 14px;
    margin-right: 15px;
    color: var(--white);
}

.main-header.sticky .nav-link-auth {
    color: var(--white);
}

.btn-gold-sm {
    background: var(--primary-blue);
    color: white;
    padding: 8px 20px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    text-transform: none;
    box-shadow: 0 8px 18px rgba(11, 61, 145, 0.18);
}

.btn-gold-sm:hover {
    background: #082f6d;
    transform: translateY(-1px);
}

.user-profile-nav {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-avatar-button {
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nav-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 2px solid var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #0B3D91;
    color: white;
    font-weight: 700;
    box-shadow: 0 6px 18px rgba(11, 61, 145, 0.18);
}

.nav-avatar--image {
    padding: 0;
}

.nav-avatar--image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.nav-avatar--letter {
    font-size: 1rem;
    letter-spacing: 0.03em;
}

.user-dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    min-width: 260px;
    padding: 10px;
    border-radius: 14px;
    background: white;
    border: 1px solid rgba(11, 61, 145, 0.12);
    box-shadow: 0 24px 60px rgba(8, 18, 30, 0.16);
    display: none;
    flex-direction: column;
    gap: 5px;
    z-index: 2000;
}

.user-profile-nav.is-open .user-dropdown-menu {
    display: flex;
}

.user-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 12px;
    color: var(--text-color);
    text-decoration: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
}

.user-dropdown-item:hover {
    background: rgba(11, 61, 145, 0.06);
}

.user-dropdown-divider {
    height: 1px;
    background: rgba(11, 61, 145, 0.12);
    margin: 6px 0;
}

.logout-icon {
    background: none;
    border: none;
    color: var(--medium-gray);
    cursor: pointer;
    font-size: 18px;
    transition: var(--transition-smooth);
}

.logout-icon:hover {
    color: #e74c3c;
}

/* =========================================================
   LOGO MARQUEE
   ========================================================= */

.logo-marquee {
    overflow: hidden;
    padding: 16px 0 0;
}

.logo-track {
    display: flex;
    gap: 24px;
    animation: marquee 18s linear infinite;
    align-items: center;
    padding-bottom: 16px;
}

.trusted-logo {
    flex: 0 0 auto;
    min-width: 140px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255,255,255,0.08);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.12);
    padding: 12px 16px;
    opacity: 0.95;
}

.brand-mark {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #000;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.brand-mark i {
    font-size: 32px;
    color: #000;
}

.trusted-logo span {
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1.5px;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* =========================================================
   STATS SECTION
   ========================================================= */

.stats-section {
    position: relative;
    background:
        linear-gradient(
            180deg,
            rgba(15, 23, 42, 0.35) 0%,
            rgba(15, 23, 42, 0.5) 100%
        ),
        url('../asset/image1.jpg') center/cover no-repeat;
    padding: 90px 0;
    overflow: hidden;
    color: var(--white);
}

.stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(8, 16, 31, 0.18);
    pointer-events: none;
}

.stats-section .container {
    position: relative;
    z-index: 1;
}

.stats-section .section-header span,
.stats-section .section-header h2 {
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    gap: 30px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 28px;
}

.stat-card:hover {
    transform: scale(1.03);
    box-shadow: 0 24px 54px rgba(0, 0, 0, 0.12);
}

.stat-card i {
    color: var(--black);
    font-size: 32px;
    margin-bottom: 18px;
}

.stat-card h2 {
    font-size: 44px;
    margin-bottom: 10px;
    color: #ffffff;
}

.stat-card p {
    color: var(--medium-gray);
}

/* =========================================================
   WHY SECTION
   ========================================================= */

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(240px, 1fr));
    gap: 30px;
}

.why-card {
    background: var(--card-bg);
    border-radius: 18px;
    padding: 35px;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.why-card i {
    font-size: 32px;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

/* =========================================================
   ABOUT SECTION
   ========================================================= */

.about-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.3fr 0.9fr;
    gap: 40px;
    align-items: center;
    padding: 60px 40px;
    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,0.7) 0%,
            rgba(255,255,255,0.72) 100%
        ),
        url('../asset/image2.jpg') center/cover no-repeat;
    border-radius: 30px;
    overflow: hidden;
}

.about-grid::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.55);
    pointer-events: none;
}

.about-copy {
    position: relative;
    z-index: 1;
}

.about-media {
    position: relative;
    z-index: 1;
}

.about-copy h2 {
    margin: 24px 0 20px;
    font-size: 48px;
}

.about-details {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin: 30px 0;
}

.about-details h4 {
    margin-bottom: 10px;
    color: var(--primary-blue);
}

.about-details p {
    color: var(--medium-gray);
    line-height: 1.8;
}

.about-media {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.about-image {
    min-height: 280px;
    border-radius: 24px;
    background-size: cover;
    background-position: center;
}

/* =========================================================
   CATEGORIES
   ========================================================= */

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(220px, 1fr));
    gap: 25px;
}

.category-card {
    min-height: 260px;
    border-radius: 24px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding: 30px;
    color: var(--white);
    box-shadow: inset 0 0 0 1000px rgba(17, 17, 17, 0.18);
}

.category-card h3 {
    font-size: 24px;
    line-height: 1.2;
}

/* =========================================================
   FEATURED DEVELOPMENTS
   ========================================================= */

.featured-layout {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 40px;
    align-items: start;
}

.featured-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    padding-right: 20px;
}

.featured-intro-copy {
    max-width: 520px;
    color: rgba(15, 23, 42, 0.8);
    line-height: 1.8;
    margin-top: 8px;
}

.developments-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: minmax(260px, auto);
    gap: 20px;
}

.development-card {
    border-radius: 0;
    overflow: visible;
    background: transparent;
    border: none;
    box-shadow: none;
    display: grid;
    grid-template-rows: auto 1fr;
    transition: transform 0.3s ease;
}

.development-card:hover {
    transform: translateY(-3px);
    box-shadow: none;
}

.development-card:nth-child(1) {
    grid-column: span 2;
    min-height: 520px;
}

.featured-developments,
.investment-opportunities {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,0.55) 0%,
            rgba(255,255,255,0.6) 100%
        ),
        url('../asset/image5.jpg') center/cover no-repeat;
    padding: 80px 0;
    margin-bottom: 60px;
}

.featured-developments::before,
.investment-opportunities::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.45);
    pointer-events: none;
}

.featured-developments .section-header,
.investment-opportunities .section-header {
    max-width: 540px;
    margin-bottom: 24px;
}

.featured-developments .section-header h2,
.investment-opportunities .section-header h2 {
    font-size: clamp(2rem, 2.4vw, 3rem);
}

.featured-developments .container,
.investment-opportunities .container {
    position: relative;
    z-index: 1;
}

.development-image {
    min-height: 320px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.development-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0,0,0,0.08) 0%,
        rgba(0,0,0,0.24) 100%
    );
}

.development-content {
    padding: 24px 0 0;
    display: grid;
    gap: 12px;
    color: var(--text-color);
}

.development-content span {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 13px;
}

.development-content h3 {
    margin-bottom: 18px;
}

.development-content p {
    margin-bottom: 18px;
    color: var(--medium-gray);
}

.development-meta {
    margin-bottom: 12px;
    color: var(--medium-gray);
    font-size: 14px;
}

@media (max-width: 992px) {

    .featured-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .featured-info {
        padding-right: 0;
    }

    .developments-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .development-card:nth-child(1) {
        grid-column: auto;
        min-height: auto;
    }

    .development-image {
        min-height: 280px;
    }
}

@media (max-width: 680px) {

    .featured-developments,
    .investment-opportunities {
        padding: 60px 0;
    }

    .featured-info {
        gap: 16px;
    }

    .featured-intro-copy {
        max-width: 100%;
        color: rgba(15, 23, 42, 0.85);
    }

    .development-content {
        padding: 18px 0 0;
        gap: 10px;
    }

    .development-content h3 {
        font-size: 1.6rem;
    }

    .development-image {
        min-height: 240px;
    }
}

/* =========================================================
   INVESTMENT
   ========================================================= */

.investment-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(260px, 1fr));
    gap: 30px;
}

.investment-card {
    background: var(--card-bg);
    border-radius: 24px;
    padding: 35px;
    box-shadow: var(--shadow-md);
}

.investment-card h3 {
    margin-bottom: 14px;
}

.investment-label {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--accent-gold);
    font-weight: 700;
    letter-spacing: 1px;
}

.investment-card ul {
    margin: 18px 0 24px;
    padding-left: 18px;
}

.investment-card li {
    margin-bottom: 10px;
    color: var(--medium-gray);
}

/* =========================================================
   TEAM
   ========================================================= */

.team-section {
    position: relative;
    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.25) 0%,
            rgba(0, 0, 0, 0.25) 100%
        ),
        url('https://images.pexels.com/photos/2598630/pexels-photo-2598630.jpeg')
        center/cover no-repeat;
    padding: 100px 0;
    overflow: hidden;
}

.team-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    pointer-events: none;
}

.team-section .container {
    position: relative;
    z-index: 1;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(240px, 1fr));
    gap: 30px;
}

.team-card {
    background: rgba(255,255,255,0.95);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
}

.team-card img {
    width: 100%;
    height: 320px;
    object-fit: cover;
}

.team-content {
    padding: 30px;
    display: grid;
    gap: 12px;
}

.team-content h3 {
    margin-bottom: 6px;
}

.team-content p {
    color: var(--medium-gray);
    line-height: 1.7;
}

.team-social {
    display: flex;
    gap: 14px;
}

.team-social a {
    color: var(--primary-blue);
    font-size: 16px;
}

/* =========================================================
   FIND YOUR PERFECT PROPERTY
   ========================================================= */

.find-property-section {
    position: relative;
    background:
        linear-gradient(
            180deg,
            rgba(11, 61, 145, 0.02) 0%,
            rgba(212, 175, 55, 0.03) 100%
        ),
        var(--white);
    padding: 100px 0;
    overflow: hidden;
}

.find-property-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(
        circle,
        rgba(11, 11, 11, 0.08) 0%,
        transparent 70%
    );
    border-radius: 50%;
    pointer-events: none;
}

.find-property-section::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(
        circle,
        rgba(11, 61, 145, 0.05) 0%,
        transparent 70%
    );
    border-radius: 50%;
    pointer-events: none;
}

.find-property-section .container {
    position: relative;
    z-index: 1;
}

/* =========================================================
   ANIMATED STATISTICS
   ========================================================= */

.stats-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
    text-align: center;
}

.stat-item {
    position: relative;
    padding: 30px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(12, 12, 12, 0.2);
    box-shadow: 0 8px 32px rgba(11, 61, 145, 0.06);
    transition: var(--transition-smooth);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 48px rgba(11, 61, 145, 0.12);
    border-color: rgba(212, 175, 55, 0.4);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 700;
    color: black;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-plus,
.stat-percent {
    font-size: 36px;
    color: black;
    font-weight: 700;
    margin-left: 4px;
}

.stat-label {
    display: block;
    color: var(--text-color);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 12px;
}

/* =========================================================
   SECTION SUBTITLE
   ========================================================= */

.section-subtitle {
    max-width: 700px;
    margin: 20px auto 0;
    font-size: 16px;
    color: var(--medium-gray);
    line-height: 1.8;
}

/* =========================================================
   SERVICE CARDS
   ========================================================= */

.service-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.service-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid rgba(21, 17, 1, 0.1);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(
        90deg,
        var(--black),
        var(--primary-blue)
    );
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(11, 61, 145, 0.15);
    border-color: rgba(5, 27, 227, 0.3);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover .card-icon {
    transform: translateY(-8px) scale(1.1);
}

.service-card:hover .card-btn {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(11, 61, 145, 0.25);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(
        135deg,
        rgba(11, 61, 145, 0.08),
        rgba(212, 175, 55, 0.08)
    );
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: var(--primary-blue);
    margin-bottom: 24px;
    transition: var(--transition-smooth);
    border: 2px solid rgba(12, 12, 12, 0.922);
}

.card-icon.featured {
    background: linear-gradient(
        135deg,
        rgba(212, 175, 55, 0.12),
        rgba(11, 61, 145, 0.08)
    );
    color: var(--black);
    border-color: rgba(4, 4, 4, 0.3);
}

.card-label {
    display: inline-block;
    background: rgba(248, 248, 248, 0.84);
    color: var(--black);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.service-card h3 {
    font-size: 28px;
    margin-bottom: 12px;
    color: var(--primary-blue);
}

.card-description {
    color: var(--medium-gray);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 24px;
    flex-grow: 0;
}

.card-features {
    list-style: none;
    margin: 24px 0;
    flex-grow: 1;
}

.card-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-color);
    font-size: 14px;
    margin-bottom: 12px;
    line-height: 1.6;
}

.card-features li:last-child {
    margin-bottom: 0;
}

.card-features i {
    color: black;
    font-size: 16px;
    flex-shrink: 0;
}

.card-btn {
    align-self: flex-start;
    margin-top: 24px;
    transition: var(--transition-smooth);
}

.card-btn:hover {
    box-shadow: 0 8px 24px rgba(11, 61, 145, 0.25);
}

/* =========================================================
   TESTIMONIALS
   ========================================================= */

.testimonial-section {
    background: var(--light-gray);
}

.testimonial-carousel {
    position: relative;
    background: var(--card-bg);
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.testimonial-slider {
    position: relative;
    min-height: 310px;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.testimonial-slide.active {
    opacity: 1;
    transform: translateY(0);
    position: relative;
}

.testimonial-slide p {
    font-size: 20px;
    line-height: 1.8;
    margin-bottom: 30px;
    color: var(--primary-blue);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 18px;
}

.testimonial-author img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-gold);
}

.testimonial-meta {
    display: flex;
    gap: 18px;
    align-items: center;
    color: var(--medium-gray);
}

.testimonial-controls {
    position: absolute;
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
    display: flex;
    gap: 16px;
}

.testimonial-controls button {
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.testimonial-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid var(--primary-blue);
    background: transparent;
    cursor: pointer;
}

.testimonial-dot.active {
    background: var(--primary-blue);
}

/* =========================================================
   BLOG
   ========================================================= */

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(260px, 1fr));
    gap: 30px;
}

.blog-card {
    background: var(--card-bg);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.blog-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.blog-content {
    padding: 30px;
}

.blog-category {
    display: inline-block;
    margin-bottom: 16px;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 13px;
}

.blog-content h3 {
    margin-bottom: 18px;
}

.blog-content p {
    color: var(--medium-gray);
    line-height: 1.8;
    margin-bottom: 24px;
}

/* =========================================================
   CTA
   ========================================================= */

.cta-banner {
    background:
        linear-gradient(
            135deg,
            rgba(48, 5, 5, 0.92),
            rgba(8, 8, 8, 0.92)
        );
    color: var(--white);
    padding: 80px 0;
}

.cta-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.cta-copy h2 {
    margin: 16px 0 14px;
    color: var(--white);
}

.cta-copy p {
    color: rgba(255,255,255,0.88);
    max-width: 520px;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

/* =========================================================
   MAP
   ========================================================= */

.map-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 40px;
    align-items: center;
}

.map-frame {
    min-height: 500px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.map-frame iframe {
    display: block;
    width: 100%;
    min-height: 500px;
    height: auto;
    border: 0;
}

.map-info {
    background: var(--card-bg);
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.map-info span {
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 13px;
}

.map-info h2 {
    margin: 18px 0 22px;
}

.map-info p {
    color: var(--medium-gray);
    line-height: 1.8;
    margin-bottom: 28px;
}

.map-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 28px;
}

.map-highlights h4 {
    margin-bottom: 8px;
}

/* =========================================================
   NEWSLETTER
   ========================================================= */

.newsletter-section {
    background: var(--light-gray);
}

.newsletter-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--card-bg);
    border-radius: 24px;
    padding: 45px;
    box-shadow: var(--shadow-md);
    gap: 30px;
}

.newsletter-card span {
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 13px;
}

.newsletter-card h2 {
    margin: 18px 0 16px;
}

.newsletter-card p {
    color: var(--medium-gray);
    line-height: 1.8;
    max-width: 520px;
}

.newsletter-form {
    display: flex;
    gap: 14px;
    width: min(100%, 520px);
}

.newsletter-form input {
    flex: 1;
    padding: 18px 20px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    font-size: 14px;
}

/* =========================================================
   FOOTER
   ========================================================= */

footer.main-footer {
    background: #0b1222;
    color: #e2e9f6;
    padding: 28px 0 32px;
    width: 100%;
}

footer.main-footer > .container {
    width: min(1320px, calc(100% - 40px));
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns:
        minmax(260px, 1.8fr)
        repeat(2, minmax(180px, 1fr))
        minmax(220px, 1.2fr);
    gap: 44px;
    align-items: start;
}

.footer-grid > * {
    min-width: 0;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-info .footer-logo {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: -4px;
}

.footer-logo img {
    width: 88px;
    height: auto;
    display: block;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.footer-logo-text {
    display: block;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.22em;
}

.footer-logo-sub {
    display: block;
    color: #98a9c4;
    font-size: 0.78rem;
    letter-spacing: 0.18em;
}

.footer-info p {
    color: #b0bfdb;
    line-height: 1.95;
    max-width: 420px;
    margin: 0;
}

.social-links {
    display: flex;
    gap: 14px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    transition:
        transform 0.22s ease,
        background-color 0.22s ease,
        color 0.22s ease;
}

.social-links a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-2px);
}

.footer-links h4,
.footer-contact h4 {
    color: #ffffff;
    margin-bottom: 20px;
    font-size: 0.98rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 12px;
    color: #9fb2d0;
    font-size: 0.95rem;
    line-height: 1.9;
}

.footer-links a {
    color: inherit;
    transition: color 0.24s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-contact li i {
    color: #7f98c0;
    min-width: 18px;
    text-align: center;
    margin-top: 3px;
}

.footer-bottom {
    margin-top: 64px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    color: #7e8fa8;
    font-size: 0.92rem;
}

.footer-bottom small {
    display: inline-block;
}

@media (max-width: 992px) {

    .footer-grid {
        grid-template-columns: repeat(2, minmax(220px, 1fr));
        gap: 36px;
    }
}

@media (max-width: 767px) {

    footer.main-footer {
        padding: 48px 0 28px;
    }

    footer.main-footer > .container {
        width: min(100% - 32px, 560px);
    }

    .footer-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-info,
    .footer-links:nth-of-type(1),
    .footer-links:nth-of-type(2),
    .footer-contact {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        text-align: center;
        justify-content: center;
        margin-top: 36px;
        padding-top: 20px;
    }

    .footer-contact li {
        align-items: flex-start;
    }
}

/* =========================================================
   MOBILE SEARCH
   ========================================================= */

.hero-search-mobile {
    display: none;
}

@media (max-width: 768px) {

    /* Hide desktop search */
    .hero-search-form {
        display: none;
    }

    /* Show mobile search */
    .hero-search-mobile {
        display: flex;
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
        background: rgba(255,255,255,.12);
        backdrop-filter: blur(12px);
        border-radius: 50px;
        overflow: hidden;
    }

    .hero-search-mobile input {
        flex: 1;
        border: none;
        padding: 16px 20px;
        font-size: 16px;
        outline: none;
        background: transparent;
        color: white;
    }

    .hero-search-mobile input::placeholder {
        color: rgba(255,255,255,.8);
    }

    .hero-search-mobile button {
        border: none;
        background: var(--accent-color);
        color: white;
        padding: 0 22px;
        cursor: pointer;
        font-size: 18px;
    }

    /* Mobile glass navbar */
    .main-header,
    .main-header.sticky {
        background: rgba(10, 25, 50, 0.38);
        backdrop-filter: blur(18px) saturate(140%);
        -webkit-backdrop-filter: blur(18px) saturate(140%);
        border-bottom: none;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    }
}


