html, body {
    height: 100%;
}
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
main {
    flex: 1 0 auto;
}
footer {
    width: 100vw;
    left: 0;
    right: 0;
    position: relative;
    box-sizing: border-box;
    flex-shrink: 0;
}


.env-green {
    color: #21c727;
    font-weight: 900;
}
/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #232323;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 2rem;
    z-index: 3000;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.10);
    font-size: 1rem;
    gap: 1.5rem;
}
.cookie-btn {
    background: #ff8527;
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.cookie-btn:hover {
    background: #c36e2d;
}
body {
    background: #232323;
    color: #fff;
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
    overflow-x: hidden;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}
header {
    position: sticky;
    top: 0;
    background: #232323;
    box-shadow: none;
    z-index: 50;
}
nav {
    display: flex;
    align-items: stretch; /* Use stretch for vertical alignment */
    justify-content: space-between;
    padding: 0;           /* Remove padding! */
    height: 4px;         /* Optional: match .nav-bar */
}
nav .flex {
    display: flex;
    align-items: center;
}
nav .logo {
    height: 55px;
    width: auto;
    margin-right: 12px;
}
nav .nav-links {
    display: none;
}
nav .nav-links a {
    margin: 0 1rem;
    font-weight: 500;
    text-decoration: none;
    color: #fff;
    transition: color 0.2s;
}
nav .nav-links a:hover {
    color: #ff8527;
}
nav .quote-btn {
    display: none;
}
nav .hamburger {
    display: flex;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
}
#mobile-menu {
    display: none;
    flex-direction: column;
    padding: 0 1rem 1rem 1rem;
}
#mobile-menu a {
    padding: 0.5rem 0;
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    transition: color 0.2s;
}
#mobile-menu a:hover {
    color: #ff8527;
}
#mobile-menu .quote-btn {
    background: #ff8527;
    color: #fff;
    border-radius: 999px;
    text-align: center;
    margin-top: 0.5rem;
    padding: 0.5rem 0;
    font-weight: 600;
    transition: background 0.2s;
}
#mobile-menu .quote-btn:hover {
    background: #c36e2d;
}
@media (min-width: 768px) {
    nav .nav-links {
        display: flex;
    }
    nav .quote-btn {
        display: inline-block;
        background: #ff8527;
        color: #fff;
        padding: 0.5rem 1.5rem;
        border-radius: 999px;
        font-weight: 600;
        text-decoration: none;
        transition: background 0.2s;
    }
    nav .quote-btn:hover {
        background: #c36e2d;
    }
    nav .hamburger {
        display: none;
    }
    #mobile-menu {
        display: none !important;
    }
}
.menu-tabs {
    display: flex;
    gap: 2rem; /* space between menu items */
    align-items: center;
    background: transparent;
    margin: 0;
    height: 74px;
    padding: 0;
}
.menu-tab,
.menu-tab.quote-btn {
    background: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    color: #fff;
    font-weight: 500;
    text-decoration: none;
    font-size: 1.1rem;
    padding: 0;
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
    transition: color 0.2s;
    border-bottom: 2px solid transparent; /* invisible line by default */
}
.menu-tab:hover,
.menu-tab:focus,
.menu-tab.active,
.menu-tab.quote-btn:hover,
.menu-tab.quote-btn:focus {
    color: #ff8527;
    border-bottom: 2px solid #ff8527; /* underline on hover/active */
}
.menu-tab.quote-btn {
    color: #ff8527; /* Or #fff if you want it red, otherwise match the rest */
    font-weight: 600;
    border-bottom: 2px solid transparent;
    /* Remove margin-right if you had it before */
}
.nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem; /* Restore horizontal padding */
    background: #232323;
    min-height: 64px;
    box-shadow: none;
    position: relative;
    z-index: 100;
}

/* Remove these overrides if present */
.nav-bar, nav {
    padding-right: 0 !important;
}

.menu-tabs {
    margin-right: 0;
    padding-right: 0;
}
.logo-area {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.logo {
    height: 40px;
    width: 40px;
}
.brand {
    font-weight: bold;
    font-size: 1.2rem;
    letter-spacing: 1px;
}
.menu-tabs {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}
.menu-tab,
.menu-tab.quote-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1.2rem;
    min-height: 46px;
    height: auto;
    background: #232323;
    border: 0px solid #eee;
    border-radius: 16px;
    color: #fff;
    font-weight: 500;
    text-decoration: none;
    font-size: 1rem;
    line-height: 1.2;
    transition: background 0.2s, color 0.2s;
    box-shadow: none;
    position: relative;
    box-sizing: border-box;
}
.menu-tab:hover,
.menu-tab:focus {
    
    color: #ff8527;
}
.menu-tab.quote-btn {
    background: #ff8527;
    color: #000000;
    border: 1px solid #ff8527;
    font-weight: 600;
    transition: background 0.2s, color 0.2s;
    margin-right: 1.5rem; /* Add this line for spacing */
}
.menu-tab.quote-btn:hover,
.menu-tab.quote-btn:focus {
    background: #c36e2d;
    color: #fff;
}
/* Hamburger for mobile */
.hamburger {
    display: none;
    font-size: 2rem;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    margin-left: 1rem;
}

/* Mobile menu */
.mobile-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0;
    background: #232323;
    border: 1px solid #ddd;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    z-index: 200;
    min-width: 200px;
}
.mobile-menu a {
    padding: 1rem;
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    border-bottom: 1px solid #eee;
    transition: background 0.2s, color 0.2s;
}
.mobile-menu a:last-child {
    border-bottom: none;
}
.mobile-menu a:hover {
    background: #333;
    color: #ff8527;
}
.mobile-menu .quote-btn {
    background: #ff8527;
    color: #000000;
    font-weight: 600;
    border-radius: 6px;
    margin: 1rem;
    padding: 0.5rem 1.2rem;
    border: none;
}
.mobile-menu .quote-btn:hover {
    background: #c36e2d;
}

/* Responsive: Show hamburger, hide menu-tabs on mobile */
@media (max-width: 900px) {
    .nav-bar {
        padding: 0 1rem;
    }
    .menu-tabs {
        gap: 0.2rem;
    }
    .menu-tab {
        padding: 0 0.7rem;
        font-size: 0.95rem;
    }
}
@media (max-width: 768px) {
    .menu-tabs {
        display: none;
    }
    .hamburger {
        display: block;
    }
    .mobile-menu {
        display: none;
    }
}
section.hero {
    position: relative;
    height: 74vh;
    min-height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000000;
    overflow: hidden;
    box-sizing: border-box;
}

section.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(0,0,0,0.28), rgba(0,0,0,0.28)), url("../img/hero-road.jpeg");
    background-size: cover;
    background-position: center center;
    filter: blur(10px);
    transform: scale(1.05);
    z-index: 0;
}

section.hero img.bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    opacity: 1;
    z-index: 1;
}
section.hero .content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
    padding: 0 1rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.75);
}
section.hero h1 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #fff;
    line-height: 1.15;
}

.highlight {
    color: #ff8527;
    font-weight: 900;
}

.subtitle-accent {
    color: #ffb16f;
    font-weight: 700;
}

section.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #000000;
}

.trust-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1rem 1rem;
}

.trust-card {
    background: #232323;
    border: 1px solid rgba(255, 133, 39, 0.75);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.trust-card h3 {
    color: #ff8527;
    font-size: 1.15rem;
    margin: 0 0 0.6rem 0;
}

.trust-card p {
    color: #ddd;
    margin: 0;
    line-height: 1.6;
}

.trust-link {
    display: inline-flex;
    margin-top: 1rem;
    color: #ff8527;
    font-weight: 600;
    text-decoration: none;
}

.trust-link:hover {
    color: #fff;
}

@media (max-width: 800px) {
    .trust-strip {
        grid-template-columns: 1fr;
        padding-top: 2rem;
    }
}

section.hero .cta-btn {
    background: #ff8527;
    color: #000000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0.8rem 2.1rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 1.1rem;
    line-height: 1.2;
    text-decoration: none;
    transition: background 0.2s;
    border: none;
    cursor: pointer;
    box-sizing: border-box;
    text-shadow: none;
}
section.hero .cta-btn:hover {
    background: #c36e2d;
}
section.hero .social-icons {
    justify-content: center;
    align-items: center;
    display: flex;
    gap: 0.85rem;
    margin-top: 1rem;
}

section.hero .social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    min-width: 46px;
    min-height: 46px;
    border-radius: 50%;
    background: rgba(35, 35, 35, 0.84);
    color: #fff;
    text-decoration: none;
    border: 1px solid rgba(255, 133, 39, 0.75);
    box-sizing: border-box;
    overflow: visible;
    text-shadow: none;
}

section.hero .social-icons a:hover {
    background: #ff8527;
    color: #000;
}

@media (max-width: 768px) {
    section.hero {
        height: 62vh;
        min-height: 480px;
        align-items: center;
    }

    section.hero img.bg {
        object-fit: cover;
        object-position: center center;
    }

    section.hero::before {
        display: none;
    }

    section.hero .content {
        max-width: 340px;
        padding: 0 1.25rem;
    }

    section.hero h1 {
        font-size: 1.75rem;
        margin-bottom: 0.8rem;
    }

    section.hero h2 {
        font-size: 1rem;
        line-height: 1.45;
        margin-bottom: 1rem;
    }

    section.hero .cta-btn {
        min-height: 46px;
        padding: 0.75rem 1.25rem;
        font-size: 1rem;
        max-width: 100%;
    }

    section.hero .social-icons {
        display: flex;
        justify-content: center;
        margin-top: 1rem;
    }

    section.hero .social-icons a {
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
        font-size: 1.35rem;
    }
}

section.services {
    padding: 4rem 1rem;
}
section.services h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #fff;
}
.services-subtitle {
    text-align: center;
    color: #ddd;
    font-size: 1.15rem;
    margin-bottom: 2rem;
}

.services-intro {
    max-width: 850px;
    margin: -1rem auto 2.5rem auto;
    color: #ddd;
    text-align: center;
    font-size: 1.05rem;
    line-height: 1.6;
}

.seo-content,
.faq-section {
    background: #232323;
    padding: 3.5rem 1rem;
}

.environment-section {
    background: #232323;
    padding: 3.5rem 1rem;
}

.environment-hero {
    background: #232323;
    border-bottom: 1px solid rgba(33, 199, 39, 0.35);
    padding: 4rem 1rem 2.5rem;
    text-align: center;
}

.environment-hero .content {
    max-width: 760px;
    margin: 0 auto;
}

.environment-hero h1 {
    color: #fff;
    font-size: 2.35rem;
    line-height: 1.15;
    margin: 0 0 0.8rem 0;
}

.environment-hero h2 {
    font-size: 1.25rem;
    margin: 0;
}

.page-hero {
    background: #232323;
    border-bottom: 1px solid rgba(255, 133, 39, 0.35);
    padding: 4rem 1rem 2.5rem;
    text-align: center;
}

.page-hero .content {
    max-width: 760px;
    margin: 0 auto;
}

.page-hero h1 {
    color: #fff;
    font-size: 2.35rem;
    line-height: 1.15;
    margin: 0 0 0.8rem 0;
}

.page-hero p {
    color: #ddd;
    font-size: 1.15rem;
    line-height: 1.6;
    margin: 0;
}

.compact-page-hero {
    padding-bottom: 2.25rem;
}

.environment-section .about-section {
    max-width: 1100px;
    margin: 0 auto;
}

.environment-intro {
    max-width: 760px;
    margin: 0 auto 2.5rem auto;
    text-align: center;
}

.environment-intro h2 {
    color: #fff;
    font-size: 2rem;
    margin: 0 0 1rem 0;
}

.environment-intro p {
    color: #ddd;
    font-size: 1.08rem;
    line-height: 1.7;
}

.environment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.environment-grid .service-box {
    cursor: default;
}

.environment-grid .environment-wide {
    grid-column: 1 / -1;
    display: block;
    text-align: center;
    max-width: 760px;
    width: 100%;
    justify-self: center;
}

.environment-grid .environment-wide .service-icon {
    margin-bottom: 1rem;
}

@media (max-width: 900px) {
    .environment-grid {
        grid-template-columns: 1fr;
    }

}

.seo-content h2,
.faq-section h2 {
    color: #fff;
    text-align: center;
    font-size: 2rem;
    margin: 0 0 1.5rem 0;
}

.seo-content p,
.faq-section p {
    color: #ddd;
    line-height: 1.7;
}

.seo-content .container > p {
    max-width: 930px;
    margin: 0 auto 1rem auto;
    text-align: center;
}

.seo-keyword-grid,
.faq-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 2rem;
}

.seo-keyword-grid div,
.faq-list article {
    background: #2b2b2b;
    border: 1px solid rgba(255, 133, 39, 0.55);
    border-radius: 12px;
    padding: 1.4rem;
}

.seo-keyword-grid h3,
.faq-list h3 {
    color: #ff8527;
    font-size: 1.1rem;
    margin: 0 0 0.65rem 0;
}

.seo-keyword-grid p,
.faq-list p {
    margin: 0;
}

@media (max-width: 850px) {
    .seo-keyword-grid,
    .faq-list {
        grid-template-columns: 1fr;
    }
}

.services-grid-6 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}
@media (min-width: 600px) {
    .services-grid-6 {
        grid-template-columns: 1fr 1fr;
    }
}
@media (min-width: 900px) {
    .services-grid-6 {
        grid-template-columns: 1fr 1fr 1fr;
    }
}
.service-box {
    background: #232323;
    border-radius: 12px;
    border: 1px solid #ff8527;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    padding: 2rem 1.2rem;
    text-align: center;
    transition: transform 0.18s, box-shadow 0.18s, background 0.18s;
    cursor: pointer;
}
.service-box:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
    background: #2e2e2e;
}
.service-icon {
    font-size: 2.5rem;
    color: #ff8527; /* Or your accent color */
    margin-bottom: 1rem;
}
.service-box h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.7rem;
    color: #fff;
}
.service-box p {
    color: #ddd;
    font-size: 1rem;
    margin-bottom: 0;
}

.material-note {
    max-width: 900px;
    margin: 0 auto;
    background: #2b2b2b;
    border: 1px solid rgba(255, 133, 39, 0.65);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
}

.material-note h3 {
    color: #ff8527;
    margin: 0 0 0.75rem 0;
    font-size: 1.2rem;
}

.material-note p {
    color: #ddd;
    line-height: 1.7;
    margin: 0;
}

section.about {
    background: #232323;
    padding: 4rem 1rem;
}
.about-section {
    max-width: 1200px;
    margin: 3rem auto 2rem auto;
    padding: 0 1rem;
}
.about-flex {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    justify-content: space-between;
    max-width: 1200px;
    margin: 3rem auto 2rem auto;
    padding: 0 1rem;
}
.about-text {
    flex: 2 1 350px;
    font-size: 1.1rem;
    color: #fff;
}
.about-text h2 {
    margin-top: 0;
}
.about-text p {
    margin-bottom: 1.2rem;
}
.team-grid {
    display: grid;
    flex: 1 1 420px;
    gap: 1.2rem;
    grid-template-columns: repeat(2, minmax(180px, 220px));
    justify-content: flex-end;
}
.team-card {
    background: #232323;
    border-radius: 10px;
    padding: 1.2rem;
    color: #fff;
    min-height: 220px;
    text-align: left;
}
.team-card img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 0.7rem;
}
.team-initials {
    align-items: center;
    background: linear-gradient(135deg, #ff8527 0%, #ff4f00 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    box-shadow: 0 12px 28px rgba(255, 79, 0, 0.18);
    color: #111;
    display: flex;
    font-size: 1.35rem;
    font-weight: 800;
    height: 90px;
    justify-content: center;
    margin-bottom: 0.7rem;
    width: 90px;
}
.team-card h4 {
    margin: 0.5rem 0 0.2rem 0;
    font-size: 1.1rem;
    text-align: left;
}
.team-card p {
    margin: 0;
    font-size: 1rem;
    color: #ccc;
    text-align: left;
}
@media (min-width: 768px) {
    .about-content {
        flex-direction: row;
        gap: 3rem;
    }
    .about-team {
        flex-direction: column;
        gap: 2rem;
        justify-content: flex-start;
    }
}
@media (max-width: 900px) {
    .about-flex {
        flex-direction: column;
        gap: 2rem;
        align-items: stretch;
    }
    .team-grid {
        gap: 1.2rem;
        justify-content: flex-start;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 600px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
    .team-card {
        width: 100%;
    }
}
section.gallery {
    padding: 4rem 1rem;
}
section.gallery h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #fff;
}
.gallery-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr 1fr;
}
@media (min-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
.gallery-grid img {
    width: 100%;
    height: 130px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.navigera .gallery-grid {
    display: flex;
    gap: 2rem;
    justify-content: center;   /* Center the cards horizontally */
    align-items: stretch;
    margin-top: 1.5rem;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}
.navigera h2 {
    text-align: center;        /* Center the heading */
}
.gallery-card {
    flex: 1 1 260px; /* Grow, shrink, min width */
    max-width: 340px;
    min-width: 220px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: #232323;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    overflow: hidden;
    margin-bottom: 2rem;
}
.gallery-link {
    position: relative;
    display: block;
    overflow: hidden;
    width: 100%;
}
.gallery-link img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}
.gallery-link img.contact-card-image {
    object-position: 58% 66%;
    transform: scale(1.08);
    transform-origin: 58% 66%;
}
.gallery-title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0,0,0,0.55);
    color: #fff;
    font-size: 1.3rem;
    font-weight: 600;
    padding: 0.7rem 1rem;
    text-align: left;
}
.gallery-desc {
    padding: 1rem 1rem 0.5rem 1rem;
    color: #ddd;
    font-size: 1rem;
    line-height: 1.45;
    flex: 1;
}
.gallery-btn {
    margin: auto 1rem 1rem 1rem;
    padding: 0.5rem 1.2rem;
    background: #ff8527;
    color: #fff;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: background 0.2s;
    display: inline-block;
}
.gallery-btn:hover {
    background: #c36e2d;
}
section.contact {
    background: #232323;
    padding: 4rem 1rem;
}
section.contact h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #fff;
}
.contact-form {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border-radius: 12px;
    padding: 2rem;
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.contact-form label {
    font-weight: 600;
    margin-bottom: 0.3rem;
    display: block;
    color: #222;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 0.7rem;
    font-size: 1rem;
    margin-top: 0.2rem;
    transition: border 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #ff8527;
    outline: none;
}

.project-type > span {
    display: block;
    color: #222;
    font-weight: 700;
    margin-bottom: 0.7rem;
}

.project-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.project-options label {
    margin: 0;
}

.project-options input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.project-options span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #f7f7f7;
    color: #222;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.project-options input:checked + span {
    background: #ff8527;
    border-color: #ff8527;
    color: #000;
}

.project-options span:hover {
    border-color: #ff8527;
}

@media (max-width: 520px) {
    .project-options {
        grid-template-columns: 1fr;
    }
}

.contact-form button {
    background: #ff8527;
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 1rem;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.2s;
}
.contact-form button:hover {
    background: #c36e2d;
}
footer {
    background: #010101;
    color: #eee;
    padding: 2rem 1rem 1rem 1rem;
    margin-top: 3rem;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.footer-left {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    justify-content: flex-start;
    flex-direction: row;
    text-align: left;
    width: auto;
}

.footer-left .logo {
    height: 55px;
    width: auto;
}

.footer-social {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-top: 0;
    justify-content: flex-start;
}

.footer-center {
    text-align: center;
    flex: 1 1 300px;
    color: #eee;
    font-size: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.footer-org {
    color: #bbb;
    font-size: 0.92rem;
}

.footer-links {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    margin-top: 0;
    justify-content: flex-end;
}

.footer-links a {
    color: #eee;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

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

@media (max-width: 900px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 2rem;
        max-width: 100vw;
        overflow-x: hidden;
        box-sizing: border-box;
    }
    .footer-left, .footer-center, .footer-links {
        justify-content: center;
        align-items: center;
        width: 100%;
        margin: 0;
        box-sizing: border-box;
        max-width: 100vw;
        overflow-x: hidden;
    }
    .footer-links {
        flex-direction: column;
        gap: 1rem;
        margin-top: 1.5rem;
        max-width: 100vw;
        overflow-x: hidden;
        box-sizing: border-box;
        flex-wrap: wrap;
    }
    .footer-links a {
        font-size: 1.1rem;
        padding: 0.5rem 0;
        word-break: break-word;
        max-width: 100vw;
        box-sizing: border-box;
    }
    .footer-left .logo {
        margin-bottom: 1rem;
    }
    footer {
        max-width: 100vw;
        overflow-x: hidden;
        box-sizing: border-box;
    }
}
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    overflow-y: auto;
    padding: 1rem;
    box-sizing: border-box;
}
.modal-window {
    background: #232323;
    border-radius: 12px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    position: relative;
    box-shadow: 0 4px 24px rgba(0,0,0,0.15);
}

.modal-window h2 {
    color: #ff8527;
    margin-top: 0;
    margin-bottom: 0.4rem;
}

.modal-window h1 {
    color: #fff;
    font-size: 1.7rem;
    line-height: 1.2;
    margin: 0 0 0.75rem 0;
}

.modal-intro {
    color: #ddd;
    line-height: 1.55;
    margin: 0 0 1.25rem 0;
}

.modal-close {
    position: sticky;
    top: 0;
    float: right;
    width: 42px;
    height: 42px;
    background: #2f2f2f;
    border: none;
    border-radius: 999px;
    font-size: 2rem;
    color: #ff8527;
    cursor: pointer;
    line-height: 1;
    z-index: 5;
}
@media (max-width: 600px) {
    .modal-overlay {
        align-items: flex-start;
        padding: 0.75rem;
    }
    .modal-window {
        border-radius: 10px;
        max-height: calc(100dvh - 1.5rem);
        padding: 0.85rem;
        width: 100%;
    }
    .modal-close {
        font-size: 1.8rem;
        margin: 0 0 0.35rem 0.5rem;
    }
}
.checkbox-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.5rem;
}
.checkbox-list label {
    font-weight: 400;
    cursor: pointer;
}
.dropdown-checkbox {
    position: relative;
    width: 100%;
    max-width: 400px;
}
.dropdown-btn {
    width: 100%;
    padding: 0.7rem;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
    text-align: left;
    border-radius: 8px;
    font-size: 1rem;
}
.dropdown-list {
    position: absolute;
    top: 100%;
    left: 0;
    bottom: auto;
    width: 100%;
    background: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    z-index: 10;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    margin-top: 2px;
}
.dropdown-list label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 0;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    font-weight: 400;
    font-size: 1rem;
}
.dropdown-list label:last-child {
    border-bottom: none;
}
.dropdown-list input[type="checkbox"] {
  margin: 0;
  width: 1rem;
  height: 1rem;
}

/* Center the info text in the quote section */
#quote h3 {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 600px; /* Optional: limits line length for readability */
}
.gallery-section {
    margin: 3rem auto 2rem auto;
    max-width: 1200px;
    padding: 0 1rem;
}
.gallery-section h2 {
    text-align: center;
    margin-bottom: 0.7rem;
    color: #fff;
}
.gallery-intro {
    color: #ddd;
    line-height: 1.6;
    margin: 0 auto 2rem;
    max-width: 640px;
    text-align: center;
}
.reference-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}
.reference-gallery .gallery-item {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    aspect-ratio: 4 / 3;
    background: #111;
    border: 1px solid rgba(255, 133, 39, 0.14);
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.18);
    cursor: pointer;
    display: block;
    object-fit: cover;
    overflow: hidden;
    transition: transform 0.2s, border-color 0.2s;
    width: 100%;
    height: clamp(180px, 20vw, 280px);
    touch-action: manipulation;
    user-select: none;
}
.reference-gallery .gallery-item:hover {
    border-color: rgba(255, 133, 39, 0.55);
    transform: translateY(-2px);
}
.reference-gallery .gallery-item[hidden] {
    display: none;
}
.gallery-more-btn {
    background: #ff8527;
    border: none;
    border-radius: 999px;
    color: #111;
    cursor: pointer;
    display: block;
    font-weight: 700;
    margin: 2rem auto 0;
    padding: 0.75rem 1.5rem;
}
.gallery-more-btn:hover {
    background: #c36e2d;
    color: #fff;
}
.featured-references {
    margin-top: 2.75rem;
    text-align: center;
}
.featured-references h3 {
    color: #fff;
    font-size: 1.35rem;
    margin: 0 0 0.5rem;
}
.featured-references p {
    color: #ddd;
    line-height: 1.6;
    margin: 0 auto 1.25rem;
    max-width: 680px;
}
.featured-reference-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
}
.video-reference-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-left: auto;
    margin-right: auto;
    max-width: 760px;
}
.featured-reference-grid .gallery-video {
    position: relative;
}
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    overflow: auto;
    background: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
}
.lightbox-modal.active {
    display: flex;
}
.lightbox-content {
    max-width: 90vw;
    max-height: 80vh;
    margin: auto;
    border-radius: 10px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}
.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #fff;
    font-size: 2.5rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 2100;
    transition: color 0.2s;
}
.lightbox-close:hover {
    color: #ff8527;
}
.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #fff;
    font-size: 3rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 2101;
    padding: 0 18px;
    transition: color 0.2s;
    user-select: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
#lightbox-prev { left: 20px; }
#lightbox-next { right: 20px; }
.lightbox-arrow:hover { color: #ff8527; }
.lightbox-arrow:disabled {
    color: rgba(255,255,255,0.25);
    cursor: default;
}
@media (max-width: 900px) {
    .reference-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .featured-reference-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 600px) {
    .gallery-section {
        margin-top: 2.5rem;
        padding: 0 0.85rem;
    }
    .reference-gallery {
        gap: 0.7rem;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .reference-gallery .gallery-item {
        aspect-ratio: 1 / 1;
        border-radius: 8px;
        height: clamp(135px, 42vw, 175px);
        max-height: none;
    }
    .featured-references {
        margin-top: 2rem;
    }
}
.about-header-img {
    display: block;
    width: 100%;
    max-width: 1200px;
    height: auto;
    margin: 2rem auto 0 auto;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 2px 12px rgba(0,0,0,0.10);
}
.social-icons, .footer-social, .logo-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icons a, .footer-social a, .logo-social a {
    color: #fff;
    font-size: 1.7rem;
    transition: color 0.2s;
}

.social-icons a:hover, .footer-social a:hover, .logo-social a:hover {
    color: #ff8527;
}
.footer-social {
    justify-content: flex-start;
    align-items: center;
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

/* Highlight mail and phone links on hover */
footer a[href^="mailto:"], 
footer a[href^="tel:"] {
    color: #fff; /* Default color */
    text-decoration: underline;
    transition: color 0.2s;
}

footer a[href^="mailto:"]:hover, 
footer a[href^="tel:"]:hover {
    color: #ff8527; /* Change to white on hover, or pick any color you like */
    background: none;
    text-decoration: underline;
}
