html {
    scroll-behavior: smooth;
    scroll-padding-top: 140px;
    background-color: var(--bg-dark);
}

:root {
    --bg-dark: #121212;
    /* Structural Black */
    --bg-secondary: #4A4A4A;
    /* Steel Grey /* wait, doing entirely 4A4A4A might be too gray, let's keep secondary slightly dark black for layout but use #4A4A4A where appropriate */
    --bg-secondary-actual: #181818;
    --steel-grey: #4A4A4A;
    --accent-gold: #d5b52b;
    /* Hive Gold */
    --accent-gold-hover: #b39724;
    --text-primary: #ffffff;
    --text-muted: #CFCFCF;
    /* Concrete Light Grey */

    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Poppins', sans-serif;

    --transition-slow: 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-btn: 0.3s ease;

    /* Hexagonal Clip Path */
    --hexagon-clip: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    --hexagon-clip-vertical: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    --shimmer-gradient: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
}

#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #d5b52b, #f1d973, #d5b52b);
    z-index: 10001;
    transition: width 0.1s ease-out;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

/* ===== RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Re-defined background to ensure no flash */
html {
    background-color: var(--bg-dark);
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.8;
    overflow-x: hidden;
    font-weight: 300;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-btn);
}

ul {
    list-style: none;
}

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3,
h4,
h5,
h6,
.logo {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 1px;
}

.text-accent {
    color: var(--accent-gold);
    font-weight: 700;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.section-kicker {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 5px;
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.separator {
    width: 60px;
    height: 2px;
    background: var(--accent-gold);
    margin: 1.5rem 0 2rem 0;
}

.separator-center {
    width: 60px;
    height: 2px;
    background: var(--accent-gold);
    margin: 1.5rem auto 2.5rem auto;
}

/* ===== LAYOUT ===== */
.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}
@media (max-width: 768px) {
    .container {
        width: 94%;
    }
}

.section {
    padding: 8rem 0;
    scroll-margin-top: 140px;
}
@media (max-width: 768px) {
    .section {
        padding: 4rem 0;
    }
}

.bg-dark {
    background-color: var(--bg-dark);
}

.bg-secondary {
    background-color: var(--bg-secondary-actual);
    background-image: url("data:image/svg+xml,%3Csvg width='56' height='100' viewBox='0 0 56 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M28 66L0 50L0 16L28 0L56 16L56 50L28 66' stroke='%23d5b52b' stroke-width='1' fill='none' stroke-opacity='0.03'/%3E%3C/svg%3E");
    background-size: 80px;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
    padding-top: 4rem;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition-slow);
    border: none;
    background: transparent;
}

.btn-primary {
    background: linear-gradient(135deg, #d5b52b 0%, #f1d973 50%, #d5b52b 100%);
    background-size: 200% auto;
    color: #000;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary:hover {
    background-position: right center;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.5);
    color: #000;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20%;
    height: 200%;
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(30deg);
    transition: all 0.6s;
    pointer-events: none;
}

.btn-primary:hover::after {
    left: 140%;
}

.btn-outline {
    border: 1px solid rgba(212, 175, 55, 0.8); /* Higher contrast gold border */
    color: var(--accent-gold);
    padding: 0.8rem 2.5rem; /* Slightly adjusted padding for pill shape */
    border-radius: 50px; /* Matching the pill shape of Track Project */
    position: relative;
    z-index: 1;
    overflow: hidden;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
    background: rgba(10, 10, 10, 0.4);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-outline:hover {
    background: rgba(212, 175, 55, 0.15);
    border-color: var(--accent-gold);
    letter-spacing: 4px;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.25);
    transform: translateY(-2px);
    color: var(--accent-gold);
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2000; /* Increased to stay above EVERYTHING */
    padding: 2rem 0;
    transition: var(--transition-slow);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.9);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    backdrop-filter: blur(25px) saturate(180%);
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(213, 181, 43, 0.3);
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}

.item-row {
    background: rgba(255, 255, 255, 0.03);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 0.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-fast);
}

.item-row:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(212, 175, 55, 0.3);
}

.item-row img {
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.item-row div[style*="display:flex"] {
    flex: 1;
}

.item-row .btn-sm {
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.05em;
}
/* --- SEO & UX ENHANCEMENTS --- */

/* Scroll Reveal */
.reveal {
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* CTA Enhancements */
.btn-primary {
    background: linear-gradient(135deg, #d5b52b 0%, #f1d973 50%, #d5b52b 100%);
    background-size: 200% auto;
    color: #000;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary:hover {
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
    transform: translateY(-2px);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20%;
    height: 200%;
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(30deg);
    transition: all 0.5s;
    pointer-events: none;
}

.btn-primary:hover::after {
    left: 140%;
}

.btn-outline:hover {
    background: rgba(212, 175, 55, 0.1);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.15);
}

/* Section Header Focus */
.section-header .section-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.section-header .section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent-gold);
}

.section-header.text-left .section-title::after {
    left: 0;
    transform: none;
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1600px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.6rem;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
}

.logo-hex {
    width: 40px;
    height: 45px;
    background: var(--accent-gold);
    -webkit-clip-path: var(--hexagon-clip-vertical);
    clip-path: var(--hexagon-clip-vertical);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-dark);
    font-weight: 900;
    font-size: 1.2rem;
    position: relative;
    transition: var(--transition-btn);
}

.logo:hover .logo-hex {
    transform: scale(1.1) rotate(10deg);
    background: #fff;
}

.logo-accent {
    color: var(--accent-gold);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

@media (max-width: 1400px) {
    .nav-menu {
        gap: 0.8rem; /* Tighter for smaller laptops */
    }
    .nav-link {
        font-size: 0.7rem;
        letter-spacing: 1px;
    }
}

.nav-link {
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.2, 1, 0.3, 1);
    padding-bottom: 5px;
    white-space: nowrap; /* Prevent all nav items from wrapping */
}

.nav-link:not(.btn-outline)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 1px;
    background: var(--accent-gold);
    transition: all 0.4s cubic-bezier(0.2, 1, 0.3, 1);
}

.nav-link:not(.btn-outline):hover::after,
.nav-link.active:not(.btn-outline)::after {
    width: 100%;
}

.nav-link.active {
    color: var(--accent-gold);
}

.track-project-btn {
    color: var(--accent-gold);
    font-weight: 600;
    padding: 0.5rem 1.2rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50px;
    background: rgba(212, 175, 55, 0.05);
    white-space: nowrap; /* Prevent wrapping onto two lines */
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.track-project-btn:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    cursor: pointer;
}

@media (max-width: 1100px) {
    .menu-toggle {
        display: block;
    }
}

.menu-toggle .bar {
    display: block;
    width: 30px;
    height: 2px;
    background-color: var(--accent-gold);
    margin: 6px auto;
    transition: all 0.3s ease-in-out;
}

/* ===== HERO & HONEYCOMB WATERMARK ===== */
.hero {
    position: relative;
    height: 100vh;
    height: 100dvh;
    display: flex;
    align-items: center; /* Centering for balance */
    padding: 100px 10% 0 10%; /* Safety buffer from navbar */
    overflow: hidden;
    scroll-margin-top: 140px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1; /* Overlay layer container */
    background-color: transparent;
}

.bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block !important;
    transform: scale(1.02);
    filter: none;
    transition: transform 10s ease;
    z-index: 0; /* Base layer */
    opacity: 1 !important;
    visibility: visible !important;
}

.bg-img.ken-burns {
    animation: kenBurns 30s infinite alternate ease-in-out;
}

@keyframes kenBurns {
    0% {
        transform: scale(1) translate(0, 0);
    }
    100% {
        transform: scale(1.2) translate(-2%, -2%);
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    /* Extremely transparent gradient to guarantee visibility of the base image */
    background: linear-gradient(90deg, rgba(18, 18, 18, 0.2) 0%, rgba(18, 18, 18, 0.1) 50%, transparent 100%);
    z-index: 2;
}

.hero-honeycomb {
    position: absolute;
    inset: 0;
    z-index: 3;
    background-image: url("data:image/svg+xml,%3Csvg width='56' height='100' viewBox='0 0 56 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M28 66L0 50L0 16L28 0L56 16L56 50L28 66L28 100' stroke='%23d5b52b' stroke-width='1' fill='none' stroke-opacity='0.1'/%3E%3C/svg%3E");
    background-size: 100px;
    opacity: 0.3;
}

.hero-watermark {
    position: absolute;
    top: 50%;
    right: -2%;
    transform: translateY(-50%);
    font-size: clamp(4rem, 20vw, 15rem);
    font-weight: 900;
    line-height: 0.9;
    color: transparent;
    -webkit-text-stroke: 1px rgba(212, 175, 55, 0.08);
    pointer-events: none;
    z-index: 10; /* Elevated watermark */
    display: flex;
    flex-direction: column;
    text-align: right;
}

.watermark-main {
    letter-spacing: -2px;
}

.watermark-sub {
    font-size: 0.15em;
    letter-spacing: 1.2em;
    -webkit-text-stroke: 1px rgba(212, 175, 55, 0.15);
    margin-top: -0.5em;
    opacity: 0.8;
}

.hero-content {
    max-width: 900px; /* Wider content for better text flow */
    position: relative;
    z-index: 20; /* High z-index to stay above background layers */
    padding-top: 2rem;
    padding-bottom: 4rem; /* Buffer at the bottom */
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    margin-top: 3rem;
    flex-wrap: wrap; /* Prevent overflow on very narrow screens */
}

.hero-label {
    display: block;
    color: var(--accent-gold);
    letter-spacing: 6px;
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.hero-title {
    font-size: clamp(2rem, 7vw, 4rem); /* Slightly smaller max to allow more room for buttons */
    margin-bottom: 1.2rem;
    text-transform: uppercase;
    line-height: 1.1;
    letter-spacing: -2px; /* Tighter letter spacing for luxury look and space saving */
    text-shadow: 0 10px 30px rgba(0,0,0,0.6), 0 0 20px rgba(212, 175, 55, 0.2);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 500px;
}

.scroll-indicator {
    position: absolute;
    bottom: 50px;
    left: 10%;
    display: flex;
    align-items: center;
    gap: 15px;
    transform: rotate(-90deg);
    transform-origin: left bottom;
    z-index: 4;
}

.scroll-text {
    font-size: 0.7rem;
    letter-spacing: 4px;
    color: var(--accent-gold);
}

.scroll-line {
    width: 50px;
    height: 1px;
    background: var(--accent-gold);
}

/* ===== ABOUT ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    padding: 0 2rem 2rem 0;
}

.image-wrapper img {
    position: relative;
    z-index: 2;
    filter: grayscale(20%) contrast(1.1);
}

.gold-accent-box {
    position: absolute;
    top: 2rem;
    right: 0;
    bottom: 0;
    left: 2rem;
    border: 1px solid var(--accent-gold);
    z-index: 1;
}

.about-text p {
    color: var(--text-muted);
    line-height: 2;
}

.signature-font {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--accent-gold);
    display: block;
    margin-top: 3rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ===== EXPERTISE (SERVICES) ===== */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding-top: 2rem;
}

.expertise-card {
    background: var(--bg-secondary-actual);
    background: var(--bg-dark);
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-slow);
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.expertise-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(18, 18, 18, 0.4) 0%, rgba(18, 18, 18, 0.9) 100%);
    z-index: 1;
    transition: var(--transition-slow);
}

.expertise-card:hover::before {
    background: linear-gradient(180deg, rgba(18, 18, 18, 0.2) 0%, rgba(18, 18, 18, 0.7) 100%);
}

.card-inner {
    position: relative;
    z-index: 2;
}

.expertise-card:hover .card-inner {
    background: #1a1a1a;
}

.expertise-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 65px;
    background: rgba(213, 181, 43, 0.1);
    -webkit-clip-path: var(--hexagon-clip-vertical);
    clip-path: var(--hexagon-clip-vertical);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--accent-gold);
    margin-bottom: 2rem;
    transition: var(--transition-slow);
    font-weight: 700;
    line-height: 1; /* Ensure no clipping or vertical misalignment */
}

.expertise-card:hover .expertise-number {
    background: var(--accent-gold);
    color: var(--bg-dark);
    transform: rotate(360deg);
}

.expertise-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.expertise-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ===== TEAM SECTION ===== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.team-card {
    background: var(--bg-secondary-actual);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem;
    text-align: center;
    transition: var(--transition-slow);
}

.team-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-5px);
}

.team-photo-container {
    width: 180px;
    height: 200px;
    margin: 0 auto 1.5rem auto;
    background: var(--accent-gold);
    -webkit-clip-path: var(--hexagon-clip-vertical);
    clip-path: var(--hexagon-clip-vertical);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: var(--transition-slow);
}

.team-card:hover .team-photo-container {
    transform: rotate(5deg);
    background: #fff;
}

.team-photo {
    width: 95%;
    height: 95%;
    object-fit: cover;
    -webkit-clip-path: var(--hexagon-clip-vertical);
    clip-path: var(--hexagon-clip-vertical);
    filter: grayscale(100%);
    transition: var(--transition-slow);
}

.team-card:hover .team-photo {
    filter: grayscale(0%);
    transform: rotate(-5deg);
}

.team-name {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.team-role {
    color: var(--accent-gold);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== ONGOING PROJECTS ===== */
.ongoing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.ongoing-card {
    background: var(--bg-secondary-actual);
    border: 1px solid rgba(212, 175, 55, 0.1);
    overflow: hidden;
    transition: var(--transition-slow);
    position: relative;
    display: flex;
    flex-direction: column;
}

.ongoing-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-gold);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.ongoing-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.ongoing-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 1, 0.3, 1);
}

.ongoing-card:hover .ongoing-image img {
    transform: scale(1.1);
}

.ongoing-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent-gold);
    color: var(--bg-dark);
    padding: 0.4rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
}

.ongoing-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.ongoing-title {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.ongoing-location {
    color: var(--accent-gold);
    font-size: 0.85rem;
    margin-bottom: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ongoing-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===== PORTFOLIO ===== */
.portfolio-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.portfolio-item img {
    transition: var(--transition-slow);
    filter: grayscale(50%) contrast(1.1);
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.portfolio-item:hover img {
    transform: scale(1.05);
    filter: grayscale(0%) contrast(1.1);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: rgba(18, 18, 18, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    opacity: 0;
    transition: var(--transition-slow);
    -webkit-clip-path: var(--hexagon-clip);
    clip-path: var(--hexagon-clip);
    transform: scale(0.8) rotate(-10deg);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

.portfolio-text {
    text-align: center;
}

.portfolio-text h4 {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.portfolio-text p {
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
}

/* ===== PARTNERS ===== */
.partners-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    justify-content: center;
    align-items: center;
}

.partner-logo {
    font-size: 1.2rem;
    color: var(--steel-grey);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: var(--transition-btn);
}

.partner-logo:hover {
    color: var(--text-primary);
}

/* ===== CONTACT ===== */
.contact-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--bg-dark);
    border: 1px solid rgba(213, 181, 43, 0.1);
}

.contact-info {
    padding: 5rem;
    border-right: 1px solid rgba(213, 181, 43, 0.1);
}

.contact-desc {
    color: var(--text-muted);
    margin-bottom: 4rem;
}

.contact-grid-details {
    display: grid;
    gap: 2.5rem;
}

.detail-group h5 {
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.detail-group p {
    color: var(--text-muted);
}

.contact-form-wrapper {
    padding: 5rem;
    display: flex;
    align-items: center;
}

.luxury-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
}

.input-line {
    position: relative;
    margin-bottom: 2.5rem;
}

.input-line input,
.input-line textarea {
    width: 100%;
    background: transparent;
    border: none;
    padding: 1rem 0;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    resize: none;
}

.input-line input:focus,
.input-line textarea:focus {
    outline: none;
}

.input-line .underline {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.input-line .underline::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: all 0.6s cubic-bezier(0.2, 1, 0.3, 1);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.6);
}

.input-line input:focus~.underline::after,
.input-line textarea:focus~.underline::after {
    width: 100%;
}

.form-btn {
    width: 100%;
    margin-top: 1.5rem;
    padding: 1.25rem !important;
    font-weight: 700 !important;
    letter-spacing: 4px !important;
}

/* ===== FOOTER ===== */
.luxury-footer {
    padding: 6rem 0 2rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-brand {
    margin-bottom: 3rem;
}

.footer-brand p {
    color: var(--accent-gold);
    letter-spacing: 2px;
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-top: 1rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-links a {
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--accent-gold);
}

.footer-bottom {
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.8rem;
}

/* ===== ANIMATIONS ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    transition: opacity 1.2s cubic-bezier(0.2, 1, 0.3, 1), transform 1.2s cubic-bezier(0.2, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.fade-up {
    animation: fadeUpAnim 1.2s ease-out forwards;
}

@keyframes fadeUpAnim {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== ANIMATIONS ===== */
@keyframes shimmer {
    0% { transform: translateX(-150%) skewX(-30deg); }
    100% { transform: translateX(150%) skewX(-30deg); }
}

.shimmer-btn {
    position: relative;
    overflow: hidden;
}

.shimmer-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(212, 175, 55, 0.2),
        rgba(255, 255, 255, 0.4),
        rgba(212, 175, 55, 0.2),
        transparent
    );
    animation: shimmer 4s infinite linear;
    pointer-events: none;
    z-index: 10;
}
@media (max-width: 900px) {
    .about-grid,
    .portfolio-gallery,
    .contact-card {
        grid-template-columns: 1fr;
    }

    .contact-info {
        border-right: none;
        border-bottom: 1px solid rgba(213, 181, 43, 0.1);
    }

    .hero-title {
        font-size: clamp(2rem, 10vw, 3.5rem);
    }

    .hero-watermark {
        font-size: clamp(4rem, 30vw, 12rem);
    }
}

@media (max-width: 1100px) {
    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
    height: 100dvh;
        background: var(--bg-dark);
        flex-direction: column;
        justify-content: center;
        transition: 0.4s ease;
    }

    .nav-menu.active {
        right: 0;
    }

    .hero {
        padding: 120px 5% 0 5%;
    }

    .hero-title {
        font-size: 2.2rem;
        line-height: 1.3;
    }
    .section-title {
        font-size: 1.8rem;
    }

    .section {
        padding: 4rem 0;
    }

    .scroll-indicator {
        display: none;
    }

    .contact-info,
    .contact-form-wrapper {
        padding: 3rem 1.5rem;
    }
}
/* ===== SHORT VIEWPORT OPTIMIZATION ===== */
/* ===== PROJECT MAP STYLES ===== */
.map-layout {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 2rem;
    margin-top: 4rem;
    align-items: start;
}

.map-visual-wrapper {
    position: relative;
    background: #1a1a1a;
    border: 1px solid rgba(213, 181, 43, 0.1);
    padding: 1rem;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    height: 650px;
}

/* Leaflet Map Integration */
#leaflet-map {
    z-index: 5;
    background: #222;
    height: 100%;
    width: 100%;
    border-radius: 10px;
    border: 1px solid var(--accent-gold);
}

/* Premium Leaflet Popup Styling */
.beeh-popup .leaflet-popup-content-wrapper {
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: #fff;
    border-radius: 12px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.beeh-popup .leaflet-popup-content {
    margin: 0;
    line-height: 1.4;
}

.beeh-popup .leaflet-popup-tip {
    background: rgba(20, 20, 20, 0.95);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.beeh-popup .leaflet-popup-close-button {
    color: var(--accent-gold) !important;
    padding: 5px !important;
}

.custom-gold-marker {
    transition: transform 0.3s ease;
}

.custom-gold-marker:hover {
    transform: scale(1.5);
    z-index: 1000 !important;
}

.popup-img-wrap {
    width: 100%;
    height: 150px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.popup-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.popup-details h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    color: var(--accent-gold);
}

.popup-location {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.8rem;
    opacity: 0.7;
}

.popup-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}


.map-popup {
    background: rgba(18, 18, 18, 0.95);
    border: 1px solid rgba(213, 181, 43, 0.2);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    transition: var(--transition-slow);
    height: 650px;
    display: flex;
    flex-direction: column;
}

.map-popup .popup-content {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.map-popup .popup-img-wrap {
    height: 250px;
    margin-bottom: 2rem;
    border-radius: 12px;
}

.map-popup .popup-details h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.map-popup .popup-location {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.map-popup .popup-desc {
    font-size: 1rem;
    line-height: 1.8;
}

@media (max-width: 1100px) {
    .map-layout {
        grid-template-columns: 320px 1fr;
    }
}

@media (max-width: 900px) {
    .map-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 2rem;
    }

    .map-popup {
        height: auto;
        order: 1;
    }

    .map-visual-wrapper {
        order: 2;
        padding: 1rem;
        border-radius: 12px;
        height: 450px;
    }

    #leaflet-map {
        height: 100% !important;
    }
}

/* ================= PROJECT TRACKING MODAL ================= */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(10px);
    overflow-y: auto;
    padding: 2rem 1rem;
}

.tracking-stepper {
    display: flex;
    flex-direction: column;
    margin-top: 1rem;
}

.track-step {
    display: flex;
    gap: 1.5rem;
    position: relative;
    padding-bottom: 2rem;
}

.track-step:last-child { padding-bottom: 0; }

.track-step::before {
    content: '';
    position: absolute;
    left: 11px;
    top: 26px;
    bottom: -4px;
    width: 2px;
    background: #222;
    z-index: 1;
}

.track-step:last-child::before { display: none; }

.step-marker {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #0a0a0a;
    border: 2px solid #333;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    margin-top: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 700;
    color: transparent;
    transition: 0.3s;
}

.step-label { font-size: 1rem; color: #555; font-weight: 500; transition: 0.3s; }

.track-step.completed .step-marker {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: #000;
}
.track-step.completed .step-label { color: #ccc; }
.track-step.completed::before { background: var(--accent-gold); }

.track-step.active .step-marker {
    border-color: var(--accent-gold);
    box-shadow: 0 0 12px rgba(220,166,80,0.5);
}
.track-step.active .step-marker::after {
    content: '';
    width: 10px;
    height: 10px;
    background: var(--accent-gold);
    border-radius: 50%;
    position: absolute;
}
.track-step.active .step-label {
    color: var(--accent-gold);
    font-weight: 700;
}

