:root {
    --primary-green: #2d5a27;
    --secondary-green: #4a7856;
    --dark-green: #1a3a1a;
    --light-green: #98ddb6;
    --beige: #fff8f0;
    --brown: #3d2b1f;
    --orange: #ff6b01;
}

body {
    font-family: 'Poppins', sans-serif;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* .card {
    width: 100%;
    max-width: 13rem;
  }
   */
/* #categoryContainer {
    margin: 0 auto;
    padding: 0 10px;
  } */

html {
    overflow-x: hidden;
}

.py-5 {
    background: linear-gradient(135deg, #f8f9fa) var(--beige)
}

.py-5 h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-green);
    font-size: 32px;
}

.carousel-img {
    height: 92vh;
    background-size: cover;
    background-position: center;
    position: relative;
}

.carousel-overlay {
    background: rgba(0, 0, 0, 0.4);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.animated-text {
    font-size: 3rem;
    animation: fadeInDown 1s ease;
}

.animated-subtext {
    font-size: 1.5rem;
    animation: fadeInUp 1.2s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-banner {
    height: 85vh;
    background-size: cover;
    background-position: center 30%;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-attachment: fixed;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: left;
    max-width: 650px;
    margin-left: 10%;
    animation: fadeIn 1s ease-out;
}

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 10px;
}

/* media quries for hero section */

@media (min-width: 360px) {
    .hero-content h1 {
        font-size: 2.4rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }
}

@media (min-width: 740px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-content p {
        font-size: 1.25rem;
    }
}


.slideshow-container {
    height: 100%;
    width: 100%;
    position: relative;
}

.slide-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    background-size: cover;
    background-position: center;
    transition: opacity 1s ease-in-out;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

.slide.active {
    opacity: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
    max-width: 650px;
    margin-left: 10%;
    padding-top: 15vh;
}

.cta-button {
    background: var(--primary-green);
    color: white;
    padding: 15px 35px;
    border-radius: 30px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(14, 124, 63, 0.3);
    transition: all 0.3s;
}

.cta-button:hover {
    background: var(--dark-green);
    transform: translateY(-2px);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #fff;
    text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.3);
}

/* features */

h2 {
    font-size: 2.5rem;
    color: #2e7d32;
    font-weight: 700;
    text-align: center;
    margin: 30px auto;
    font-family: 'Poppins', sans-serif;
    position: relative;
    width: fit-content;
}


.features {
    padding: 60px 0;
    background: var(--beige);
    font-family: Poppins, sans-serif;
}

.features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 0 15px;
}

.feature-card {
    background-color: #ffffff;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInScale 0.5s ease-out;
    max-width: 360px;
    margin: 20px auto;
    font-family: 'Inter', sans-serif;
}




/* .feature-card {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeInScale 0.5s ease-out;
} */

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #222222;
    font-weight: 600;
}

.feature-card p {
    font-size: 1.06rem;
    color: #030303;
    line-height: 2;
    margin: 0;
}



@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}


.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    background: #236c28;
    color: rgb(255, 255, 255);
}

.feature-card:hover p {
    color: white;
}

.feature-icon {
    font-size: 40px;
    color: var(--primary-green);
    margin-bottom: 20px;
}

.feature-card:hover .feature-icon {
    color: white;
    animation: floatAnimation 2s infinite ease-in-out;
}



/* responsive for feature card */

/* Tablet (≤ 992px): 2 columns with smaller gap */
@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .feature-card {
        min-height: 250px;
    }
}

/* Mobile (≤ 768px): 1 column with even smaller gap */
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .feature-card {
        min-height: 250px;
    }

    .features h2 {
        font-size: 1.6rem;
    }

    .feature-icon {
        font-size: 2rem;
    }
}

/* Small Mobile (≤ 480px): tight spacing */
@media (max-width: 480px) {
    .features {
        padding: 30px 10px;
    }

    .features-grid {
        gap: 0px;
    }

    .feature-card {
        padding: 10px;
        min-height: 200px;
    }

    .features h2 {
        font-size: 1.4rem;
    }

    .feature-icon {
        font-size: 1.8rem;
    }
}




/* Why Choose Us */
.why-choose-us {
    padding-top: 30px;
    background: var(--beige);
}

.benefits-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    padding: 0 15px;
}

.benefits-grid h3 {
    color: #030303;
}

.benefits-grid p {
    color: var(--dark-green);
    font-family: 'Poppins', sans-serif;

}

.benefit-card {
    text-align: center;
    padding: 30px;
    border-radius: 8px;
    transition: transform 0.3s;
}

.benefit-card:hover {
    transform: translateY(-10px);

}

.benefit-icon {
    font-size: 40px;
    color: var(--primary-green);
    margin-bottom: 20px;
}





/* About Section */
.about {
    padding-top: 70px;
    padding-bottom: 60px;
    background: linear-gradient(135deg, #f8f9fa) var(--beige);
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    padding: 0 15px;
    align-items: center;
}

.about-text {
    color: var(--brown);
}

.about-image {
    border-radius: 8px;
    overflow: hidden;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    padding: 0 15px;
    align-items: center;
}

.about-slideshow {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    height: 470px;
    /* margin-top: 85px; */
}

.about-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    background-size: cover;
    background-position: center;
    transition: opacity 0.8s ease-in-out;
    transform: scale(1.1);
}

.about-slide.active {
    opacity: 1;
    transform: scale(1);
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    transform: translateY(100%);
    transition: transform 0.5s ease-out;
}

.about-slide.active .slide-content {
    transform: translateY(0);
}

.slide-content h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #f5f5f5;
}

.slide-content p {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: #f9f4f4;
}

.slide-controls {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 2;
}

.slide-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid white;
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.slide-dot.active {
    background: white;
    transform: scale(1.2);
}

.legacy-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.legacy-feature {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.legacy-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.legacy-feature .feature-icon {
    font-size: 2rem;
    color: var(--primary-green);
    background: rgba(152, 221, 182, 0.1);
    padding: 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.legacy-feature:hover .feature-icon {
    background: var(--primary-green);
    color: white;
    transform: scale(1.1);
}

.feature-text h3 {
    color: #030303;
    font-size: 25px;
}

.feature-text p {
    color: #030303;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 450;
}

/* respoinsive for about section */


@media (max-width: 1024px) {

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-slideshow {
        height: 400px;
    }

    .slide-content h3 {
        font-size: 1.5rem;
    }

    .slide-content p {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .about {
        padding-top: 10px;
        padding-bottom: 30px;
    }

    .about-content {
        padding: 0 10px;
    }

    .about-slideshow {
        height: 320px;
    }

    .slide-content {
        padding: 1.5rem;
    }

    .slide-content h3 {
        font-size: 1.25rem;
    }

    .slide-content p {
        font-size: 0.95rem;
    }

    .legacy-feature {
        flex-direction: column;
        align-items: flex-start;
        padding: 0.75rem;
        gap: 0.75rem;
        border-radius: 12px;
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    .legacy-feature .feature-icon {
        font-size: 1.6rem;
        padding: 0.85rem;
    }

    .feature-text h3 {
        font-size: 20px;
    }

    .feature-text p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {

    .legacy-feature {
        flex-direction: column;
        align-items: flex-start;
        padding: 0.5rem;
        gap: 0.5rem;
        border-radius: 10px;
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    .about-slideshow {
        height: 250px;
    }

    .slide-controls {
        bottom: 15px;
        right: 15px;
        gap: 8px;
    }

    .slide-dot {
        width: 10px;
        height: 10px;
    }

    .feature-text h3 {
        font-size: 20px;
    }

    .feature-text p {
        font-size: 01rem;
    }
}


/* Section Title */
.section-title {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-green);
    font-size: 32px;
}

/* Testimonials */
.testimonials {
    background: linear-gradient(to top, rgba(255, 248, 240, 0.7), rgba(255, 248, 240, 0.3));
    padding: 60px 0;
    position: relative;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%232d5a27' fill-opacity='0.03' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.4;
    z-index: -1;
}

.testimonial-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.testimonial-track {
    display: flex;
    animation: scrollTestimonials 40s linear infinite;
    width: fit-content;
    gap: 30px;
    padding: 20px 0;
}

.testimonial-track:hover {
    animation-play-state: paused;
}

.testimonial-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 0 15px;
}


.testimonial-card {
    height: 400px;
    min-width: 350px;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: all 0.3s ease;
    animation: fadeInScale 0.5s ease-out;
    box-sizing: border-box;
    overflow: hidden;


}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 25px;
    font-size: 60px;
    color: var(--dark-green);
    opacity: 0.2;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    background: var(--primary-green);
    color: white;
}

.testimonial-card:hover .testimonial-content {
    color: rgba(255, 255, 255, 0.9);
}

.testimonial-card:hover .author-name {
    color: white;
}

.testimonial-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #000000;
    margin-bottom: 25px;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    border-top: 2px solid var(--light-green);
    padding-top: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    z-index: 1;
    box-sizing: border-box;

}

.author-img {
    max-width: 30%;
    max-height: 30%;
    border-radius: 50%;
    border: 3px solid var(--primary-green);
    object-fit: cover;
    transition: all 0.3s ease;
}

.testimonial-card:hover .author-img {
    border-color: white;
}

.author-info {
    flex: 1;
    padding-top: 15px;
}

.author-name {
    font-weight: 600;
    color: var(--brown);
    margin-bottom: 5px;
}

.author-location {
    font-size: 0.9rem;
    color: #666;
}

.testimonial-card:hover .author-location {
    color: rgba(255, 255, 255, 0.8);
}


/* scrolling for the testmonials */
@keyframes scrollTestimonials {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}


/* FAQ section */

.faq-section {
    padding-top: 40px;
    padding-bottom: 20px;
    background: var(--beige);
    color: var(--brown);
}

.faq-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' viewBox='0 0 4 4'%3E%3Cpath fill='%234a7856' fill-opacity='0.05' d='M1 3h1v1H1V3zm2-2h1v1H3V1z'%3E%3C/path%3E%3C/svg%3E");
    opacity: 0.5;
    z-index: -1;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.faq-question {
    width: 100%;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.question-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-green);
    text-align: left;
}

.icon {
    color: var(--primary-green);
    transition: transform 0.3s ease;
}

.faq-item.active .icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: rgba(152, 221, 182, 0.1);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 20px 25px;
    line-height: 1.6;
    color: black;
    font-size: 17px;
}

.footer-map {
    margin-top: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.footer-map iframe {
    border-radius: 8px;
    filter: grayscale(1) invert(0.9);
    transition: all 0.3s ease;
    width: 100%;
    height: 200px;
    /* Adjusted height */
}


.footer-map iframe:hover {
    filter: grayscale(0) invert(0);
}



.footer-section {
    background: transparent;
    padding: 20px;
    border-radius: 8px;
}

.footer-map {
    transition: all 0.3s ease;
}

.footer-map:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.footer-social-section {
    margin-top: 30px;
    padding: 20px;
}

.footer-social-section h3 {
    color: var(--light-green);
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
}

.footer-social-section h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--light-green);
}


/* Footer */
footer {
    background: var(--dark-green);
    color: white;
    padding: 80px 0 30px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding: 0 15px;
}

.footer-section h3 {
    color: var(--light-green);
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--light-green);
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin-bottom: 10px;
    display: block;
}

.copyright {
    text-align: center;
    padding-top: 40px;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Newsletter Form */

.newsletter-form {
    display: flex;
    margin-top: 1rem;
    width: 100%;
    max-width: 600px;
    overflow: hidden;
    border: none;

}


.newsletter-form input {
    width: 100%;
    padding: 10px;
    font-size: 1.1rem;
    border: 0px solid #f3efef;
    border-radius: 10px 0 0 10px;
    box-sizing: border-box;
}

.newsletter-form button {
    padding: 0.6rem 0.8rem;
    background: var(--orange);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    border-radius: 0 10px 10px 0;
    border: none;
}

.newsletter-form button:hover {
    background: rgb(98, 197, 98);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.newsletter-form input:focus {
    background: rgba(6, 5, 5, 0.2);
}





/* style for the login form (when user click on the login button */

.modal-overlay {
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    position: relative;
    animation: fadeIn 0.3s ease-in-out;
}

.btn-close-modal {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/* Container to ensure no extra space between cards */
.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: 0;
    padding: 0;
}

.card {
    margin: 0;
    padding: 0;

}

.card-body {
    padding: 10px;
    margin: 0;
}

.card-img-top {
    object-fit: cover;
    height: 195px;
}


.btn-view {

    background-color: #28a745;
    color: white;
    border-radius: 20px;
    padding: 6px 16px;
    text-decoration: none;
    display: inline-block;
}

.btn-view:hover {
    background-color: #218838;
    color: white;
}



/* Category cards container */

#categoryContainer .col {
    max-width: 50%;
    margin: 0 auto 20px;
}

#categoryContainer .card {
    width: 100%;
    border: none;
    /* border-radius: 10px; */
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

#categoryContainer .card:hover {
    transform: translateY(-5px);
}


#categoryContainer .card-body {
    padding: 15px;
    text-align: center;
}

#categoryContainer .card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

#categoryContainer .card-text {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 15px;
}

/* Button styling */
#categoryContainer .btn {
    background-color: #066809;
    color: white;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 22px;
    transition: background-color 0.3s ease;
}

#categoryContainer .btn:hover {
    background-color: #f59c0d;
}




/* -------------------------------------------------------------- */
/* ------------------------------------ */
.chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    font-family: Arial, sans-serif;
}

.chat-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.chat-button:hover {
    background-color: #45a049;
    transform: scale(1.05);
}

.chat-window {
    position: fixed;
    bottom: 30px;
    right: 20px;
    width: 350px;
    height: 500px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.chat-window.hidden {
    display: none;
}

.chat-header {
    background-color: #08600b;
    color: white;
    padding: 15px;
    border-radius: 10px 10px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.chat-logo {
    width: 45px;
    height: 35px;
    border-radius: 50%;
}

.chat-controls {
    display: flex;
    gap: 10px;
}

.control-button {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 5px;
    transition: all 0.3s ease;
}

.control-button:hover {
    color: #e0e0e0;
}

.chat-messages {
    flex-grow: 1;
    padding: 15px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.message {
    max-width: 80%;
    padding: 10px 15px;
    border-radius: 15px;
    margin: 5px 0;
    word-wrap: break-word;
}

.bot-message {
    background-color: #f0f0f0;
    color: #333;
    align-self: flex-start;
    border-bottom-left-radius: 5px;
}

.user-message {
    background-color: #4CAF50;
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 5px;
}

.chat-input {
    padding: 15px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    gap: 10px;
}

.chat-input input {
    flex-grow: 1;
    padding: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    outline: none;
}

.chat-input button {
    background-color: #0f6012;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-input button:hover {
    background-color: #45a049;
}

.minimized {
    transform: scale(0.8);
    opacity: 0;
    pointer-events: none;
}

@keyframes slideIn {
    from {
        transform: translateY(100px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.chat-window:not(.hidden) {
    animation: slideIn 0.3s ease forwards;
}

.phone-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #fff;
}

.phone-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.phone-link i {
    font-size: 1.25rem;
    width: 24px;
    text-align: center;
}

.phone-link span {
    font-size: 1rem;
    font-weight: 500;
}

.branch-title {
    font-weight: bold;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .kapil-close-btn {
        right: -20px;
        top: -15px;
        font-size: 20px;
    }

    .chat-widget {
        bottom: 70px;
    }



}

@media (max-width: 600px) {
    .chat-window {
        left: 1.5%;
        right: auto;
        transform: translateX(-50%);
    }
}



/* ------------------------------------------------------------- */
.quick-links {
    list-style: none;
    padding: 0;
    margin-top: 10px;
}

.links {
    margin-top: 30px;
}

.quick-links li {
    margin-bottom: 8px;
}

.quick-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 17px;
    transition: color 0.3s ease;
}

.quick-links a:hover {
    color: #3ad437;
}


@media (max-width: 768px) {
    .links {
        margin-top: 450px;
    }
}

@media (max-width: 480px) {
    .links {
        margin-top: 50px;
    }
}

/* ------ */
.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;

}

.social-icons a {
    color: #98DDB6;
    font-size: 1.8rem;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: white;
}

/* ------------ */

.download-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 4px;
}

.download-link:hover {
    color: black;
    background-color: #98DDB6;
    transform: translateY(-2px);
}

.download-link i {
    font-size: 1.25rem;
}

.download-link span {
    font-size: 0.95rem;
}