:root {
    --primary-green: rgb(6, 47, 9);
    --light-green: #8bc34a;
    --natural-brown: #5d4037;
    --cream: #f5f5f0;
    --text-dark: #333;
    --dark: #001107;
}

html {
    overflow-x: hidden;
}

body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
    color: var(--text-dark);
    background-color: var(--cream);
    line-height: 1.6;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

nav {
    position: fixed;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 6rem;
    top: 0;
    border-bottom: 0.001px solid rgba(255, 255, 255, 0.3);
    z-index: 1000;
    left: 0;
    right: 0;
    transition: all 0.5s ease;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    padding: 1rem 5%;
    max-width: 100%;
    margin: 0 auto;
}

nav.scrolled {
    background: var(--primary-green); 
    box-shadow: 0 7px 10px rgba(0,0,0,0.3);
    height: 4rem;
    border: none;
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--cream);
    text-decoration: none;
    font-weight: bold;
}

.logo img {
    width: auto;
    height: 2rem;
    margin: 0;
    object-fit: cover;
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 3.2rem;
    flex-wrap: nowrap;
}

nav ul li {
    margin-left: 0;
}

nav ul li a {
    text-decoration: none;
    color: var(--cream);
    font-weight: 600;
    transition: color 0.3s;
    white-space: nowrap;
}

nav ul li a:hover {
    color: var(--light-green);
    border-bottom: 2px solid var(--light-green);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--cream);
    margin: 5px 0;
    --webkit-transform: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.hero {
    background-image: url(./images/hero-bg.jpg);
    background-size: cover;
    background-position: center;
    height: 95vh;
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
    background-repeat: no-repeat;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 2;
    color: var(--cream);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

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

.btn {
    display: inline-block;
    background-color: var(--light-green);
    color: var(--primary-green);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s;
}

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

.section {
    padding: 5rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    color: var(--primary-green);
    margin-bottom: 3rem;
    font-size: 2rem;
}

.why-us {
    background-color: var(--primary-green);
    padding: 2rem 4rem;
}

.why-us i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.why-us h2 {
    color: var(--cream);
    text-align: center;
    margin: 0;
    padding-bottom: 2rem;
}

.why-us-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.why-us-item {
    flex: 1;
    text-align: center;
    padding: 1rem 1rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    color: var(--cream);
}

.why-us-item:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.why-us-item div {
    font-weight: bold;
    font-size: 2rem;
}

.why-us h3 {
    margin: 1rem 0;
}

.why-us p {
    margin: 0;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 5rem;
}

/* Company Section Specific Styles */
.company {
    background-color: #f9f9f9;
    padding-bottom: 4rem;
}

/* Proof Points Styling */
.proof {
    background-color: var(--primary-green);
    padding: 2rem 4rem;
    padding-top: 0.5rem;
    margin: 0;
}

.proof-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    padding: 0 5%;
}

.proof-point {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.proof-point:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.proof-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background-color: rgba(139, 195, 74, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary-green);
    transition: all 0.3s ease;
}

.proof-point:hover .proof-icon {
    background-color: var(--primary-green);
    color: white;
    transform: rotateY(180deg);
}

.proof-point h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.proof-point p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .proof-points {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 3rem auto 0;
    }
}

.company .about-content {
    flex-direction: row-reverse;
}

.company-mission {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: rgba(6, 47, 9, 0.05);
    border-left: 4px solid var(--primary-green);
    border-radius: 0 8px 8px 0;
}

.company-mission h3 {
    color: var(--primary-green);
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.company-mission p {
    margin: 0;
    color: var(--text-dark);
}

.about-description {
    flex: 1;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.about-image:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* Carousel Styles */
.about-image {
    position: relative;
    width: 100%;
    height: 200px;
    min-height: 350px; /* Minimum height for smaller screens */
    max-width: 600px; /* Maximum width for larger screens */
    margin: 0 auto;
}

.leaves-carousel {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 4/3; /* Maintain aspect ratio */
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
    position: relative;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.8);
}

/* Responsive Breakpoints */
/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    .about-image {
        min-height: 400px;
    }
    
    .carousel-btn {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .about-image {
        min-height: 450px;
    }
    
    .carousel-btn {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }
    
    .dot {
        width: 14px;
        height: 14px;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .about-image {
        min-height: 500px;
    }
    
    .leaves-carousel {
        aspect-ratio: 16/9; /* Wider aspect ratio for larger screens */
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .about-image {
        min-height: 550px;
        max-width: 800px; /* Slightly wider for extra large screens */
    }
    
    .carousel-btn {
        width: 55px;
        height: 55px;
        font-size: 1.5rem;
    }
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.7);
    color: var(--primary-green);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.prev-btn {
    left: 15px;
}

.next-btn {
    right: 15px;
}

.carousel-dots {
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.dot.active,
.dot:hover {
    background-color: white;
    transform: scale(1.2);
    border-color: white;
}

/* Ensure proper image display */
.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-image:hover img {
    transform: scale(1.1);
}

.products {
    background-color: white;
}

.products h2 {
    text-align: center;
}

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

.product-card {
    background-color: var(--cream);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

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

.product-image {
    height: 250px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    color: var(--primary-green);
    margin-top: 0;
}

.gallery {
    background-color: var(--cream);
    padding: 3rem 4rem;
}

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

.gallery-item {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    display: block;
    transition: transform 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.map {
    display: inline;
    text-align: center;
    width: 100%;
    margin: 0;
    padding: 0;
}

.map p {
    margin: 0;
    padding: 0;
}

.map p iframe {
    margin: 0;
    padding: 0;
    width: 100%;
}

.contact {
    background-image: url(./images/contact-bg.jpg);
    background-size: cover;
    background-position: center;
    max-width: 100%;
    width: 100%;
    height: fit-content;
    color: white;
    position: relative;
    z-index: 1;
    padding: 4rem 1rem;
    text-align: center;
}

.contact:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: -1;
}

.contact .section-title {
    color: white;
    margin-bottom: 2rem;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 10rem;
    max-width: 90%;
    margin: 0 auto;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(5px);
    text-align: left;
}

.contact-info h3 {
    font-size: 1.5rem;
}

.contact-info h3 {
    color: white;
    margin: 1.5rem 0 1rem;
    font-size: 1.5rem;
    line-height: 1.2;
}

.contact-info p {
    margin: 0.5rem 0;
    line-height: 1.6;
}

.contact .socials a {
    display: block;
    gap: 1rem;
    text-decoration: none;
    color: var(--cream);
}

.contact .socials a:hover {
    color: var(--light-green);
}

footer {
    background-color: var(--dark);
    color: white;
    text-align: center;
    padding: 2rem;
}

.whatsapp-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.whatsapp-cta a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
}

.whatsapp-cta a:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
}

.whatsapp-icon {
    width: 30px;
    height: 30px;
}

@media (max-width: 1200px) {
    .about-content {
        gap: 3rem;
    }
    
    .why-us-content {
        gap: 1.5rem;
    }
    
    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .why-us-item {
        padding: 3rem 1rem;
    }

    .about-content {
        flex-direction: column;
    }
    
    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .contact {
        display: block;
        width: 100%;
        padding: 2rem;
    }
    
    .contact-info {
        display: block;
        justify-content: center;
        gap: 1rem;
    }
    
    .contact-details {
        text-align: center;
    }
}

@media (max-width: 992px) {
    .company .about-content,
    .about .about-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .company .about-image,
    .about .about-image {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .company-mission {
        margin-top: 1.5rem;
    }
    nav {
        background-color: rgba(6, 47, 9, 0.8);
        border: none;
        height: 4rem;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
     
    .hamburger {
        display: block;
        z-index: 1001;
    }

    .nav-links {
        position: fixed;
        top: 64px;
        left: -100%;
        gap: 0;
        flex-direction: column;
        background-color: var(--primary-green);
        width: 100%;
        text-align: left;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        transition: 0.3s ease-in-out;
        padding: 1rem 0;
        display: block;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 0;
        padding: 0.8rem 2rem;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links li a {
        display: block;
        padding: 0.5rem 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }

    .hero {
        height: 90vh;
    }

    .why-us-content {
        flex-direction: column;
        gap: 1.5rem;
    }

    .section {
        padding: 4rem 2rem;
    }
    
    .contact-info {
        display: block;
        gap: 2rem;
    }
}

@media (max-width: 576px) {
    .logo {
        font-size: 1.2rem;
    }

    

    .section {
        padding: 3rem 1rem;
    }
    
    .hero {
        height: 80vh;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .btn {
        padding: 0.6rem 1.5rem;
    }
    
    .why-us-item {
        padding: 2rem 1rem;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .whatsapp-cta {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-cta a {
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-icon {
        width: 25px;
        height: 25px;
    }
}