:root {
    --green: #1F6B4A;
    --green-light: #35A06F;
    --green-dark: #0D2B20;
    --green-black: #061610;

    --mint: #A8E6C4;
    --gold: #D9B85F;
    --gold-bright: #F0CD70;

    --charcoal: #151515;
    --soft-charcoal: #242424;
    --gray: #5D6460;
    --light-gray: #F2F5F3;
    --cream: #FFF9EC;
    --border: rgba(31, 107, 74, 0.22);
    --white: #FFFFFF;

    --max-width: 1200px;
    --radius: 20px;

    --shadow-soft: 0 14px 35px rgba(0, 0, 0, 0.10);
    --shadow-heavy: 0 28px 80px rgba(0, 0, 0, 0.22);
    --green-glow: 0 0 45px rgba(53, 160, 111, 0.34);
}

/* RESET */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--charcoal);
    background:
        radial-gradient(circle at 8% 5%, rgba(53,160,111,0.16), transparent 32rem),
        radial-gradient(circle at 90% 10%, rgba(217,184,95,0.14), transparent 28rem),
        linear-gradient(180deg, #ffffff, #f5f7f4);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
}

.container {
    width: 90%;
    max-width: var(--max-width);
    margin: auto;
}

/* HEADER / NAV */

header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(31, 107, 74, 0.20);
    z-index: 1000;
    box-shadow: 0 10px 35px rgba(0,0,0,0.08);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 0;
    flex-wrap: nowrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
    min-width: 250px;
}

.logo img {
    width: 46px;
    height: 46px;
    object-fit: contain;
    flex-shrink: 0;
}

.logo h2 {
    color: var(--green);
    font-size: 1.45rem;
    line-height: 1;
    letter-spacing: -1px;
    font-weight: 900;
}

.logo span {
    font-size: 0.68rem;
    color: var(--gray);
    display: block;
    margin-top: 4px;
    font-weight: 700;
    white-space: nowrap;
}

nav {
    flex: 1;
    display: flex;
    justify-content: center;
    min-width: 0;
}

nav ul {
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none;
    gap: 18px;
    flex-wrap: nowrap;
}

nav li {
    flex-shrink: 0;
}

nav a {
    text-decoration: none;
    color: var(--charcoal);
    font-weight: 800;
    font-size: 0.88rem;
    white-space: nowrap;
    position: relative;
    transition: color 0.2s ease;
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0%;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--green-light), var(--gold-bright));
    transition: width 0.25s ease;
}

nav a:hover {
    color: var(--green);
}

nav a:hover::after {
    width: 100%;
}

/* BUTTONS */

.portal-btn,
.btn-primary {
    background: linear-gradient(135deg, var(--green), var(--green-light));
    color: white;
    text-decoration: none;
    padding: 13px 25px;
    border-radius: 999px;
    font-weight: 900;
    display: inline-block;
    border: none;
    cursor: pointer;
    box-shadow: 0 14px 32px rgba(31, 107, 74, 0.35);
    transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.portal-btn {
    flex-shrink: 0;
    padding: 11px 18px;
    font-size: 0.88rem;
    white-space: nowrap;
}

.portal-btn:hover,
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 48px rgba(31, 107, 74, 0.48);
    filter: brightness(1.08);
}

.btn-secondary {
    border: 2px solid rgba(168, 230, 196, 0.65);
    color: var(--mint);
    background: rgba(4, 14, 10, 0.72);
    backdrop-filter: blur(10px);
    text-decoration: none;
    padding: 13px 25px;
    border-radius: 999px;
    font-weight: 900;
    display: inline-block;
    transition: background 0.22s ease, color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.btn-secondary:hover {
    background: var(--mint);
    color: var(--green-dark);
    transform: translateY(-3px);
    box-shadow: var(--green-glow);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--green);
    cursor: pointer;
}

/* HERO */

.hero {
    position: relative;
    padding: 135px 0;
    overflow: hidden;
    background: #061610;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 40px 5%;
    border-radius: 36px;

    background:
        linear-gradient(
            90deg,
            rgba(3, 10, 7, 0.88) 0%,
            rgba(6, 22, 16, 0.72) 42%,
            rgba(6, 22, 16, 0.25) 100%
        ),
        url("images/img4.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    border: 1px solid rgba(255, 255, 255, 0.22);

    box-shadow:
        0 32px 95px rgba(0, 0, 0, 0.48),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);

    pointer-events: none;
    z-index: 1;
}

.hero::after {
    content: "";
    position: absolute;
    right: -120px;
    top: 80px;
    width: 430px;
    height: 430px;
    background: radial-gradient(circle, rgba(53,160,111,0.35), transparent 68%);
    filter: blur(7px);
    animation: slowFloat 9s ease-in-out infinite;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 790px;
}

.eyebrow {
    color: var(--mint);
    font-weight: 900;
    letter-spacing: 3px;
    font-size: 0.78rem;
    text-transform: uppercase;
}

.hero h1 {
    color: white;
    font-size: clamp(2.7rem, 6vw, 5.2rem);
    line-height: 1.02;
    margin: 22px 0;
    letter-spacing: -2.5px;
    text-shadow: 0 8px 30px rgba(0,0,0,0.42);
}

.hero h1 span {
    color: var(--mint);
    text-shadow: 0 0 34px rgba(168, 230, 196, 0.26);
}

.hero p {
    font-size: 1.22rem;
    color: rgba(255,255,255,0.76);
    max-width: 690px;
    margin-bottom: 34px;
}

/* SECTIONS */

.section {
    position: relative;
    padding: 105px 0;
}

.section h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: clamp(2rem, 4vw, 3.05rem);
    letter-spacing: -1.5px;
    color: var(--green-dark);
}

.section p {
    color: var(--gray);
}

.narrow {
    max-width: 850px;
    text-align: center;
}

.center-text {
    text-align: center;
    max-width: 850px;
    margin: auto;
    font-size: 1.12rem;
}

/* CARDS */

.card-grid,
.features-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 28px;

    margin-top: 50px;

    align-items: stretch;

}
.features-grid .card:nth-child(5) {
    grid-column: 2;
}

.features-grid .card:nth-child(6) {
    grid-column: 3;
}
.card,
.feature {
    position: relative;
    background: linear-gradient(180deg, #ffffff, #F8FBF8);
    padding: 36px;
    border-radius: var(--radius);
    border: 1px solid rgba(31, 107, 74, 0.20);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.card::before,
.feature::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(217, 184, 95, 0.20), transparent 38%),
        radial-gradient(circle at bottom left, rgba(53, 160, 111, 0.18), transparent 42%);
    opacity: 0;
    transition: opacity 0.28s ease;
    pointer-events: none;
}

.card::after,
.feature::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, var(--green-light), var(--gold-bright));
    opacity: 0.95;
}

.card:hover,
.feature:hover {
    transform: translateY(-8px) rotateX(2deg);
    box-shadow: var(--shadow-heavy);
    border-color: rgba(31, 107, 74, 0.38);
}

.card:hover::before,
.feature:hover::before {
    opacity: 1;
}

.card h3,
.feature h3 {
    position: relative;
    color: var(--green);
    margin-bottom: 10px;
    font-size: 1.27rem;
    font-weight: 900;
}

.card p,
.feature p {
    position: relative;
}

/* DARK SECTION */

.dark-section {
    background:
        radial-gradient(circle at top left, rgba(217,184,95,0.30), transparent 28rem),
        radial-gradient(circle at bottom right, rgba(53,160,111,0.25), transparent 32rem),
        linear-gradient(135deg, var(--green-black), var(--green-dark), #174633);
    color: white;
    overflow: hidden;
}

.dark-section::after {
    content: "";
    position: absolute;
    right: -180px;
    bottom: -180px;
    width: 460px;
    height: 460px;
    background: radial-gradient(circle, rgba(255,255,255,0.13), transparent 65%);
    animation: pulseGlow 7s ease-in-out infinite;
}

.dark-section h2,
.dark-section h3 {
    color: white;
}

.dark-section p {
    color: rgba(255, 255, 255, 0.82);
}

.dark-section .feature,
.dark-section .card {
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 255, 255, 0.18);
    color: white;
    backdrop-filter: blur(12px);
}

.dark-section .feature::after,
.dark-section .card::after {
    background: linear-gradient(180deg, var(--mint), var(--gold-bright));
}

/* TWO COLUMN */

.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 65px;
}

.about-image,
.placeholder-image {
    width: 100%;
    min-height: 370px;
    object-fit: cover;
    border-radius: 28px;
    background:
        linear-gradient(135deg, rgba(31,107,74,0.18), rgba(217,184,95,0.16));
    box-shadow: var(--shadow-heavy);
}

.content-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 28px;
    box-shadow: var(--shadow-heavy);
}

/* IMAGE PANELS */

.image-panel {
    min-height: 390px;
    border-radius: 28px;
    background:
        linear-gradient(135deg, rgba(16,44,34,0.28), rgba(217,184,95,0.14)),
        url("images/placeholder.jpg");
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow-heavy);
    position: relative;
    overflow: hidden;
}

.image-panel::after {
    content: "Image Placeholder";
    position: absolute;
    left: 24px;
    bottom: 24px;
    color: white;
    background: rgba(6, 22, 16, 0.78);
    padding: 10px 16px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.85rem;
}

/* WHO WE SERVE */

.who-we-serve-layout {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
}

.serve-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.who-we-serve-image {
    height: 100%;
}

.who-we-serve-image img {
    width: 100%;
    height: 100%;
    min-height: 550px;
    object-fit: cover;
    border-radius: 28px;
    box-shadow: var(--shadow-heavy);
}

/* CTA */

.cta {
    position: relative;
    background:
        radial-gradient(circle at top center, rgba(53,160,111,0.20), transparent 32rem),
        radial-gradient(circle at bottom left, rgba(217,184,95,0.18), transparent 30rem),
        linear-gradient(135deg, var(--cream), var(--white));
    text-align: center;
    padding: 105px 0;
    overflow: hidden;
}

.cta::before {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    left: -120px;
    top: -120px;
    background: radial-gradient(circle, rgba(217,184,95,0.30), transparent 70%);
}

.cta h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 18px;
    color: var(--green-dark);
}

.cta p {
    color: var(--gray);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* FORMS */

form {
    max-width: 800px;
    margin: auto;
    display: grid;
    gap: 18px;
    background: white;
    padding: 36px;
    border-radius: 24px;
    border: 1px solid rgba(31,107,74,0.18);
    box-shadow: var(--shadow-heavy);
}

input,
textarea,
select {
    width: 100%;
    padding: 16px 18px;
    border: 1px solid rgba(31,107,74,0.20);
    border-radius: 14px;
    font-size: 1rem;
    font-family: inherit;
    background: #fff;
}

textarea {
    min-height: 160px;
    resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--green-light);
    box-shadow: 0 0 0 4px rgba(53, 160, 111, 0.14);
}

/* GALLERY */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.gallery-item {
    min-height: 290px;
    background:
        linear-gradient(180deg, transparent, rgba(6,22,16,0.85)),
        url("images/gallery-placeholder.jpg");
    background-size: cover;
    background-position: center;
    border-radius: 24px;
    border: 1px solid rgba(31,107,74,0.22);
    display: flex;
    align-items: end;
    padding: 26px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-item:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: var(--shadow-heavy);
}

.gallery-item h3 {
    color: white;
    text-shadow: 0 5px 18px rgba(0,0,0,0.45);
}

/* FOOTER */

footer {
    background:
        radial-gradient(circle at top left, rgba(53,160,111,0.16), transparent 24rem),
        linear-gradient(135deg, #101010, var(--charcoal));
    color: white;
    padding: 75px 0;
}

footer .footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 45px;
}

footer h3 {
    margin-bottom: 12px;
    color: white;
}

footer p,
footer a {
    color: rgba(255, 255, 255, 0.76);
    text-decoration: none;
}

footer a:hover {
    color: var(--mint);
}

/* ANIMATION */

@keyframes slowFloat {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }

    50% {
        transform: translateY(-24px) translateX(-18px);
    }
}

@keyframes pulseGlow {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.08);
    }
}

/* MOBILE */

@media (max-width: 1100px) {
    .logo {
        min-width: auto;
    }

    .logo span {
        display: none;
    }

    nav ul {
        gap: 14px;
    }

    nav a {
        font-size: 0.82rem;
    }
}

@media (max-width: 950px) {
    .menu-toggle {
        display: block;
    }

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(12px);
        border-bottom: 1px solid var(--border);
        display: none;
    }

    nav.active {
        display: block;
    }

    nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 20px 5%;
    }

    nav li {
        width: 100%;
    }

    nav a {
        display: block;
        padding: 14px 0;
        width: 100%;
        font-size: 0.95rem;
    }

    nav a::after {
        display: none;
    }

    .portal-btn {
        display: none;
    }

    .nav-container {
        position: relative;
    }

    .hero {
        padding: 95px 0;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        text-align: center;
    }

    .two-column,
    .who-we-serve-layout {
        grid-template-columns: 1fr;
    }

    .serve-grid {
        grid-template-columns: 1fr;
    }

    .who-we-serve-image img {
        min-height: 350px;
    }

    footer .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .section {
        padding: 78px 0;
    }

    .card,
    .feature {
        padding: 28px;
    }

    .logo img {
        width: 40px;
        height: 40px;
    }

    .logo h2 {
        font-size: 1.2rem;
    }

    form {
        padding: 24px;
    }

    .hero::before {
        inset: 22px 4%;
        border-radius: 24px;
    }
}