/* style.css */

/* Basic reset and font */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

.whatsapp-btn {
    display: flex;
    align-items: center; 
    gap: 8px; 
    text-decoration: none;
    color: white; 
}

.whatsapp-btn img {
    height: 1.4rem; 
    width: 1.4rem;
    vertical-align: middle; 
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    scroll-behavior: smooth;
    /* Smooth scrolling for anchor links */
    padding-top: 80px;
}

/* General Styles */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.bg-light {
    background: #f8f8f8;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-align: center;
    color: #222;
}

.cta-btn {
    display: inline-block;
    padding: 15px 30px;
    background-color: #6E854A;
    color: white;
    text-decoration: none;
    border-radius: 40px;
    transition: background-color 0.3s ease;
    border: 1px solid white;
}

.cta-btn:hover {
    background-color: #0056b3;
    border: none;
}

/* Header and Nav */
header {
    /* background: linear-gradient(to right, #2f831e, #34db95); */
    background: #6E854A;
    color: white;
    padding: 20px 0 100px;
    margin-top: 6rem;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
    color: #5252d7;
}

nav.sticky {
    background-color: #fff;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #5252d7;
}

.logo img {
    max-height: 120px;
    width: auto;
    object-fit: contain;
    margin: 0 auto;
    margin-top: 0.5rem;
}

/* #logoImg {
    height: 5rem;
    width: 5rem;
} */

nav ul {
    list-style: none;
    display: flex;
}

nav li {
    margin-left: 30px;
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #007bff;
}

.hero {
    text-align: center;
    margin-top: 80px;
}

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

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 30px;
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

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

.service {
    position: relative;
    padding: 30px;
    border-radius: 8px;
    background: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-img {
    max-width: 100%;
    height: 300px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.service i {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #007bff;
}

.service h3 {
    margin-bottom: 15px;
    color: #222;
}

.service:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}


/* .service {
    padding: 30px;
    border-radius: 8px;
    background: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service i {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #007bff;
}

.service h3 {
    margin-bottom: 15px;
    color: #222;
}

.service:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
} */

/* Contact Section */
#contact {
    background: #f8f8f8;
    /* Or any other suitable background */
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    /* Responsive grid */
    gap: 30px;
    text-align: left;
    /* Align text to the left within each item */
    padding: 30px;
    border-radius: 8px;
    background: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-item {
    display: flex;
    /* Use flexbox for icon and text alignment */
    align-items: flex-start;
    /* Align items to the top */
    gap: 20px;
    /* Space between icon and text */
}

.contact-item i {
    font-size: 2rem;
    /* Larger icons */
    color: #007bff;
    /* Accent color for icons */
    flex-shrink: 0;
    /* Prevent icon from shrinking */
}

.contact-text h3 {
    margin-bottom: 5px;
    color: #333;
}

.contact-text p {
    color: #666;
}

/* Responsive adjustments for the contact section */
@media screen and (max-width: 500px) {
    .contact-info {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .contact-item {
        flex-direction: column;
        align-items: center;
    }

    .logo img {
        max-height: 100px;
        /* Increase the height as per your preference */
        width: auto;
        /* Maintain the aspect ratio */
        object-fit: contain;
        /* Ensures the logo scales properly */
        margin: 0 auto;
        /* Center the image within the logo container if necessary */
    }
    header {
        /* background: linear-gradient(to right, #6E854A, #6E854A); */
        background-color: #6E854A !important;
        color: white;
        padding: 20px 0 100px;
        margin-top: 1.5rem;
    }
    
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
}

/* Burger Menu Styles */
.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px;
    transition: all 0.3s ease;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    body {
        padding-top: 130px;
    }

    .nav-links {
        position: absolute;
        right: 0px;
        top: 8vh;
        background: #fff;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 50%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
    }

    .nav-links li {
        opacity: 0;
        margin: 1rem 0;
    }

    .burger {
        display: block;
    }

    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .about-image {
        margin-top: 2rem;
    }

    .hero {
        margin-top: 50px;
    }

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

    .hero p {
        font-size: 1rem;
    }
}

.nav-active {
    transform: translateX(0%);
}

.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.toggle .line2 {
    opacity: 0;
}

.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}

@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0px);
    }
}