:root {
    --orange: #fd9526;
    --orange-dark: #ff982b;
    --dark: #0b0d12;
    --dark-soft: #151922;
    --gray: #6b7280;
    --light: #f6f7fb;
    --white: #ffffff;
    --border: rgba(15, 17, 21, 0.08);
    --shadow: 0 18px 45px rgba(15, 17, 21, 0.10);
}

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

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--dark);
    background: radial-gradient(circle at top left, rgba(246, 178, 107, 0.16), transparent 32%), var(--white);
    line-height: 1.6;
    padding-top: 84px;
}

#nav-placeholder {
    position: relative;
    z-index: 99999;
}

header {
    background: rgba(11, 13, 18, 0.96);
    color: var(--white);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 99999;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}

.container {
    width: min(1120px, 92%);
    margin: auto;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
}

.logo {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.5px;
    cursor: pointer;
}

.logo span:first-child {
    color: var(--orange);
}

.logo small {
    display: block;
    font-size: 10px;
    color: #c7c7c7;
    letter-spacing: 1.8px;
    margin-top: -4px;
    text-transform: uppercase;
}

.menu-toggle {
    display: none;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--white);
    font-size: 26px;
    width: 46px;
    height: 42px;
    border-radius: 10px;
    cursor: pointer;
}

nav a {
    color: var(--white);
    text-decoration: none;
    margin-left: 22px;
    font-size: 15px;
    cursor: pointer;
}

nav a:hover,
nav a.active {
    color: var(--orange);
}

main {
    min-height: calc(100vh - 130px);
}

.page {
    display: none;
    animation: fadeIn 0.3s ease;
}

.page.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero {
    background:
        radial-gradient(circle at 82% 20%, rgba(246, 178, 107, 0.28), transparent 28%),
        radial-gradient(circle at 12% 85%, rgba(255, 255, 255, 0.08), transparent 24%),
        linear-gradient(135deg, #08090d 0%, #151b27 58%, #261808 100%);
    color: var(--white);
    padding: 112px 0;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto -10% -40% -10%;
    height: 260px;
    background: rgba(246, 178, 107, 0.08);
    filter: blur(60px);
    pointer-events: none;
}

.badge {
    display: inline-block;
    color: var(--orange);
    background: rgba(246, 178, 107, 0.10);
    border: 1px solid rgba(246, 178, 107, 0.42);
    padding: 9px 15px;
    border-radius: 999px;
    margin-bottom: 20px;
    font-size: 14px;
    box-shadow: inset 0 0 18px rgba(246, 178, 107, 0.08);
}

h1 {
    font-size: clamp(42px, 6vw, 70px);
    line-height: 1.05;
    margin-bottom: 20px;
    max-width: 850px;
}

.hero p {
    color: #d8d8d8;
    font-size: 19px;
    max-width: 720px;
    margin-bottom: 34px;
}

.selection-grid,
.services,
.project-grid,
.split {
    display: grid;
    gap: 22px;
}

.selection-grid,
.services,
.project-grid {
    grid-template-columns: repeat(3, 1fr);
}

.project-category-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(280px, 420px));
    justify-content: center;
    align-items: stretch;
    gap: 28px;
    margin-top: 20px;
}

.project-category-card {
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.project-category-card p {
    margin-bottom: 20px;
}

.project-category-card .btn,
button.btn {
    appearance: none;
    -webkit-appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 14px 24px;
    min-height: 48px;
    border-radius: 999px;
    font-weight: 800;
    border: none;
    cursor: pointer;
    text-align: center;
    font-size: 15px;
    line-height: 1;
    transition: 0.25s ease;
    font-family: inherit;
}

.btn:hover,
button.btn:hover {
    transform: translateY(-2px);
}

.btn-primary,
button.btn-primary {
    background: linear-gradient(135deg, #F6B26B, #ffd2a3);
    color: #111;
    box-shadow: 0 14px 28px rgba(246, 178, 107, 0.28);
}

.btn-primary:hover,
button.btn-primary:hover {
    background: linear-gradient(135deg, #ffbd79, #ffe0bd);
    box-shadow: 0 18px 34px rgba(246, 178, 107, 0.38);
}



/* Homepage datacenter hero image */
.home-hero-image {
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.98) 0%, rgba(0, 0, 0, 0.92) 23%, rgba(0, 0, 0, 0.66) 45%, rgba(0, 0, 0, 0.18) 100%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.30) 100%),
        url('assets/images/l7-homepage-datacenter-orange-clean.png') center center / cover no-repeat;
    min-height: 680px;
    padding: 0;
    display: flex;
    align-items: center;
}

.home-hero-image::after {
    display: none;
}

.hero-text {
    position: relative;
    z-index: 1;
    padding: 96px 0;
}

.hero-text h1 {
    max-width: 760px;
    text-shadow: 0 4px 22px rgba(0, 0, 0, 0.80);
}

.hero-text p {
    text-shadow: 0 3px 16px rgba(0, 0, 0, 0.75);
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    border: 1px solid rgba(246, 178, 107, 0.42);
}

.btn-secondary:hover {
    background: rgba(246, 178, 107, 0.16);
}

.home-selection-section {
    background: #08090d;
    padding: 58px 0 78px;
    color: var(--white);
}

.home-selection-grid .selection-card {
    background: rgba(15, 17, 21, 0.94);
    border: 1px solid rgba(246, 178, 107, 0.28);
    color: var(--white);
    min-height: 260px;
}

.home-selection-grid .selection-card p {
    color: #e6e6e6;
}

section {
    padding: 78px 0;
}

.page-header {
    background:
        radial-gradient(circle at 85% 10%, rgba(246, 178, 107, 0.22), transparent 26%),
        linear-gradient(135deg, var(--dark), #171d28);
    color: var(--white);
    padding: 78px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.page-header h1 {
    font-size: clamp(36px, 5vw, 56px);
    max-width: 760px;
}

.page-header p {
    color: #d8d8d8;
    max-width: 720px;
    font-size: 18px;
}

.section-title {
    max-width: 760px;
    margin-bottom: 36px;
}

.section-title h2 {
    font-size: 36px;
    margin-bottom: 12px;
}

.section-title p,
.card p,
.project-content p {
    color: var(--gray);
}

.card {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 30px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    transition: 0.25s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 55px rgba(15, 17, 21, 0.14);
}

.selection-card {
    cursor: pointer;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.06));
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: var(--white);
    border-radius: 28px;
    padding: 36px;
    transition: 0.3s ease;
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.20);
    backdrop-filter: blur(12px);
}

.selection-card:hover {
    transform: translateY(-6px);
    border-color: rgba(246, 178, 107, 0.58);
    background: linear-gradient(180deg, rgba(246, 178, 107, 0.18), rgba(255, 255, 255, 0.06));
}

.selection-card h3,
.card h3 {
    margin-bottom: 10px;
    font-size: 22px;
}

.selection-card p {
    color: #d5d5d5;
    margin-bottom: 20px;
}

.icon {
    width: 44px;
    height: 44px;
    background: rgba(246, 178, 107, 0.22);
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-weight: 800;
    margin-bottom: 16px;
}

.check-list {
    list-style: none;
    margin-top: 20px;
}

.check-list li {
    margin-bottom: 14px;
    padding-left: 28px;
    position: relative;
}

.check-list li::before {
    content: "✓";
    color: var(--orange);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Brand logo carousel */
.brand-carousel {
    width: 100%;
    overflow: hidden;
    margin-top: 28px;
    padding: 12px 0;
    position: relative;
}

.brand-track {
    display: flex;
    gap: 18px;
    width: max-content;
    animation: scrollBrands 30s linear infinite;
}

.brand-carousel:hover .brand-track {
    animation-play-state: paused;
}

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

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

.brand-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 24px;
    width: 220px;
    min-width: 220px;
    min-height: 155px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 800;
    color: var(--dark);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.07);
    flex-shrink: 0;
}

.brand-card small {
    display: block;
    color: var(--gray);
    font-weight: 400;
    margin-top: 4px;
}

.brand-logo {
    width: 100%;
    max-width: 140px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 14px;
}

.brand-placeholder {
    width: 140px;
    height: 60px;
    border-radius: 10px;
    background: linear-gradient(135deg, #1c2430, #3a2a1d);
    color: var(--orange);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    font-size: 13px;
    font-weight: 700;
}

.project-card {
    overflow: hidden;
    padding: 0;
    cursor: pointer;
    transition: 0.3s ease;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.12);
}

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

.album-grid img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.album-grid img:hover {
    transform: scale(1.02);
}

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 92%;
    max-height: 82vh;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.12);
    border: none;
    color: white;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    font-size: 26px;
    cursor: pointer;
    backdrop-filter: blur(6px);
}

.lightbox-close {
    top: 24px;
    right: 24px;
}

.lightbox-prev {
    left: 24px;
}

.lightbox-next {
    right: 24px;
}

.project-image {
    height: 220px;
    background: linear-gradient(135deg, #1c2430, #3a2a1d);
    display: grid;
    place-items: center;
    color: var(--orange);
    font-weight: 800;
    text-align: center;
    padding: 20px;
}

.project-photo {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    transition: 0.35s ease;
}

.project-card:hover .project-photo {
    transform: scale(1.04);
}

.project-content {
    padding: 22px;
}

.contact-box {
    background:
        radial-gradient(circle at top right, rgba(246, 178, 107, 0.22), transparent 32%),
        var(--light);
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 46px;
    text-align: center;
    max-width: 800px;
    margin: auto;
    box-shadow: var(--shadow);
}

.contact-box h2 {
    font-size: 34px;
    margin-bottom: 14px;
}

footer {
    background: #08090c;
    color: #bcbcbc;
    padding: 26px 0;
    text-align: center;
    font-size: 14px;
}

@media (max-width: 850px) {
    body {
        padding-top: 74px;
    }

    .container {
        width: min(100% - 28px, 1120px);
    }

    header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        z-index: 99999;
    }

    .nav {
        flex-direction: row;
        gap: 16px;
        text-align: left;
        padding: 14px 0;
    }

    .logo {
        font-size: 24px;
    }

    .menu-toggle {
        display: block;
    }

    nav {
        display: none;
        position: fixed;
        top: 74px;
        left: 14px;
        right: 14px;
        background: #11141b;
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 16px;
        padding: 14px;
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    }

    nav.open {
        display: grid;
        grid-template-columns: 1fr;
        gap: 6px;
    }

    nav a {
        margin: 0;
        font-size: 15px;
        padding: 12px 14px;
        border-radius: 10px;
    }

    nav a:hover,
    nav a.active {
        background: rgba(246, 178, 107, 0.12);
    }

    .hero {
        padding: 52px 0 58px;
        text-align: center;
    }

    .badge {
        font-size: 12px;
        padding: 8px 12px;
        margin-bottom: 18px;
        max-width: 100%;
    }

    h1 {
        font-size: 34px;
        line-height: 1.08;
        margin-left: auto;
        margin-right: auto;
    }

    .hero p,
    .page-header p {
        font-size: 16px;
        margin-left: auto;
        margin-right: auto;
    }

    .selection-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-top: 28px;
    }

    .selection-card {
        padding: 26px 22px;
        border-radius: 22px;
        text-align: left;
    }

    .selection-card h3 {
        font-size: 22px;
    }

    .selection-card p {
        font-size: 16px;
        margin-bottom: 18px;
    }

    .selection-card .btn {
        width: 100%;
    }

    .services,
    .project-grid,
    .split,
    .project-category-grid,
    .album-grid {
        grid-template-columns: 1fr;
    }

    .page-header {
        padding: 54px 0;
        text-align: center;
    }

    .section-title h2 {
        font-size: 28px;
    }

    section {
        padding: 52px 0;
    }

    .card {
        padding: 22px;
    }

    .project-card {
        padding: 0;
    }

    .project-category-card {
        text-align: center;
    }

    .brand-card {
        width: 180px;
        min-width: 180px;
    }
}

@media (max-width: 420px) {
    .container {
        width: min(100% - 22px, 1120px);
    }

    .hero {
        padding: 42px 0 46px;
    }

    h1 {
        font-size: 30px;
    }

    .hero p {
        font-size: 15px;
    }

    .selection-card {
        padding: 22px 18px;
    }

    .btn,
    button.btn {
        width: 100%;
        min-height: 46px;
    }
}

.logo {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* OSI Model section on homepage */
.osi-section {
    background:
        radial-gradient(circle at top right, rgba(246, 178, 107, 0.14), transparent 32%),
        linear-gradient(180deg, #08090d 0%, #0b0d12 100%);
    color: var(--white);
    padding: 44px 0 84px;
}

.osi-intro {
    max-width: 680px;
    margin-bottom: 28px;
}

.osi-intro h2 {
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.1;
    margin-bottom: 12px;
}

.osi-intro p {
    color: #e4e4e4;
    font-size: 17px;
}

.osi-table {
    overflow: hidden;
    border: 1px solid rgba(246, 178, 107, 0.24);
    border-radius: 18px;
    background: rgba(12, 14, 19, 0.92);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.osi-row {
    display: grid;
    grid-template-columns: 90px 260px 1fr 1.15fr;
    align-items: stretch;
    border-bottom: 1px solid rgba(246, 178, 107, 0.16);
}

.osi-row:last-child {
    border-bottom: 0;
}

.osi-header {
    color: #ff8a00;
    font-weight: 800;
    font-size: 14px;
    background: rgba(0, 0, 0, 0.42);
}

.osi-row>div {
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    border-right: 1px solid rgba(246, 178, 107, 0.10);
}

.osi-row>div:last-child {
    border-right: 0;
}

.osi-layer {
    justify-content: center;
    font-size: 32px;
    font-weight: 900;
    color: #fff;
}

.layer-7 {
    background: linear-gradient(135deg, #ff6600, #ff8a00);
}

.layer-6 {
    background: linear-gradient(135deg, #ff8700, #ffad21);
}

.layer-5 {
    background: linear-gradient(135deg, #ffaa00, #ffd34d);
}

.layer-4 {
    background: linear-gradient(135deg, #21b64b, #48d760);
}

.layer-3 {
    background: linear-gradient(135deg, #118ed2, #22b2ff);
}

.layer-2 {
    background: linear-gradient(135deg, #3b68e8, #6388ff);
}

.layer-1 {
    background: linear-gradient(135deg, #744de7, #9b65ff);
}

.osi-name {
    background: rgba(255, 255, 255, 0.02);
}

.osi-name strong {
    display: block;
    color: #ff8a00;
    font-size: 17px;
    line-height: 1.1;
}

.osi-name small {
    display: block;
    color: #d8d8d8;
    margin-top: 4px;
}

.osi-icon,
.osi-solution-icon {
    min-width: 38px;
    height: 38px;
    border: 2px solid currentColor;
    color: #ff8a00;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 20px;
}

.osi-solution-icon {
    margin-right: 6px;
}

.green,
.green-text {
    color: #35d653 !important;
}

.blue,
.blue-text {
    color: #20a7f3 !important;
}

.indigo,
.indigo-text {
    color: #5b83ff !important;
}

.purple,
.purple-text {
    color: #9b65ff !important;
}

@media (max-width: 900px) {
    .osi-table {
        overflow-x: auto;
        border-radius: 16px;
    }

    .osi-row {
        min-width: 860px;
    }
}

@media (max-width: 640px) {
    .osi-section {
        padding: 36px 0 62px;
    }

    .osi-intro {
        text-align: center;
    }
}


/* OSI detail examples */
.osi-detail-section {
    background: linear-gradient(180deg, #0b0d12 0%, #050609 100%);
    color: var(--white);
    padding: 82px 0 92px;
}

.osi-detail-title {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 38px;
}

.osi-detail-title p {
    color: #d8d8d8;
    font-size: 17px;
    line-height: 1.7;
}

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

.osi-detail-card {
    display: grid;
    grid-template-columns: minmax(260px, 420px) 1fr;
    gap: 30px;
    align-items: center;
    padding: 24px;
    border: 1px solid rgba(246, 178, 107, 0.22);
    border-radius: 24px;
    background:
        radial-gradient(circle at top right, rgba(246, 178, 107, 0.10), transparent 34%),
        rgba(15, 17, 23, 0.92);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.24);
}

.osi-detail-card:nth-child(even) .osi-detail-image {
    order: 2;
}

.osi-detail-image img {
    width: 100%;
    display: block;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.osi-detail-copy h3 {
    font-size: clamp(26px, 3vw, 40px);
    margin: 12px 0 6px;
    color: #fff;
}

.osi-detail-copy h4 {
    color: #ff8a00;
    font-size: 18px;
    margin-bottom: 12px;
}

.osi-detail-copy p {
    color: #e4e4e4;
    font-size: 17px;
    line-height: 1.75;
    max-width: 720px;
}

.layer-detail-4 .osi-detail-copy h4 {
    color: #35d653;
}

.layer-detail-3 .osi-detail-copy h4 {
    color: #20a7f3;
}

.layer-detail-2 .osi-detail-copy h4 {
    color: #5b83ff;
}

.layer-detail-1 .osi-detail-copy h4 {
    color: #9b65ff;
}

@media (max-width: 780px) {

    .osi-detail-card,
    .osi-detail-card:nth-child(even) {
        grid-template-columns: 1fr;
    }

    .osi-detail-card:nth-child(even) .osi-detail-image {
        order: 0;
    }

    .osi-detail-card {
        padding: 18px;
    }
}


/* Mobile home page layout fixes - added without changing existing content */
@media (max-width: 760px) {

    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    main {
        overflow-x: hidden;
    }

    .home-hero-image {
        min-height: 560px;
        background-position: center center;
        background-size: cover;
        align-items: center;
    }

    .hero-text {
        padding: 64px 0 58px;
        text-align: left;
    }

    .hero-text h1 {
        font-size: clamp(32px, 10vw, 44px);
        max-width: 100%;
    }

    .hero-text p {
        font-size: 16px;
        max-width: 100%;
    }

    .hero-actions {
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .home-selection-section {
        padding: 34px 0 48px;
    }

    .home-selection-grid,
    .selection-grid.home-selection-grid {
        display: grid;
        grid-template-columns: 1fr !important;
        gap: 18px;
        width: 100%;
        margin-top: 0;
    }

    .home-selection-grid .selection-card,
    .selection-card {
        width: 100%;
        max-width: 100%;
        min-height: auto;
        padding: 24px 20px;
        text-align: left;
    }

    .home-selection-grid .selection-card .btn,
    .selection-card .btn,
    .selection-card button.btn {
        width: 100%;
    }

    .osi-section {
        padding: 38px 0 48px;
    }

    .osi-intro {
        text-align: left;
        max-width: 100%;
        margin-bottom: 20px;
    }

    .osi-intro h2 {
        font-size: 30px;
    }

    .osi-table {
        overflow: visible;
        border-radius: 18px;
        background: transparent;
        border: 0;
        box-shadow: none;
        display: grid;
        gap: 14px;
    }

    .osi-header {
        display: none !important;
    }

    .osi-row {
        min-width: 0 !important;
        width: 100%;
        display: grid;
        grid-template-columns: 70px 1fr;
        border: 1px solid rgba(246, 178, 107, 0.22);
        border-radius: 18px;
        overflow: hidden;
        background: rgba(12, 14, 19, 0.94);
        box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
    }

    .osi-row>div {
        padding: 14px;
        border-right: 0;
        border-bottom: 1px solid rgba(246, 178, 107, 0.10);
        align-items: flex-start;
        gap: 10px;
    }

    .osi-row>div:last-child {
        border-bottom: 0;
    }

    .osi-layer {
        grid-row: 1 / span 3;
        min-height: 100%;
        font-size: 30px;
        align-items: center !important;
        justify-content: center !important;
        border-bottom: 0 !important;
    }

    .osi-name,
    .osi-row>div:nth-child(3),
    .osi-row>div:nth-child(4) {
        grid-column: 2;
        width: 100%;
    }

    .osi-name strong {
        font-size: 17px;
    }

    .osi-name small,
    .osi-row>div:nth-child(3),
    .osi-row>div:nth-child(4) {
        font-size: 14px;
        line-height: 1.55;
    }

    .osi-icon,
    .osi-solution-icon {
        min-width: 34px;
        width: 34px;
        height: 34px;
        font-size: 17px;
    }

    .osi-detail-section {
        padding: 48px 0 58px;
    }

    .osi-detail-title {
        text-align: left;
        margin-bottom: 24px;
    }

    .osi-detail-title h2 {
        font-size: 30px;
        line-height: 1.12;
    }

    .osi-detail-title p {
        font-size: 15px;
    }

    .osi-detail-grid {
        gap: 18px;
    }

    .osi-detail-card,
    .osi-detail-card:nth-child(even) {
        grid-template-columns: 1fr !important;
        gap: 16px;
        padding: 16px;
        border-radius: 20px;
    }

    .osi-detail-card:nth-child(even) .osi-detail-image {
        order: 0 !important;
    }

    .osi-detail-image img {
        max-width: 100%;
        height: auto;
        border-radius: 16px;
    }

    .osi-detail-copy h3 {
        font-size: 26px;
    }

    .osi-detail-copy h4 {
        font-size: 16px;
    }

    .osi-detail-copy p {
        font-size: 15px;
        line-height: 1.65;
    }
}

@media (max-width: 420px) {
    .home-hero-image {
        min-height: 520px;
    }

    .hero-text {
        padding: 52px 0;
    }

    .osi-row {
        grid-template-columns: 62px 1fr;
    }

    .osi-row>div {
        padding: 12px;
    }

    .osi-layer {
        font-size: 28px;
    }
}

/* Service page picture backgrounds for Residential and Commercial pages */
.service-background-section {
    position: relative;
    overflow: hidden;
    color: var(--white);
    background-color: #08090d;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.service-background-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(5, 6, 8, 0.92), rgba(5, 6, 8, 0.74), rgba(5, 6, 8, 0.84)),
        radial-gradient(circle at 78% 22%, rgba(246, 178, 107, 0.24), transparent 34%);
    z-index: 0;
}
.service-background-section > .container {
    position: relative;
    z-index: 1;
}
.residential-services-bg {
    background-image: url('assets/images/residential-services-bg.png');
}
.commercial-services-bg {
    background-image: url('assets/images/commercial-services-bg.png');
}
.light-section-title h2,
.light-section-title p {
    color: var(--white);
}
.light-section-title p {
    color: #e6e6e6;
}
.service-overlay-grid .card {
    background: rgba(10, 13, 18, 0.82);
    border-color: rgba(246, 178, 107, 0.28);
    color: var(--white);
    box-shadow: 0 24px 55px rgba(0, 0, 0, 0.28);
}
.service-overlay-grid .card h3 {
    color: #ffffff;
}
.service-overlay-grid .card p {
    color: #e2e2e2;
}

@media (max-width: 768px) {
    .service-background-section {
        background-position: center top;
    }
    .service-background-section::before {
        background: linear-gradient(180deg, rgba(5, 6, 8, 0.95), rgba(5, 6, 8, 0.86));
    }
    .light-section-title {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    .service-overlay-grid .card {
        text-align: left;
    }
}


/* Consistent picture backgrounds for Projects, About, and Contact pages */
.projects-services-bg {
    background-image: url('assets/images/projects-services-bg.png');
}
.about-services-bg {
    background-image: url('assets/images/about-services-bg.png');
}
.contact-services-bg {
    background-image: url('assets/images/contact-services-bg.png');
}
.about-overlay-content,
.service-overlay-box {
    position: relative;
    z-index: 1;
}
.about-overlay-content h2,
.about-overlay-content p,
.about-overlay-content li,
.service-overlay-box h2,
.service-overlay-box p {
    color: #ffffff;
}
.about-overlay-content > div,
.service-overlay-box {
    background: rgba(10, 13, 18, 0.82);
    border: 1px solid rgba(246, 178, 107, 0.28);
    border-radius: 22px;
    padding: 30px;
    box-shadow: 0 24px 55px rgba(0, 0, 0, 0.28);
}
.about-overlay-content .check-list li {
    color: #e8e8e8;
}
.contact-services-bg .contact-box {
    max-width: 760px;
    margin: 0 auto;
}
@media (max-width: 768px) {
    .project-category-grid.service-overlay-grid {
        grid-template-columns: 1fr;
    }
    .about-overlay-content > div,
    .service-overlay-box {
        padding: 22px;
    }
}

/* Contact page redesign */
.contact-hero {
    position: relative;
    min-height: 360px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.contact-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(5, 6, 8, 0.96) 0%, rgba(10, 13, 18, 0.78) 42%, rgba(253, 149, 38, 0.24) 100%),
        linear-gradient(180deg, rgba(5, 6, 8, 0.25), rgba(5, 6, 8, 0.82));
}

.contact-hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    max-width: 1120px;
}

.breadcrumb {
    color: #e8e8e8;
    font-size: 14px;
    margin-bottom: 26px;
}

.breadcrumb a {
    color: var(--orange);
    text-decoration: none;
}

.breadcrumb span {
    color: #b8b8b8;
    margin: 0 6px;
}

.contact-hero h1 {
    font-size: clamp(42px, 6vw, 66px);
    line-height: 1.05;
    margin-bottom: 18px;
}

.contact-hero h1::after {
    content: "";
    display: block;
    width: 90px;
    height: 3px;
    background: var(--orange);
    margin-top: 20px;
    border-radius: 99px;
}

.contact-hero p:last-child {
    max-width: 620px;
    color: #eeeeee;
    font-size: 18px;
}

.contact-page-section {
    background: #ffffff;
    padding: 70px 0 82px;
}

.contact-section-title {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 46px;
}

.contact-section-title h2 {
    font-size: clamp(30px, 4vw, 42px);
    margin-bottom: 10px;
    color: var(--dark);
}

.contact-section-title p {
    color: #5d6472;
}

.contact-layout {
    display: grid;
    grid-template-columns: 0.92fr 1.25fr;
    gap: 54px;
    align-items: start;
}

.contact-info-panel {
    padding: 10px 0;
}

.contact-info-panel h3 {
    font-size: 24px;
    margin-bottom: 26px;
    color: var(--dark);
}

.contact-info-item {
    border-left: 3px solid var(--orange);
    padding-left: 18px;
    margin-bottom: 28px;
}

.contact-info-item h4 {
    color: var(--dark);
    font-size: 17px;
    margin-bottom: 6px;
}

.contact-info-item p {
    color: #5d6472;
    font-size: 15px;
}

.contact-form-card {
    background: #ffffff;
    border: 1px solid rgba(15, 17, 21, 0.10);
    border-radius: 22px;
    padding: 34px;
    box-shadow: 0 20px 55px rgba(15, 17, 21, 0.10);
}

.required-note {
    color: #5d6472;
    font-size: 14px;
    margin-bottom: 22px;
}

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

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    color: #20242c;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    border: 1px solid rgba(15, 17, 21, 0.14);
    border-radius: 12px;
    padding: 14px 15px;
    font: inherit;
    color: var(--dark);
    background: #ffffff;
    outline: none;
    transition: 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 4px rgba(253, 149, 38, 0.16);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-submit {
    width: auto;
    border: none;
    cursor: pointer;
    margin-top: 4px;
}

@media (max-width: 850px) {
    .contact-hero {
        min-height: 300px;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .contact-form-card {
        padding: 24px;
    }
}

@media (max-width: 560px) {
    .contact-page-section {
        padding: 48px 0 62px;
    }

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

    .contact-info-panel h3 {
        font-size: 21px;
    }
}

/* FINAL FIX: Keep inner page hero dark, but make content sections white like Contact page */
.service-background-section {
    background: #ffffff !important;
    color: #111827 !important;
    padding: 70px 0 82px !important;
}
.service-background-section::before {
    display: none !important;
}
.service-background-section > .container {
    position: relative;
    z-index: 1;
}
.service-background-section .section-title,
.service-background-section .light-section-title {
    color: #111827 !important;
}
.service-background-section .section-title h2,
.service-background-section .light-section-title h2,
.service-background-section h2,
.service-background-section h3 {
    color: #111827 !important;
}
.service-background-section .section-title p,
.service-background-section .light-section-title p,
.service-background-section p,
.service-background-section li {
    color: #4b5563 !important;
}
.service-background-section .service-overlay-grid .card,
.service-background-section .card,
.service-background-section .project-category-card {
    background: #ffffff !important;
    color: #111827 !important;
    border: 1px solid rgba(15, 17, 21, 0.10) !important;
    box-shadow: 0 18px 45px rgba(15, 17, 21, 0.10) !important;
    backdrop-filter: none !important;
}
.service-background-section .service-overlay-grid .card h3,
.service-background-section .card h3,
.service-background-section .project-category-card h3 {
    color: #111827 !important;
}
.service-background-section .service-overlay-grid .card p,
.service-background-section .card p,
.service-background-section .project-category-card p {
    color: #4b5563 !important;
}
.service-background-section .about-overlay-content,
.service-background-section .service-overlay-box {
    color: #111827 !important;
}
.service-background-section .check-list li {
    color: #374151 !important;
}


/* ABOUT PAGE CLEAN WHITE LAYOUT FIX */
.about-clean-section {
    background: #ffffff;
    color: #111827;
    padding: 76px 0 86px;
}

.about-clean-section .orange-label {
    display: inline-block;
    color: #ff8a00;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 13px;
    margin-bottom: 12px;
}

.about-intro-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 48px;
    align-items: start;
    margin-bottom: 46px;
}

.about-intro-grid h2,
.about-mission-box h2,
.about-cta h2 {
    color: #111827;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.12;
    margin: 0 0 18px;
}

.about-intro-grid p,
.about-mission-box p,
.about-cta p {
    color: #4b5563;
    font-size: 17px;
    line-height: 1.75;
    margin: 0;
}

.about-card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin: 34px 0 48px;
}

.about-card {
    background: #ffffff;
    border: 1px solid rgba(15, 17, 21, 0.10);
    border-radius: 22px;
    padding: 28px;
    box-shadow: 0 18px 45px rgba(15, 17, 21, 0.08);
}

.about-card h3 {
    color: #111827;
    margin: 0 0 12px;
    font-size: 22px;
}

.about-card p {
    color: #4b5563;
    margin: 0;
    line-height: 1.65;
}

.about-mission-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 44px;
    align-items: center;
    background: #f8fafc;
    border: 1px solid rgba(15, 17, 21, 0.08);
    border-radius: 28px;
    padding: 42px;
    margin-top: 28px;
}

.about-check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-check-list li {
    position: relative;
    padding-left: 34px;
    margin-bottom: 16px;
    color: #374151;
    line-height: 1.55;
    font-weight: 600;
}

.about-check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: -1px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #ff8a00;
    color: #111827;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 900;
}

.about-cta {
    text-align: center;
    max-width: 820px;
    margin: 58px auto 0;
}

.about-cta p {
    margin-bottom: 28px;
}

@media (max-width: 980px) {
    .about-intro-grid,
    .about-mission-box {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .about-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .about-clean-section {
        padding: 54px 0 64px;
    }

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

    .about-card,
    .about-mission-box {
        padding: 24px;
        border-radius: 20px;
    }

    .about-intro-grid h2,
    .about-mission-box h2,
    .about-cta h2 {
        font-size: 30px;
    }
}
