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

:root {
    --gold: #c9a84c;
    --gold-dark: #a87e2a;

    /* Light theme */
    --navy: #0b1d35;
    --navy-mid: #122947;
    --gray-light: #f5f5f5;
    --gray: #666;
    --white: #fff;
    --text: #333;

    --bg: #ffffff;
    --surface: #ffffff;
    --surface-2: #f5f5f5;
}

:root[data-theme='dark'] {
    --bg: #0b0f18;
    --surface: #0f1624;
    --surface-2: #141e31;

    --white: #e9eef8;
    --text: #e9eef8;
    --gray: #b5bfd1;
    --gray-light: #141e31;

    /* keep navy-ish but brighter contrast */
    --navy: #e9eef8;
    --navy-mid: #d6dff3;
}

html[data-theme='dark'] body {
    background: var(--bg);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text);
    overflow-x: hidden;
}

/* ── TOPBAR ── */
.topbar {
    background: var(--navy);
    color: #ccc;
    font-size: 12px;
    padding: 6px 0;
}

.topbar .wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.topbar a {
    color: var(--gold);
    text-decoration: none;
}

.topbar i {
    margin-right: 5px;
    color: var(--gold);
}

/* ── NAVBAR ── */
nav {
    background: var(--white);
    box-shadow: 0 2px 12px rgba(0, 0, 0, .12);
    position: sticky;
    top: 0;
    z-index: 999;
}

.nav-inner {
    display: flex;
    position: relative;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    max-width: 1280px;
    margin: auto;

}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

@media(max-width:600px) {
    .nav-right {
        gap: 10px;
    }
}


.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo img {
    height: 60px;
    padding: 8px 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-text .en {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 13px;
    color: var(--navy);
    letter-spacing: 1px;
}

.logo-text .ar {
    font-size: 11px;
    color: var(--gold);
}

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

.nav-menu {
    list-style: none;
    display: flex;
    gap: 0;
    justify-content: center;
}

.nav-menu>li {
    position: relative;
}

.nav-menu>li>a,
.nav-menu>li>span {
    display: block;
    padding: 22px 16px;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .8px;
    color: var(--navy);
    text-decoration: none;
    cursor: pointer;
    text-transform: uppercase;
    transition: color .2s;
    white-space: nowrap;
}

.nav-menu>li:hover>a,
.nav-menu>li:hover>span {
    color: var(--gold);
}

.nav-menu>li>a.active {
    color: var(--gold);
    border-bottom: 3px solid var(--gold);
}

#themeToggle {
    margin-left: 10px;

    /* Lower height (keep same position/row; just reduce size) */
    margin-top: -6px;
    padding: 6px 12px;
    height: 34px;
}


/* Desktop: keep theme toggle on the same navbar row */
@media(min-width:601px) {
    #themeToggle {
        display: flex !important;
    }
}

/* Mobile: keep theme toggle visible in the navbar row (next to drawer icon) */
@media(max-width:600px) {
    #themeToggle {
        display: flex !important;
        height: 32px;
        padding: 6px 10px;
        margin-top: -4px;
    }

    /* Don’t allow it to shrink too much */
    #themeToggle span {
        display: none;
    }
}

/* Ensure it doesn't wrap to a new line next to text */
#themeToggle {
    white-space: nowrap;
}



/* dropdown */
.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 220px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .15);
    z-index: 1000;
}

.nav-menu>li:hover .dropdown {
    display: block;
}

.dropdown a {
    display: block;
    padding: 11px 20px;
    font-size: 12px;
    color: var(--navy);
    text-decoration: none;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    letter-spacing: .5px;
    transition: background .2s, color .2s;
}

.dropdown a:hover {
    background: var(--gold);
    color: var(--white);
}

.dropdown hr {
    border: none;
    border-top: 1px solid #eee;
    margin: 2px 0;
}

/* hamburger */
.ham {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
}

.ham span {
    width: 25px;
    height: 2px;
    background: var(--navy);
    display: block;
    transition: .3s;
}

/* ── HERO SLIDER ── */
.slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    height: 520px;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .8s ease;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(.55);
}

.slide-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.slide-content .tag {
    background: var(--gold);
    color: var(--white);
    font-size: 11px;
    letter-spacing: 3px;
    padding: 5px 18px;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 18px;
}

.slide-content h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(22px, 4vw, 50px);
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
}

.slide-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(14px, 2.5vw, 28px);
    font-weight: 400;
    color: var(--gold);
    margin-top: 10px;
}

.slide-content p {
    color: rgba(255, 255, 255, .85);
    max-width: 600px;
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.7;
}

.slide-content .btn-gold {
    margin-top: 24px;
    background: var(--gold);
    color: var(--white);
    padding: 13px 34px;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: background .2s;
    display: inline-block;
}

.slide-content .btn-gold:hover {
    background: var(--gold-dark);
}

.slider-dots {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 12;
    pointer-events: auto;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .4);
    cursor: pointer;
    transition: background .3s;
    border: 2px solid rgba(255, 255, 255, .6);
}

.dot.active {
    background: var(--gold);
    border-color: var(--gold);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, .35);
    color: var(--white);
    border: none;
    padding: 14px 18px;
    font-size: 18px;
    cursor: pointer;
    z-index: 10;
    transition: background .2s;
}

.slider-arrow:hover {
    background: var(--gold);
}

.slider-arrow.prev {
    left: 16px;
}

.slider-arrow.next {
    right: 16px;
}

/* ── STATS BAR ── */
.stats-bar {
    background: var(--navy);
    padding: 24px 0;
}

.stats-bar .wrap {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.stat {
    text-align: center;
}

.stat .num {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: var(--gold);
}

.stat .label {
    font-size: 11px;
    color: #aaa;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 4px;
}

/* ── SECTIONS ── */
.section {
    padding: 80px 0;
}

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

.wrap {
    max-width: 1200px;
    margin: auto;
    padding: 0 24px;
}

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

.section-header .eyebrow {
    font-size: 11px;
    letter-spacing: 3px;
    color: var(--gold);
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 10px;
}

.section-header h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(22px, 3vw, 36px);
    font-weight: 800;
    color: var(--navy);
}

.section-header p {
    max-width: 680px;
    margin: 14px auto 0;
    color: var(--gray);
    line-height: 1.8;
    font-size: 14px;
}

.gold-line {
    width: 50px;
    height: 3px;
    background: var(--gold);
    margin: 14px auto 0;
}

/* ── WHO WE ARE ── */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-img {
    position: relative;
}

.about-img img {
    width: 100%;
    border-radius: 2px;
    display: block;
}

.about-img .badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--gold);
    color: var(--white);
    padding: 22px 28px;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
}

.about-img .badge .num {
    font-size: 36px;
    font-weight: 800;
    line-height: 1;
}

.about-img .badge .txt {
    font-size: 11px;
    letter-spacing: 1.5px;
}

.about-text h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 26px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 16px;
}

.about-text p {
    color: var(--gray);
    line-height: 1.9;
    font-size: 14px;
    margin-bottom: 14px;
}

.check-list {
    list-style: none;
    margin: 18px 0 28px;
}

.check-list li {
    padding: 6px 0;
    font-size: 14px;
    color: var(--text);
}

.check-list li::before {
    content: '✓';
    color: var(--gold);
    font-weight: 700;
    margin-right: 10px;
}

.btn-outline {
    display: inline-block;
    border: 2px solid var(--gold);
    color: var(--gold);
    padding: 12px 30px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    transition: .2s;
}

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

/* ── WHY CHOOSE US ── */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.feature-card {
    background: var(--white);
    border: 1px solid #e8e8e8;
    padding: 32px 26px;
    text-align: center;
    transition: transform .2s, box-shadow .2s;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .1);
}

.feature-card .icon {
    width: 64px;
    height: 64px;
    background: var(--navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
}

.feature-card .icon i {
    color: var(--gold);
    font-size: 24px;
}

.feature-card h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 13px;
    color: var(--gray);
    line-height: 1.7;
}

/* ── VISION / VALUES ── */
.vvv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.vvv-card {
    background: var(--navy);
    color: var(--white);
    padding: 36px 28px;
    position: relative;
    overflow: hidden;
}

.vvv-card::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 100px;
    height: 100px;
    border: 2px solid rgba(201, 168, 76, .2);
    border-radius: 50%;
}

.vvv-card .num {
    font-family: 'Montserrat', sans-serif;
    font-size: 52px;
    font-weight: 800;
    color: rgba(201, 168, 76, .15);
    line-height: 1;
    margin-bottom: 10px;
}

.vvv-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 17px;
    font-weight: 800;
    color: var(--gold);
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.vvv-card p {
    font-size: 13px;
    color: rgba(255, 255, 255, .75);
    line-height: 1.8;
}

/* ── SERVICES ── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    position: relative;
    overflow: hidden;
    border-radius: 2px;
    cursor: pointer;
}

.service-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform .4s;
    display: block;
}

.service-card:hover img {
    transform: scale(1.06);
}

.service-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11, 29, 53, .92) 0%, rgba(11, 29, 53, .2) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 22px 20px;
    transition: background .3s;
}

.service-card:hover .service-overlay {
    background: linear-gradient(to top, rgba(201, 168, 76, .88) 0%, rgba(201, 168, 76, .3) 60%, transparent 100%);
}

.service-overlay h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: .8px;
}

.service-overlay p {
    font-size: 12px;
    color: rgba(255, 255, 255, .8);
    margin-top: 6px;
    line-height: 1.6;
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s;
}

.service-card:hover .service-overlay p {
    max-height: 80px;
}

.service-overlay .explore {
    font-size: 11px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top: 10px;
    display: inline-block;
    border-bottom: 1px solid var(--gold);
    padding-bottom: 2px;
    text-decoration: none;
}

.service-card:hover .service-overlay .explore {
    color: var(--white);
    border-color: var(--white);
}

/* ── PROJECTS ── */
.projects-filter {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.filter-btn {
    padding: 8px 22px;
    border: 2px solid var(--navy);
    background: transparent;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: .2s;
    color: var(--navy);
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--white);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.project-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform .4s;
}

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

.project-info {
    position: absolute;
    inset: 0;
    background: rgba(11, 29, 53, .82);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .3s;
    padding: 16px;
    text-align: center;
}

.project-card:hover .project-info {
    opacity: 1;
}

.project-info h5 {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 6px;
}

.project-info span {
    font-size: 11px;
    color: var(--gold);
}

.project-info .zoom {
    margin-top: 14px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 16px;
}

/* modal */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .88);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal-overlay.open {
    display: flex;
}

.modal-box {
    background: var(--white);
    max-width: 760px;
    width: 95%;
    overflow: hidden;
    position: relative;
}

.modal-box img {
    width: 100%;
    display: block;
    max-height: 70vh;
    object-fit: cover;
}

.modal-box .modal-info {
    padding: 22px 28px;
}

.modal-box .modal-info h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    color: var(--navy);
    font-weight: 800;
}

.modal-box .modal-info p {
    color: var(--gray);
    font-size: 13px;
    margin-top: 8px;
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    background: var(--gold);
    color: var(--white);
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── CLIENTS ── */
.clients-track {
    overflow: hidden;
    position: relative;
}

.clients-track::before,
.clients-track::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 60px;
    z-index: 2;
}

.clients-track::before {
    left: 0;
    background: linear-gradient(to right, var(--gray-light), transparent);
}

.clients-track::after {
    right: 0;
    background: linear-gradient(to left, var(--gray-light), transparent);
}

.clients-inner {
    display: flex;
    gap: 40px;
    width: max-content;
    animation: marquee 28s linear infinite;
}

.clients-inner:hover {
    animation-play-state: paused;
}

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

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

.client-logo {
    height: 64px;
    display: flex;
    align-items: center;
    filter: grayscale(1);
    opacity: .55;
    transition: filter .3s, opacity .3s;
}

.client-logo:hover {
    filter: none;
    opacity: 1;
}

.client-logo img {
    height: 52px;
    max-width: 130px;
    object-fit: contain;
}

/* ── CTA BAND ── */
.cta-band {
    background: linear-gradient(135deg, var(--navy) 0%, #1c3a60 100%);
    padding: 60px 0;
    text-align: center;
}

.cta-band h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(20px, 3vw, 34px);
    font-weight: 800;
    color: var(--white);
}

.cta-band p {
    color: rgba(255, 255, 255, .7);
    max-width: 580px;
    margin: 14px auto 28px;
    font-size: 14px;
    line-height: 1.8;
}

.btn-gold-solid {
    display: inline-block;
    background: var(--gold);
    color: var(--white);
    padding: 14px 38px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    transition: .2s;
}

.btn-gold-solid:hover {
    background: var(--gold-dark);
}

/* ── CONTACT ── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 50px;
}

.contact-info h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 16px;
}

.contact-info p {
    color: var(--gray);
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 24px;
}

.info-row {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 18px;
}

.info-row .icon {
    width: 44px;
    height: 44px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-row .icon i {
    color: var(--white);
    font-size: 16px;
}

.info-row .text strong {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    color: var(--navy);
    display: block;
    margin-bottom: 2px;
    text-transform: uppercase;
}

.info-row .text span {
    font-size: 13px;
    color: var(--gray);
}

.info-row .text a {
    color: inherit;
    text-decoration: none;
}

/* In dark mode keep contact links/spans readable and consistent */
html[data-theme='dark'] .info-row .text a,
html[data-theme='dark'] .info-row .text span {
    color: var(--white) !important;
}

/* Also force the header strong inside contact rows */
html[data-theme='dark'] #contact .info-row .text strong {
    color: var(--white) !important;
}




.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid #ddd;
    margin-bottom: 16px;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    color: var(--text);
    outline: none;
    transition: border .2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--gold);
}

.contact-form textarea {
    height: 130px;
    resize: vertical;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-msg {
    display: none;
    padding: 12px 18px;
    margin-bottom: 14px;
    font-size: 13px;
}

.form-msg.success {
    background: #e8f5e9;
    color: #2e7d32;
    border-left: 4px solid #2e7d32;
}

/* ── FOOTER ── */
footer {
    background: var(--navy);
    color: rgba(255, 255, 255, .7);
}

.footer-top {
    padding: 60px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.3fr;
    gap: 50px;
}

.footer-brand .logo-wrap {
    margin-bottom: 16px;
}

.footer-brand .logo-wrap img {
    height: 52px;
    filter: brightness(10);
}

.footer-brand p {
    font-size: 13px;
    line-height: 1.8;
    color: rgba(255, 255, 255, .6);
}

.footer-socials {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, .6);
    font-size: 14px;
    text-decoration: none;
    transition: .2s;
}

.footer-socials a:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--white);
}

.footer-col h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gold);
    display: inline-block;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: rgba(255, 255, 255, .6);
    font-size: 13px;
    text-decoration: none;
    transition: color .2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a::before {
    content: '›';
    color: var(--gold);
    font-size: 16px;
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-addr {
    font-size: 13px;
    color: rgba(255, 255, 255, .6);
    line-height: 1.8;
}

.footer-addr .row {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 14px;
}

.footer-addr .row i {
    color: var(--gold);
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-bottom {
    background: rgba(0, 0, 0, .3);
    padding: 16px 0;
    text-align: center;
    font-size: 12px;
    color: rgba(255, 255, 255, .45);
}

.footer-bottom span {
    color: var(--gold);
}

/* ── MAP ── */
.map-wrap {
    margin-top: 50px;
    border: 3px solid var(--gold);
}

.map-wrap iframe {
    width: 100%;
    height: 300px;
    border: none;
    display: block;
}

/* ── SCROLL TOP ── */
#scrollTop {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 44px;
    height: 44px;
    background: var(--gold);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .25);
    z-index: 500;
    transition: background .2s;
}

#scrollTop:hover {
    background: var(--gold-dark);
}

#scrollTop.show {
    display: flex;
}

/* ── DETAIL PAGES ── */


html[data-theme='dark'] .detail-hero {
    background: linear-gradient(135deg, #000000 0%, #0b0f18 100%) !important;
}

html[data-theme='dark'] .detail-content {
    background: transparent;
}

html[data-theme='dark'] .detail-intro h2 {
    color: var(--navy-mid) !important;
}

html[data-theme='dark'] .detail-intro>p {
    color: var(--gray) !important;
}

html[data-theme='dark'] .gallery-section h3 {
    color: var(--navy-mid) !important;
}

html[data-theme='dark'] .cta-band {
    background: linear-gradient(135deg, var(--navy) 0%, #1c3a60 100%) !important;
}

html[data-theme='dark'] .cta-band p {
    color: rgba(255, 255, 255, .7) !important;
}

html[data-theme='dark'] .breadcrumb {
    color: var(--gray) !important;
}

.detail-hero {

    background: linear-gradient(135deg, var(--navy) 0%, #1e1f21 100%);
    padding: 50px 0;
    margin-top: 0;
}

html[data-theme='dark'] .topbar {
    background: var(--navy);
    color: rgba(255, 255, 255, .75);
}

html[data-theme='dark'] nav {
    background: var(--surface);
    box-shadow: 0 2px 14px rgba(0, 0, 0, .35);
}

html[data-theme='dark'] .dropdown {
    background: var(--surface);
}

html[data-theme='dark'] .section.gray {
    background: var(--surface-2);
}

html[data-theme='dark'] .feature-card,
html[data-theme='dark'] .modal-box {
    background: var(--surface);
}

/* Ensure the Vision/Objective/Values cards read well in dark mode */
html[data-theme='dark'] .vvv-card {
    background: #0b1d35;
    color: #0b0b0b;
}


html[data-theme='dark'] footer {
    background: var(--surface) !important;
    color: rgba(233, 238, 248, .75) !important;
}


/* Footer inner dark-mode colors */
html[data-theme='dark'] footer .footer-brand p {
    color: rgba(233, 238, 248, .75) !important;
}

/* Ensure footer brand wrapper / card feels aligned in dark mode */
html[data-theme='dark'] footer .footer-brand,
html[data-theme='dark'] footer .footer-grid {
    background: var(--surface) !important;
}

html[data-theme='dark'] footer .footer-brand,
html[data-theme='dark'] footer .footer-grid {
    border-color: rgba(255, 255, 255, .06) !important;
}



html[data-theme='dark'] footer .footer-col h4 {
    color: var(--white) !important;
}

html[data-theme='dark'] footer .footer-links a {
    color: rgba(233, 238, 248, .75) !important;
}

html[data-theme='dark'] footer .footer-links a:hover {
    color: var(--gold) !important;
}

/* Footer address block text should match theme in both light/dark */
footer .footer-addr,
footer .footer-addr a,
footer .footer-addr span,
footer .footer-addr div {
    color: var(--gray) !important;
}

html[data-theme='dark'] footer .footer-addr,
html[data-theme='dark'] footer .footer-addr a,
html[data-theme='dark'] footer .footer-addr span,
html[data-theme='dark'] footer .footer-addr div {
    color: var(--white) !important;
}



/* Footer address codes (phone/email/website) should match each other in dark mode */
html[data-theme='dark'] #footerPhone,
html[data-theme='dark'] #footerPhone2,
html[data-theme='dark'] #footerEmail,
html[data-theme='dark'] #footerWebsite,
html[data-theme='dark'] #footerAddress,
html[data-theme='dark'] #footerPhoneLink,
html[data-theme='dark'] #footerPhoneLink2,
html[data-theme='dark'] #footerEmailLink {
    color: var(--white) !important;
}


html[data-theme='dark'] footer .footer-addr {
    color: var(--white) !important;
}

html[data-theme='dark'] footer .footer-addr .row a,
html[data-theme='dark'] footer .footer-addr .row span,
html[data-theme='dark'] footer .footer-addr .row div,
html[data-theme='dark'] footer .footer-addr .row i,
html[data-theme='dark'] footer .footer-addr .row {
    color: var(--white) !important;
}

/* Extra: force footer address link/span colors even if other rules target them */
html[data-theme='dark'] footer .footer-addr a,
html[data-theme='dark'] footer .footer-addr span {
    color: var(--white) !important;
}



html[data-theme='dark'] footer .footer-bottom {
    background: rgba(0, 0, 0, .45) !important;
    color: rgba(233, 238, 248, .45) !important;
}


/* License section container: keep it readable in dark mode */

html[data-theme='dark'] #license {
    background: var(--surface-2) !important;
}

html[data-theme='dark'] #license .section-header h2,
html[data-theme='dark'] #license .section-header .eyebrow,
html[data-theme='dark'] #license .section-header p {
    color: var(--navy-mid) !important;
}

html[data-theme='dark'] .breadcrumb {
    color: var(--gray);
}

/* Contact section readability */
html[data-theme='dark'] #contact {
    background: var(--surface);
}

html[data-theme='dark'] #contact .section-header h2,
html[data-theme='dark'] #contact .section-header .eyebrow,
html[data-theme='dark'] #contact .section-header p,
html[data-theme='dark'] #contact .contact-info,
html[data-theme='dark'] #contact .contact-info h3 {
    color: var(--navy-mid) !important;
}

html[data-theme='dark'] #contact .contact-info p,
html[data-theme='dark'] #contact .info-row .text span,
html[data-theme='dark'] #contact .info-row .text strong,
html[data-theme='dark'] #contact .info-row .text a {
    color: var(--white) !important;
}


html[data-theme='dark'] #contact .contact-form input,
html[data-theme='dark'] #contact .contact-form textarea,
html[data-theme='dark'] #contact .contact-form select {
    background: #0f1624;
    border-color: rgba(255, 255, 255, .18);
    color: var(--white);
}


html[data-theme='dark'] .gallery-overlay {
    background: rgba(0, 0, 0, .45);
}

.detail-hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(26px, 4vw, 42px);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
}

.detail-hero p {
    color: rgba(255, 255, 255, .8);
    font-size: 14px;
    max-width: 700px;
}

.detail-content {
    padding: 60px 0;
}

.detail-intro {
    margin-bottom: 50px;
}

.detail-intro img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 30px;
    display: block;
}

.detail-intro h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 16px;
}

.detail-intro>p {
    color: var(--gray);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 18px;
}

.expertise-list {
    list-style: none;
    columns: 2;
    gap: 30px;
    margin: 30px 0;
}

.expertise-list li {
    padding: 10px 0;
    font-size: 13px;
    color: var(--text);
    break-inside: avoid;
}

.expertise-list li::before {
    content: '✓';
    color: var(--gold);
    font-weight: 700;
    margin-right: 10px;
    font-size: 16px;
}

.gallery-section {
    margin-top: 60px;
}

.gallery-section h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 26px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 30px;
    text-align: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
    display: block;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .3s;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    width: 50px;
    height: 50px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
}

.breadcrumb {
    padding: 16px 0;
    font-size: 12px;
    color: var(--gray);
    margin-bottom: 20px;
}

.breadcrumb a {
    color: var(--gold);
    text-decoration: none;
    margin: 0 4px;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* ── MOBILE ── */
@media(max-width:900px) {

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .about-img .badge {
        right: 0;
        bottom: 0;
    }

    .features-grid,
    .vvv-grid,
    .services-grid {
        grid-template-columns: 1fr 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .slider {
        height: 360px;
    }

    .expertise-list {
        columns: 2;
    }
}

@media(max-width:600px) {

    /* Mobile navbar: ensure correct layout */
    .nav-right {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .ham {
        display: flex;
        margin-left: auto;
        /* push to right */
    }

    .nav-menu {
        display: none;
    }

    .nav-menu.open {
        display: flex;
        top: 12px;
        margin-top: 0px;
    }

    .ham {
        display: flex;
    }

    /* Theme drawer colors (mobile open nav) */
    html[data-theme='dark'] .nav-menu.open {

        background: var(--surface) !important;
        box-shadow: 0 12px 28px rgba(0, 0, 0, .45) !important;
    }

    html[data-theme='dark'] .nav-menu.open>li>a,
    html[data-theme='dark'] .nav-menu.open>li>span {
        color: var(--white) !important;
    }

    html[data-theme='dark'] .nav-menu.open>li>a.active {
        border-bottom-color: var(--gold) !important;
    }

    html[data-theme='dark'] .dropdown {
        background: var(--surface) !important;
    }

    html[data-theme='dark'] .dropdown a {
        color: var(--white) !important;
    }

    html[data-theme='dark'] .dropdown a:hover {
        color: var(--white) !important;
    }

    .features-grid,

    .vvv-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .slider-dots {
        bottom: 12px;
        gap: 6px;
    }

    .dot {
        width: 8px;
        height: 8px;
    }

    .slider-arrow {
        padding: 10px 12px;
        font-size: 14px;
    }

    .projects-grid {
        grid-template-columns: 1fr 1fr;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: 0 8px 20px rgba(0, 0, 0, .12);
        padding: 0;
        margin: 0;
        z-index: 998;
        border-top: 0;
    }



    .nav-menu.open {
        display: flex;
    }

    .nav-menu>li>a,
    .nav-menu>li>span {
        padding: 14px 24px;
    }

    .dropdown {
        position: static;
        box-shadow: none;
        border-left: 3px solid var(--gold);
        margin-left: 24px;
    }

    .ham {
        display: flex;
    }

    .contact-form .form-row {
        grid-template-columns: 1fr;
    }

    .slider {
        height: 280px;
    }

    .slide-content {
        justify-content: flex-start;
        padding: 24px 18px 72px;
        padding-top: 56px;
    }

    .slide-content .btn-gold {
        margin-top: 18px;
    }

    .slider-dots {
        bottom: 12px;
        gap: 6px;
        padding: 6px 10px;
        border-radius: 999px;
        background: rgba(0, 0, 0, 0.2);
        backdrop-filter: blur(2px);
    }

    .dot {
        width: 8px;
        height: 8px;
    }

    .slider-arrow {
        padding: 10px 12px;
        font-size: 14px;
    }

    .expertise-list {
        columns: 1;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .detail-hero {
        padding: 40px 0;
    }
}