/* ===================================================================
    TABLE OF CONTENTS
    1.  Global Styles (Variables, Body, Headings, Buttons)
    2.  Reusable Components (Top Bar, Navbar, Footer, Back-to-Top)
    3.  Page-Specific Sections
        3.1 Hero Section (index.html)
        3.2 Page Header (about.html, contact.html, blogs.html)
        3.3 About Section (index.html)
        3.4 Content Section (about.html)
        3.5 Vision & Mission (about.html)
        3.6 Values Section (about.html)
        3.7 Services Section (index.html)
        3.8 Products Section (index.html)
        3.9 Testimonials Section (index.html)
        3.10 Blogs Section (blogs.html)
        3.11 Contact Info Cards (contact.html)
        3.12 Contact Form & Map (contact.html & index.html)
    4.  Responsive Media Queries
=================================================================== */

/* 1. Global Styles
------------------------------------------------------------------- */
:root {
    --primary-color: #34A853;
    --secondary-color: #F9A825;
    --dark-background: #1A4314;
    --light-background: #F0F8F0;
    --text-dark: #2C3E50;
    --text-light: #ECF0F1;
    --border-color: #DDEEE0;
    --shadow-light: rgba(0, 0, 0, 0.08);
    --shadow-medium: rgba(0, 0, 0, 0.15);
    --shadow-strong: rgba(0, 0, 0, 0.25);
    --bg-white: #FFFFFF;
    --text-gray: #555;
    --accent-green-light: #6BBF7E;
    --accent-orange-light: #FFC107;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--light-background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--dark-background);
}

.btn-primary-custom {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-green-light));
    border: none;
    color: #fff;
    border-radius: 0.75rem;
    padding: 0.9rem 2.5rem;
    font-weight: 600;
    transition: all 0.4s ease;
    box-shadow: 0 6px 15px var(--shadow-medium);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
    z-index: -1;
}

.btn-primary-custom:hover::before {
    left: 0;
}

.btn-primary-custom:hover {
    background: linear-gradient(45deg, var(--dark-background), var(--primary-color));
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 25px var(--shadow-strong);
}

.btn-outline-primary-custom {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 0.75rem;
    padding: 0.8rem 2.2rem;
    font-weight: 600;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-outline-primary-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: -1;
}

.btn-outline-primary-custom:hover::before {
    transform: scaleX(1);
}

.btn-outline-primary-custom:hover {
    color: #fff;
    box-shadow: 0 4px 15px var(--shadow-light);
    transform: translateY(-2px);
}

.section-spacing {
    padding: 8rem 0;
}

.section-heading {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-background);
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 4rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
    text-shadow: 1px 1px 3px var(--shadow-light);
}

.section-heading::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 150px;
    height: 6px;
    background-color: var(--primary-color);
    border-radius: 3px;
}

/* 2. Reusable Components
------------------------------------------------------------------- */
/* Top Bar */
.top-bar {
    background-color: var(--dark-background);
    color: var(--text-light);
    font-size: 0.875rem;
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar .contact-info i {
    margin-right: 0.4rem;
    color: var(--secondary-color);
}

.top-bar .social-icons a {
    color: var(--text-light);
    margin-left: 1.2rem;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    font-size: 1rem;
}

.top-bar .social-icons a:hover {
    color: var(--dark-background);
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-3px) scale(1.1);
}



/* Navbar */
.navbar {
    padding: 1rem 0;
    /* Add a bit more initial padding */
    background-color: var(--bg-white);
    /* Start with a solid background */
    box-shadow: 0 4px 20px var(--shadow-light);
    transition: background-color 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}

/* NEW CLASS: This is applied by JavaScript when you scroll */
.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.85);
    /* Semi-transparent white */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    /* For Safari support */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 0.7rem 0;
    /* Make the navbar slightly slimmer on scroll */
}

/* Your existing navbar rules remain unchanged below */
.navbar-brand img {
    height: 40px;
    transition: transform 0.3s ease;
}

.navbar-brand img:hover {
    transform: scale(1.05);
}

.navbar .nav-link {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    font-weight: 500;
    margin: 0 1rem;
    padding: 0.7rem 0;
    transition: color 0.3s ease, transform 0.2s ease;
    position: relative;
}

.navbar .nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 100%;
    /* Change this */
    height: 3px;
    /* Make it slightly thinner */
    background-color: var(--primary-color);
    border-radius: 2px;
    transform: scaleX(0);
    /* Start hidden by scaling to 0 */
    transform-origin: left;
    /* Animate from the left */
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    /* A nice easing */
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
    width: 100%;
}

.navbar .nav-link:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

.navbar .nav-link.active {
    color: var(--primary-color);
    font-weight: 600;
}

.navbar-toggler {
    border: none;
    padding: 0.25rem 0.75rem;
    outline: none;
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2844, 62, 80, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}


/* Navbar Dropdown */
#navbarDropdownProducts::after {
    content: none !important;
}

.navbar .dropdown-menu.dropdown-menu-custom {
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    border-radius: 1.2rem;
    padding: 1.5rem;
    min-width: 300px;
    background-color: var(--bg-white);
    position: absolute;
    top: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-out, transform 0.3s ease-out, visibility 0.3s ease-out;
    pointer-events: none;
}

.navbar .dropdown-menu.dropdown-menu-custom.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    visibility: visible;
    pointer-events: auto;
}

.navbar .dropdown-menu.dropdown-menu-custom::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 20px;
    height: 20px;
    background-color: var(--bg-white);
    border-top: 1px solid var(--border-color);
    border-left: 1px solid var(--border-color);
    z-index: 10;
    box-shadow: -2px -2px 8px rgba(0, 0, 0, 0.05);
}

.navbar .dropdown-item-custom {
    display: flex;
    align-items: center;
    padding: 0.8rem 1rem;
    border-radius: 0.8rem;
    margin-bottom: 0.5rem;
    transition: background-color 0.2s ease, color 0.2s ease;
    text-decoration: none;
    color: var(--text-dark);
}

.navbar .dropdown-item-custom:last-child {
    margin-bottom: 0;
}

.navbar .dropdown-item-custom:hover {
    background-color: var(--light-background);
    color: var(--primary-color);
}

.dropdown-icon-wrapper {
    background-color: var(--primary-color);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.4rem;
    margin-right: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.dropdown-link-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    display: block;
    line-height: 1.2;
}

.dropdown-subtext {
    font-size: 0.85rem;
    color: var(--text-gray);
    display: block;
    line-height: 1.2;
}

/* Navbar Search */
.navbar .search-container {
    position: relative;
    display: flex;
    align-items: center;
    margin-left: 1rem;
    margin-right: 1rem;
}

.navbar .search-box {
    position: relative;
    width: 200px;
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: 25px;
    background-color: var(--light-background);
    transition: all 0.3s ease;
    padding: 0 1rem;
}

.navbar .search-box:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(52, 168, 83, 0.25);
    background-color: var(--bg-white);
}

.search-box .search-icon {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-right: 0.5rem;
}

#productSearchInput {
    flex-grow: 1;
    padding: 0.5rem 0;
    border: none;
    outline: none;
    font-size: 0.95rem;
    background-color: transparent;
    color: var(--text-dark);
}

#productSearchInput::placeholder {
    color: var(--text-gray);
}

#productSearchInput:focus {
    box-shadow: none;
    border-color: transparent;
}

.suggestions-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-top: none;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    max-height: 250px;
    overflow-y: auto;
    display: none;
}

.suggestions-dropdown.show {
    display: block;
}

.suggestion-item {
    padding: 0.75rem 1rem;
    cursor: pointer;
    color: var(--text-dark);
    font-size: 0.9rem;
    transition: background-color 0.2s ease;
}

.suggestion-item:hover,
.suggestion-item.active {
    background-color: var(--light-background);
    color: var(--primary-color);
}


/* =================================== */
/* === NEW, ENHANCED FOOTER STYLES === */
/* =================================== */

.footer-section {
    position: relative;
    /* This gradient uses your brand's dark green for a rich, premium look without an image */
    background: linear-gradient(135deg, var(--dark-background), #102B0D);
    color: var(--text-light);
    padding: 6rem 0 2rem 0;
    /* Increased top padding for better visual break */
    margin-top: 5rem;
    font-family: 'Inter', sans-serif;
}

/* This creates the curved top shape */
.footer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: var(--light-background);
    /* This MUST match your page's body background */
    border-bottom: 1px solid var(--border-color);
    clip-path: ellipse(80% 100% at 50% 100%);
    transform: translateY(-99%);
    /* Pulls it just above the footer */
}


.footer-section h5 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    color: var(--secondary-color);
    /* Orange accent */
    margin-bottom: 1.5rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-section h5::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 0;
    border-radius: 2px;
}

.footer-tagline {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-top: 1rem;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.7;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a:hover {
    color: var(--secondary-color);
    padding-left: 8px;
    /* Slide effect on hover */
}

.footer-section .contact-info p {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.footer-section .contact-info i {
    color: var(--primary-color);
    margin-right: 1rem;
    font-size: 1.2rem;
    margin-top: 5px;
}

.footer-social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer-social-icons a {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-light);
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer-social-icons a:hover {
    background-color: var(--secondary-color);
    color: var(--dark-background);
    transform: translateY(-5px);
    border-color: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 2rem;
    margin-top: 4rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}


/* ========================================= */
/* === NEW, MORE APPEALING WHATSAPP BUTTON === */
/* ========================================= */

#whatsapp-button {
    position: fixed;
    bottom: 100px;
    /* Position it above the Back to Top button */
    right: 30px;
    z-index: 1050;

    background-color: #25D366;
    /* Official WhatsApp Green */
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 2.2rem;
    text-decoration: none;

    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);

    /* Animation properties */
    opacity: 0;
    /* Start invisible for animation */
    transform: translateY(15px);
    /* Start slightly lower */
    transition: all 0.4s ease;
    /* Smooth transition for all properties */
    visibility: hidden;
}

/* This class will be added by JS to make the button appear */
#whatsapp-button.visible {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

#whatsapp-button:hover {
    background-color: #1DA851;
    /* Slightly darker green on hover */
    transform: translateY(-5px) scale(1.08);
    /* Smoother, more engaging hover effect */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Tooltip Styling */
#whatsapp-button .tooltip-text {
    visibility: hidden;
    width: 160px;
    background-color: var(--dark-background);
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 8px 12px;
    position: absolute;
    z-index: 1;
    top: 50%;
    right: 120%;
    /* Position to the left of the button */
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity 0.3s, right 0.3s;
    font-size: 0.9rem;
    font-weight: 500;
}

#whatsapp-button:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
    right: 110%;
}


/* Back to Top Button */
#backToTopBtn {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1049;
    border: none;
    outline: none;
    background-color: var(--secondary-color);
    color: white;
    cursor: pointer;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 1.8rem;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, opacity 0.4s ease;
    opacity: 0;
    transform: translateY(20px);
}

#backToTopBtn.show-btn {
    display: flex;
    opacity: 1;
    transform: translateY(0);
    animation: fadeInSlideUp 0.5s forwards ease-out;
}

@keyframes fadeInSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#backToTopBtn:hover {
    background-color: #E69A00;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45);
}

#backToTopBtn:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    background-color: #CC8A00;
}

#backToTopBtn:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 3px;
    border-radius: 50%;
}


/* 3. Page-Specific Sections
------------------------------------------------------------------- */

/* 3.1 Hero Section (index.html) */
.hero-section {
    background: linear-gradient(rgba(26, 67, 20, 0.75), rgba(26, 67, 20, 0.75)), url("../images/banner.webp") no-repeat center center;
    background-size: cover;
    color: var(--text-light);
    padding: 12rem 0 10rem 0;
    text-align: center;
    position: relative;
    z-index: 1;
    border-bottom-left-radius: 3rem;
    border-bottom-right-radius: 3rem;
    overflow: hidden;
    box-shadow: 0 15px 40px var(--shadow-strong);
    animation: fadeIn 1.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-section h1 {
    font-size: 5.5rem;
    font-weight: 800;
    margin-bottom: 1.8rem;
    text-shadow: 4px 4px 10px var(--shadow-strong);
    line-height: 1.1;
    letter-spacing: -1px;
    color: var(--secondary-color);
}

.hero-section p {
    font-size: 1.8rem;
    max-width: 1000px;
    margin: 0 auto 3.5rem auto;
    line-height: 1.6;
    text-shadow: 2px 2px 6px var(--shadow-medium);
}

/* 3.2 Page Header (about.html, contact.html, blogs.html) */
.page-header {
    background: linear-gradient(rgba(26, 67, 20, 0.85), rgba(26, 67, 20, 0.85)), url("../images/banner.webp") no-repeat center center;
    background-size: cover;
    padding: 8rem 0 5rem 0;
    color: #fff;
    text-align: center;
    position: relative;
    margin-bottom: 3rem;
    border-bottom-left-radius: 3rem;
    border-bottom-right-radius: 3rem;
    overflow: hidden;
    box-shadow: 0 15px 40px var(--shadow-strong);
}

.page-header h1 {
    font-size: 4.5rem;
    font-weight: 800;
    color: var(--secondary-color);
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
    margin-bottom: 1.5rem;
}

.page-header .breadcrumb {
    background: transparent;
    justify-content: center;
    font-size: 1.1rem;
    padding: 0;
    margin-top: 1rem;
}

.page-header .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-header .breadcrumb-item a:hover {
    color: var(--secondary-color);
}

.page-header .breadcrumb-item.active {
    color: var(--primary-color);
    font-weight: 600;
}

/* 3.3 About Section (index.html) */
.about-section {
    background-color: var(--bg-white);
    border-radius: 2rem;
    box-shadow: 0 10px 35px var(--shadow-medium);
    margin-top: -8rem;
    position: relative;
    z-index: 2;
    border: 1px solid var(--border-color);
    padding: 5rem;
}

.about-section p {
    font-size: 1.2rem;
    line-height: 1.9;
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.about-section .img-fluid {
    border-radius: 1.5rem;
    box-shadow: 0 8px 25px var(--shadow-medium);
    transition: transform 0.4s ease;
}

.about-section .img-fluid:hover {
    transform: scale(1.03);
}

/* 3.4 Content Section (about.html) */
.content-section {
    padding: 4rem;
    background-color: var(--bg-white);
    border-radius: 1.5rem;
    box-shadow: 0 8px 25px var(--shadow-medium);
    margin-top: 3rem;
    margin-bottom: 3rem;
    border: 1px solid var(--border-color);
}

.content-section h2 {
    color: var(--dark-background);
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 2.5rem;
    text-align: center;
    position: relative;
    padding-bottom: 0.8rem;
}

.content-section h2::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 100px;
    height: 5px;
    background-color: var(--primary-color);
    border-radius: 3px;
}

.content-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 1.8rem;
}

.content-section .img-fluid {
    border-radius: 1.25rem;
    box-shadow: 0 6px 20px var(--shadow-light);
    margin-bottom: 2rem;
}


/* 3.5 Vision & Mission (about.html) */
.vision-mission-cards .card {
    border: 1px solid var(--border-color);
    border-radius: 1.5rem;
    box-shadow: 0 6px 20px var(--shadow-light);
    padding: 2.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: var(--bg-white);
}

.vision-mission-cards .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px var(--shadow-medium);
}

.vision-mission-cards .card-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.vision-mission-cards .card-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-background);
    margin-bottom: 1rem;
}

.vision-mission-cards .card-text {
    font-size: 1.05rem;
    color: var(--text-gray);
    line-height: 1.7;
}

/* 3.6 Values Section (about.html) */
.values-section .card {
    border: 1px solid var(--border-color);
    border-radius: 1.5rem;
    box-shadow: 0 6px 20px var(--shadow-light);
    padding: 2.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: var(--bg-white);
}

.values-section .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px var(--shadow-medium);
}

.values-section .card-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.values-section .card-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-background);
    margin-bottom: 1rem;
}

.values-section .card-text {
    font-size: 1.05rem;
    color: var(--text-gray);
    line-height: 1.7;
}


/* 3.7 Services Section (index.html) */
.services-section {
    background-color: var(--light-background);
}

.service-card {
    background-color: var(--bg-white);
    border-radius: 1.8rem;
    box-shadow: 0 8px 25px var(--shadow-light);
    padding: 3rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-green-light));
    transition: all 0.4s ease;
    transform: translateY(-100%);
}

.service-card:hover::before {
    transform: translateY(0);
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 40px var(--shadow-medium);
}

.service-card .icon-wrapper {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-green-light));
    color: white;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 4.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 6px 15px var(--shadow-medium);
    border: 4px solid var(--light-background);
    transition: all 0.4s ease;
}

.service-card:hover .icon-wrapper {
    background: linear-gradient(45deg, var(--dark-background), var(--primary-color));
    transform: rotateY(180deg) scale(1.05);
}

.service-card h3 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--dark-background);
    margin-bottom: 1.2rem;
}

.service-card p {
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 0;
}


/* 3.8 Products Section (index.html) */
.products-section {
    background-color: var(--bg-white);
}

.product-card {
    border: 1px solid var(--border-color);
    border-radius: 1.8rem;
    overflow: hidden;
    box-shadow: 0 8px 25px var(--shadow-light);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    background-color: var(--bg-white);
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(52, 168, 83, 0.1);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.product-card:hover::before {
    opacity: 1;
}

.product-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 40px var(--shadow-medium);
}

.product-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-bottom: 1px solid var(--border-color);
    transition: transform 0.4s ease;
}

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

.product-card .card-body {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.product-card .card-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-background);
    margin-bottom: 1rem;
}

.product-card .card-text {
    font-size: 1.05rem;
    color: var(--text-gray);
    line-height: 1.8;
    flex-grow: 1;
    margin-bottom: 2rem;
}

.product-card .btn-outline-primary-custom {
    align-self: flex-start;
}


/* 3.9 Testimonials Section (index.html) */
.testimonials-section {
    background-color: var(--light-background);
}

.testimonial-card {
    background-color: var(--bg-white);
    border-radius: 1.8rem;
    box-shadow: 0 8px 25px var(--shadow-light);
    padding: 3rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid var(--border-color);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.testimonial-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 40px var(--shadow-medium);
}

.testimonial-card .quote-icon {
    font-size: 4rem;
    color: var(--secondary-color);
    margin-bottom: 1.8rem;
}

.testimonial-card .testimonial-text {
    font-size: 1.15rem;
    color: var(--text-dark);
    line-height: 1.9;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.author-initials {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-right: 1.2rem;
    border: 5px solid var(--light-background);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.author-info-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.testimonial-card .author-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark-background);
    margin-bottom: 0.4rem;
}

.testimonial-card .author-title {
    font-size: 1rem;
    color: var(--text-gray);
}


/* 3.10 Blogs Section (blogs.html) */
.blogs-section {
    padding: 6rem 0;
    background-color: var(--light-background);
}

.blog-card {
    background-color: var(--bg-white);
    border-radius: 1.8rem;
    overflow: hidden;
    box-shadow: 0 8px 25px var(--shadow-light);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
}

.blog-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 40px var(--shadow-medium);
}

.blog-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-bottom: 1px solid var(--border-color);
    transition: transform 0.4s ease;
}

.blog-card:hover img {
    transform: scale(1.05);
}

.blog-card .card-body {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-card .card-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    /* Adjusted for consistency */
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
}

.blog-card .card-meta {
    font-size: 0.95rem;
    color: var(--text-gray);
    margin-bottom: 1.2rem;
}

.blog-card .card-meta i {
    margin-right: 0.5rem;
    color: var(--secondary-color);
}

.blog-card .card-text {
    font-size: 1.05rem;
    color: var(--text-dark);
    line-height: 1.7;
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.blog-card .btn-read-more {
    margin-top: auto;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-green-light));
    border: none;
    color: #fff;
    border-radius: 0.75rem;
    padding: 0.8rem 2rem;
    font-weight: 600;
    transition: all 0.4s ease;
    box-shadow: 0 4px 10px var(--shadow-medium);
    position: relative;
    overflow: hidden;
    z-index: 1;
    align-self: flex-start;
}

.blog-card .btn-read-more::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
    z-index: -1;
}

.blog-card .btn-read-more:hover::before {
    left: 0;
}

.blog-card .btn-read-more:hover {
    background: linear-gradient(45deg, var(--dark-background), var(--primary-color));
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 20px var(--shadow-strong);
}

/* 3.11 Contact Info Cards (contact.html) */
.contact-info-card {
    background-color: var(--bg-white);
    border-radius: 1.8rem;
    box-shadow: 0 8px 25px var(--shadow-light);
    padding: 3rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-green-light));
    transition: all 0.4s ease;
    transform: translateY(-100%);
}

.contact-info-card:hover::before {
    transform: translateY(0);
}

.contact-info-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 40px var(--shadow-medium);
}

.contact-info-card .icon-wrapper {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-green-light));
    color: white;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 4.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 6px 15px var(--shadow-medium);
    border: 4px solid var(--light-background);
    transition: all 0.4s ease;
}

.contact-info-card:hover .icon-wrapper {
    background: linear-gradient(45deg, var(--dark-background), var(--primary-color));
    transform: rotateY(180deg) scale(1.05);
}

.contact-info-card h3 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--dark-background);
    margin-bottom: 1.2rem;
}

.contact-info-card p {
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 0;
}

/* 3.12 Contact Form & Map (contact.html & index.html) */
.contact-home-section {
    padding-bottom: 8rem;
}

.contact-form-map-section {
    background-color: var(--bg-white);
    border-radius: 2rem;
    box-shadow: 0 10px 35px var(--shadow-medium);
    padding: 5rem;
    margin-top: 5rem;
    position: relative;
    z-index: 1;
}

.contact-form-map-section h2 {
    font-size: 3.5rem;
    margin-bottom: 2.5rem;
    padding-bottom: 1rem;
    position: relative;
}

.contact-form-map-section h2::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 100px;
    height: 5px;
    background-color: var(--primary-color);
    border-radius: 3px;
}

.contact-form-map-section .form-control,
.contact-home-section .form-control {
    border-radius: 0.75rem;
    padding: 0.9rem 1.4rem;
    border: 1px solid var(--border-color);
    box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.08);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form-map-section .form-control:focus,
.contact-home-section .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.3rem rgba(52, 168, 83, 0.3);
    outline: none;
}

.contact-form-map-section textarea.form-control,
.contact-home-section textarea.form-control {
    min-height: 200px;
    resize: vertical;
}

.contact-form-map-section .btn-primary-custom,
.contact-home-section .btn-submit {
    width: 100%;
    padding: 1rem 1.8rem;
    font-size: 1.3rem;
    font-weight: 700;
    border-radius: 0.8rem;
}

.contact-form-map-section .map-container,
.contact-home-section .map-container {
    border-radius: 1.8rem;
    overflow: hidden;
    box-shadow: 0 10px 35px var(--shadow-medium);
    border: 1px solid var(--border-color);
    height: 100%;
}

.contact-form-map-section iframe,
.contact-home-section iframe {
    width: 100%;
    height: 100%;
    min-height: 450px;
    border: 0;
}

/* For home page specific container */
.contact-home-section .contact-form-container {
    border-radius: 1.8rem;
    box-shadow: 0 10px 35px var(--shadow-medium);
    border: 1px solid var(--border-color);
    background-color: var(--bg-white);
    padding: 3rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.alert-custom {
    border-radius: 0.75rem;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    margin-top: 1.5rem;
    text-align: center;
}

.alert-success-custom {
    background-color: #d4edda;
    color: #155724;
    border-color: #c3e6cb;
}

.alert-danger-custom {
    background-color: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
}


/* 4. Responsive Media Queries
------------------------------------------------------------------- */
@media (max-width: 1199.98px) {

    .hero-section h1,
    .page-header h1 {
        font-size: 3.5rem;
    }

    .hero-section p {
        font-size: 1.6rem;
    }

    .page-header .breadcrumb-item {
        font-size: 1.1rem;
    }

    .section-heading,
    .contact-form-map-section h2 {
        font-size: 3.5rem;
    }

    .about-section {
        padding: 4rem;
    }

    .about-section p {
        font-size: 1.1rem;
    }

    .content-section {
        padding: 3.5rem;
    }

    .content-section h2 {
        font-size: 2.8rem;
    }

    .content-section p {
        font-size: 1.05rem;
    }

    .service-card,
    .contact-info-card {
        padding: 2.5rem;
    }

    .service-card .icon-wrapper,
    .contact-info-card .icon-wrapper {
        width: 100px;
        height: 100px;
        font-size: 4rem;
    }

    .service-card h3,
    .contact-info-card h3 {
        font-size: 2rem;
    }

    .service-card p,
    .contact-info-card p {
        font-size: 1rem;
    }

    .vision-mission-cards .card,
    .values-section .card {
        padding: 2rem;
    }

    .vision-mission-cards .card-icon,
    .values-section .card-icon {
        font-size: 3.5rem;
    }

    .vision-mission-cards .card-title,
    .values-section .card-title {
        font-size: 1.8rem;
    }

    .vision-mission-cards .card-text,
    .values-section .card-text {
        font-size: 1rem;
    }

    .product-card img {
        height: 250px;
    }

    .product-card .card-title,
    .blog-card .card-title {
        font-size: 1.8rem;
    }

    .product-card .card-text,
    .blog-card .card-text {
        font-size: 1rem;
    }

    .blog-card img {
        height: 220px;
    }

    .testimonial-card {
        padding: 2.5rem;
    }

    .testimonial-card .quote-icon {
        font-size: 3.5rem;
    }

    .testimonial-card .testimonial-text {
        font-size: 1.1rem;
    }

    .author-initials {
        width: 70px;
        height: 70px;
        font-size: 2.2rem;
    }

    .testimonial-card .author-name {
        font-size: 1.3rem;
    }

    .testimonial-card .author-title {
        font-size: 0.9rem;
    }

    .contact-form-map-section {
        padding: 4rem;
        margin-top: 4rem;
    }

    .contact-home-section {
        padding-bottom: 6rem;
    }

    .contact-form-map-section textarea.form-control,
    .contact-home-section textarea.form-control {
        min-height: 180px;
    }

    .contact-form-map-section iframe,
    .contact-home-section iframe {
        min-height: 400px;
    }

    .footer-section {
        padding: 2.5rem 0 1rem 0;
    }

    .footer-section h5 {
        font-size: 1.4rem;
    }

    .footer-tagline {
        font-size: 1.25rem;
    }

    .top-bar .social-icons a {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
        margin-left: 0.8rem;
    }

    .footer-social-icons a {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

@media (max-width: 991.98px) {
    .top-bar {
        display: none !important;
    }

    .navbar {
        padding: 0.6rem 0;
    }

    .navbar-brand img {
        height: 45px;
    }

    .hero-section {
        padding: 10rem 0 8rem 0;
        border-bottom-left-radius: 2.5rem;
        border-bottom-right-radius: 2.5rem;
    }

    .hero-section h1 {
        font-size: 3.5rem;
    }

    .hero-section p {
        font-size: 1.4rem;
        margin-bottom: 3rem;
    }

    .page-header {
        padding: 6rem 0 4rem 0;
        border-bottom-left-radius: 2.5rem;
        border-bottom-right-radius: 2.5rem;
    }

    .page-header h1 {
        font-size: 3rem;
    }

    .page-header .breadcrumb-item {
        font-size: 1rem;
    }

    .section-spacing {
        padding: 6rem 0;
    }

    .section-heading,
    .contact-form-map-section h2 {
        font-size: 3rem;
        margin-bottom: 3.5rem;
    }

    .section-heading::after,
    .contact-form-map-section h2::after {
        width: 120px;
        height: 5px;
    }

    .about-section {
        margin-top: -6rem;
        padding: 3.5rem;
        border-radius: 1.5rem;
    }

    .about-section p {
        font-size: 1.05rem;
        margin-bottom: 1.8rem;
    }

    .content-section {
        padding: 3rem;
        margin-top: 2rem;
    }

    .content-section h2 {
        font-size: 2.5rem;
    }

    .content-section h2::after {
        width: 80px;
    }

    .content-section p {
        font-size: 1rem;
    }

    .content-section .img-fluid {
        margin-bottom: 1.5rem;
    }

    .service-card,
    .contact-info-card,
    .vision-mission-cards .card,
    .values-section .card,
    .testimonial-card,
    .product-card,
    .blog-card {
        padding: 2rem;
        border-radius: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .service-card .icon-wrapper,
    .contact-info-card .icon-wrapper {
        width: 90px;
        height: 90px;
        font-size: 3.5rem;
        margin-bottom: 1.5rem;
    }

    .service-card h3,
    .contact-info-card h3 {
        font-size: 1.8rem;
    }

    .service-card p,
    .contact-info-card p {
        font-size: 0.95rem;
    }

    .vision-mission-cards .card-icon,
    .values-section .card-icon {
        font-size: 3rem;
    }

    .vision-mission-cards .card-title,
    .values-section .card-title,
    .product-card .card-title,
    .blog-card .card-title {
        font-size: 1.6rem;
    }

    .vision-mission-cards .card-text,
    .values-section .card-text,
    .product-card .card-text,
    .blog-card .card-text {
        font-size: 0.95rem;
    }

    .product-card img {
        height: 220px;
    }

    .product-card .card-body {
        padding: 1.8rem;
    }

    .blog-card img {
        height: 180px;
    }

    .blog-card .card-body {
        padding: 1.8rem;
    }

    .blog-card .card-meta {
        font-size: 0.9rem;
    }

    .btn-read-more {
        padding: 0.7rem 1.8rem;
        font-size: 0.95rem;
        border-radius: 0.6rem;
    }

    .testimonial-card .quote-icon {
        font-size: 3rem;
        margin-bottom: 1.5rem;
    }

    .testimonial-card .testimonial-text {
        font-size: 1.05rem;
        margin-bottom: 1.8rem;
    }

    .author-initials {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }

    .testimonial-card .author-name {
        font-size: 1.2rem;
    }

    .testimonial-card .author-title {
        font-size: 0.9rem;
    }

    .contact-form-map-section {
        padding: 3.5rem;
        border-radius: 1.5rem;
        margin-top: 3rem;
    }

    .contact-home-section .contact-form-container {
        padding: 2rem;
        border-radius: 1.5rem;
    }

    .contact-form-map-section .form-control,
    .contact-home-section .form-control {
        padding: 0.8rem 1.2rem;
        font-size: 0.95rem;
        border-radius: 0.7rem;
    }

    .contact-form-map-section textarea.form-control,
    .contact-home-section textarea.form-control {
        min-height: 150px;
    }

    .contact-form-map-section .btn-primary-custom,
    .contact-home-section .btn-submit {
        padding: 0.9rem 1.5rem;
        font-size: 1.1rem;
        border-radius: 0.7rem;
    }

    .contact-form-map-section iframe,
    .contact-home-section iframe {
        min-height: 350px;
    }

    .navbar .search-container,
    .navbar .dropdown-menu.dropdown-menu-custom {
        width: 100%;
        margin: 1rem 0;
        padding: 0 1rem;
    }

    .navbar .search-box {
        width: 100%;
    }

    .suggestions-dropdown,
    .navbar .dropdown-menu.dropdown-menu-custom {
        position: static;
        top: auto;
        left: auto;
        transform: none;
        box-shadow: none;
        border-radius: 0;
        padding: 0;
        min-width: auto;
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
        max-height: none;
    }

    .navbar .dropdown-menu.dropdown-menu-custom::before {
        display: none;
    }

    .suggestions-dropdown {
        margin-top: 0.5rem;
        border: none;
        border-top: 1px solid var(--border-color);
    }

    .footer-section {
        padding: 2rem 0 0.8rem 0;
        border-top-left-radius: 2.5rem;
        border-top-right-radius: 2.5rem;
    }

    .footer-section h5 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
        padding-bottom: 0.5rem;
    }

    .footer-section h5::after {
        width: 50px;
        height: 3px;
    }

    .footer-tagline {
        font-size: 1.15rem;
        margin-top: 0.6rem;
    }

    .footer-section p,
    .footer-section ul li a {
        font-size: 0.9rem;
    }

    .footer-section ul li {
        margin-bottom: 0.6rem;
    }

    .footer-social-icons {
        gap: 1rem;
        margin-top: 2rem;
    }

    .footer-social-icons a {
        width: 48px;
        height: 48px;
        font-size: 1.4rem;
    }
}

@media (max-width: 767.98px) {
    .navbar {
        padding: 0.6rem 0;
    }

    .navbar-brand img {
        height: 45px;
    }

    .hero-section {
        padding: 8rem 0 6rem 0;
        border-bottom-left-radius: 2rem;
        border-bottom-right-radius: 2rem;
    }

    .hero-section h1 {
        font-size: 2.8rem;
        letter-spacing: 0;
    }

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

    .btn-primary-custom {
        padding: 0.8rem 2rem;
        font-size: 1rem;
        border-radius: 0.6rem;
    }

    .page-header {
        padding: 4rem 0 3rem 0;
        margin-bottom: 1.5rem;
        border-bottom-left-radius: 2rem;
        border-bottom-right-radius: 2rem;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }

    .page-header .breadcrumb-item {
        font-size: 0.9rem;
    }

    .section-spacing {
        padding: 4rem 0;
    }

    .section-heading,
    .contact-form-map-section h2 {
        font-size: 2.2rem;
        margin-bottom: 2.5rem;
        padding-bottom: 0.8rem;
    }

    .section-heading::after,
    .contact-form-map-section h2::after {
        width: 100px;
        height: 4px;
    }

    .about-section {
        margin-top: -4rem;
        padding: 2.5rem;
        border-radius: 1.2rem;
    }

    .about-section p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .about-section .img-fluid {
        margin-bottom: 2rem;
    }

    .content-section {
        padding: 2.5rem;
        margin-top: 1.5rem;
    }

    .content-section h2 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .content-section h2::after {
        width: 60px;
    }

    .content-section p {
        font-size: 0.95rem;
    }

    .content-section .img-fluid {
        margin-bottom: 1rem;
    }

    .service-card,
    .contact-info-card,
    .vision-mission-cards .card,
    .values-section .card,
    .testimonial-card,
    .product-card,
    .blog-card {
        padding: 1.5rem;
        border-radius: 1.2rem;
    }

    .service-card .icon-wrapper,
    .contact-info-card .icon-wrapper {
        width: 80px;
        height: 80px;
        font-size: 3rem;
        margin-bottom: 1.2rem;
    }

    .service-card h3,
    .contact-info-card h3,
    .vision-mission-cards .card-title,
    .values-section .card-title,
    .product-card .card-title,
    .blog-card .card-title {
        font-size: 1.4rem;
    }

    .service-card p,
    .contact-info-card p,
    .vision-mission-cards .card-text,
    .values-section .card-text,
    .product-card .card-text,
    .blog-card .card-text {
        font-size: 0.9rem;
    }

    .vision-mission-cards .card-icon,
    .values-section .card-icon {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .product-card img {
        height: 180px;
    }

    .product-card .card-body {
        padding: 1.5rem;
    }

    .btn-outline-primary-custom {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
        border-radius: 0.6rem;
    }

    .blog-card img {
        height: 150px;
    }

    .blog-card .card-meta {
        font-size: 0.8rem;
    }

    .btn-read-more {
        padding: 0.6rem 1.5rem;
        font-size: 0.85rem;
        border-radius: 0.5rem;
    }

    .testimonial-card .quote-icon {
        font-size: 2.5rem;
        margin-bottom: 1.2rem;
    }

    .testimonial-card .testimonial-text {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .author-initials {
        width: 50px;
        height: 50px;
        font-size: 1.8rem;
    }

    .testimonial-card .author-name {
        font-size: 1.1rem;
    }

    .testimonial-card .author-title {
        font-size: 0.85rem;
    }

    .contact-form-map-section {
        padding: 2.5rem;
        border-radius: 1.2rem;
        margin-top: 2.5rem;
    }

    .contact-home-section .contact-form-container {
        padding: 1.5rem;
        border-radius: 1.2rem;
    }

    .contact-form-map-section .form-control,
    .contact-home-section .form-control {
        padding: 0.7rem 1rem;
        font-size: 0.9rem;
        border-radius: 0.6rem;
    }

    .contact-form-map-section textarea.form-control,
    .contact-home-section textarea.form-control {
        min-height: 120px;
    }

    .contact-form-map-section .btn-primary-custom,
    .contact-home-section .btn-submit {
        padding: 0.8rem 1.2rem;
        font-size: 1rem;
        border-radius: 0.6rem;
    }

    .contact-form-map-section iframe,
    .contact-home-section iframe {
        min-height: 300px;
    }

    .footer-section {
        padding: 1.5rem 0 0.5rem 0;
        border-top-left-radius: 2rem;
        border-top-right-radius: 2rem;
    }

    .footer-section h5 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
        padding-bottom: 0.4rem;
    }

    .footer-section h5::after {
        width: 40px;
        height: 3px;
    }

    .footer-tagline {
        font-size: 1.05rem;
        margin-top: 0.5rem;
    }

    .footer-section p,
    .footer-section ul li a {
        font-size: 0.85rem;
    }

    .footer-section ul li {
        margin-bottom: 0.5rem;
    }

    .footer-social-icons {
        gap: 0.8rem;
        margin-top: 1.5rem;
    }

    .footer-social-icons a {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
}



/* ========== FORM INTERACTIONS ========== */
.recommendation-section select,
.recommendation-section input[type="number"] {
    transition: 0.3s ease-in-out;
    border: 1px solid var(--border-color);
    background-color: #fff;
}

.recommendation-section select:hover,
.recommendation-section input[type="number"]:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(90, 190, 90, 0.2);
}

.recommendation-section select:focus,
.recommendation-section input[type="number"]:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 8px rgba(90, 190, 90, 0.3);
    outline: none;
}

/* ========== SUBMIT BUTTON ANIMATION ========== */
.recommendation-section .btn-primary-custom {
    transition: 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.recommendation-section .btn-primary-custom::before {
    content: "";
    position: absolute;
    background: var(--primary-color);
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    z-index: -1;
    transition: left 0.4s ease;
}

.recommendation-section .btn-primary-custom:hover::before {
    left: 0;
}

/* ========== RECOMMENDATION RESULT CARDS ========== */
.result-card {
    animation: fadeUp 0.7s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.result-card:nth-child(1) {
    animation-delay: 0.1s;
}

.result-card:nth-child(2) {
    animation-delay: 0.2s;
}

.result-card:nth-child(3) {
    animation-delay: 0.3s;
}

.result-card:nth-child(4) {
    animation-delay: 0.4s;
}

.product-name {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.6rem;
}

.dosage,
.method {
    font-size: 1.1rem;
    margin-top: 0.5rem;
    color: var(--text-gray);
}

/* ========== SECTION HEADINGS ========== */
.recommendation-section h2,
.recommendation-results h3 {
    animation: zoomInFade 0.6s ease-in-out;
}

@keyframes zoomInFade {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}


.recommendation-results {
    padding: 4rem 0;
    background: var(--bg-white);
    border-radius: 1.5rem;
    margin-top: 4rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.recommendation-results h3 {
    text-align: center;
    color: var(--primary-color);
    animation: zoomIn 0.6s ease;
}

.result-card {
    background: #f6fff6;
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    transition: all 0.3s ease;
    animation: fadeUp 0.7s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

.result-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.95);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}