
:root {
    --navy: #14243a;
    --dark: #0b1829;
    --teal: #168b81;
    --light: #f6f8fa;
    --white: #ffffff;
    --muted: #627181;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    color: var(--navy);
    background: var(--white);
    line-height: 1.6;
}

img {
    max-width: 100%;
}

a {
    text-decoration: none;
}

a:focus-visible {
    outline: 3px solid var(--teal);
    outline-offset: 4px;
}

.container {
    width: min(1180px, 92%);
    margin-inline: auto;
}

/* Header */

.site-header {
    background: rgba(255, 255, 255, 0.97);
    position: sticky;
    top: 0;
    z-index: 20;
    box-shadow: 0 2px 24px rgba(0, 0, 0, .06);
}

.header-inner {
    min-height: 94px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.brand img {
    display: block;
    width: 270px;
    height: auto;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

.main-nav a {
    font-size: 14px;
    font-weight: 600;
    color: var(--navy);
    transition: color .25s;
}

.main-nav a:hover {
    color: var(--teal);
}

/* Hero */

.hero {
    min-height: 680px;
    display: flex;
    align-items: center;
    color: var(--white);
    background:
        linear-gradient(90deg,
            rgba(11, 24, 41, .93),
            rgba(20, 36, 58, .45)),
        url("../wgc/images/slider1.jpg") center / cover;
}

.hero-content {
    animation: rise-in .8s ease-out both;
}

.eyebrow,
.section-label {
    color: var(--teal);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2.5px;
}

.hero .eyebrow {
    color: #75e1d0;
}

.hero h1 {
    font-size: clamp(38px, 5.5vw, 70px);
    line-height: 1.12;
    letter-spacing: -1.5px;
    margin: 20px 0;
    max-width: 900px;
}

.hero p {
    color: #e0e8ee;
    font-size: 17px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.btn {
    display: inline-block;
    padding: 13px 25px;
    border-radius: 5px;
    font-weight: 700;
    transition: transform .25s, background .25s;
}

.btn:hover {
    transform: translateY(-3px);
}

.btn-primary {
    background: var(--teal);
    color: white;
}

.btn-outline {
    border: 1px solid white;
    color: white;
}

/* Content sections */

.section {
    padding: 95px 0;
}

h2 {
    font-size: clamp(30px, 3vw, 44px);
    line-height: 1.2;
    margin: 14px 0 22px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 65px;
    align-items: center;
}

.body-copy,
.feature-card p {
    color: var(--muted);
}

.about-image img {
    width: 100%;
    border-radius: 12px;
    display: block;
}

.section-note {
    font-size: 12px;
    color: var(--teal);
    font-weight: 600;
}

.sections-area {
    background: var(--light);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: white;
    padding: 35px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .04);
    transition: transform .3s, box-shadow .3s;
}

.feature-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .1);
}

.card-number {
    font-size: 32px;
    font-weight: 800;
    color: var(--teal);
}

.feature-card h3 {
    font-size: 23px;
    margin-bottom: 10px;
}

/* Contact and Footer */

.contact-strip {
    background: var(--navy);
    color: white;
    text-align: center;
    padding: 85px 0;
}

.contact-strip p {
    color: #c8d4df;
}

.site-footer {
    background: var(--dark);
    color: white;
    padding: 28px 0;
}

.site-footer .container {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.site-footer p {
    margin: 0;
}

.site-footer small {
    color: #b8c5d0;
}

/* Animation */

@keyframes rise-in {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile and Tablet */

@media (max-width: 900px) {
    .header-inner {
        flex-direction: column;
        padding-block: 15px;
        gap: 12px;
    }

    .main-nav {
        width: 100%;
        overflow-x: auto;
        gap: 22px;
        padding: 8px 0;
    }

    .main-nav a {
        flex-shrink: 0;
    }

    .about-grid,
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: 560px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation: none !important;
        transition: none !important;
    }
}

/* =========================================
   WORLD GREEN — CINEMATIC HERO SLIDER
   ========================================= */

.wg-hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: 680px;
    min-height: clamp(620px, 82svh, 850px);
    padding: 110px 0 130px;
    overflow: hidden;
    background: #0b1829;
    color: #fff;
}

/* Background images */
.wg-hero__slides,
.wg-hero__slide {
    position: absolute;
    inset: 0;
}

.wg-hero__slides {
    z-index: 0;
    pointer-events: none;
}

.wg-hero__slide {
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 1s ease,
        visibility 1s ease;
}

.wg-hero__slide.is-active {
    opacity: 1;
    visibility: visible;
}

.wg-hero__slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.05);
    transition: transform 8s ease;
}

.wg-hero__slide.is-active img {
    transform: scale(1);
}

.wg-hero__slide--fallback {
    background: linear-gradient(
        125deg,
        #0b1829,
        #14243a 55%,
        #176b68
    );
}

/* Cinematic dark overlay */
.wg-hero__shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(
            90deg,
            rgba(5, 16, 30, .92) 0%,
            rgba(8, 24, 43, .79) 43%,
            rgba(8, 24, 43, .18) 100%
        ),
        linear-gradient(
            0deg,
            rgba(5, 16, 30, .64),
            transparent 38%
        );
}

/* Hero typography */
.wg-hero__content {
    position: relative;
    z-index: 2;
}

.wg-hero__intro {
    max-width: 890px;
}

.wg-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    color: #a2f1e0;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2.5px;
}

.wg-hero__eyebrow-line {
    width: 32px;
    height: 1px;
    background: #a2f1e0;
}

.wg-hero h1 {
    margin: 24px 0;
    font-size: clamp(42px, 5.8vw, 82px);
    line-height: 1.09;
    font-weight: 800;
    letter-spacing: -2px;
    text-wrap: balance;
    text-shadow: 0 8px 36px rgba(0, 0, 0, .18);
}

.wg-hero h1 span {
    color: #fff;
}

.wg-hero__caption {
    max-width: 650px;
    min-height: 28px;
    margin: 0;
    color: #c5f6ec;
    font-size: clamp(15px, 1.6vw, 20px);
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.wg-hero .hero-actions {
    margin-top: 36px;
}

.wg-hero .btn {
    border-radius: 999px;
    padding: 15px 28px;
}

.wg-hero .btn-primary {
    background: #168b81;
    color: #fff;
    box-shadow: 0 10px 32px rgba(7, 98, 86, .28);
}

.wg-hero .btn-outline {
    border: 1px solid rgba(255, 255, 255, .7);
    background: rgba(255, 255, 255, .08);
    color: #fff;
    backdrop-filter: blur(12px);
}

/* Navigation controls */
.wg-hero__bottom {
    position: absolute;
    left: 50%;
    bottom: 35px;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.wg-hero__dots,
.wg-hero__controls {
    display: none;
    align-items: center;
    gap: 7px;
}

.wg-hero.is-enhanced .wg-hero__dots,
.wg-hero.is-enhanced .wg-hero__controls {
    display: flex;
}

.wg-hero__dot {
    position: relative;
    width: 35px;
    height: 35px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
}

.wg-hero__dot::after {
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    margin: auto;
    border-radius: 50%;
    background: rgba(255, 255, 255, .45);
    transition: background .25s, width .25s;
}

.wg-hero__dot.is-active::after {
    width: 24px;
    border-radius: 8px;
    background: #8df0d8;
}

.wg-hero__control {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .35);
    background: rgba(255, 255, 255, .12);
    color: white;
    font-size: 19px;
    cursor: pointer;
    backdrop-filter: blur(14px);
    transition: background .25s, transform .25s;
}

.wg-hero__control:hover {
    background: #168b81;
    transform: translateY(-2px);
}

.wg-hero__control:focus-visible,
.wg-hero__dot:focus-visible {
    outline: 3px solid #a2f1e0;
    outline-offset: 3px;
}

/* Tablet and mobile */
@media (max-width: 768px) {
    .wg-hero {
        min-height: 660px;
        padding: 100px 0 125px;
    }

    .wg-hero__shade {
        background: linear-gradient(
            90deg,
            rgba(5, 16, 30, .89),
            rgba(8, 24, 43, .55)
        );
    }

    .wg-hero h1 {
        font-size: clamp(37px, 8vw, 58px);
        letter-spacing: -1px;
    }
}

@media (max-width: 480px) {
    .wg-hero__eyebrow {
        font-size: 9px;
        letter-spacing: 1.5px;
    }

    .wg-hero .btn {
        padding: 12px 19px;
        font-size: 13px;
    }

    .wg-hero__bottom {
        bottom: 20px;
    }

    .wg-hero__control {
        width: 38px;
        height: 38px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .wg-hero__slide,
    .wg-hero__slide img,
    .wg-hero__dot::after,
    .wg-hero__control {
        transition: none;
    }
}

/* =========================================
   WORLD GREEN — PREMIUM SERVICES BENTO
   ========================================= */

.wg-services-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 32px;
    margin-bottom: 42px;
}

.wg-services-heading h2 {
    margin-bottom: 15px;
    max-width: 680px;
}

.wg-services-heading p {
    max-width: 560px;
    color: var(--muted);
    margin: 0;
}

.wg-services-counter {
    display: flex;
    flex-direction: column;
    align-items: end;
    flex-shrink: 0;
}

.wg-services-counter strong {
    font-size: 58px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -3px;
    color: var(--teal);
}

.wg-services-counter span {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: 8px;
}

/* Asymmetric service cards */
.wg-services-bento {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 18px;
}

.wg-service-card {
    position: relative;
    isolation: isolate;
    grid-column: span 4;
    min-width: 0;
    min-height: 330px;
    overflow: hidden;
    border-radius: 18px;
    background: #14243a;
    color: white;
    box-shadow: 0 12px 35px rgba(13, 30, 48, .09);
}

/* First row */
.wg-service-card:nth-child(7n + 1) {
    grid-column: span 7;
    min-height: 430px;
}

.wg-service-card:nth-child(7n + 2) {
    grid-column: span 5;
    min-height: 430px;
}

/* Final row in each group of seven */
.wg-service-card:nth-child(7n + 6),
.wg-service-card:nth-child(7n + 7) {
    grid-column: span 6;
}

/* Full-card photography */
.wg-service-card__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s ease;
}

.wg-service-card:hover .wg-service-card__image {
    transform: scale(1.07);
}

/* Contrast overlay */
.wg-service-card__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        180deg,
        rgba(5, 16, 30, .06) 10%,
        rgba(5, 16, 30, .38) 43%,
        rgba(5, 16, 30, .94) 100%
    );
    transition: background .4s ease;
}

.wg-service-card__content {
    position: absolute;
    z-index: 2;
    inset: auto 0 0;
    padding: clamp(22px, 3vw, 34px);
}

.wg-service-card__number {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #a2f1e0;
}

.wg-service-card h3 {
    margin: 0 0 12px;
    color: #fff;
    font-size: clamp(22px, 2.3vw, 30px);
    line-height: 1.22;
    letter-spacing: -.6px;
}

.wg-service-card p {
    margin: 0;
    max-width: 520px;
    color: rgba(255, 255, 255, .88);
    font-size: 13px;
    line-height: 1.65;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
}

.wg-service-card__line {
    display: block;
    width: 38px;
    height: 3px;
    margin-top: 22px;
    border-radius: 10px;
    background: #8df0d8;
    transition: width .35s ease;
}

.wg-service-card:hover .wg-service-card__line {
    width: 76px;
}

.wg-services-empty {
    grid-column: 1 / -1;
    padding: 40px;
    text-align: center;
    color: var(--muted);
}

/* Projects and Clients preview */
.wg-upcoming-sections {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 38px;
}

.wg-upcoming-card {
    padding: 32px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(20, 36, 58, .08);
    box-shadow: 0 10px 30px rgba(20, 36, 58, .035);
    scroll-margin-top: 115px;
}

.wg-upcoming-card h3 {
    margin: 10px 0;
    font-size: 23px;
}

.wg-upcoming-card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

/* Tablet */
@media (max-width: 900px) {
    .wg-service-card,
    .wg-service-card:nth-child(n) {
        grid-column: span 6;
        min-height: 340px;
    }

    .wg-service-card:last-child:nth-child(odd) {
        grid-column: span 12;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .wg-services-heading {
        align-items: start;
        flex-direction: column;
        gap: 16px;
    }

    .wg-services-counter {
        align-items: start;
    }

    .wg-services-bento {
        gap: 15px;
    }

    .wg-service-card,
    .wg-service-card:nth-child(n) {
        grid-column: span 12;
        min-height: 340px;
        border-radius: 14px;
    }

    .wg-service-card__content {
        padding: 24px;
    }

    .wg-upcoming-sections {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wg-service-card__image,
    .wg-service-card__line {
        transition: none;
    }
}
