html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

:root {
    --gotg-green: #0f5132;
    --gotg-green-dark: #083c25;
    --gotg-green-light: #eaf4ef;
    --gotg-red: #c92a2a;
    --gotg-dark: #171717;
    --gotg-text: #444444;
    --gotg-muted: #6f7478;
    --gotg-border: #e3e6e4;
    --gotg-background: #f7f9f8;
    --gotg-white: #ffffff;
}

body {
    margin: 0;
    background: var(--gotg-white);
    color: var(--gotg-dark);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

/* =========================================================
   NAVIGATION
   ========================================================= */

.navbar {
    min-height: 76px;
    padding: 0.75rem 0;
    background: rgba(255, 255, 255, 0.98) !important;
}

.navbar-brand {
    color: var(--gotg-green-dark) !important;
    font-size: 1.35rem;
    letter-spacing: -0.02em;
}

.navbar-nav .nav-link {
    color: #333333 !important;
    font-weight: 500;
    padding-left: 0.85rem !important;
    padding-right: 0.85rem !important;
    transition: color 0.2s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: var(--gotg-green) !important;
}

.navbar-toggler {
    border-color: var(--gotg-border);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(15, 81, 50, 0.15);
}

/* =========================================================
   GENERAL ELEMENTS
   ========================================================= */

.section-label {
    display: inline-block;
    margin-bottom: 0.9rem;
    color: var(--gotg-green);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.btn {
    border-radius: 6px;
    padding: 0.8rem 1.45rem;
    font-weight: 600;
}

.btn-primary {
    background: var(--gotg-green);
    border-color: var(--gotg-green);
}

.btn-primary:hover,
.btn-primary:focus {
    background: var(--gotg-green-dark);
    border-color: var(--gotg-green-dark);
}

.btn-outline-dark {
    border-color: #313131;
    color: #313131;
}

.btn-outline-dark:hover {
    background: #313131;
    color: white;
}

/* =========================================================
   HERO
   ========================================================= */

.hero-section {
    position: relative;
    overflow: hidden;
    padding: 5.5rem 0;
    background:
        radial-gradient(circle at 88% 22%, rgba(15, 81, 50, 0.10), transparent 24rem),
        linear-gradient(135deg, #ffffff 0%, #f5f8f6 100%);
    border-bottom: 1px solid var(--gotg-border);
}

.min-vh-75 {
    min-height: 68vh;
}

.hero-title {
    max-width: 760px;
    margin-bottom: 1.4rem;
    color: var(--gotg-dark);
    font-size: clamp(2.5rem, 5vw, 4.8rem);
    font-weight: 700;
    line-height: 1.03;
    letter-spacing: -0.045em;
}

.hero-text {
    max-width: 680px;
    margin-bottom: 2rem;
    color: var(--gotg-text);
    font-size: 1.12rem;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.hero-info-card {
    position: relative;
    padding: 2.6rem;
    background: var(--gotg-green-dark);
    border-radius: 10px;
    color: var(--gotg-white);
    box-shadow: 0 24px 60px rgba(8, 60, 37, 0.18);
}

.hero-info-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 7px;
    height: 100%;
    background: var(--gotg-red);
    border-radius: 10px 0 0 10px;
}

.hero-info-card .info-card-label {
    display: block;
    margin-bottom: 1rem;
    color: #d5e9de;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-info-card h2 {
    margin-bottom: 1rem;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
}

.hero-info-card p {
    margin-bottom: 2rem;
    color: #e0ebe5;
}

.hero-stat {
    padding-top: 1.3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-stat strong,
.hero-stat span {
    display: block;
}

.hero-stat strong {
    margin-bottom: 0.15rem;
    font-size: 1rem;
}

.hero-stat span {
    color: #cbded3;
    font-size: 0.88rem;
}

/* =========================================================
   HOME SERVICES
   ========================================================= */

.home-services {
    padding: 6rem 0;
    background: var(--gotg-white);
}

.section-heading {
    max-width: 720px;
    margin: 0 auto;
}

.section-heading h2 {
    margin-bottom: 1rem;
    color: var(--gotg-dark);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.03em;
}

.section-heading p {
    color: var(--gotg-muted);
    font-size: 1.05rem;
}

.service-card {
    position: relative;
    padding: 2rem;
    background: var(--gotg-background);
    border: 1px solid var(--gotg-border);
    border-radius: 8px;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(15, 81, 50, 0.3);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.07);
}

.service-number {
    margin-bottom: 2.2rem;
    color: var(--gotg-green);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.service-card h3 {
    margin-bottom: 0.85rem;
    color: var(--gotg-dark);
    font-size: 1.5rem;
    font-weight: 700;
}

.service-card p {
    margin-bottom: 1.6rem;
    color: var(--gotg-text);
}

.card-link {
    color: var(--gotg-green);
    font-weight: 700;
    text-decoration: none;
}

.card-link:hover {
    color: var(--gotg-green-dark);
    text-decoration: underline;
}

/* =========================================================
   EMPLOYEE TABLES
   ========================================================= */

.employee-table {
    overflow: hidden;
    background: var(--gotg-white);
    border: 1px solid var(--gotg-border);
    border-radius: 8px;
}

.employee-table thead th {
    padding: 1rem;
    background: var(--gotg-green-dark);
    color: var(--gotg-white);
    border: none;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.employee-table tbody td {
    padding: 1rem;
    border-color: var(--gotg-border);
    vertical-align: middle;
}

.employee-table tbody tr:hover {
    background: var(--gotg-background);
}

.volunteer-status {
    padding: 0.5rem 0.75rem;
    background: var(--gotg-green-light);
    color: var(--gotg-green-dark);
    font-weight: 700;
    border-radius: 999px;
}

@media (max-width: 767.98px) {
    .employee-table {
        min-width: 900px;
    }
}


/* =========================================================
   DARK INFORMATION CARD TEXT CONTRAST
   ========================================================= */

.hero-info-card {
    color: #ffffff;
}

.hero-info-card p,
.hero-info-card .hero-stat span,
.hero-info-card small {
    color: rgba(255, 255, 255, 0.86);
}

.hero-info-card h1,
.hero-info-card h2,
.hero-info-card h3,
.hero-info-card h4,
.hero-info-card strong {
    color: #ffffff;
}

.hero-info-card .info-card-label {
    color: #ffffff;
}

/* =========================================================
   FORMS
   ========================================================= */

.form-control,
.form-select {
    min-height: 48px;
    border-color: #ced4d1;
    border-radius: 6px;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--gotg-green);
    box-shadow: 0 0 0 0.2rem rgba(15, 81, 50, 0.12);
}

.form-label {
    color: var(--gotg-dark);
    font-weight: 600;
}

/* =========================================================
   FOOTER
   ========================================================= */

.footer {
    position: relative;
    width: 100%;
    background: var(--gotg-background);
    color: var(--gotg-muted) !important;
}

/* =========================================================
   ACCESSIBILITY
   ========================================================= */

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(15, 81, 50, 0.35);
    outline-offset: 2px;
}

/* =========================================================
   PROTOTYPE BRAND MARK
   ========================================================= */

.prototype-brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;

    background: #0f5132;
    color: #ffffff;

    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.02em;

    border: 3px solid #c92a2a;
    box-shadow: 0 4px 12px rgba(15, 81, 50, 0.15);
}

.prototype-brand-name {
    color: #083c25;
    font-weight: 800;
    white-space: nowrap;
}

.navbar-brand:hover .prototype-brand-mark {
    transform: translateY(-1px);
}

.prototype-brand-mark {
    transition: transform 0.2s ease;
}

@media (max-width: 575.98px) {
    .prototype-brand-mark {
        width: 34px;
        height: 34px;
        font-size: 0.9rem;
    }

    .prototype-brand-name {
        font-size: 1rem;
    }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 991.98px) {
    .navbar-collapse {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    .hero-section {
        padding: 4rem 0;
    }

    .min-vh-75 {
        min-height: auto;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-info-card {
        margin-top: 1rem;
    }
}

@media (max-width: 575.98px) {
    .hero-section {
        padding: 3rem 0;
    }

    .hero-title {
        font-size: 2.45rem;
    }

    .hero-text {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
    }

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

    .hero-info-card {
        padding: 2rem;
    }

    .home-services {
        padding: 4rem 0;
    }

    .service-card {
        padding: 1.6rem;
    }
}