/*---------------------------------------------------
# Base Styles
---------------------------------------------------*/
:root {
    /* Brand Colors */
    --primary-color: #b4d232; /* Lime green from logo */
    --secondary-color: #4d5d5e; /* Dark gray from logo */
    --primary-color-light: #cfe26a;
    --secondary-color-light: #6f8383;
    --white-color: #ffffff;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --grey-color: #6c757d;
    --light-grey-color: #e9ecef;
    
    /* Font Settings */
    --body-font: 'Poppins', sans-serif;
    --heading-font: 'Poppins', sans-serif;
    
    /* Other Variables */
    --transition: all 0.3s ease-in-out;
    --section-padding: 80px 0;
    --border-radius: 5px;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    color: var(--dark-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--secondary-color);
    transition: var(--transition);
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

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

.section-padding {
    padding: var(--section-padding);
}

.bg-light {
    background-color: var(--light-color);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    position: relative;
    margin-bottom: 20px;
    padding-bottom: 20px;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 3px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 25%;
}

.section-header h2 span {
    color: var(--primary-color);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--grey-color);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

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

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

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

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

/*---------------------------------------------------
# Header Styles
---------------------------------------------------*/
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white-color);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

#header.scrolled {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo img {
    height: 50px;
}

.nav-menu {
    display: flex;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu li a {
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

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

.nav-menu li a.active::after,
.nav-menu li a:hover::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 0;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 24px;
    color: var(--secondary-color);
}

/*---------------------------------------------------
# Hero Section
---------------------------------------------------*/
.hero-section {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1590283603385-17ffb3a7f29f?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1740&q=80') no-repeat center center/cover;
    color: var(--white-color);
    display: flex;
    align-items: center;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

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

.hero-buttons .btn {
    margin: 0 10px;
}

/*---------------------------------------------------
# About Section
---------------------------------------------------*/
.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text h3 {
    color: var(--secondary-color);
    margin-top: 20px;
    margin-bottom: 15px;
}

.about-text ul {
    margin-top: 20px;
}

.about-text ul li {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
}

.about-text ul li i {
    color: var(--primary-color);
    margin-right: 10px;
    margin-top: 5px;
}

.about-stats {
    flex: 1;
    min-width: 300px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.stats-item {
    background-color: var(--white-color);
    padding: 25px;
    text-align: center;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.stats-item i {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.stats-item h3 {
    font-size: 2rem;
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.stats-item p {
    color: var(--grey-color);
    margin-bottom: 0;
}

/*---------------------------------------------------
# Services Section
---------------------------------------------------*/
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    margin-bottom: 20px;
}

.service-icon i {
    font-size: 3rem;
    color: var(--primary-color);
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.service-card p {
    color: var(--grey-color);
    margin-bottom: 0;
}

/*---------------------------------------------------
# Clients Section
---------------------------------------------------*/
.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 30px;
}

.client-item {
    background-color: var(--white-color);
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
}

.client-item:hover {
    transform: translateY(-5px);
}

.client-logo {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.client-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0;
    color: var(--secondary-color);
}

/*---------------------------------------------------
# Team Section
---------------------------------------------------*/
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.team-member {
    background-color: var(--white-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-10px);
}

.team-img {
    height: 200px;
    background-color: var(--light-grey-color);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--secondary-color);
}

.team-info {
    padding: 20px;
    text-align: center;
}

.team-info h3 {
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.team-info .position {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 15px;
}

.team-info .description {
    color: var(--grey-color);
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: var(--light-grey-color);
    color: var(--secondary-color);
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
}

/*---------------------------------------------------
# Testimonials Section
---------------------------------------------------*/
.testimonials-slider {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.testimonial-item {
    flex: 1;
    min-width: 300px;
}

.testimonial-content {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    position: relative;
}

.testimonial-content i {
    font-size: 2rem;
    color: var(--primary-color);
    opacity: 0.3;
    position: absolute;
    top: 20px;
    left: 20px;
}

.testimonial-content p {
    margin: 20px 0;
    position: relative;
    z-index: 1;
}

.testimonial-author h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.testimonial-author p {
    color: var(--primary-color);
    margin-bottom: 0;
    font-weight: 500;
}

/*---------------------------------------------------
# Contact Section
---------------------------------------------------*/
.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 50px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-info-item {
    margin-bottom: 30px;
}

.contact-info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.contact-info-item h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.contact-info-item p {
    color: var(--grey-color);
}

.contact-info-item p a {
    color: var(--grey-color);
}

.contact-info-item p a:hover {
    color: var(--primary-color);
}

.contact-info .social-links {
    justify-content: flex-start;
    margin-top: 40px;
}

.contact-form {
    flex: 1;
    min-width: 300px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--light-grey-color);
    border-radius: var(--border-radius);
    font-family: var(--body-font);
    font-size: 1rem;
    transition: var(--transition);
}

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

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

.map-container {
    margin-top: 50px;
}

.map-container h3 {
    text-align: center;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.google-map {
    height: 450px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.google-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/*---------------------------------------------------
# Footer
---------------------------------------------------*/
#footer {
    background-color: var(--secondary-color);
    color: var(--white-color);
    padding-top: 80px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    flex: 1;
    min-width: 250px;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 20px;
}

.footer-logo p {
    opacity: 0.8;
}

.footer-links,
.footer-services,
.footer-contact {
    flex: 1;
    min-width: 200px;
}

.footer-links h3,
.footer-services h3,
.footer-contact h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.footer-links ul li,
.footer-services ul li,
.footer-contact ul li {
    margin-bottom: 15px;
}

.footer-links ul li a,
.footer-services ul li a {
    color: var(--white-color);
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links ul li a:hover,
.footer-services ul li a:hover {
    opacity: 1;
    color: var(--primary-color);
}

.footer-contact ul li {
    display: flex;
    align-items: flex-start;
}

.footer-contact ul li i {
    margin-right: 10px;
    margin-top: 5px;
    color: var(--primary-color);
}

.footer-contact ul li a {
    color: var(--white-color);
    opacity: 0.8;
    transition: var(--transition);
}

.footer-contact ul li a:hover {
    opacity: 1;
    color: var(--primary-color);
}

.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.copyright p {
    opacity: 0.8;
    margin-bottom: 0;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white-color);
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
}

/*---------------------------------------------------
# Back to Top Button
---------------------------------------------------*/
.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

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

.back-to-top:hover {
    background-color: var(--primary-color-light);
}

/*---------------------------------------------------
# Responsive Styles
---------------------------------------------------*/
@media screen and (max-width: 992px) {
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
}

@media screen and (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 80px);
        background-color: var(--white-color);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 50px;
        transition: var(--transition);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 15px 0;
    }
    
    .about-content, 
    .contact-content, 
    .footer-content {
        gap: 30px;
    }
    
    .testimonials-slider {
        flex-direction: column;
    }
}

@media screen and (max-width: 576px) {
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-buttons .btn {
        margin-bottom: 10px;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}
