/* CSS Reset & Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-green: #2E7D32;
    --light-green: #8BC34A;
    --accent-yellow: #FFC107;
    --dark-gray: #333;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    --shadow: rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- 1. GLOBAL RESET & SCROLL FIX --- */

html,
body {
    overflow-x: hidden;
    max-width: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', sans-serif;
}

/* --- 2. HEADER STYLES --- */
.smart-header {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* Kala fogee dhinacyada */
    padding: 0 20px;
    transition: transform 0.3s ease-in-out;
}

.header-hidden {
    transform: translateY(-100%);
}

/* --- [NEW] LEFT GROUP (Hamburger + Logo) --- */
/* Kani wuxuu hubinayaa inay isku dheganaadaan */
.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-left: 2em;
}

desktop-nav:hover {
    background-color: red;
}

/* Logo Style */
.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #2E7D32;
    font-weight: bold;
    font-size: 1.5rem;
}

.brand-logo img {
    height: 40px;
}

/* --- [NEW] CALL BUTTON STYLE --- */
.header-cta {
    background: #FFC107;
    /* Jaalle */
    color: #000;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    transition: transform 0.2s;
    margin-right: 2em;
}

.header-cta:hover {
    transform: scale(1.05);
    background: #ffcd38;
}

/* --- HAMBURGER MENU --- */
.menu-toggle {
    display: none;
    font-size: 1.8rem;
    color: #333;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
}

/* --- DESKTOP NAV --- */
.desktop-nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.desktop-nav a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s;
}

.desktop-nav a:hover,
.desktop-nav a.active {
    text-decoration: underline;
    color: #2E7D32;
}

/* --- MOBILE SIDEBAR --- */
.mobile-sidebar {
    position: fixed;
    top: 0;
    left: -280px;
    width: 260px;
    height: 100vh;
    background: white;
    z-index: 1001;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    transition: left 0.3s ease;
    display: flex;
    flex-direction: column;
    padding-top: 20px;
}

.mobile-sidebar.active {
    left: 0;
}

.mobile-nav-links {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.mobile-nav-links li {
    border-bottom: 1px solid #eee;
}

.mobile-nav-links a {
    display: block;
    padding: 15px 25px;
    color: #333;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
}

.mobile-nav-links a:hover {
    background: #f9f9f9;
    color: #2E7D32;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.menu-overlay.active {
    display: block;
    opacity: 1;
}

.close-btn {
    align-self: flex-end;
    margin-right: 20px;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #555;
}

/* --- RESPONSIVE QUERIES --- */
@media (max-width: 992px) {
    .menu-toggle {
        display: block;
    }

    .desktop-nav {
        display: none;
    }

    /* Logo adjustment on mobile */
    .brand-logo {
        font-size: 1.3rem;
    }

    .brand-logo img {
        height: 35px;
    }

    /* --- CALL BUTTON MOBILE (Icon Only) --- */
    .header-cta {
        padding: 0;
        width: 40px;
        height: 40px;
        justify-content: center;
        border-radius: 50%;
        /* Goobo */
        font-size: 1.1rem;
        margin-right: 1.2em;
    }

    .header-left {
        padding-left: 0;
    }

    .header-cta span {
        display: none;
    }

    /* Qari qoraalka mobile-ka */
    .header-cta i {
        margin: 0;
    }
}

/* RESET & GENERAL */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #f4f4f4;
    overflow-x: hidden;
}

/* HERO SECTION */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
        url('../uploads/hero-bg.jpg') center/cover no-repeat;
    /* background: linear-gradient(105deg, #0f3d23 0%, #1e5631 40%, #2e7d32 100%); */
    min-height: 71vh;
    /* Full screen height for impact */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
    /* margin-top: 5em; */
}

/* Decorative Background */
.hero-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    animation: pulse 4s infinite alternate;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1250px;
    width: 100%;
    gap: 2rem;
    z-index: 10;
}

/* LEFT SIDE */
.hero-left {
    flex: 1;
    display: flex;
    justify-content: center;
    /* Animation: From Left */
    opacity: 0;
    animation: fadeInLeft 1s ease-out forwards;
}

.main-circle-img {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    border: 6px solid #fff;
    object-fit: cover;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
}

.main-circle-img:hover {
    transform: scale(1.05) rotate(2deg);
    /* Interactive Hover */
}

/* CENTER CONTENT */
.hero-center {
    flex: 2;
    color: white;
    padding: 0 1rem;
}

/* Animations for Text Elements with Delays */
.anim-item {
    opacity: 0;
    /* Hidden initially */
    transform: translateY(30px);
    /* Pushed down */
}

.logo-title {
    font-size: 2.1rem;
    font-weight: 700;
    padding-bottom: 5px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    flex-wrap: nowrap;
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.logo-icon {
    color: #4CAF50;
    font-size: 3rem;
}

.badge {
    background-color: white;
    color: #1e5631;
    padding: 8px 25px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-block;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);

    animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

.description {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 300;
    line-height: 1.6;

    animation: fadeInUp 0.8s ease-out 0.6s forwards;
}

.plant-list {
    list-style: none;
    margin-bottom: 2rem;

    animation: fadeInUp 0.8s ease-out 0.8s forwards;
}

.plant-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 1.05rem;
    transition: transform 0.2s;
}

.plant-list li:hover {
    transform: translateX(10px);
    color: #a5d6a7;
    cursor: default;
}

.plant-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #81c784;
    font-weight: bold;
}

.contact-info1 {
    display: flex;
    gap: 25px;
    font-size: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1.5rem;

    animation: fadeInUp 0.8s ease-out 1s forwards;
}

.contact-item1 {
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 20px;
    border-radius: 8px;
    transition: background 0.3s;
}

.contact-item1 a {
    text-decoration: none;
    color: #f5f5f5;
}

.contact-item1:hover {
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
}

.contact-item i {
    color: #FFC107;
}

/* RIGHT SIDE */
.hero-right {
    flex: 1;
    position: relative;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;
    animation: fadeInRight 1s ease-out 0.5s forwards;
}

.small-circle {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 4px solid #81c784;
    object-fit: cover;
    position: absolute;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.4s;
}

.circle-1 {
    top: -20px;
    right: 20px;
    z-index: 1;
}

.circle-2 {
    bottom: -20px;
    left: 20px;
    z-index: 2;
    border-color: #fff;
}

.hero-right:hover .circle-1 {
    transform: translateY(-10px);
}

.hero-right:hover .circle-2 {
    transform: translateY(10px);
}

/* KEYFRAME ANIMATIONS DEFINITIONS */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.05;
    }

    100% {
        transform: scale(1.1);
        opacity: 0.1;
    }
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .hero-section {
        min-height: auto;
        padding-top: 5rem;
        padding-bottom: 4rem;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-right {
        display: none;
    }

    .contact-info {
        justify-content: center;
        flex-wrap: wrap;
    }

    /* Enhanced Logo Title for Mobile */
    .logo-title {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 12px;
        font-size: 1.6rem;
        letter-spacing: 1px;
        padding: 10px 20px;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
        border-radius: 15px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(10px);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    }

    .logo-title .logo-icon {
        font-size: 2.2rem;
        color: #4CAF50;
        filter: drop-shadow(0 2px 8px rgba(76, 175, 80, 0.4));
        animation: iconPulse 2s ease-in-out infinite;
    }

    .plant-list {
        display: inline-block;
        text-align: left;
    }

    .main-circle-img {
        width: 250px;
        height: 250px;
    }

    .contact-info1 {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .contact-item1 {
        width: 100%;
        display: flex;
        justify-content: center;
    }
}

/* Smaller Mobile Screens */
@media (max-width: 576px) {
    .hero-section {
        padding-top: 5.5rem;
        padding-bottom: 3rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .logo-title {
        flex-direction: column;
        gap: 10px;
        font-size: 1.35rem;
        padding: 15px 20px;
        text-align: center;
        line-height: 1.3;
    }

    .logo-title .logo-icon {
        font-size: 2.5rem;
        margin-bottom: 5px;
    }

    .main-circle-img {
        width: 200px;
        height: 200px;
    }

    .badge {
        font-size: 0.95rem;
        padding: 6px 18px;
    }

    .description {
        font-size: 1rem;
        padding: 0 10px;
    }

    .plant-list li {
        font-size: 0.95rem;
    }

    .contact-item1 {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
}

/* Icon pulse animation for mobile */
@keyframes iconPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

/* Buttons */

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-green);
    color: var(--white);
}

.btn-primary:hover {
    background: #1b5e20;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(46, 125, 50, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-green);
}

.btn-small {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
}

/* Featured Products Section */
.featured-section {
    padding: 5rem 0;
    background: var(--light-gray);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.product-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.featured-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--accent-yellow);
    color: var(--dark-gray);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.product-content {
    padding: 1.5rem;
}

.product-category {
    display: inline-block;
    color: var(--light-green);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.product-content h3 {
    font-size: 1.4rem;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.product-content p {
    color: #666;
    margin-bottom: 1rem;
}

/* About Preview Section */

.about-preview {
    padding: 5rem 0;

}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}


.about-image {
    position: relative;
    height: 550px;
    overflow: hidden;
    border-radius: 10px;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.about-image:hover .about-image img {
    transform: scale(1.1);
}

.about-content h2 {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.about-content p {
    margin-bottom: 1rem;
    color: #555;
    line-height: 1.8;
}

.about-features {
    list-style: none;
    margin: 1.5rem 0;
}

.about-features li {
    padding: 0.5rem 0;
    color: var(--dark-gray);
    font-weight: 500;
}

/* Services Section */

.services-section {
    padding: 5rem 0;
    background: var(--light-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px var(--shadow);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h3 {
    color: var(--primary-green);
    margin-bottom: 1.5rem;
}

.contact-item strong i {
    color: #333;
    padding-right: 5px;
}

.contact-item {
    margin-bottom: 1.5rem;
}

.contact-item strong {
    display: block;
    color: var(--primary-green);
    margin-bottom: 0.3rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-icon {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background: var(--primary-green);
    color: var(--white);
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.social-icon:hover {
    background: var(--light-green);
}

.contact-form {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 15px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
}

/* Footer Styles */

footer {
    background: var(--primary-green);
    color: var(--white);
    padding: 3rem 5% 1.5rem;
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    color: var(--white);
    /* Waan cadaayay qoraalka */
}

.footer-section p {
    opacity: 0.8;
    line-height: 1.8;
}

.footer-links {
    list-style: none;
    text-decoration: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent-yellow);
    padding-left: 5px;
}

.social-links a {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    text-decoration: none;
}

/* --- Social Links (Desktop View Fix) --- */
.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background-color: #f3f3f3;
    /* Background-ka waa saafi */
    color: #2E7D32;
    /* MUHIIM: Midabka icon-ka hada waa Cagaar (Green) */
    border-radius: 50%;
    margin-left: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

/* Marka mouse-ka la saaro (Hover) */
.social-links a:hover {
    background-color: #2E7D32;
    /* Background-ka wuxuu noqonayaa Cagaar */
    color: #ffffff;
    /* Icon-ka wuxuu noqonayaa Cadaan */
    transform: translateY(-3px);
    /* Wax yar ayuu kor u boodayaa */
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}


/* Responsive Design */
@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }

    .header .home {
        width: 50%;
        text-decoration: none;
    }

    .header .logo {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .header .logo img {
        width: 25%;
    }

    .about-preview {
        align-items: center;
        text-align: center;
    }

    .about-image {
        position: relative;
        height: 350px;
        overflow: hidden;
        border-radius: 10px;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 5px 10px var(--shadow);
        transform: translateY(-200%);
        transition: transform 0.3s ease;
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .call-btn {
        display: none;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .about-img img {
        height: 300px;
    }

    .about-wrapper,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }
}

/* AOS Animation Integration */
[data-aos] {
    pointer-events: auto;
}

.aos-init[data-aos][data-aos].aos-animate {
    transform: translateY(0);
    opacity: 1;
}

/* =============================================
   PROFESSIONAL SECTION ANIMATIONS
   ============================================= */

/* --- Section Entry Animations --- */
.featured-section,
.about-preview,
.services-section,
.contact-section {
    opacity: 1;
}

/* --- Section Header Animations --- */
.section-header h2 {
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--light-green));
    border-radius: 2px;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-header:hover h2::after {
    width: 100px;
}

/* --- Product Card Animations --- */
.product-card {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover {
    transform: translateY(-15px) scale(1.02);
}

.product-card .product-image img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-image img {
    transform: scale(1.15);
}

.product-card .product-content {
    transition: background-color 0.3s ease;
}

/* Product card stagger animation */
.products-grid .product-card:nth-child(1) {
    animation-delay: 0.1s;
}

.products-grid .product-card:nth-child(2) {
    animation-delay: 0.2s;
}

.products-grid .product-card:nth-child(3) {
    animation-delay: 0.3s;
}

.products-grid .product-card:nth-child(4) {
    animation-delay: 0.4s;
}

.products-grid .product-card:nth-child(5) {
    animation-delay: 0.5s;
}

.products-grid .product-card:nth-child(6) {
    animation-delay: 0.6s;
}

/* --- Service Card Animations --- */
.service-card {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        border-color 0.3s ease;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-12px);
    border-color: var(--primary-green);
}

.service-card .service-icon {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        color 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.2) rotate(5deg);
}

/* Service card stagger animation */
.services-grid .service-card:nth-child(1) {
    animation-delay: 0.1s;
}

.services-grid .service-card:nth-child(2) {
    animation-delay: 0.2s;
}

.services-grid .service-card:nth-child(3) {
    animation-delay: 0.3s;
}

.services-grid .service-card:nth-child(4) {
    animation-delay: 0.4s;
}

/* --- About Section Animations --- */
.about-image {
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-image:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.about-image img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-image:hover img {
    transform: scale(1.1);
}

.about-features li {
    transition: transform 0.3s ease, color 0.3s ease;
}

.about-features li:hover {
    transform: translateX(10px);
    color: var(--primary-green);
}

/* --- Contact Section Animations --- */
.contact-item {
    transition: transform 0.3s ease, background-color 0.3s ease;
    padding: 10px;
    border-radius: 8px;
}

.contact-item:hover {
    transform: translateX(8px);
    background-color: rgba(46, 125, 50, 0.05);
}

.contact-form {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-form:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.form-group input,
.form-group textarea {
    transition: border-color 0.3s ease,
        box-shadow 0.3s ease,
        transform 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    transform: scale(1.01);
    box-shadow: 0 0 0 4px rgba(46, 125, 50, 0.1);
}

/* --- Social Links Animations --- */
.social-links a {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
        background-color 0.3s ease,
        color 0.3s ease,
        box-shadow 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* --- Button Animations --- */
.btn {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.3s ease;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(46, 125, 50, 0.3);
}

.btn:active {
    transform: translateY(-1px);
}

/* --- Featured Badge Animation --- */
.featured-badge {
    animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(255, 193, 7, 0.4);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 15px rgba(255, 193, 7, 0.6);
    }
}

/* --- Footer Animations --- */
.footer-section {
    transition: transform 0.3s ease;
}

.footer-section:hover {
    transform: translateY(-5px);
}

.footer-links li {
    transition: transform 0.3s ease, padding-left 0.3s ease;
}

.footer-links li:hover {
    transform: translateX(5px);
}

/* --- Floating Animation for Hero Elements --- */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.hero-right .small-circle {
    animation: float 4s ease-in-out infinite;
}

.hero-right .circle-1 {
    animation-delay: 0s;
}

.hero-right .circle-2 {
    animation-delay: 1s;
}

/* --- Shimmer Effect for Cards --- */
@keyframes shimmer {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}

.product-card::after,
.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.1) 50%,
            transparent 100%);
    background-size: 200% 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.product-card:hover::after,
.service-card:hover::after {
    opacity: 1;
    animation: shimmer 1.5s ease-in-out;
}

/* --- Smooth Scroll Behavior --- */
html {
    scroll-behavior: smooth;
}