:root {
    --green-50: #f2fbf2;
    --green-100: #e2f6e3;
    --green-200: #c6ecc8;
    --green-300: #98dd9c;
    --green-400: #64c46a;
    --green-500: #3fa846;
    --green-600: #2f8a35;
    --green-700: #286d2d;
    --green-800: #245728;
    --green-900: #1f4823;
    --green-950: #0c270f;
}

* {
    font-family: "Poppins", sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #0B334C;
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    background-color: white;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

.navbar-brand {
    font-family: "Bungee", cursive;
    color: var(--green-600) !important;
    font-size: 1.5rem;
}

.nav-link {
    color: #0B334C !important;
    font-weight: 500;
    margin: 0 1rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--green-600) !important;
}

.btn-primary-custom {
    background-color: var(--green-500);
    border: none;
    color: white;
    padding: 0.6rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    background-color: var(--green-600);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(63, 168, 70, 0.3);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--green-100) 0%, var(--green-200) 50%, var(--green-300) 100%);
    padding: 100px 0 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/static/img/pattern.png');
    background-size: 100px;
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--green-900);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--green-800);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons .btn {
    margin: 0.5rem;
    padding: 0.8rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 50px;
    font-weight: 600;
}

.btn-hero-primary {
    background-color: var(--green-600);
    border: none;
    color: white;
    transition: all 0.3s ease;
}

.btn-hero-primary:hover {
    background-color: var(--green-700);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(63, 168, 70, 0.4);
}

.btn-hero-secondary {
    background-color: white;
    border: 2px solid var(--green-600);
    color: var(--green-700);
    transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
    background-color: var(--green-600);
    color: white;
    transform: translateY(-3px);
}

.hero-image {
    max-width: 100%;
    /* animation: float 3s ease-in-out infinite; */
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background-color: white;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--green-800);
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    text-align: center;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.feature-card {
    background: white;
    border: 2px solid var(--green-100);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(63, 168, 70, 0.2);
    border-color: var(--green-400);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--green-400) 0%, var(--green-600) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    font-size: 2.5rem;
    color: white;
}

.feature-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--green-800);
    margin-bottom: 1rem;
}

.feature-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.7;
}

/* Benefits Section */
.benefits-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--green-50) 0%, white 100%);
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2.5rem;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 25px rgba(63, 168, 70, 0.15);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--green-400) 0%, var(--green-600) 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    flex-shrink: 0;
    margin-right: 1.5rem;
}

.benefit-content h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--green-800);
    margin-bottom: 0.5rem;
}

.benefit-content p {
    font-size: 1rem;
    color: #666;
    line-height: 1.7;
    margin: 0;
}

/* Applications Section */
.applications-section {
    padding: 80px 0;
    background-color: white;
}

.application-card {
    background: linear-gradient(135deg, var(--green-500) 0%, var(--green-700) 100%);
    border-radius: 20px;
    padding: 3rem;
    color: white;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.application-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    transition: all 0.5s ease;
}

.application-card:hover::before {
    top: -60%;
    right: -60%;
}

.application-card:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(63, 168, 70, 0.3);
}

.application-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.application-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.application-description {
    font-size: 1rem;
    line-height: 1.7;
    opacity: 0.95;
}

/* Team Section */
.team-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--green-50) 0%, white 100%);
}

.team-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
}

@media (min-width: 576px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .team-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        align-items: stretch;
    }

    .team-section .team-card {
        padding: 1.35rem 0.65rem;
    }

    .team-section .team-avatar-wrap {
        width: 100px;
        height: 100px;
    }

    .team-section .team-member-name {
        font-size: 1.05rem;
    }

    .team-section .team-member-focus {
        font-size: 0.85rem;
        line-height: 1.45;
    }

    .team-section .team-avatar-placeholder {
        font-size: 1.05rem;
    }
}

@media (min-width: 1200px) {
    .team-section .team-card {
        padding: 1.75rem 1rem;
    }

    .team-section .team-avatar-wrap {
        width: 112px;
        height: 112px;
    }

    .team-section .team-member-name {
        font-size: 1.15rem;
    }

    .team-section .team-member-focus {
        font-size: 0.9rem;
    }
}

.team-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: white;
    border: 2px solid var(--green-100);
    border-radius: 20px;
    padding: 2rem 1.75rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    min-height: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(63, 168, 70, 0.2);
    border-color: var(--green-400);
}

.team-avatar-wrap {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--green-200);
    background: var(--green-100);
}

.team-avatar-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--green-400) 0%, var(--green-600) 100%);
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.team-member-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--green-800);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.team-member-focus {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
    margin-bottom: 1rem;
    font-weight: 500;
}

.team-member-social {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    align-self: stretch;
    width: 100%;
    gap: 0.45rem;
    margin-top: auto;
    padding-top: 0.85rem;
    border-top: 1px solid var(--green-100);
}

.team-member-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 12px;
    background: var(--green-50);
    color: var(--green-700);
    border: 1px solid var(--green-200);
    text-decoration: none;
    font-size: 1.1rem;
    line-height: 1;
    transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease,
        transform 0.25s ease, box-shadow 0.25s ease;
}

.team-member-social a:hover {
    background: linear-gradient(135deg, var(--green-500) 0%, var(--green-600) 100%);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(63, 168, 70, 0.35);
}

.team-member-social a:focus-visible {
    outline: 2px solid var(--green-500);
    outline-offset: 2px;
}

@media (min-width: 992px) {
    .team-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        grid-template-columns: repeat(3, minmax(0, 1fr));
        align-items: stretch;
    }
    .team-section .team-member-social {
        padding-top: 0.65rem;
        gap: 0.35rem;
    }

    .team-section .team-member-social a {
        width: 2.05rem;
        height: 2.05rem;
        font-size: 0.95rem;
        border-radius: 10px;
    }
}

@media (min-width: 1200px) {
    .team-section .team-member-social a {
        width: 2.2rem;
        height: 2.2rem;
        font-size: 1.05rem;
    }
}

/* Stats Section */
.stats-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--green-600) 0%, var(--green-800) 100%);
    color: white;
    position: relative;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/static/img/pattern.png');
    background-size: 100px;
    opacity: 0.05;
}

.stat-item {
    text-align: center;
    position: relative;
    z-index: 2;
}

.stat-icon {
    /* font-size: 1.75rem; */
    margin-bottom: -0.5rem;
    opacity: 0.85;
    color: var(--green-200);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    /* margin-bottom: 0.5rem; */
    color: var(--green-100);
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}

.stat-number .stat-prefix {
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 1.2rem;
    font-weight: 500;
    opacity: 0.95;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--green-100) 0%, var(--green-200) 100%);
    text-align: center;
}

.cta-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--green-900);
    margin-bottom: 1.5rem;
}

.cta-description {
    font-size: 1.3rem;
    color: var(--green-800);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.footer {
    background-color: var(--green-900);
    color: white;
    padding: 3rem 0 1rem 0;
}

.footer h5 {
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--green-200);
}

.footer p, .footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    line-height: 2;
}

.footer a:hover {
    color: var(--green-300);
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: var(--green-700);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 0.5rem;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--green-500);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
    padding-top: 1.5rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}