/* Reset and base styles */

:root {
    /* Primary Green Palette */
    --primary: #2ecc71;        /* Vibrant, fresh green */
    --primary-dark: #27ae60;   /* Deeper green for contrast */
    --primary-light: #90ee90;  /* Soft, light green */

    /* Accent Colors */
    --accent: #3498db;         /* Modern blue for contrast */
    --accent-dark: #2980b9;    /* Deeper blue */

    /* Neutral Colors */
    --dark: #2c3e50;           /* Deep charcoal for text */
    --medium-gray: #7f8c8d;    /* Soft gray for secondary text */
    --light: #ecf0f1;          /* Very light gray/white for backgrounds */
    --white: #ffffff;          /* Pure white for clean spaces */

    /*Secondary colors */
    --secondary: #8BC34A;
    --secondary-light: #9ea992;

    /* Supporting Colors */
    --success: #2ecc71;        /* Green for positive actions */
    --warning: #f39c12;        /* Warm orange for warnings */
    --error: #e74c3c;          /* Bright red for errors */
    /*--primary: #4CAF50;
    --primary-dark: #388E3C;
    
    --accent: #FF9800;
    --dark: #212121;
    --light: #FAFAFA;
    --gray: #757575;*/
    
} 

/* Dark Mode Styles */
html[data-theme="dark"] {
    --primary: #4caf50;
    --primary-dark: #388e3c;
    --secondary-light:#7f8c8d;
    --accent: #2196f3;
    --accent-dark: #1976d2;
    
    --dark: var(--dark-text-primary);
    --light: var(--dark-background);
    --gray: var(--dark-text-secondary);

    background-color: var(--dark-background);
    color: var(--dark-text-primary);
}

html[data-theme="dark"] body {
    background-color: var(--dark-background);
    color: var(--dark-text-primary);
}

html[data-theme="dark"] header {
    background: linear-gradient(135deg, var(--dark-surface), var(--dark-background));
    box-shadow: 0 2px 10px rgba(255, 255, 255, 0.1);
}

/* Add similar modifications for other elements */
/* Dark Mode Color Palette */
:root {
    /* Light Mode Colors */
    --primary-light: #2ecc71;
    --primary: #27ae60;
    --primary-dark: #1e8449;
    
    --accent-light: #3498db;
    --accent: #2980b9;
    --accent-dark: #21618c;
    
    --text-primary: #2c3e50;
    --text-secondary: #7f8c8d;
    
    --background-light: #ecf0f1;
    --background-white: #ffffff;
    
    --success: #2ecc71;
    --warning: #f39c12;
    --error: #e74c3c;

    /* Dark Mode Colors */
    --dark-background: #373737;
    --dark-surface: #1e1e1e;
    --dark-text-primary: #e0e0e0;
    --dark-text-secondary: #a0a0a0;
    
    /* Transition for smooth color change */
    color-scheme: light dark;
}

/* Base Dark Mode Styles */
@media ([data-theme="dark"])  {
    :root {
        --primary: #4caf50;
        --primary-dark: #388e3c;
        
        --accent: #2196f3;
        --accent-dark: #1976d2;
        
        --dark: var(--dark-text-primary);
        --light: var(--dark-background);
        --gray: var(--dark-text-secondary);
    }

    body {
        background-color: var(--dark-background);
        color: var(--dark-text-primary);
    }

    header {
        background: linear-gradient(135deg, var(--dark-surface), var(--dark-background));
        box-shadow: 0 2px 10px rgba(255, 255, 255, 0.1);
    }

    .hero {
        background-color: var(--dark-background);
        color: var(--dark-text-primary);
    }

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

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

    .features, 
    .products, 
    .locations {
        background-color: var(--dark-surface);
    }

    .feature-card {
        background-color: var(--dark-background);
        color: var(--dark-text-primary);
        box-shadow: 0 4px 6px rgba(255, 255, 255, 0.05);
    }

    h1, h2, h3, h4 {
        color: var(--dark-text-primary);
    }

    .nav-links a {
        color: var(--dark-text-primary);
    }

    footer {
        background-color: var(--dark-surface);
        color: var(--dark-text-secondary);
    }

    img {
        filter: brightness(0.8) contrast(1.2);
    }
}

/* Optional: Manual Dark Mode Toggle */
.dark-mode-toggle {
    position: fixed;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    z-index: 1000;
    top:30px;
}




html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
}



/* Optional: If you want to add a web font import for Inter */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
}



h1, h2, h3, h4 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--dark);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

h2:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 100px;
    background-color: var(--accent-dark);
}

section + section {
    gap:20rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

section {
    padding: 5rem 0;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: var(--accent-dark);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

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

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

.text-center {
    text-align: center;
}

/* Header and Navigation */
header {
    background: linear-gradient(157deg, var(--light), var(--secondary-light));
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    height: 100px;
    display:flex;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    margin-right: 0.5rem;
}

.logo h1 {
    font-size: 1.5rem;
    margin: 0;
    color: var(--primary);
}

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

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    transition: color 0.3s ease;
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark);
}


/* Hero Section */
.hero {
    /*background:linear-gradient(rgb(136 185 85 / 50%), rgba(0, 0, 0, 0.5)), url(/api/placeholder/1200/600) center / cover no-repeat;*/
    background-color: var(--light);
    display: flex;
    align-items: center;
    color: var(--gray);
    padding-top: 100px;
    margin-top: 0;
    height: auto;
    min-height: 100vh;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* About Section */
.about {
    background: var(--secondary-light);
}
.about-content {
    max-width: 800px;
    margin-top: 20px;
}


/* Features Section */
.features {
    background: var(--light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background-color: var(--secondary-light);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--accent-dark);
    margin-bottom: 1rem;
}

/* Products Section */
.products {
    background-color:var(--secondary-light);
}

.product-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.product-category {
    background-color: var(--light);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.product-img {
    height: 200px;
    width: 100%;
    object-fit: cover;
}

.product-info {
    padding: 1.5rem;
}

/* Locations Section */
.locations {
    background-color: var(--light);
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.location-card {
    background-color: var(--secondary-light);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.location-card:hover {
    transform: translateY(-5px);
}

.location-icon {
    font-size: 2.5rem;
    color: var(--accent-dark);
    margin-bottom: 1rem;
}

#scheduleacall {
    display: none;
}

/* Testimonials Section */
.testimonials {
    background-color: white;
}

.testimonial-slider {
    margin-top: 2rem;
    position: relative;
    overflow: hidden;
}

.testimonial-slide {
    display: none;
    padding: 2rem;
    text-align: center;
    background-color: var(--light);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-slide.active {
    display: block;
}

.client-info {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1.5rem;
}

.client-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
}

.slider-controls {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.slider-btn {
    background-color: transparent;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
    margin: 0 1rem;
    transition: color 0.3s ease;
}

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

/* Contact Section */
.contact {
    background-color: var(--secondary-light);
}

.contact-form {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

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

/* Footer */
footer {
    background-color: var(--dark);
    color: var(--light);
    padding: 3rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer {
    display: flex;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
    color: var(--light);
}

.copyright {

    vertical-align: middle;
    display: inline-flex;
    flex-direction: column-reverse;

}

.footer-logo img {
    height: 50px;
    margin-right: 0.5rem;
}

.footer-links h3 {
    color: white;
    margin-bottom: 1.5rem;
}

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

.footer-links li {
    margin-bottom: 0.8rem;
}

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

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

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 2rem;
    border-radius: 8px;
    max-width: 500px;
    position: relative;
}

.close-modal {
    position: absolute;
    right: 1.5rem;
    top: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
}

.success-message {
    text-align: center;
    color: var(--primary);
}

/* Responsive Styles */
@media (max-width: 992px) {

    .about-content {
        grid-template-columns: 1fr;
    }

    .hero{
       margin-top:0;
       padding-top: 12px;
       min-height: 100vh;
    }

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

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 0;
    }

    .hero-content > div {
        margin-bottom: 2rem; /* Add some space between stacked elements */
    }

    .hero-btns {
        flex-direction: column;
        align-items: center;
    }

    .hero-btns .btn {
        width: 200px;
        margin-bottom: 1rem;
    }
}


@media (max-width: 768px) {

    .hero {
        padding-top: 80px; /* Adjust padding for smaller mobile screens */
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 50%;
        width: 50%;
        background-color:var(--secondary-light);
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 0;
        text-align: center;
        padding: 0.8rem 0;
    }

    .mobile-menu-btn {
        display: block;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 992px) and (min-width: 771px) {
    .hero {
        margin-top: 0;
        padding-top: 80px; /* Increased padding to ensure full visibility */
        min-height: 100vh;
    }

    .header-content {
        position: relative;
        z-index: 1000;
    }

    .hero-content {
        grid-template-columns: 1fr 1fr;
        text-align: left;
        gap: 0;
    }
}

@media (max-width: 770px) {
    .hero {
        margin-top: 0;
        padding-top: 80px;
        min-height: 100vh;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .header-content {
        position: relative;
        z-index: 1000;
    }
}


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

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 99;
}

.back-to-top.visible {
    opacity: 1;
}

.back-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-5px);
}
