:root {
    --bg-color: #f8fafc;
    --text-color: #000000;
    --accent-color: #1e4a2d;
    --accent-dark: #0d2114;
    --card-bg: #ffffff;
    --border-color: #e2e8f0;
    --font-primary: 'Inter', system-ui, -apple-system, sans-serif;
    --primary-color: #1e4a2d;
    --secondary-color: #eaf3ed;
    --accent-light: #348f54;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Nav */
header {
    background-color: #ffffff;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.logo-link {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.logo-link:hover {
    transform: scale(1.02);
}

.logo {
    height: 70px;
    width: auto;
    object-fit: contain;
}

nav a {
    color: var(--text-color);
    text-decoration: none;
    margin-left: 30px;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--accent-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--accent-color);
    color: #fff;
    border: 2px solid var(--accent-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--accent-color);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-color);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

/* Hero Section */
.hero {
    padding: 160px 0;
    text-align: center;
    position: relative;
    background: linear-gradient(135deg, #0d2114 0%, #1e4a2d 100%);
    overflow: hidden;
    color: #ffffff;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(52, 143, 84, 0.15) 0%, transparent 70%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 10;
}

/* Dynamic Wave Background */
.hero-waves {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 120px;
    background: transparent;
    z-index: 2;
}

.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,60 C300,120 300,0 600,60 C900,120 900,0 1200,60 L1200,120 L0,120 Z' fill='%23ffffff' opacity='0.3'/%3E%3C/svg%3E");
    background-size: 50% 100%;
    animation: wave-move 18s linear infinite;
}

.wave2 {
    bottom: 0px;
    opacity: 1;
    animation: wave-move 12s linear infinite reverse;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,80 C200,120 300,20 600,60 C900,100 1000,20 1200,80 L1200,120 L0,120 Z' fill='%23ffffff' opacity='0.5'/%3E%3C/svg%3E");
}

.wave3 {
    bottom: 0px;
    opacity: 1;
    animation: wave-move 20s linear infinite;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,70 C300,10 400,110 600,70 C800,30 900,110 1200,70 L1200,120 L0,120 Z' fill='%23ffffff' opacity='1'/%3E%3C/svg%3E");
}

@keyframes wave-move {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.hero h1 {
    font-size: 3.5rem;
    color: #ffffff;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 40px;
    color: #f1f5f9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.hero .btn-secondary {
    border-color: rgba(255, 255, 255, 0.4);
    color: #ffffff;
}

.hero .btn-secondary:hover {
    border-color: #ffffff;
    background-color: rgba(255, 255, 255, 0.1);
}

/* Services */
.services {
    padding: 100px 0;
    background-color: #ffffff;
    position: relative;
    background-image: linear-gradient(#f0f4f8 1.5px, transparent 1.5px), linear-gradient(90deg, #f0f4f8 1.5px, transparent 1.5px);
    background-size: 50px 50px;
    animation: background-pos 60s linear infinite;
}

@keyframes background-pos {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 50px 50px;
    }
}

.services h2,
.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #000000;
    margin-bottom: 60px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--card-bg);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    border-top: 4px solid var(--accent-dark);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    border-top-color: var(--accent-color);
}

.service-card h3 {
    color: #000000;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

/* Team Section */
.team {
    padding: 100px 0;
    background-color: #f0f4f8;
    position: relative;
    overflow: hidden;
}

.team::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(45deg, #ffffff 25%, transparent 25%),
        linear-gradient(-45deg, #ffffff 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #ffffff 75%),
        linear-gradient(-45deg, transparent 75%, #ffffff 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    opacity: 0.3;
    z-index: 0;
}

.team h2 {
    position: relative;
    z-index: 10;
    text-align: center;
    font-size: 2.5rem;
    color: #000000;
    margin-bottom: 60px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.team-card {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    border-top: 4px solid var(--accent-dark);
    text-align: center;
}

.team-card h3 {
    color: #000000 !important;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.team-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    background-color: #ffffff;
    border: 3px solid var(--border-color);
}

.team-card .role {
    color: var(--accent-dark);
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 20px;
}

/* Contact */
.contact {
    padding: 100px 0;
    text-align: center;
    background-color: #ffffff;
    border-top: 1px solid var(--border-color);
}

.contact p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #555555;
}

.contact-form {
    max-width: 600px;
    margin: 40px auto 0;
    text-align: left;
    background: var(--card-bg);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--accent-color);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background-color: #ffffff;
    font-family: var(--font-primary);
    font-size: 1rem;
    color: var(--text-color);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.contact-form .btn {
    width: 100%;
    margin-top: 10px;
}

/* Page Content (BS4142) */
.page-content {
    padding: 80px 20px;
    max-width: 900px;
}

.page-content h1 {
    color: var(--accent-color);
    font-size: 3rem;
    margin-bottom: 50px;
    text-align: center;
}

.info-section {
    background-color: var(--card-bg);
    padding: 40px;
    border-radius: 8px;
    margin-bottom: 40px;
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--accent-dark);
}

.info-section h2 {
    color: var(--accent-color);
    margin-bottom: 20px;
    font-size: 2rem;
}

.info-section h3 {
    color: var(--accent-color);
    margin: 30px 0 15px;
    font-size: 1.4rem;
}

.info-section p {
    margin-bottom: 20px;
}

.info-section ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.info-section li {
    margin-bottom: 10px;
}

.cta-box {
    text-align: center;
    padding: 50px;
    background: linear-gradient(135deg, var(--card-bg) 0%, #ffffff 100%);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-top: 60px;
}

.cta-box h3 {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.cta-box p {
    margin-bottom: 30px;
    color: #555555;
}

/* Footer */
footer {
    background-color: #f5f5f5;
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

footer p {
    font-size: 0.9rem;
    color: #777777;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        height: auto;
        padding: 20px 0;
    }

    nav {
        margin-top: 20px;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    nav a {
        margin-left: 0;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

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

    .page-content h1 {
        font-size: 2.2rem;
    }

    .info-section h2 {
        font-size: 1.6rem;
    }
}