
:root {
    --primary-color: #2C5530;     /* Dark forest green */
    --secondary-color: #1B4D2E;   /* Deeper forest green */
    --text-color: #333333;        /* Dark gray for text */
    --light-text: #666666;        /* Medium gray for secondary text */
    --background: #ffffff;        /* White background */
    --light-background: #f0f0f0;  /* Light gray background */
    --accent-gray: #4A4A4A;       /* Darker gray for accents */
    --light-green: #3E7344;       /* Lighter forest green for hover states */
    --border-color: #E0E0E0;      /* Light gray for borders */
    --nav-text: #ffffff;          /* White text for navigation */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-background);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-color);
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.75rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    color: var(--white);
}

/* Navigation */
header {
    background: var(--primary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0; /* Ensure it starts from the left edge */
    right: 0; /* Ensure it extends to the right edge */
    z-index: 1000;
    height: 80px;
    opacity: 1;
    backdrop-filter: none;
}


nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    width: 100%;
    background-color: var(--primary-color);
    opacity: 1;
}

header.scrolled {
    background-color: var(--primary-color); /* Same color when scrolled */
    opacity: 1 !important;
}

nav.scrolled {
    background-color: var(--primary-color); /* Same color when scrolled */
    opacity: 1 !important;
}


/* Navigation Links */
.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: 1;
}

.nav-links a:hover {
    opacity: 0.9;
    color: var(--white); /* Ensure hover state keeps text white */
}

.logo {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--nav-text);
    text-decoration: none;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--nav-text);
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.nav-links a:hover {
    opacity: 0.8;
}


/* Container for nav content */
.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}


.nav-links .cta-button {
    background: var(--background);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
}

.nav-links .cta-button:hover {
    background: var(--light-green);
    color: var(--primary-green);
}

/* Hero Section */
.hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--background);
    text-align: center;
}

.hero h1 {
    color: var(--background);
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    color: var(--background);
    opacity: 0.9;
}

/* Buttons */
.button-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.primary-button {
    background: var(--primary-color);
    color: var(--background);
    border: none;
    padding: 1rem 2rem;
    border-radius: 0.375rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.primary-button:hover {
    background: var(--light-green);
}

.secondary-button {
    background: transparent;
    color: var(--background);
    border: 2px solid var(--background);
    padding: 1rem 2rem;
    border-radius: 0.375rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.secondary-button:hover {
    background: var(--background);
    color: var(--primary-color);
}

/* Feature Cards - Update this section */
/* Features Section */
.features {
    padding: 5rem 0;
    background: var(--background);
    overflow: hidden;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--background);
    padding: 2rem;
    border-radius: 0.5rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-top: 3px solid var(--primary-color);
    /* Remove opacity: 0 from here - let GSAP handle it */
    will-change: opacity, transform;
    visibility: visible !important;
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-light); /* Make sure text is visible */
    line-height: 1.6;
    margin-bottom: 0;
}

/* Benefits Section - Remove hover effects */
.benefit-card {
    background: var(--background);
    padding: 2rem;
    border-radius: 0.5rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-top: 3px solid var(--primary-color);
}

/* Remove hover effect from benefits cards */
.benefit-card:hover {
    transform: none;
}

/* Animation Support */
.gsap-reveal {
    visibility: hidden; /* Hide elements before GSAP reveals them */
}

/* Ensure text colors are correct */
.feature-card p,
.tech-card p,
.benefit-card p {
    color: var(--text-light); /* Update text color for better readability */
}

/* Add smooth transitions */
.feature-card,
.tech-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Remove default hover effects since we're using GSAP */
.feature-card:hover,
.tech-card:hover {
    transform: none;
}

/* Ensure sections have proper spacing */
section {
    position: relative;
    z-index: 1;
}

/* Add container overflow control */
.container {
    overflow: hidden;
    position: relative;
}
/* How It Works Section */
.how-it-works {
    padding: 5rem 0;
    background: var(--light-background);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step {
    background: var(--background);
    text-align: center;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--background);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-weight: 600;
    font-size: 1.25rem;
}
/* Technology Section */
.technology {
    background: var(--background-gray);
    overflow: hidden;
    padding: 5rem 0;
}

.tech-grid {
    display: grid;
    position: relative;
    overflow: hidden;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.tech-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    text-align: left;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--secondary-green);
    will-change: transform, opacity;
    visibility: visible !important;
}

.tech-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.tech-card i {
    font-size: 2.5rem;
    color: var(--secondary-green);
    margin-bottom: 1.5rem;
}

.tech-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.tech-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* How It Works Section */
.how-it-works {
    background: var(--white);
}



/* Benefits Section */
.benefits {
    padding: 5rem 0;
    background: var(--background);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-card {
    background: var(--background);
    padding: 2rem;
    border-radius: 0.5rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    border-top: 3px solid var(--primary-color);
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

/* CTA Section */
.cta {
    padding: 5rem 0;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--background);
}

.cta h2 {
    color: var(--background);
}

.contact {
    margin-top: 2rem;
    font-size: 1.25rem;
    color: var(--background);
}

/* Footer */
footer {
    background: var(--primary-color);
    color: var(--background);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    color: var(--background);
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: var(--background);
    font-size: 1.5rem;
    transition: opacity 0.3s ease;
}

.social-links a:hover {
    opacity: 0.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Mobile Menu */
.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--background);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary-color);
        padding: 1rem;
        flex-direction: column;
        align-items: center;
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: block;
    }

    .hero {
        padding: 6rem 0 3rem;
    }

    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .button-group {
        flex-direction: column;
    }

    .feature-card, .benefit-card {
        padding: 1.5rem;
    }
}

@media (max-width: 1200px) {
    nav {
        padding: 1rem;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 1rem;
    }
    
    .nav-links {
        gap: 1rem;
    }
}
/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate {
    animation: fadeIn 0.6s ease forwards;
}

/* Utilities */
.text-center {
    text-align: center;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mt-2 {
    margin-top: 2rem;
}


/* Section Padding Adjustments */
section {
    padding: 5rem 0;
    scroll-margin-top: 100px; /* This is the key addition */
}

/* Specific section adjustments if needed */
.technology {
    background: var(--background-gray);
    scroll-margin-top: 100px;
    padding-top: 5rem;
}

/* Ensure header doesn't overlap content */
header {
    background: var(--primary-green);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: 80px; /* Fixed height for consistency */
}

/* Adjust first section to account for fixed header */
.hero {
    padding-top: calc(5rem + 80px); /* Added header height to existing padding */
}


/* Email Link Styles */
.email-link {
    color: var(--white);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.email-link:hover {
    opacity: 0.8;
}

/* Footer email link specific styling */
.footer-section .email-link {
    color: var(--white);
    position: relative;
}

.footer-section .email-link:hover {
    opacity: 0.8;
}
/* Animation-related styles */
.nav-scrolled {
    background: var(--primary-green) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Optional loading screen */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-green);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Ensure smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Prevent animation flickering */
.feature-card, .tech-card, .workflow-card, .benefit-card {
    will-change: transform;
}


.typewriter-container {
    position: relative;
    min-height: 100px;
    margin: 2rem auto;
    padding: 0 1rem;
    max-width: 800px;
    display: flex;
    flex-wrap: wrap;
}

#typewriter-text {
    color: var(--white);
    font-size: 1.25rem;
    line-height: 1.6;
    opacity: 0.9;
}

/* Feature Cards */
.feature-card {
    will-change: opacity;
    visibility: visible !important;
}

/* Technology Cards */
.tech-grid {
    overflow: hidden; /* Ensure off-screen cards aren't visible */
}

.tech-card {
    will-change: transform, opacity;
    visibility: visible !important;
}

.secondary-button {
    position: relative;
    overflow: hidden;
}

.secondary-button.loading {
    cursor: wait;
    opacity: 0.8;
}

.button-text {
    display: inline-block;
    transition: all 0.3s ease;
}

/* Optional loading animation */
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

.secondary-button.loading .button-text {
    animation: pulse 1.5s infinite;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.primary-button,
.secondary-button {
    background: transparent;
    color: var(--background);
    border: 2px solid var(--background);
    padding: 1rem 2rem;
    border-radius: 0.375rem;
    font-weight: 500;
    font-size: 1rem; /* Ensure consistent font size */
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none; /* This ensures links look like buttons */
    display: inline-flex; /* This helps with alignment */
    align-items: center;
    justify-content: center;
    min-width: 160px; /* Optional: ensures buttons are same width */
    height: 48px; /* Optional: ensures buttons are same height */
}

.secondary-button:hover {
    background: var(--background);
    color: var(--primary-color);
}

/* If you're using button-text spans */
.button-text {
    font-size: 1rem; /* Ensure consistent font size */
    font-weight: 500;
}

/* Ensure anchor tags styled as buttons match regular buttons */
a.secondary-button {
    font-size: 1rem;
    line-height: 1.5;
}
