* {  
    margin: 0;  
    padding: 0;  
    box-sizing: border-box;  
    -webkit-tap-highlight-color: transparent; /* Remove tap highlight on mobile */
}  
  
body {  
    font-family: -apple-system, BlinkMacSystemFont, 'Poppins', 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;  
    line-height: 1.6;  
    color: #333;  
    overflow-x: hidden; /* Prevent horizontal scroll */
    width: 100%;
}  
  
.container {  
    max-width: 1200px;  
    margin: 0 auto;  
    padding: 0 clamp(15px, 4vw, 20px); /* Responsive padding */
}  
   
/* ================= NAVIGATION ================= */  
.navbar {  
    background: rgba(255, 255, 255, 0.98);  
    backdrop-filter: blur(10px);  
    -webkit-backdrop-filter: blur(10px);
    position: fixed;  
    margin-top: -10px;
    top: 0;  
    width: 100%;
    height: 90px !important;
    min-height: 90px !important;
    max-height: 90px !important;
    z-index: 1000;  
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);  
    transition: all 0.3s ease;
    display: flex !important;
    align-items: center !important;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    height: 90px !important;
    min-height: 90px !important;
    max-height: 90px !important;
}

.navbar.mobile-scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    height: 90px !important;
    min-height: 90px !important;
    max-height: 90px !important;
}
  
.nav-container {  
    max-width: 1200px;  
    margin: 0 auto;  
    padding: 0 clamp(15px, 4vw, 20px);  
    display: flex;  
    justify-content: space-between;  
    align-items: center;  
    height: 90px !important;
    min-height: 90px !important;
    max-height: 90px !important;
    width: 100%;
} 
.nav-link.active {
    background: rgba(45, 90, 39, 0.12);
    border-radius: 20px;
    padding: 8px clamp(10px, 2vw, 16px);
}
  
.nav-menu {  
    display: flex;  
    list-style: none;  
    gap: clamp(1rem, 2vw, 2rem);  
}  
  
.nav-link {  
    text-decoration: none;  
    color: #333;  
    font-weight: 500;  
    transition: color 0.3s ease;  
    position: relative;  
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    padding: 5px 0;
    display: inline-block;
}  
  
.nav-link:hover {  
    color: #4a7c59;  
}  
  
.nav-link::after {  
    content: '';  
    position: absolute;  
    width: 0;  
    height: 2px;  
    bottom: 0;  
    left: 0;  
    background-color: #4a7c59;  
    transition: width 0.3s ease;  
}  
  
.nav-link:hover::after {  
    width: 100%;  
}  
  
.hamburger {  
    display: none;  
    flex-direction: column;  
    cursor: pointer;  
    background: none;
    border: none;
    padding: 5px;
    z-index: 1001;
}  
  
.bar {  
    width: 25px;  
    height: 3px;  
    background-color: #333;  
    margin: 3px 0;  
    transition: 0.3s;  
    border-radius: 2px;
}  

/* Hamburger animation */
.hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

 /* Logo Section */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    font-weight: bold;
    color: #4a7c59;
}

.nav-logo img {
    margin-top: 10px;
    width: clamp(75px, 12vw, 100px); /* increased size */
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.nav-logo img:hover {
    transform: scale(1.05);
}

/* ================= DROPDOWN MENU ================= */
.nav-item {
    padding-top: 10p;
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 200px;
    list-style: none;
    padding: 10px 0;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    display: none;
    border-radius: 6px;
    z-index: 1000;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Show dropdown on hover for desktop */
@media (hover: hover) and (pointer: fine) {
    .nav-item.dropdown:hover .dropdown-menu {
        display: block;
        opacity: 1;
        transform: translateY(0);
    }
}

/* Show class for mobile touch */
.dropdown-menu.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
    position: static;
    box-shadow: none;
    background: #f9f9f9;
    margin-top: 10px;
    border-radius: 8px;
}

.dropdown-menu li a {
    display: block;
    padding: clamp(8px, 2vw, 10px) clamp(15px, 3vw, 20px);
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: clamp(0.85rem, 1.5vw, 0.9rem);
    min-height: 44px; /* Minimum touch target */
    display: flex;
    align-items: center;
}

.dropdown-menu li a:hover {
    background: #f3f3f3;
    color: #4a7c59;
    padding-left: 25px;
}

/* ================= WHAT MAKES US DIFFERENT SECTION ================= */  
.difference-section {  
    margin-top: 80px;  
    padding: clamp(40px, 8vw, 60px) 0;  
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);  
    border-radius: 20px;  
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);  
}  
  
.difference-grid {  
    display: grid;  
    grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));  
    gap: clamp(1rem, 2vw, 1.5rem);  
    margin-top: clamp(2rem, 4vw, 3rem);  
    padding: 0 clamp(10px, 2vw, 20px);
}  
  
.difference-card {  
    background: white;  
    padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1rem, 3vw, 2rem);  
    border-radius: 15px;  
    text-align: center;  
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);  
    transition: all 0.3s ease;  
    position: relative;  
    overflow: hidden;  
    border: 1px solid #f1f3f4;  
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}  
  
.difference-card::before {  
    content: '';  
    position: absolute;  
    top: 0;  
    left: 0;  
    right: 0;  
    height: 4px;  
    background: linear-gradient(90deg, #4a7c59, #ff6b35, #2d5a27);  
    transform: scaleX(0);  
    transition: transform 0.3s ease;  
}  
  
.difference-card:hover::before {  
    transform: scaleX(1);  
}  

/* Hover only on non-touch devices */
@media (hover: hover) and (pointer: fine) {
    .difference-card:hover {  
        transform: translateY(-8px);  
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);  
        border-color: #4a7c59;  
    }  
    
    .difference-card:hover .difference-icon {  
        transform: scale(1.1) rotate(5deg);  
        box-shadow: 0 6px 20px rgba(74, 124, 89, 0.4);  
    }
}
  
.difference-icon {  
    width: clamp(60px, 10vw, 80px);  
    height: clamp(60px, 10vw, 80px);  
    margin: 0 auto clamp(1rem, 2vw, 1.5rem);  
    background: linear-gradient(135deg, #4a7c59, #2d5a27);  
    border-radius: 50%;  
    display: flex;  
    align-items: center;  
    justify-content: center;  
    transition: all 0.3s ease;  
    box-shadow: 0 4px 15px rgba(74, 124, 89, 0.3);  
    flex-shrink: 0;
}  
  
.difference-icon i {  
    font-size: clamp(1.5rem, 3vw, 2rem);  
    color: white;  
}  
  
.difference-content h3 {  
    font-size: clamp(1.2rem, 2.5vw, 1.4rem);  
    color: #2d5a27;  
    margin-bottom: clamp(0.8rem, 1.5vw, 1rem);  
    font-weight: 600;  
    line-height: 1.3;  
}  
  
.difference-content p {  
    color: #666;  
    line-height: 1.7;  
    font-size: clamp(0.9rem, 1.8vw, 1rem);  
    margin: 0;  
}  
  
/* ================= PRODUCTS SECTION ================= */  
.products {  
    padding: clamp(60px, 8vw, 90px) 0;  
}  
  
.products-grid {  
    display: grid;  
    grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));  
    gap: clamp(1.5rem, 3vw, 2rem);  
    padding: 0 clamp(10px, 2vw, 20px);
}  
  
.product-card {  
    background: white;  
    border-radius: 15px;  
    overflow: hidden;  
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);  
    transition: all 0.3s ease;  
    position: relative;  
    height: 100%;
}  

/* Hover only on non-touch devices */
@media (hover: hover) and (pointer: fine) {
    .product-card:hover {  
        transform: translateY(-10px);  
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);  
    }
}
  
.product-card img {  
    width: 100%;  
    height: 250px;  
    object-fit: cover;  
}  
  
.product-info {  
    padding: clamp(1rem, 2vw, 1.5rem);  
}  
  
.product-info h3 {  
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);  
    color: #2d5a27;  
    margin-bottom: 0.5rem;  
    font-weight: 600;
}  
  
.product-info p {  
    color: #666;  
    margin-bottom: 1rem;  
    line-height: 1.6;  
    font-size: clamp(0.9rem, 1.8vw, 1rem);
}  
  

/* ================= GALLERY SECTION ================= */  
.gallery {  
    padding: clamp(60px, 8vw, 100px) 0;  
    background: #f8f9fa;  
}  
  
.gallery-grid {  
    display: grid;  
    grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));  
    gap: clamp(1rem, 2vw, 1.5rem);  
    padding: 0 clamp(10px, 2vw, 20px);
}  
  
.gallery-item {  
    position: relative;  
    overflow: hidden;  
    border-radius: 15px;  
    cursor: pointer;  
}  
  
.gallery-item img {  
    width: 100%;  
    height: 300px;  
    object-fit: cover;  
    transition: transform 0.3s ease;  
}  

/* Hover only on non-touch devices */
@media (hover: hover) and (pointer: fine) {
    .gallery-item:hover img {  
        transform: scale(1.05);  
    }
    
    .gallery-item:hover .overlay {  
        transform: translateY(0);  
    }
}
  
.overlay {  
    position: absolute;  
    bottom: 0;  
    left: 0;  
    right: 0;  
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));  
    color: white;  
    padding: clamp(1rem, 2vw, 2rem) clamp(1rem, 2vw, 1.5rem) clamp(1rem, 2vw, 1.5rem);  
    transform: translateY(100%);  
    transition: transform 0.3s ease;  
}  
  
.overlay p {  
    font-weight: 500;  
    font-size: clamp(0.9rem, 1.8vw, 1rem);
}  
  
/* ================= CONTACT SECTION ================= */  
.contact {  
    padding: clamp(60px, 8vw, 100px) 0;  
}  
  
.contact-content {  
    display: grid;  
    grid-template-columns: 1fr;  
    gap: clamp(2rem, 4vw, 4rem);  
}  
  
@media (min-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr 1fr;
    }
}
  
.contact-item {  
    display: flex;  
    align-items: flex-start;  
    margin-bottom: clamp(1.5rem, 3vw, 2rem);  
    gap: clamp(0.8rem, 1.5vw, 1rem);  
}  
  
.contact-item i {  
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);  
    color: #4a7c59;  
    margin-top: 5px;  
    width: 30px;  
    flex-shrink: 0;
}  
  
.contact-item h3 {  
    color: #2d5a27;  
    margin-bottom: 0.5rem;  
    font-size: clamp(1.1rem, 2vw, 1.2rem);
}  
  
.contact-item p {  
    color: #666;  
    line-height: 1.6;  
    font-size: clamp(0.9rem, 1.8vw, 1rem);
}  
  
.contact-form {  
    background: #f8f9fa;  
    padding: clamp(1.5rem, 3vw, 2rem);  
    border-radius: 15px;  
}  
  
.form-group {  
    margin-bottom: clamp(1rem, 2vw, 1.5rem);  
}  
  
.form-group input,  
.form-group textarea {  
    width: 100%;  
    padding: clamp(10px, 2vw, 12px) clamp(12px, 2vw, 15px);  
    border: 2px solid #e9ecef;  
    border-radius: 8px;  
    font-family: inherit;  
    font-size: clamp(0.9rem, 1.8vw, 1rem);  
    transition: border-color 0.3s ease;  
    background: white;
}  
  
.form-group input:focus,  
.form-group textarea:focus {  
    outline: none;  
    border-color: #4a7c59;  
    box-shadow: 0 0 0 3px rgba(74, 124, 89, 0.1);
}  
  
.submit-btn {  
    width: 100%;  
    background: #2d5a27;  
    color: white;  
    padding: clamp(10px, 2vw, 12px) clamp(20px, 3vw, 30px);  
    border: none;  
    border-radius: 8px;  
    font-size: clamp(0.9rem, 1.8vw, 1rem);  
    font-weight: 600;  
    cursor: pointer;  
    transition: all 0.3s ease;  
    min-height: 44px;
}  
  
.submit-btn:hover {  
    background: #1f3f1a;  
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(45, 90, 39, 0.3);
}  

.submit-btn:active {
    transform: translateY(0);
}
  
/* ================= FOOTER ================= */  
/* ================= FOOTER ================= */
.footer {
    background: #2d5a27;
    color: white;
    padding: clamp(40px, 6vw, 50px) 0 clamp(20px, 3vw, 20px);
}

/* ---------- Footer Grid ---------- */
.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr; /* LEFT | CENTER | RIGHT */
    gap: clamp(2rem, 4vw, 3rem);
    margin-bottom: clamp(1.5rem, 3vw, 2rem);
    align-items: start;
}

/* ---------- Common Footer Section ---------- */
.footer-section {
    display: flex;
    flex-direction: column;
}

/* ---------- Left Section (Brand) ---------- */
.footer-brand {
    justify-self: start;
    text-align: left;
}

.footer-logo {
    width: 70px;
    height: auto;
    margin-bottom: 0.8rem;
}

/* ---------- Center Section (Quick Links) ---------- */
.footer-content .footer-section:nth-child(2) {
    justify-self: center;
    text-align: center;
}

.footer-content .footer-section:nth-child(2) ul {
    align-items: center;
}

/* ---------- Right Section (Services) ---------- */
.footer-content .footer-section:nth-child(3) {
    justify-self: end;
    text-align: right;
}

.footer-content .footer-section:nth-child(3) ul {
    align-items: flex-end;
}

/* ---------- Headings ---------- */
.footer-section h3 {
    margin-bottom: clamp(0.8rem, 1.5vw, 1rem);
    color: #ff6b35;
    font-size: clamp(1.1rem, 2vw, 1.2rem);
}

/* ---------- Text ---------- */
.footer-section p,
.footer-section ul li {
    color: #d1e8d4;
    line-height: 1.8;
    font-size: clamp(0.9rem, 1.8vw, 1rem);
}

/* ---------- Lists ---------- */
.footer-section ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.footer-section ul li {
    margin-bottom: clamp(0.3rem, 1vw, 0.5rem);
}

.footer-section ul li a {
    color: #d1e8d4;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 2px 0;
}

.footer-section ul li a:hover {
    color: white;
    transform: translateX(4px);
}

/* ---------- Social Links ---------- */
.social-links {
    margin-top: 1rem;
    display: flex;
    gap: clamp(0.5rem, 1vw, 1rem);
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-size: 1.2rem;
    color: #d1e8d4;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    color: #ff6b35;
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

/* ---------- Footer Bottom ---------- */
.footer-bottom {
    text-align: center;
    padding-top: clamp(1.5rem, 3vw, 2rem);
    border-top: 1px solid #4a7c59;
    color: #d1e8d4;
    font-size: clamp(0.8rem, 1.5vw, 0.9rem);
    line-height: 1.6;
}

/* ---------- Mobile Responsive ---------- */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand,
    .footer-content .footer-section:nth-child(2),
    .footer-content .footer-section:nth-child(3) {
        justify-self: center;
        text-align: center;
    }

    .footer-section ul {
        align-items: center;
    }

    .social-links {
        justify-content: center;
    }
}

.green{
    color: #90cb66;
    font-weight: bold;
}
.greeen{
    color: #32640e;
    font-weight: bold;
}
/* ================= RESPONSIVE DESIGN ================= */  
@media (max-width: 768px) {  
    .hamburger {  
        display: flex;  
    }  
      
    .nav-menu {  
        position: fixed;  
        left: -100%;  
        top: 70px;  
        flex-direction: column;  
        background-color: white;  
        width: 100%;  
        text-align: center;  
        transition: all 0.4s ease;  
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.1);  
        padding: 2rem 0;  
        height: calc(100vh - 70px);
        overflow-y: auto;
        z-index: 999;
    }  
      
    .nav-menu.active {  
        left: 0;  
    }  
      
    .nav-item {
        width: 100%;
    }
    
    .nav-link {
        display: block;
        padding: 15px 20px;
        font-size: 1.1rem;
        min-height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .nav-link::after {
        display: none;
    }
    
    .nav-link.active {
        background: rgba(45, 90, 39, 0.12);
        border-radius: 0;
        margin: 0 20px;
        width: calc(100% - 40px);
    }
    
    .dropdown-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        background: #f9f9f9;
        margin: 0;
        border-radius: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .dropdown-menu.show {
        max-height: 300px;
    }
    
    .dropdown-menu li a {
        padding-left: 40px;
        justify-content: flex-start;
    }
    
    /* Mobile landscape */
    @media (max-height: 500px) and (orientation: landscape) {
        .nav-menu {
            padding: 1rem 0;
        }
        
        .nav-link {
            padding: 10px 20px;
            min-height: 40px;
        }
    }
}  

/* Small mobile devices */
@media (max-width: 480px) {  
    .difference-grid,
    .products-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-logo img {
        width: 50px;
    }
    
    .nav-logo span {
        font-size: 0.9rem;
    }
}

/* Tablet devices */
@media (min-width: 769px) and (max-width: 1024px) {
    .difference-grid,
    .products-grid,
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Large desktop */
@media (min-width: 1025px) {
    .difference-grid,
    .products-grid,
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .navbar,
    .difference-card,
    .product-card,
    .gallery-item img,
    .overlay,
    .nav-link::after,
    .social-links a,
    .submit-btn,
    .footer-section ul li a,
    .dropdown-menu,
    .hamburger .bar,
    .nav-logo img {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
    
    .difference-card:hover,
    .product-card:hover,
    .gallery-item:hover img {
        transform: none !important;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .navbar {
        background: white;
        box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    }
    
    .nav-link {
        color: black;
    }
    
    .nav-link.active {
        background: #2d5a27;
        color: white;
    }
    
    .difference-card,
    .product-card {
        border: 2px solid #2d5a27;
    }
    
    .cta-button,
    .submit-btn,
    .story-btn,
    .process-btn,
    .community-btn {
        border: 2px solid white;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .difference-section {
        background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    }
    
    .difference-card {
        background: #2a2a2a;
        border-color: #444;
        color: #ffffff;
    }
    
    .difference-content p {
        color: #cccccc;
    }
    
    .gallery {
        background: #1a1a1a;
    }
    
    .contact-form {
        background: #2a2a2a;
    }
    
    .form-group input,
    .form-group textarea {
        background: #333;
        border-color: #444;
        color: white;
    }
}

/* Print styles */
@media print {
    .navbar,
    .hamburger,
    .social-links,
    .contact-form,
    .gallery,
    .submit-btn,
    .story-btn,
    .process-btn,
    .community-btn {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        color: black !important;
        background: white !important;
    }
    
    .container {
        max-width: 100%;
        padding: 0;
    }
    
    .difference-section,
    .products,
    .contact {
        padding: 20px 0 !important;
        margin-top: 20px !important;
        break-inside: avoid;
    }
    
    .difference-card,
    .product-card {
        box-shadow: none !important;
        border: 1px solid #ccc !important;
        break-inside: avoid;
    }
}

/* Safari-specific fixes */
@supports (-webkit-touch-callout: none) {
    .navbar {
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
    }
}

/* Firefox-specific fixes */
@-moz-document url-prefix() {
    .navbar {
        background: rgba(255, 255, 255, 0.95);
    }
}

/* Edge-specific fixes */
@supports (-ms-ime-align: auto) {
    .difference-grid,
    .products-grid,
    .gallery-grid {
        display: -ms-grid;
    }
}

/* Fix for very large screens */
@media (min-width: 1920px) {
    .container,
    .nav-container {
        max-width: 1600px;
    }
}

/* Orientation changes */
@media (orientation: portrait) {
    .hero-content h1 {
        font-size: clamp(2rem, 6vw, 3rem);
    }
}

@media (orientation: landscape) and (max-height: 600px) {
    .navbar {
        height: 70px;
    }
    
    .nav-container {
        height: 60px;
    }
    
    .nav-menu.active {
        top: 60px;
        height: calc(100vh - 60px);
    }
}

.footer-logo {
    width: clamp(90px, 12vw, 130px);
    height: auto;
    margin-bottom: 10px;
    object-fit: contain;
}

.footer-brand {
    display: flex;
    flex-direction: column;
}

/* ================= DROPDOWN NAVIGATION ================= */

.nav-item.dropdown {
    position: relative;
}

/* Product link */
.nav-item.dropdown > .nav-link {
    position: relative;
    cursor: pointer;
}

/* ❌ REMOVE ANY ICON / SYMBOL EFFECT */
.nav-item.dropdown > .nav-link::before {
    content: none;
}

/* ✅ UNDERLINE ONLY (BOTTOM, CLEAN) */
.nav-item.dropdown > .nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;       /* FORCE underline below text */
    width: 0;
    height: 2px;
    background-color: #4a7c59;
    transition: width 0.3s ease;
}

/* Hover underline */
.nav-item.dropdown:hover > .nav-link::after {
    width: 100%;
}

/* ================= DROPDOWN MENU ================= */

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    list-style: none;
    padding: 8px 0;
    margin-top: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 1000;
}

/* Show dropdown on hover (desktop) */
@media (hover: hover) and (pointer: fine) {
    .nav-item.dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

.dropdown-menu li {
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s ease, padding-left 0.2s ease;
}

.dropdown-menu a:hover {
    background: #f3f3f3;
    color: #4a7c59;
    padding-left: 25px;
}

/* ================= MOBILE ================= */

@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: #f9f9f9;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        margin: 0;
        border-radius: 0;
    }

    .dropdown-menu.active {
        max-height: 500px;
    }

    .dropdown-menu a {
        padding: 14px 20px;
        font-size: 16px;
    }
}
