:root {
    --primary-color: #273B08;
    /* Dark green from logo */
    --secondary-color: #58631E;
    /* Olive green from logo */
    --accent-color: #70781C;
    /* Lighter olive */
    --text-primary: #1A1A1A;
    --text-secondary: #4A4A4A;
    --bg-light: #F2F5E9;
    /* Pale olive tinted background */
    --bg-white: #FFFFFF;
    --border-color: #E2E8F0;
    --transition-speed: 0.3s;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    color: var(--primary-color);
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    transition: all var(--transition-speed) ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.btn-primary-custom:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(39, 59, 8, 0.2);
}

.btn-outline-custom {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 10px 28px;
    border-radius: 4px;
    font-weight: 600;
    transition: all var(--transition-speed) ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    background: transparent;
}

.btn-outline-custom:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* Navigation */
.navbar {
    padding: 20px 0;
    transition: all var(--transition-speed) ease;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.navbar-brand img {
    height: 70px;
    /* Increased size */
    transition: all var(--transition-speed) ease;
}

.nav-link {
    color: var(--text-primary) !important;
    font-weight: 500;
    margin: 0 15px;
    position: relative;
    font-size: 0.95rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: width var(--transition-speed) ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(39, 59, 8, 0.9) 0%, rgba(88, 99, 30, 0.8) 100%), url('https://images.unsplash.com/photo-1578575437130-527eed3abbec?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80') center/cover;
    background-attachment: fixed;
    position: relative;
    padding-top: 100px;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

/* Update hero text-gradient to be brighter on dark background */
.hero .text-gradient {
    background: linear-gradient(135deg, #d8e285, #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero .btn-outline-custom {
    border-color: #ffffff;
    color: #ffffff;
}

.hero .btn-outline-custom:hover {
    background-color: #ffffff;
    color: var(--primary-color);
}

/* Services / Expertise */
.bg-colorful {
    background: linear-gradient(135deg, rgba(88, 99, 30, 0.03) 0%, rgba(112, 120, 28, 0.08) 100%);
}

.service-card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(39, 59, 8, 0.06);
    transition: all var(--transition-speed) ease;
    height: 100%;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    z-index: -1;
    opacity: 0;
    transition: opacity var(--transition-speed) ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(39, 59, 8, 0.2);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover h4,
.service-card:hover p,
.service-card:hover .service-icon {
    color: #ffffff !important;
    transition: color var(--transition-speed) ease;
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: color var(--transition-speed) ease;
}

/* Features/Stats Section */
.stats-section {
    background: linear-gradient(135deg, rgba(39, 59, 8, 0.9) 0%, rgba(88, 99, 30, 0.9) 100%), url('https://images.unsplash.com/photo-1586528116311-ad8ed7cb529e?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80') center/cover;
    background-attachment: fixed;
    color: #fff;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(112, 120, 28, 0.2) 0%, transparent 60%);
    z-index: 0;
}

.stat-item {
    position: relative;
    z-index: 1;
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
}

.stat-item p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}


/* CTA Section */
#contact {
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(242, 245, 233, 1) 100%);
}

/* Footer */
footer {
    background-color: #111;
    color: #fff;
    padding: 80px 0 30px;
}

.footer-logo {
    height: 80px;
    /* Increased size */
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer-links h5 {
    color: #fff;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #a0aec0;
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-contact i {
    color: var(--accent-color);
    margin-right: 10px;
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: #a0aec0;
    font-size: 0.9rem;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(39, 59, 8, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(39, 59, 8, 0.4);
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 1199px) {
    .navbar-brand img {
        height: 60px;
    }
}

@media (max-width: 991px) {
    .hero h1 {
        font-size: 3rem;
    }

    .navbar-brand img {
        height: 50px;
    }

    .navbar-collapse {
        background: var(--bg-white);
        padding: 20px;
        border-radius: 8px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        margin-top: 15px;
    }

    .nav-link {
        color: var(--primary-color) !important;
    }

    .about-badge-container {
        right: 15px !important;
    }

    .about-badge {
        transform: translate(0, 20px) !important;
    }
}

@media (max-width: 767px) {
    .hero {
        text-align: center;
        padding-top: 120px;
    }

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

    .hero p {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .hero .d-flex {
        justify-content: center;
    }

    .stats-section {
        padding: 60px 0;
    }

    .stat-item {
        margin-bottom: 30px;
    }

    .stat-item h3 {
        font-size: 2.2rem;
    }

    .footer-logo {
        height: 60px;
    }

    .footer-links {
        margin-top: 30px;
    }

    .trust-section {
        padding: 40px 0;
    }

    .partner-logo {
        max-height: 40px;
    }

    .about-badge-container {
        position: relative !important;
        transform: none !important;
        margin-top: -30px;
        left: 15px;
        width: 85%;
        z-index: 2;
    }

    .about-badge {
        transform: none !important;
        border-radius: 8px !important;
    }
}

@media (max-width: 575px) {
    .service-card {
        padding: 30px 20px;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}