:root {
    --primary: #2a6b3f;
    --primary-dark: #1d4d2c;
    --secondary: #e6a229;
    --secondary-dark: #d18e20;
    --light: #f8f9fa;
    --dark: #343a40;
    --gray: #6c757d;
    --light-gray: #e9ecef;
    --white: #ffffff;
    --transition: all 0.3s ease;
    --shadow-light: 0 5px 15px rgba(0,0,0,0.05);
    --shadow-medium: 0 10px 25px rgba(0,0,0,0.08);
    --shadow-heavy: 0 15px 30px rgba(0,0,0,0.1);
    --header-height: 80px;
    --header-height-mobile: 60px;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: var(--header-height);
}

h1, h2, h3, h4, h5 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

/* Utility Classes */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Button Styles */
.btn {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 12px 28px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--dark);
}

.btn-secondary:hover {
    background: var(--secondary-dark);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

/* Header Styles */
header {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-medium);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: transform 0.3s ease;
    height: var(--header-height);
    display: flex;
    align-items: center;
}

header.hide {
    transform: translateY(-100%);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-container {
    display: flex;
    align-items: center;
    z-index: 1001;
}

.logo-img {
    height: 50px;
}

/* Navigation */
.nav-container {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Mobile Navigation */
.mobile-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary);
    background: none;
    border: none;
    z-index: 1001;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(42, 107, 63, 0.9), rgba(42, 107, 63, 0.8)), 
                url('https://images.unsplash.com/photo-1544025162-d76694265947?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2069&q=80') center/cover no-repeat;
    min-height: 80vh;
    display: flex;
    align-items: center;
    color: var(--white);
    padding: 100px 0 80px;
}

.hero-content {
    max-width: 650px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-btns {
    display: flex;
    gap: 15px;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.section-header.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
    background: linear-gradient(45deg, var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.section-header p {
    max-width: 700px;
    margin: 0 auto;
    color: var(--gray);
    font-size: 1.1rem;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: var(--light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.service-icon {
    background: var(--primary);
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2.5rem;
}

.service-content {
    padding: 30px;
}

.service-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.service-content ul {
    list-style: none;
    margin-top: 20px;
}

.service-content ul li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.service-content ul li::before {
    content: '\2713'; /* Check mark */
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
}

/* Products Section */
.products {
    padding: 100px 0;
}

.products-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.products-text {
    flex: 1;
}

.products-visual {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.product-item {
    background: var(--light-gray);
    border-radius: 8px;
    padding: 30px 20px;
    text-align: center;
    transition: var(--transition);
}

.product-item:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-5px);
}

.product-item i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary);
    transition: var(--transition);
}

.product-item:hover i {
    color: var(--white);
}

.product-item h4 {
    font-size: 1.1rem;
}

.about {
    padding: 100px 0;
    background: var(--light);
    color: #222; /* Higher contrast text */
    font-size: 1rem;
    line-height: 1.7; /* Better readability */
}

.about-row {
    display: flex;
    flex-direction: column;
    gap: 50px;
    margin-bottom: 50px;
}

/* Image styling */
.about-image img {
    width: 100%;
    border-radius: 16px;
    display: block;
}

/* Card-style text sections */
.about-intro,
.about-conclusion {
    background: linear-gradient(135deg, #f8faf7 0%, #f0f5ee 100%);
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--shadow-heavy);
    position: relative;
    overflow: hidden;
    width: 100%;
}

.about-intro h2 {
    color: var(--primary);
    font-size: 2.2rem;
    margin-bottom: 25px;
    line-height: 1.3;
}

.about-intro p,
.about-conclusion p {
    margin-bottom: 1em;
    font-size: 1.05rem;
}

/* Feature list styling */
.about-features {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 20px;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

/* Desktop: Equal height + equal width for both rows */
@media (min-width: 992px) {
    .about-row {
        flex-direction: row;
        align-items: stretch;
        gap: 30px;
        justify-content: center;
    }

    /* Equal width columns for both rows */
    .about-intro,
    .about-image,
    .about-features,
    .about-conclusion {
        flex: 1;
        max-width: 500px; /* Prevent overly wide columns */
    }

    /* Image fills available height */
    .about-image img {
        height: 100%;
        width: 100%;
        object-fit: cover;
    }
}


/* Clients Section */
.clients {
    padding: 80px 0;
    background: var(--white);
    max-width: 1400px;
    margin: 0 auto;
}

.clients-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

.clients-content {
    flex: 1;
    min-width: 300px;
    padding-right: 50px;
}

.clients-cta {
    flex: 0 0 350px;
    background: linear-gradient(135deg, #f8faf7 0%, #f0f5ee 100%);
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--shadow-heavy);
    align-self: center;
    position: relative;
    overflow: hidden;
}

.clients-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(42, 107, 63, 0.05), rgba(230, 162, 41, 0.03));
    z-index: -1;
}

.clients-cta h3 {
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.clients-cta h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--secondary);
    border-radius: 2px;
}

.clients-cta p {
    color: var(--gray);
    margin-bottom: 25px;
    font-size: 1.1rem;
    line-height: 1.7;
}

.cta-btn {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(42, 107, 63, 0.3);
}

.cta-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(42, 107, 63, 0.4);
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.client-item {
    background: var(--white);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 25px;
    border: 1px solid rgba(0,0,0,0.05);
    opacity: 0;
    transform: translateY(40px) scale(0.95);
}

.client-item.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.client-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(42, 107, 63, 0.1), rgba(230, 162, 41, 0.05));
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

.client-logo {
    max-width: 100%;
    max-height: 80px;
    filter: grayscale(100%) contrast(0.8);
    transition: var(--transition);
    z-index: 2;
    position: relative;
    opacity: 0.8;
}

.client-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.client-item:hover .client-logo {
    filter: grayscale(0%) contrast(1);
    transform: scale(1.25);
    opacity: 1;
}

.client-item:hover::before {
    opacity: 1;
}

.client-name {
    position: absolute;
    bottom: 12px;
    left: 0;
    width: 100%;
    text-align: center;
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 13px;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 3;
    letter-spacing: 0.5px;
}

.client-item:hover .client-name {
    opacity: 1;
    transform: translateY(0);
}

/* Global Presence Section */
.global {
    padding: 100px 0;
    background: linear-gradient(rgba(42, 107, 63, 0.9), rgba(42, 107, 63, 0.9)), 
                url('https://images.unsplash.com/photo-1502920917128-1aa500764cbd?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80') center/cover fixed no-repeat;
    color: var(--white);
    text-align: center;
}

.global h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.global p {
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
    opacity: 0.9;
}

.map-container {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 8px;
}

.map-placeholder {
    height: 400px;
    background: rgba(255,255,255,0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* Contact Section */
.contact {
    padding: 100px 0;
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    gap: 15px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-text h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--light-gray);
    border-radius: 4px;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

/* Footer */
footer {
    background: var(--dark);
    color: var(--white);
    padding: 70px 0 30px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    display: inline-block;
}

.footer-about p {
    opacity: 0.7;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-heading {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--secondary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .clients-container {
        flex-direction: column;
    }
    
    .clients-content {
        padding-right: 0;
        margin-bottom: 50px;
    }
    
    .clients-cta {
        flex: 0 0 auto;
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 992px) {
    .products-content,
    .about-content {
        flex-direction: column;
    }
    
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .products-visual {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    body {
        padding-top: var(--header-height-mobile);
    }
    
    header {
        height: var(--header-height-mobile);
    }
    
    .mobile-toggle {
        display: block;
        position: absolute;
        right: 20px;
        top: 18px;
    }
    
    .nav-menu {
        position: fixed;
        top: var(--header-height-mobile);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--header-height-mobile));
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 40px;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .nav-menu li {
        margin: 20px 0;
        width: 100%;
        text-align: center;
    }
    
    .nav-menu a {
        font-size: 1.5rem;
        display: block;
        padding: 15px 0;
        width: 100%;
    }
    
    .hero h1 {
        font-size: 2.3rem;
    }
    
    .hero-btns {
        flex-direction: column;
    }
    
    .hero-btns .btn {
        width: 100%;
        text-align: center;
    }
    
    .clients-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .client-item {
        height: 150px;
    }
    
    .section-header h2 {
        font-size: 2.3rem;
    }
    
    .clients-cta {
        padding: 30px;
    }
    
    .products-visual {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .clients-cta h3 {
        font-size: 1.6rem;
    }
    
    .products-visual {
        grid-template-columns: 1fr;
    }
}