/* ==========================================================================
   Fusion Limited Real Estate - Advanced Pro Realty Theme System
   Inspired by Luxury Architectural Aesthetics & AOS Animation Engine
   Palette:
   Primary: #0B132B (Deep Midnight Navy)
   Primary Slate: #1C2541 (Rich Royal Navy)
   Secondary Gold: #E5A638 (Pro Realty Amber Gold)
   Gold Hover: #C88A22 (Deep Metallic Gold)
   Background: #F8FAFC (Clean Luxury Slate)
   Text: #1E293B (Deep Charcoal)
   Surface: #FFFFFF
   ========================================================================== */

/* ── Accessibility: Skip Link ── */
.skip-link {
    position: absolute;
    top: -100%;
    left: 8px;
    background: #D4A017;
    color: #000;
    padding: 10px 18px;
    border-radius: 0 0 6px 6px;
    font-weight: 700;
    font-size: 0.9rem;
    z-index: 10000;
    text-decoration: none;
    transition: top 0.2s;
}
.skip-link:focus {
    top: 0;
    outline: 3px solid #000;
    outline-offset: 2px;
}

/* ── Accessibility: Screen reader only ── */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* ── Accessibility: Focus visible styles ── */
:focus-visible {
    outline: 3px solid #D4A017;
    outline-offset: 3px;
    border-radius: 4px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid #D4A017;
    outline-offset: 2px;
}
.btn-gold:focus-visible {
    outline: 3px solid #0B132B;
    outline-offset: 3px;
}


:root {
    --primary: #111827;
    --primary-slate: #1F2937;
    --primary-dark: #0F172A;
    --secondary: #E5A638;
    --secondary-hover: #C88A22;
    --secondary-light: #FFF8EB;
    --bg-light: #F8FAFC;
    --text-dark: #1E293B;
    --text-muted: #64748B;
    --white: #FFFFFF;
    --border-color: #E2E8F0;
    --border-gold: rgba(229, 166, 56, 0.4);
    --shadow-sm: 0 4px 6px -1px rgba(11, 19, 43, 0.05);
    --shadow-md: 0 10px 25px -5px rgba(11, 19, 43, 0.08), 0 8px 10px -6px rgba(11, 19, 43, 0.04);
    --shadow-lg: 0 20px 40px -10px rgba(11, 19, 43, 0.16), 0 10px 15px -5px rgba(11, 19, 43, 0.08);
    --shadow-gold: 0 10px 30px rgba(229, 166, 56, 0.35);
    --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
}

html, body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.65;
    overflow-x: clip;
    max-width: 100vw;
}

/* Fix Mobile Horizontal Scroll Overflow */
.container, .container-fluid, main, section {
    max-width: 100vw;
}

.row {
    --bs-gutter-x: 1.5rem;
}

/* Offcanvas Right Menu Drawer */
.offcanvas-fusion {
    background-color: #0F172A !important;
    border-left: 2px solid var(--secondary) !important;
}

.offcanvas-fusion .nav-link-fusion {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: transparent !important;
    border-radius: 0;
}
.offcanvas-fusion .nav-link-fusion:hover,
.offcanvas-fusion .nav-link-fusion.active {
    color: var(--secondary) !important;
    background: rgba(255, 255, 255, 0.05) !important;
}
.offcanvas-fusion .nav-link-fusion::after {
    display: none;
}

h1, h2, h3, h4, h5, h6, .font-heading {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: -0.01em;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 9px;
}
::-webkit-scrollbar-track {
    background: #050814;
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--secondary), var(--secondary-hover));
    border-radius: 6px;
}

/* Pulse Keyframes for Enquire Button */
@keyframes pulseGold {
    0% {
        box-shadow: 0 0 0 0 rgba(229, 166, 56, 0.6);
    }
    70% {
        box-shadow: 0 0 0 14px rgba(229, 166, 56, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(229, 166, 56, 0);
    }
}

@keyframes logoGlow {
    0%, 100% {
        box-shadow: 0 0 15px rgba(229, 166, 56, 0.3);
    }
    50% {
        box-shadow: 0 0 25px rgba(229, 166, 56, 0.6);
    }
}

/* Premium Buttons */
.btn-gold {
    position: relative;
    background: linear-gradient(135deg, #F3BA57 0%, #E5A638 50%, #C88A22 100%);
    color: #FFFFFF !important;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 13px 30px;
    border-radius: var(--radius-sm);
    border: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: var(--shadow-gold);
    cursor: pointer;
    text-decoration: none;
    overflow: hidden;
    letter-spacing: 0.5px;
    animation: pulseGold 3s infinite;
}

.btn-gold::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: 0.6s;
}

.btn-gold:hover::before {
    left: 100%;
}

.btn-gold:hover, .btn-gold:focus {
    transform: translateY(-3px);
    box-shadow: 0 14px 35px rgba(200, 138, 34, 0.5);
    color: #FFFFFF !important;
}

.btn-outline-gold {
    background: transparent;
    color: var(--secondary) !important;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    border: 2px solid var(--secondary);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    text-decoration: none;
}

.btn-outline-gold:hover {
    background: var(--secondary);
    color: var(--white) !important;
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}

.btn-navy {
    background: var(--primary);
    color: var(--white) !important;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    padding: 13px 30px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--primary-slate);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.btn-navy:hover {
    background: var(--primary-slate);
    color: var(--secondary) !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(11, 19, 43, 0.4);
}

/* Header & Topbar Navigation */
.topbar {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    padding: 10px 0;
    border-bottom: 1px solid rgba(229, 166, 56, 0.25);
}

.topbar a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: var(--transition);
}

.topbar a:hover {
    color: var(--secondary);
}

.navbar-fusion {
    position: sticky !important;
    top: 0 !important;
    z-index: 1050 !important;
    background: #FFFFFF !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 12px 0;
    transition: var(--transition);
    border-bottom: 1px solid #E2E8F0;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
}

/* Clean Normal Header Logo */
.navbar-brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: var(--transition);
}

.navbar-brand-logo:hover {
    opacity: 0.9;
}

.brand-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #F3BA57, var(--secondary), #C88A22);
    color: var(--primary-dark);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
    box-shadow: 0 4px 18px rgba(229, 166, 56, 0.4);
}

.brand-title {
    color: #0F172A;
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 1.5px;
    line-height: 1;
    font-family: 'Outfit', sans-serif;
}

.brand-subtitle {
    color: var(--secondary);
    font-size: 0.725rem;
    letter-spacing: 2.8px;
    text-transform: uppercase;
    font-weight: 800;
}

.nav-link-fusion {
    color: #1e293b !important;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    padding: 8px 16px !important;
    font-size: 0.95rem;
    letter-spacing: 0.2px;
    transition: color 0.25s ease, background-color 0.25s ease;
    position: relative;
    border-radius: 8px;
}

.nav-link-fusion:hover,
.nav-link-fusion.active {
    color: #c68a22 !important;
    background: rgba(229, 166, 56, 0.08);
}

.nav-link-fusion::after {
    content: '';
    position: absolute;
    bottom: 3px;
    left: 14px;
    right: 14px;
    height: 2.5px;
    border-radius: 2px;
    background: var(--secondary);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link-fusion:hover::after,
.nav-link-fusion.active::after {
    transform: scaleX(1);
}

/* Hero Section (Rich High Contrast Overlay & Vibrant Text) */
.hero-section {
    position: relative;
    background-color: var(--primary);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 580px;
    display: flex;
    align-items: center;
    color: var(--white);
    padding: 85px 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.88) 0%, rgba(15, 23, 42, 0.68) 55%, rgba(15, 23, 42, 0.45) 100%);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.65rem;
    font-weight: 900;
    color: #FFFFFF !important;
    line-height: 1.15;
    margin-bottom: 24px;
    text-shadow: 0 4px 25px rgba(0, 0, 0, 0.9);
}

.hero-title span {
    color: var(--secondary) !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: var(--secondary) !important;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95) !important;
    margin-bottom: 35px;
    max-width: 650px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
    font-weight: 500;
}

/* Search Box Component */
.search-card {
    background: rgba(255, 255, 255, 0.98);
    border-radius: var(--radius-lg);
    padding: 35px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
    border: 2px solid var(--secondary);
    color: var(--text-dark);
}

.form-label-custom {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-control-fusion, .form-select-fusion {
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 13px 18px;
    font-size: 0.975rem;
    transition: var(--transition);
    background-color: #FFFFFF;
}

.form-control-fusion:focus, .form-select-fusion:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 4px rgba(229, 166, 56, 0.25);
    outline: none;
}

/* Ultra Luxury Property Cards */
.project-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary);
}

.project-img-wrapper {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover .project-img {
    transform: scale(1.1);
}

.project-badge-type {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(11, 19, 43, 0.92);
    backdrop-filter: blur(8px);
    color: var(--secondary);
    font-size: 0.75rem;
    font-weight: 800;
    padding: 7px 16px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(229, 166, 56, 0.5);
    z-index: 2;
}

.project-badge-featured {
    position: absolute;
    top: 16px;
    right: 16px;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-hover));
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 800;
    padding: 7px 16px;
    border-radius: 50px;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.project-content {
    padding: 26px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-title {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 8px;
    font-family: 'Inter', sans-serif;
}

.project-title a {
    color: #002147;
    text-decoration: none;
    transition: var(--transition);
}

.project-title a:hover {
    color: var(--secondary-hover);
}

.project-location {
    color: #4B5563;
    font-size: 0.95rem;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
}

.project-location i {
    color: #DC2626;
}

.project-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    background: var(--bg-light);
    padding: 14px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 0.875rem;
    border: 1px solid #EDF2F7;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-dark);
    font-weight: 600;
}

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

.project-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 18px;
    border-top: 1px solid var(--border-color);
}

.project-price-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 700;
}

.project-price-amount {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--primary);
    font-family: 'Outfit', sans-serif;
}

/* Page Banners - Rich High Contrast Backdrop Overlay */
.page-banner {
    position: relative;
    background-color: var(--primary);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 550px;
    height: 550px;
    padding: 80px 0;
    color: var(--white);
    text-align: center;
    border-bottom: 5px solid var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.82) 0%, rgba(15, 23, 42, 0.72) 50%, rgba(15, 23, 42, 0.85) 100%);
    z-index: 1;
}

.page-banner .container {
    position: relative;
    z-index: 2;
}

.page-banner-title {
    color: #FFFFFF !important;
    font-size: 3.25rem;
    font-weight: 900;
    margin-bottom: 14px;
    text-shadow: 0 4px 25px rgba(0, 0, 0, 0.95);
}

.page-banner p, .page-banner .lead {
    color: #F1F5F9 !important;
    font-weight: 500;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
}

.breadcrumb-custom {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #FFFFFF;
    background: rgba(15, 23, 42, 0.65);
    padding: 8px 24px;
    border-radius: 30px;
    border: 1px solid rgba(229, 166, 56, 0.35);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.breadcrumb-custom a {
    color: var(--secondary) !important;
    text-decoration: none;
    font-weight: 700;
}

/* Amenities Card (Compact & Elegant) */
.amenity-card {
    background: var(--white);
    border: 1px solid #e2e8f0;
    padding: 10px 14px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}


.amenity-icon {
    width: 34px;
    height: 34px;
    min-width: 34px;
    background: rgba(229, 166, 56, 0.15);
    color: #c68a22;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    margin: 0;
    border: 1px solid rgba(229, 166, 56, 0.35);
}

.amenity-name {
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--primary);
    line-height: 1.3;
}

/* Stat Box Metrics */
.stat-box {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 35px 20px;
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.stat-box:hover {
    border-color: var(--secondary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--secondary);
    font-family: 'Outfit', sans-serif;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
}

/* Section Headings */
.section-subtitle {
    color: var(--secondary);
    font-size: 0.875rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 8px;
    display: block;
}

.section-title {
    font-size: 2.75rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 20px;
    line-height: 1.2;
}

/* Ultra Luxury Blog Cards */
.blog-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1.5px solid var(--border-color);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary);
}

.blog-img-wrapper {
    position: relative;
    height: 230px;
    overflow: hidden;
}

.blog-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-card:hover .blog-img {
    transform: scale(1.08);
}

.blog-category-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(11, 19, 43, 0.9);
    backdrop-filter: blur(8px);
    color: var(--secondary);
    font-size: 0.725rem;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(229, 166, 56, 0.4);
    z-index: 2;
}

.blog-content {
    padding: 26px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-title {
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 12px;
}

.blog-title a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

.blog-title a:hover {
    color: var(--secondary-hover);
}

.blog-read-link {
    color: var(--secondary);
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.blog-card:hover .blog-read-link {
    color: var(--secondary-hover);
    transform: translateX(4px);
}

/* Footer Section */
.footer-fusion {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.85);
    padding-top: 80px;
    border-top: 5px solid var(--secondary);
}

.footer-title {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 26px;
    position: relative;
    padding-bottom: 12px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary), var(--secondary-hover));
    border-radius: 2px;
}

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

.footer-links li {
    margin-bottom: 14px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--secondary);
    transform: translateX(6px);
}

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

.social-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-icon:hover {
    background: var(--secondary);
    color: var(--primary-dark);
    transform: translateY(-4px);
    box-shadow: var(--shadow-gold);
}

.footer-bottom {
    background: #0B101D;
    padding: 24px 0;
    margin-top: 70px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.9rem;
}

/* ==========================================================================
   Mobile Typography & Responsive Scaling Adjustments
   ========================================================================== */
@media (max-width: 767.98px) {
    .hero-title {
        font-size: 1.95rem !important;
        line-height: 1.25;
        margin-bottom: 16px;
    }

    .hero-subtitle {
        font-size: 0.975rem !important;
        line-height: 1.6;
        margin-bottom: 24px;
    }

    .page-banner {
        min-height: 380px !important;
        height: 380px !important;
        padding: 50px 15px !important;
    }

    .page-banner-title {
        font-size: 1.8rem !important;
        line-height: 1.3;
    }

    .section-title {
        font-size: 1.75rem !important;
        line-height: 1.3;
    }

    .display-3 {
        font-size: 2rem !important;
    }

    .display-4 {
        font-size: 1.85rem !important;
    }

    .display-5 {
        font-size: 1.65rem !important;
    }

    .display-6 {
        font-size: 1.5rem !important;
    }

    h1 {
        font-size: 1.9rem !important;
    }

    h2 {
        font-size: 1.65rem !important;
    }

    h3 {
        font-size: 1.3rem !important;
    }

    h4 {
        font-size: 1.15rem !important;
    }

    .stat-number {
        font-size: 2.1rem !important;
    }

    .btn-gold, .btn-outline-gold, .btn-navy {
        padding: 10px 20px !important;
        font-size: 0.875rem !important;
    }

    .brand-title {
        font-size: 1.25rem !important;
    }

    .brand-subtitle {
        font-size: 0.6rem !important;
        letter-spacing: 2px !important;
    }
}

    .section-title {
        font-size: 1.55rem !important;
    }
}

/* ═══════════════════════════════════════════════════════════
   ⚡ ADVANCED ANIMATION SYSTEM — FUSION LIMITED
   ═══════════════════════════════════════════════════════════ */

/* ── Scroll Progress Bar ── */
#scroll-progress-bar {
    position: fixed;
    top: 0; left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--secondary), #ff6b35, var(--secondary));
    background-size: 200% 100%;
    z-index: 9999;
    transition: width 0.1s linear;
    animation: gradient-shift 2s linear infinite;
}

/* ── Custom Cursor ── */
#custom-cursor {
    position: fixed;
    width: 12px; height: 12px;
    background: var(--secondary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease, width 0.2s ease, height 0.2s ease, opacity 0.2s ease;
    mix-blend-mode: difference;
}
#custom-cursor-ring {
    position: fixed;
    width: 40px; height: 40px;
    border: 2px solid var(--secondary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99998;
    transform: translate(-50%, -50%);
    transition: transform 0.15s ease, width 0.3s ease, height 0.3s ease, opacity 0.3s ease;
    opacity: 0.5;
}
#custom-cursor.cursor-hover { width: 20px; height: 20px; opacity: 0.8; }
#custom-cursor-ring.cursor-hover { width: 60px; height: 60px; opacity: 0.3; }

/* ── Keyframes Library ── */
@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes float-up-down {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-18px); }
}

@keyframes float-rotate {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(5deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(229, 166, 56, 0.4); }
    50% { box-shadow: 0 0 30px 12px rgba(229, 166, 56, 0.15); }
}

@keyframes shimmer-slide {
    0% { left: -100%; }
    100% { left: 200%; }
}

@keyframes bounce-in {
    0% { transform: scale(0.3); opacity: 0; }
    50% { transform: scale(1.1); }
    70% { transform: scale(0.95); }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes slide-in-left {
    0% { transform: translateX(-60px); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

@keyframes slide-in-right {
    0% { transform: translateX(60px); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

@keyframes typewriter-blink {
    0%, 100% { border-color: var(--secondary); }
    50% { border-color: transparent; }
}

@keyframes ripple-out {
    0% { transform: scale(0); opacity: 0.6; }
    100% { transform: scale(4); opacity: 0; }
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    14% { transform: scale(1.15); }
    28% { transform: scale(1); }
    42% { transform: scale(1.1); }
    70% { transform: scale(1); }
}

@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes reveal-up {
    0% { clip-path: inset(100% 0 0 0); transform: translateY(30px); opacity: 0; }
    100% { clip-path: inset(0% 0 0 0); transform: translateY(0); opacity: 1; }
}

@keyframes blob-morph {
    0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
    25% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
    50% { border-radius: 50% 60% 30% 60% / 40% 70% 60% 50%; }
    75% { border-radius: 40% 60% 60% 40% / 60% 40% 60% 40%; }
}

@keyframes count-up-flash {
    0% { color: var(--secondary); transform: scale(1.1); }
    100% { color: inherit; transform: scale(1); }
}

@keyframes line-grow {
    from { width: 0; }
    to { width: 80px; }
}

@keyframes fade-in-scale {
    0% { opacity: 0; transform: scale(0.85); }
    100% { opacity: 1; transform: scale(1); }
}

/* ── Hero Particle Canvas ── */
#particles-canvas {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 1;
}
.hero-section {
    position: relative;
}
.hero-section .container {
    position: relative;
    z-index: 2;
}

/* ── Typewriter cursor ── */
.typewriter-text {
    display: inline;
    border-right: 3px solid var(--secondary);
    animation: typewriter-blink 0.75s step-end infinite;
    padding-right: 4px;
}

/* ── Floating Blobs (background decoration) ── */
.blob {
    position: absolute;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation: blob-morph 8s ease-in-out infinite;
    opacity: 0.06;
    pointer-events: none;
    z-index: 0;
}
.blob-1 { width: 400px; height: 400px; background: var(--secondary); top: -100px; right: -100px; animation-delay: 0s; }
.blob-2 { width: 300px; height: 300px; background: var(--primary); bottom: -80px; left: -80px; animation-delay: 3s; }
.blob-3 { width: 200px; height: 200px; background: var(--secondary); top: 40%; right: 10%; animation-delay: 1.5s; }

/* ── Magnetic Button Effect ── */
.btn-magnetic {
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ── Shimmer Loading Effect ── */
.shimmer-card {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: gradient-shift 1.5s ease-in-out infinite;
    border-radius: 16px;
}

/* ── Section Title Animated Underline ── */
.section-title {
    position: relative;
}
.section-title::after {
    content: '';
    display: block;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary), var(--primary));
    border-radius: 2px;
    margin-top: 10px;
    width: 0;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.section-title.animated::after {
    animation: line-grow 0.8s ease forwards;
    width: 80px;
}

/* ── Project Card 3D Tilt ── */
.project-card {
    transform-style: preserve-3d;
    transform: perspective(1000px);
    transition: transform 0.1s ease;
}
.project-card .project-img {
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ── Ripple Button Effect ── */
.btn-ripple {
    position: relative;
    overflow: hidden;
}
.btn-ripple .ripple-effect {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    transform: scale(0);
    animation: ripple-out 0.7s linear;
    pointer-events: none;
}

/* ── Stat Box Pulse ── */
.stat-box {
    animation: pulse-glow 3s ease-in-out infinite;
}
.stat-box:nth-child(2) { animation-delay: 0.5s; }
.stat-box:nth-child(3) { animation-delay: 1s; }
.stat-box:nth-child(4) { animation-delay: 1.5s; }

/* ── Float Animation for Icons ── */
.float-icon {
    animation: float-up-down 3s ease-in-out infinite;
}
.float-icon:nth-child(2) { animation-delay: 0.5s; }
.float-icon:nth-child(3) { animation-delay: 1s; }

/* ── Animated Gradient Text ── */
.gradient-text-animated {
    background: linear-gradient(270deg, var(--secondary), #ff6b35, var(--primary), var(--secondary));
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 4s ease infinite;
}

/* ── Scroll-Reveal Stagger ── */
[data-stagger] > * {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
[data-stagger].stagger-visible > *:nth-child(1) { opacity: 1; transform: none; transition-delay: 0.0s; }
[data-stagger].stagger-visible > *:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.1s; }
[data-stagger].stagger-visible > *:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.2s; }
[data-stagger].stagger-visible > *:nth-child(4) { opacity: 1; transform: none; transition-delay: 0.3s; }
[data-stagger].stagger-visible > *:nth-child(5) { opacity: 1; transform: none; transition-delay: 0.4s; }
[data-stagger].stagger-visible > *:nth-child(6) { opacity: 1; transform: none; transition-delay: 0.5s; }

/* ── Hover Glow Cards ── */
.project-card:hover,
.blog-card:hover {
    box-shadow: 0 20px 60px rgba(26, 60, 110, 0.2), 0 8px 25px rgba(229, 166, 56, 0.15) !important;
}

/* ── Animated Badges ── */
.badge-gold {
    animation: heartbeat 2.5s ease-in-out infinite;
}

/* ── Page Load Overlay ── */
#page-loader {
    position: fixed;
    inset: 0;
    background: var(--primary);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
#page-loader.loaded {
    opacity: 0;
    visibility: hidden;
}
#page-loader .loader-logo {
    animation: bounce-in 0.8s cubic-bezier(0.68, -0.55, 0.27, 1.55) forwards;
}
#page-loader .loader-bar-track {
    width: 200px;
    height: 3px;
    background: rgba(255,255,255,0.2);
    border-radius: 2px;
    margin-top: 24px;
    overflow: hidden;
}
#page-loader .loader-bar {
    height: 100%;
    background: var(--secondary);
    border-radius: 2px;
    animation: line-grow 1.5s ease forwards;
    width: 0;
}

/* ── Counter Number Flip ── */
.stat-number.counting {
    animation: count-up-flash 0.15s ease;
}

/* ── Animated background on hero ── */
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(15, 23, 42, 0.90) 0%,
        rgba(26, 60, 110, 0.75) 50%,
        rgba(15, 23, 42, 0.85) 100%);
    z-index: 1;
    animation: gradient-shift 8s ease infinite;
    background-size: 300% 300%;
}

/* ── Social Icon Spin on Hover ── */
.social-icon:hover i {
    animation: spin-slow 0.6s ease;
}

/* ── Amenity Icon Float ── */
.amenity-icon {
    animation: float-rotate 4s ease-in-out infinite;
}

/* ── btn-gold shine sweep ── */
.btn-gold {
    position: relative;
    overflow: hidden;
}
.btn-gold::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -100%;
    width: 60%;
    height: 200%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent);
    transform: skewX(-20deg);
    animation: shimmer-slide 3s ease-in-out infinite;
}



/* ── Footer link hover ── */
.footer-links a {
    transition: transform 0.25s ease, color 0.25s ease, padding-left 0.25s ease;
}
.footer-links a:hover {
    padding-left: 4px;
}

/* ── Gallery Lightbox Styles ── */
.gallery-lightbox-item {
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    display: block;
}
.gallery-lightbox-item img {
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.gallery-lightbox-item:hover img {
    transform: scale(1.08);
}
.gallery-lightbox-item::after {
    content: '\f00e';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    inset: 0;
    background: rgba(26, 60, 110, 0.65);
    color: #E5A638;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 12px;
}
.gallery-lightbox-item:hover::after {
    opacity: 1;
}


/* ══════════════════════════════════════════════
   GALLERY LIGHTBOX — Premium Redesign
   Mobile + Desktop Responsive
══════════════════════════════════════════════ */
#simpleGalleryPopup {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    z-index: 999999;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
    animation: popupFadeIn 0.28s ease;
}
#simpleGalleryPopup.active {
    display: flex !important;
}
@keyframes popupFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Container wraps image + nav arrows */
.simple-lightbox-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
}

/* ── Close Button ── */
.simple-lightbox-close {
    position: fixed;
    top: 16px;
    right: 16px;
    background: rgba(220, 53, 69, 0.92);
    color: #fff;
    border: 2px solid rgba(255,255,255,0.5);
    font-size: 1.15rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.22s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
.simple-lightbox-close:hover {
    background: #dc3545;
    transform: scale(1.12) rotate(90deg);
    box-shadow: 0 6px 24px rgba(220,53,69,0.6);
}

/* ── Image Wrapper ── */
.simple-lightbox-img-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    flex: 1;
    padding: 60px 90px 10px;
}

#simpleLightboxImg {
    max-height: calc(100vh - 160px);
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 24px 80px rgba(0,0,0,0.9), 0 0 0 1px rgba(213,162,52,0.25);
    background: #111;
    transition: opacity 0.2s ease;
    display: block;
}

/* ── Prev / Next Arrows ── */
.simple-lightbox-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.10);
    color: #fff;
    border: 2px solid rgba(255,255,255,0.25);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 10;
    transition: all 0.22s ease;
    backdrop-filter: blur(6px);
}
.simple-lightbox-btn:hover {
    background: var(--secondary, #D4A017);
    border-color: var(--secondary, #D4A017);
    color: #000;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 20px rgba(213,160,23,0.4);
}
.simple-lightbox-prev { left: 20px; }
.simple-lightbox-next { right: 20px; }

/* ── Caption / Bottom Bar ── */
.simple-lightbox-caption-bar {
    width: 100%;
    padding: 12px 20px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, transparent 100%);
    flex-shrink: 0;
}
.simple-lightbox-caption-bar .lb-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}
.simple-lightbox-caption-bar .lb-counter {
    background: linear-gradient(135deg,#F5C842,#D4A017);
    color: #000;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 5px 14px;
    border-radius: 50px;
    white-space: nowrap;
    flex-shrink: 0;
}
.simple-lightbox-caption-bar .lb-title {
    color: rgba(255,255,255,0.92);
    font-size: 0.85rem;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.simple-lightbox-caption-bar .lb-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.lb-close-btn {
    background: rgba(220,53,69,0.85);
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 5px;
}
.lb-close-btn:hover { background: #dc3545; transform: scale(1.04); }
.lb-download-btn {
    background: linear-gradient(135deg,#F5C842,#D4A017);
    color: #000;
    border: none;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}
.lb-download-btn:hover { filter: brightness(1.08); transform: scale(1.04); color: #000; }

/* ── Mobile ── */
@media (max-width: 640px) {
    .simple-lightbox-img-wrapper {
        padding: 55px 10px 8px;
    }
    #simpleLightboxImg {
        max-height: calc(100vh - 140px);
        border-radius: 8px;
    }
    .simple-lightbox-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        background: rgba(0,0,0,0.6);
        border-color: rgba(255,255,255,0.3);
    }
    .simple-lightbox-prev { left: 8px; }
    .simple-lightbox-next { right: 8px; }
    .simple-lightbox-caption-bar {
        padding: 10px 12px 14px;
        flex-wrap: wrap;
        gap: 8px;
    }
    .simple-lightbox-caption-bar .lb-left {
        flex: 1 1 100%;
    }
    .simple-lightbox-caption-bar .lb-actions {
        flex: 1 1 100%;
        justify-content: flex-end;
    }
    .simple-lightbox-caption-bar .lb-title {
        font-size: 0.78rem;
    }
    .lb-download-btn span { display: none; }
    .lb-download-btn::after { content: 'Download'; }
}
}

/* ── Mobile Layout Fixes ── */
@media (max-width: 767.98px) {
    .hero-section .badge {
        white-space: normal !important;
        text-align: center;
        line-height: 1.5;
        display: inline-block;
        font-size: 0.7rem !important;
        letter-spacing: 1px !important;
        max-width: 100%;
    }
    
    .project-title {
        font-size: 1.1rem !important;
    }
    
    .blog-title {
        font-size: 1.1rem !important;
    }
}
