* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Verdana pro", sans-serif;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    /* Ensure body takes the full viewport height */
    margin: 0;
    background-color: var(--white);
    font-optical-sizing: auto;

}

main {
    flex: 1;
    /* Makes the main content expand to fill available space */
}



:root {
    --logo-color: #f79836;
    --primary-color: #a8cf45;
    --primary-color-dark: #0e844d;
    --text-dark: #333333;
    --white: #ffffff;
    --button: #0b3d26;

}


/* Header Styling */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 4rem;
    background-color: var(--primary-color-dark);
    color: var(--white);
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--white);
    margin: 0;
}

.nav {
    display: flex;
    align-items: center;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
}

.nav-links li {
    font-size: 1rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--white);
    font-weight: bold;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    color: var(--white);
    cursor: pointer;
}

/* Responsive Header */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        background-color: var(--primary-color-dark);
        position: absolute;
        top: 60px;
        right: 0;
        width: 200px;
        box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
        z-index: 10;
    }

    .nav-links.show {
        display: flex;
    }

    .hamburger {
        display: block;
    }
}



/* Home page tyle sheet start from hare */
.title {
    font-size: 2rem;
    margin: 10px;
    color: var(--button);
    text-align: center;
   
}

.banner {
    position: relative;
    display: block;
    /* margin: 2px auto; */
    width: 100%;
    /* max-width: 1200px; */
    height: auto;
    /* border: 1px solid #ede6d6; */
    /* box-shadow: 0 0 8px 2px rgba(0, 0, 0, 0.2); */
    object-fit: cover;
    /* overflow: hidden; */
    margin-bottom: 1rem;
}

.page-content{
    color: var(--text-dark);
    line-height: 1.5;
    margin-bottom: 2rem;
}


/* General container with max-width */
.about {
    max-width: 1000px;
    margin: 0 auto;
    /* Centers the container horizontally */
    padding: 0 1rem;
    /* Adds padding for smaller screens */
    text-align: justify;
}

/* Row Styling */
.about .row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    /* gap: 1rem; */
    flex-direction: row;
    /* Ensures image on left, content on right in web view */
}

/* Image Styling */
.about .row .image {
    flex: 1 1 45%;
    /* Take half of the container width */
    text-align: center;
    /* Center-align for smaller screens */
}

.about .row .image img {
    width: 75%;
    height: 40vh;
    border-radius: 0.5rem;
    object-fit: contain;
}

/* Content Styling */
.about .row .content {
    flex: 1 1 50%;
    /* Take half of the container width */
}

.about .row .content h3 {
    font-size: 1.7rem;
    color: var(--primary-color-dark);
}

.about .row .content p {
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text-dark);
    padding: 10px 0;
}

/* Contact Form */
.contact-form {
    padding: 1.5rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    justify-self: center;
    width: 100%;

}

.contact-form h3 {
    color: var(--button);
    font-size: 1.5rem;
    text-align: center;
}

.contact-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: var(--text-dark);
    font-size: 1rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

.contact-form button {
    background-color: var(--button);
    color: white;
    border: none;
    padding: 6px 40px;
    font-size: 20px;
    cursor: pointer;
    border-radius: 5px;
}

.contact-form button:hover {
    background-color: var(--primary-color);
    color: var(--text-dark);
    font-weight: 600;
}

.contact-flex {
    display: flex;
    gap: 2rem; /* Space between the two sections */
    flex-wrap: wrap;
}

.contact-details, .contact-form {
    flex: 1;
    max-width: 48%; /* To maintain space between them */
}



/* Responsive Styling */

/* For large screens (Desktops) */
@media (min-width: 1025px) {
    .about .row {
        flex-direction: row;
        /* Image left, content right */
    }
}

/* For tablets and smaller screens */
@media (min-width: 481px) and (max-width: 1024px) {
    .about .row {
        flex-direction: column;
        /* Stack image and content vertically */
        text-align: center;
    }

    .about .row .image,
    .about .row .content {
        flex: 1 1 100%;
        /* Full width for both image and content */
    }
}

/* For mobile screens */
@media (max-width: 480px) {
    *{
        font-size: 1.2rem;
    }
    .about .row {
        flex-direction: column;
        /* Stack image and content vertically */
        text-align: justify;
    }

    .about .row .image,
    .about .row .content {
        flex: 1 1 100%;
        /* Full width for both image and content */
    }

    .title {
        font-size: 2rem;
    }
    .about .row .image img {
        height: 25vh;
        width: auto;
        object-fit: cover;
    }

    .contact-form {
        max-width: 100%; /* Full width */
    }
}


.about-content h2 {
    color: var(--primary-color-dark);
    font-size: 1.7rem;
    margin-bottom: 1rem;
    text-align: center;
}


.about-content p {
    margin-bottom: 1.5rem;
    text-align: justify;
    color: var(--text-dark);
}

.about-points h3 {
    color: var(--primary-color-dark);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}


/* Call to Action Section */
.call-to-action {
    text-align: center;
    padding: 1rem 1rem;
}

.call-to-action p {
    font-size: 1.2rem;
    color: var(--text-dark);
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-content h2 {
        font-size: 1.8rem;
    }

    .call-to-action h2 {
        font-size: 1.5rem;
    }
    .test{
        text-align: center;
    }
}

/* Added Section stle sheet */

.custom-section {
    background-color: white;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    padding: 15px;
    margin: 20px 0;
    border: 1px solid #aeaaaa57;
    line-height: 1.5;
}


.section-text {
    padding: 10px;
}

.custom-section h1 {
    font-size: 24px;
    color: var(--primary-color-dark);
    margin-bottom: 10px;
 
}

.custom-section p {
    font-size: 16px;
    color:var(--text-dark);
    line-height: 1.5;
}


footer {
    background-color: var(--primary-color-dark);
    padding: 3rem;
    text-align: center;
    margin-top: 3rem;
}

.footer-bottom p {
    font-size: 1.2rem;       /* Slightly smaller text size */
    color: var(--white); /* Subtle text color */
}

footer a {
    color: #ffffff;          /* White links */
    text-decoration: none;   /* Remove underline */
    transition: color 0.3s;  /* Smooth hover effect */
}

/* Contact Button style sheet */
.contact-us {
    z-index: 50;
    background-color: #dae7b9a3;
    padding: 20px;
    text-align: center;
    margin: 20px auto;
}

.contact-us p {
    z-index: 51;
    color: var(--primary-color-dark);
    text-align: center;
    font-size: 1.6rem;
    font-weight: 600;
}

.contact {
    justify-self: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Blinking animation for the icon */
.blinking-icon {
    font-size: 60px;
    /* Adjust the icon size */
    color: red;
    /* Initial color */
    animation: blink 1s infinite alternate;
    /* Animation for blinking */
}

/* Define the blinking animation */
@keyframes blink {
    0% {
        color: red;
    }

    50% {
        color: green;
    }

    100% {
        color: red;
    }
}

.contact-btn {
    display: inline-block;
    /* Ensures the button is treated as an inline-block element */
    margin: 20px auto;
    /* Adds spacing and centers the button within its container */
    padding: 10px 20px;
    /* Adds spacing inside the button */
    font-weight: bold;
    font-size: 16px;
    color: #000;
    /* Text color */
    text-align: center;
    text-decoration: none;
    /* Removes underline */
    border: 2px solid;
    /* Adds a border */
    border-image-source: linear-gradient(to right, var(--primary-color), rgb(11, 193, 11));
    /* Gradient border */
    border-image-slice: 1;
    /* Ensures the border gradient is fully displayed */
    background-color: transparent;
    /* Transparent background */
    border-radius: 5px;
    /* Rounds button edges */
    cursor: pointer;
    /* Changes cursor to pointer */
    transition: all 0.5s ease;
    /* Adds smooth transition effect */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    /* Optional: Adds a subtle shadow */
}

.contact-btn:hover {
    background: linear-gradient(to right, var(--primary-color), var(--primary-color-dark));
    /* Fill the background with gradient on hover */
    color: var(--white);
    /* Change text color to white */
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
    /* Slightly larger shadow */
    transform: scale(1.05);
    /* Slight zoom effect */
}


/* Whatsapp and call icon style sheet starts from hare  */

.whatsapp {
    position: fixed;
    bottom: 10px;
    left: 10px;
    cursor: pointer;
    z-index: 111;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.call{
    position: fixed;
    right: 10px;
    bottom: 10px;
    cursor: pointer;
    z-index: 111;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.call img{
    width: 57.5px;
    height: 58px;
    border-radius: 50%;
    box-shadow: 0px 4px 10px var(--primary-color-dark);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    
}
.call::before{
    content: "";
    position: absolute;
    width: 100px; /* Slightly larger than the image */
    height: 100px;
    background-color: #60a8ff; /* Pulsing color */
    border-radius: 50%; /* Make it circular */
    z-index: -1; /* Place behind the image */
    animation: pulse-bg 1.5s infinite; /* Apply pulsing animation */
}

/* Hover effect: Stop animation */
.call:hover::before {
    animation: none; /* Stop the pulsing animation */
    transform: scale(1.5); /* Keep the glow expanded */
    opacity: 0.2; /* Maintain a faint glow */
}

.whatsapp img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0px 4px 10px var(--primary-color-dark);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
/* Pulsing background effect using a pseudo-element */
.whatsapp::before {
    content: "";
    position: absolute;
    width: 100px; /* Slightly larger than the image */
    height: 100px;
    background-color: green; /* Pulsing color */
    border-radius: 50%; /* Make it circular */
    z-index: -1; /* Place behind the image */
    animation: pulse-bg 1.5s infinite; /* Apply pulsing animation */
}

/* Hover effect: Stop animation */
.whatsapp:hover::before {
    animation: none; /* Stop the pulsing animation */
    transform: scale(1.5); /* Keep the glow expanded */
    opacity: 0.2; /* Maintain a faint glow */
}



/* Hover effect for the image */
.whatsapp:hover img, .call:hover img {
    transform: scale(1.2); /* Slightly enlarge on hover */
    box-shadow: 0px 8px 20px var(--primary-color-dark);
}



/* Define the keyframes for the pulse animation */
@keyframes pulse-bg {
    0% {
        transform: scale(1); /* Normal size */
        opacity: 0.7; /* Slightly transparent */
    }
    50% {
        transform: scale(1.5); /* Larger size */
        opacity: 0.2; /* More transparent */
    }
    100% {
        transform: scale(1); /* Back to normal size */
        opacity: 0.7; /* Original transparency */
    }
}
