:root {
    --primary-green: #2E8B57; /* SeaGreen */
    --light-green: #E8F5E9;
    --dark-green: #1B5E20;
    --primary-white: #FFFFFF;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #F9F9F9;
    --border-color: #E0E0E0;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    background-color: var(--primary-white);
    overflow-x: hidden;
    scroll-behavior: smooth;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 50px;
    background: var(--primary-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 10px 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo-container {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 70px;
    max-height: 70px;
    width: auto;
    transition: height 0.3s ease;
}

header.scrolled .logo-img {
    height: 50px;
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--primary-green);
    cursor: pointer;
    transition: color 0.3s ease;
}

.mobile-nav-toggle:hover {
    color: var(--dark-green);
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-green);
    transition: width 0.3s ease;
}

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

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-green);
}

/* Hero Section */
.hero {
    height: 90vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    margin-top: 90px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    z-index: -1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); 
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 0 20px;
    color: var(--primary-white);
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.6);
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 700;
    animation: slideUp 1s ease-out forwards;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    font-weight: 400;
    animation: slideUp 1s ease-out 0.3s forwards;
    opacity: 0;
}

.btn-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: slideUp 1s ease-out 0.6s forwards;
    opacity: 0;
}

.btn {
    padding: 12px 35px;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
    border: none;
}

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

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

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-white);
    color: var(--primary-white);
}

.btn-outline:hover {
    background: var(--primary-white);
    color: var(--primary-green);
}

/* Sections Common */
section {
    padding: 100px 40px;
}

/* Inner section wrapper — caps content width on all screens */
.section-inner {
    max-width: 1300px;
    margin: 0 auto;
    width: 100%;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 20px;
    text-align: center;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 50px;
    font-size: 1.1rem;
}

/* Two Column Layout */
.two-col {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.col-text {
    flex: 1;
}

.col-text p {
    margin-bottom: 20px;
    color: var(--text-light);
    font-size: 1.1rem;
}

.col-image {
    flex: 1;
}

.col-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Why Choose Us Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--primary-white);
    padding: 50px 40px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    border-color: var(--primary-green);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-green);
    margin-bottom: 25px;
}

.feature-card h3 {
    margin-bottom: 15px;
    color: var(--text-dark);
    font-size: 1.5rem;
}

.feature-card p {
    color: var(--text-light);
    font-size: 1rem;
}

/* Contact Section & Form */
.contact-section {
    background-color: var(--bg-light);
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--primary-white);
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input, .form-group textarea {
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--primary-green);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.submit-btn {
    background-color: var(--primary-green);
    color: var(--primary-white);
    padding: 15px;
    font-size: 1.1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

.submit-btn:hover {
    background-color: var(--dark-green);
}

/* Footer */
footer {
    background-color: var(--text-dark);
    color: var(--primary-white);
    padding: 60px 5% 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 40px;
    align-items: start;
}

.footer-desc {
    color: #aaa;
    line-height: 1.7;
    font-size: 0.95rem;
}

.footer-links h4 {
    margin-bottom: 20px;
    color: var(--primary-white);
    font-size: 1.2rem;
    padding-top: 5px;
}

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

.footer-links ul li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
}

.footer-links ul li i {
    flex-shrink: 0;
    margin-top: 5px;
}

.footer-links ul li a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--primary-green);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    color: #888;
    font-size: 0.9rem;
}

/* Animations */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* About Page Specific */
.hero-about {
    height: 70vh;
    min-height: 520px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.value-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--primary-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.value-card:hover {
    border-color: var(--primary-green);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.value-card i {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 20px;
}

/* ============================================
   LARGE SCREEN (1400px+) — Wide Monitor Fix
   ============================================ */
@media (min-width: 1400px) {
    header {
        padding: 15px 60px;
    }

    header.scrolled {
        padding: 10px 60px;
    }

    .nav-container {
        max-width: 1600px;
    }

    section {
        padding: 100px 40px !important;
    }

    .two-col {
        max-width: 1320px;
        gap: 80px;
    }

    .footer-content {
        max-width: 1320px;
    }

    footer {
        padding: 80px 40px 30px;
    }

    .contact-container {
        max-width: 900px;
    }

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

    .hero p {
        font-size: 1.4rem;
    }

    .hero-content {
        max-width: 1100px;
    }
}

/* ============================================
   EXTRA LARGE SCREEN (1600px+)
   ============================================ */
@media (min-width: 1600px) {
    .nav-container {
        max-width: 1540px;
    }

    section {
        padding: 100px 40px !important;
    }

    .two-col {
        max-width: 1520px;
        gap: 90px;
    }

    .footer-content {
        max-width: 1520px;
    }

    footer {
        padding: 80px 40px 30px;
    }
}

/* ============================================
   ULTRA WIDE SCREEN (1800px+) — 1965x1170 Fix
   ============================================ */
@media (min-width: 1800px) {
    header {
        padding: 15px 60px;
    }

    header.scrolled {
        padding: 10px 60px;
    }

    .nav-container {
        max-width: 1840px;
    }

    section {
        padding: 120px 60px !important;
    }

    .two-col {
        max-width: 1720px;
        gap: 100px;
    }

    .footer-content {
        max-width: 1720px;
    }

    footer {
        padding: 80px 60px 30px;
    }

    .contact-container {
        max-width: 1100px;
    }

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

    .hero p {
        font-size: 1.5rem;
    }

    .hero-content {
        max-width: 1300px;
    }

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

/* ============================================
   SMALL SCREEN (768px and below) — Mobile
   ============================================ */
@media (max-width: 768px) {
    .two-col {
        flex-direction: column;
    }
    
    section {
        padding: 80px 20px !important;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
    
    .mobile-nav-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--primary-white);
        box-shadow: 0 10px 25px rgba(0,0,0,0.08);
        padding: 20px 50px;
        gap: 20px;
        border-top: 1px solid var(--border-color);
        z-index: 1000;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .contact-container {
        padding: 30px 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* Premium Animation & Hover Effects */

/* Navigation Center-Out Hover */
.nav-links a::after {
    left: 50%;
    transform: translateX(-50%);
}

/* Card Hover Enhancements */
.product-card {
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.product-card:hover {
    transform: translateY(-8px) scale(1.015);
    box-shadow: 0 20px 40px rgba(14, 122, 61, 0.12);
    border-color: var(--primary-green);
}
.product-card .product-img {
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.product-card:hover .product-img {
    transform: scale(1.08);
}

/* Certifications Hover */
.cert-card {
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.5s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.4s ease;
    cursor: pointer;
    border: 1px solid transparent;
}
.cert-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(14, 122, 61, 0.1);
    border-color: var(--primary-green);
    background-color: var(--light-green) !important;
}
.cert-card i {
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.cert-card:hover i {
    transform: scale(1.2) rotate(5deg);
    color: var(--dark-green) !important;
}

/* Core Values Card Hover */
.value-card {
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.5s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.4s ease !important;
    cursor: pointer;
    border: 1px solid var(--border-color) !important;
}
.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(14, 122, 61, 0.1);
    border-color: var(--primary-green) !important;
    background-color: var(--light-green) !important;
}
.value-card i {
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.value-card:hover i {
    transform: scale(1.2) rotate(-5deg);
    color: var(--dark-green) !important;
}

/* Form inputs */
.form-group input, .form-group textarea {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.form-group input:focus, .form-group textarea:focus {
    box-shadow: 0 0 0 3px rgba(46, 139, 87, 0.25);
    border-color: var(--primary-green) !important;
}

/* Subtle Zoom on Column Images */
.col-image {
    overflow: hidden;
    border-radius: 10px;
}
.col-image img {
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.col-image:hover img {
    transform: scale(1.05);
}

/* GSAP Smooth Reveal Helper */
.gsap-reveal {
    opacity: 0;
    visibility: hidden;
    transform: translateY(40px);
    will-change: transform, opacity;
}
