/* Main Styles for CocoFreshCoir */
:root {
    --primary-color: #4caf50;
    --secondary-color: #8bc34a;
    --accent-color: #ff9800;
    --dark-color: #2c3e50;
    --light-color: #f9f9f9;
    --text-color: #333;
    --footer-color: #1e2a38;
    --border-radius: 5px;
    --box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}



header {
    background-color: #8B4513;
    position: fixed;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* style.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    min-height: 8vh;
    background-color:#8B4513;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: relative;
    padding: 1rem 5%;

}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    width: 60px;
    height: 60px;
}

.logo span {
    color: white;
    font-weight: bold;
    font-size: 18px;
}

.nav-links {
    display: flex;
    justify-content: space-around;
    width: 60%;
    list-style: none;
}

.nav-links li {
    padding: 10px 0;
}

.nav-links a {
    color:white;
    text-decoration: none;
    letter-spacing: 1px;
    font-weight: 500;
    font-size: 16px;
    transition: 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
    color:greenyellow;
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color:white ;
    margin: 5px;
    transition: all 0.3s ease;
}

/* Mobile Navigation */
@media screen and (max-width: 1024px) {
    .nav-links {
        width: 70%;
    }
}

@media screen and (max-width: 768px) {
    body {
        overflow-x: hidden;
    }
    
    .nav-links {
        position: absolute;
        right: 0px;
        height: 92vh;
        top: 8vh;
        background-color:#8B4513;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 50%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }
    
    .nav-links li {
        opacity: 0;
    }
    
    .burger {
        display: block;
    }

    /* Added padding to prevent overlap with the burger icon */
    .logo {
        padding-left: 15px;
    }
}

/* Show the menu when active */
.nav-active {
    transform: translateX(0%);
}

/* Animate the burger menu */
.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.toggle .line2 {
    opacity: 0;
}

.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Animation for nav items */
@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0px);
    }
}



/* Hero Section */


.hero {
    background-color: var(--light-color);
    text-align: center;
    padding: 80px 0;
}

.services-hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('file:///C:/Users/USER/Desktop/Coco%20Fresh%20Coir/images/factory1%20.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    position: relative;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color:#8B4513;
}

.hero p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Services Overview Section */
.services-overview {
    padding: 60px 0;
    text-align: center;
}

.services-overview h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.services-overview p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* Services List Section */
.services-list {
    padding: 40px 0 60px;
    background-color: var(--light-color);
}

.service-item {
    display: flex;
    margin-bottom: 40px;
    background-color: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.service-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--primary-color);
    color: #fff;
    font-size: 2.5rem;
    padding: 30px;
    min-width: 150px;
}

.service-content {
    padding: 30px;
}

.service-content h3 {
    color: var(--dark-color);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.service-content p {
    margin-bottom: 15px;
}

.service-content ul {
    margin: 20px 0;
    padding-left: 20px;
}

.service-content ul li {
    position: relative;
    padding-left: 15px;
    margin-bottom: 10px;
}

.service-content ul li::before {
    content: "\2022";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.service-content .btn {
    margin-top: 15px;
}

/* Service Process Section */
.service-process {
    padding: 60px 0;
    text-align: center;
}

.service-process h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 40px;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.process-step {
    flex: 1;
    min-width: 200px;
    padding: 20px;
    background-color: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    position: relative;
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0 auto 15px;
}

.process-step h3 {
    margin-bottom: 10px;
    color: var(--dark-color);
}

/* Testimonials Section */
.testimonials {
    padding: 60px 0;
    background-color: var(--light-color);
    text-align: center;
}

.testimonials h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 40px;
}

.testimonial-slider {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.testimonial {
    background-color: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 30px;
    max-width: 350px;
    text-align: left;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: #fff;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 30px;
}

.cta .btn {
    background-color: #fff;
    color: var(--primary-color);
}

.cta .btn:hover {
    background-color: var(--accent-color);
    color: #fff;
}

/* Footer */
footer {
    padding: 50px 5% 30px;
    background-color: black;
    color: white;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-logo {
    flex: 1;
    min-width: 250px;
}

.footer-links {
    flex: 1;
    min-width: 150px;
}

.footer-links h3 {
    color: white;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: wheat;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    color: #aaa;
}

/* Social Media Icons */
.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #444;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background-color: var(--secondary);
    transform: translateY(-5px);
}

/* Animations */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive */
@media screen and (max-width: 768px) {
    .nav-links {
        position: absolute;
        right: 0;
        height: 92vh;
        top: 8vh;
        background-color: var(--primary);
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 50%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        z-index: 999;
    }

    .nav-links li {
        opacity: 0;
        margin: 2rem 0;
    }

    .burger {
        display: block;
    }

    .nav-active {
        transform: translateX(0%);
    }

    .about-container {
        flex-direction: column;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }
    
    .product-showcase {
        justify-content: center;
    }
}

@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.toggle .line2 {
    opacity: 0;
}

.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}

