/* Mega Menu Styles */
/* Mega Menu Styles - CONSOLIDATED */
.mega { 
    position: static; 
}
.mega > a { 
    cursor: pointer; 
    display: flex;
    align-items: center;
    gap: 5px;
}
.mega > a i, .mega > a .fa-chevron-down {
    font-size: 10px;
    transition: transform 0.3s;
}
.mega.active > a i, .mega.active > a .fa-chevron-down {
    transform: rotate(180deg);
}
.mega-menu {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    background: white;
    padding: 40px 0;
    box-shadow: 0 25px 50px rgba(0,0,0,0.08);
    border-top: 1px solid #e2e8f0;
    z-index: 999;
    animation: slideDown 0.3s ease-out;
}
.mega.active .mega-menu { 
    display: block; 
}
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.mega-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 40px;
}
.mega-intro {
    padding-right: 20px;
}
.big-title-nav {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.mega-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.mega-item-link {
    text-decoration: none;
    transition: all 0.3s;
}
.mega-item-link:hover {
    transform: translateX(5px);
}
.mega-item-link h4 {
    color: #1f2937;
    font-weight: 600;
    margin-bottom: 5px;
}
.mega-item-link p {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.4;
}
.mega-highlight {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    padding: 25px;
    border-radius: 16px;
}
.mega-highlight h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #065f46;
}
.mega-highlight p {
    color: #4b5563;
    margin-bottom: 20px;
    font-size: 14px;
}
.mega-highlight .btn {
    display: inline-block;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}
.mega-highlight .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(16, 185, 129, 0.3);
}

/* Responsive Mega Menu */
@media (max-width: 1024px) {
    .mega-container {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .mega-container {
        grid-template-columns: 1fr;
        gap: 30px;
        max-height: 70vh;
        overflow-y: auto;
    }
    .mega-menu {
        position: absolute;
        top: 100%;
        padding: 20px 0;
    }
    .mega-intro {
        padding-right: 0;
    }
    .big-title-nav {
        font-size: 24px;
    }
}

/* Mobile Navigation Styles */
#mobile-nav {
    background: white;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
}

#mobile-nav a {
    transition: color 0.3s;
}

#mobile-nav a:hover {
    color: #10b981;
}

#mobile-products-toggle, #mobile-resources-toggle {
    transition: color 0.3s;
}

#mobile-products-toggle:hover, #mobile-resources-toggle:hover {
    color: #10b981;
}

/* Animation for mobile menu */
#mobile-nav {
    animation: slideDown 0.3s ease-out;
}

/* Additional Styles */
.green-gradient {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.bg-clip-text {
    background-clip: text;
    -webkit-background-clip: text;
}

.text-transparent {
    color: transparent;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hidden.md\:flex {
        display: none;
    }
    
    .mobile-menu {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        background: white;
        padding: 20px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        z-index: 1000;
    }
    
    .mobile-menu a {
        display: block;
        padding: 12px 0;
    }
}

/* Animation Classes */
[data-aos] {
    opacity: 0;
    transition-property: transform, opacity;
}

[data-aos].aos-animate {
    opacity: 1;
}

/* Service Cards */
.service-card {
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Button Styles - Consolidated */
.btn-primary {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(16, 185, 129, 0.3);
    background-color: #059669;
}

.btn-secondary {
    border: 2px solid #e5e7eb;
    color: #374151;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

.btn-secondary:hover {
    border-color: #10b981;
    color: #10b981;
}

/* Form Styles */
input:focus, textarea:focus, select:focus {
    outline: none;
    ring: 2px solid #10b981;
    border-color: #10b981;
}

/* Loading Animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.loading {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Toast Notifications */
.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: white;
    padding: 16px 24px;
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    z-index: 1100;
    animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Services Section Styles */
.services {
    padding: 60px 20px;
    background: #f5f9f8;
}

.container.newgreen {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.services-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 50px;
    color: #1e293b;
}

/* Tabs Styles */
.tabs {
    width: 100%;
}

.tabs-menu {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 10px;
}

.tab-link {
    padding: 10px 24px;
    color: #64748b;
    font-weight: 500;
    position: relative;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    background: none;
    border: none;
    font-size: 16px;
}

.tab-link:hover {
    color: #2563eb;
}

.tab-link.active {
    color: #2563eb;
}

.tab-link::after {
    content: "";
    display: block;
    height: 3px;
    width: 0;
    background: #2563eb;
    border-radius: 3px;
    position: absolute;
    bottom: -11px;
    left: 0;
    transition: width 0.3s ease;
}

.tab-link.active::after {
    width: 100%;
}

/* Tab Content */
.tab-content {
    position: relative;
}

.tab-pane {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tab-pane.active {
    display: block;
    opacity: 1;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Service Grid */
.service-grid {
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.service-content {
    flex: 1;
    min-width: 300px;
}

.service-content h3 {
    font-size: 2rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 20px;
}

.service-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: #64748b;
    margin-bottom: 24px;
}

.service-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.service-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* Benefit Grid */
.benefit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin: 24px 0;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 10px;
}

.benefit p {
    margin: 0;
    position: relative;
    padding-left: 24px;
    font-size: 0.95rem;
    color: #334155;
}

.benefit p::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
    font-size: 1.1rem;
}

/* Button Group */
.button-group {
    margin-top: 28px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .services {
        padding: 40px 16px;
    }
    
    .services-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    
    .tabs-menu {
        gap: 10px;
        margin-bottom: 30px;
    }
    
    .tab-link {
        padding: 8px 16px;
        font-size: 14px;
    }
    
    .service-grid {
        gap: 30px;
        flex-direction: column;
    }
    
    .service-content h3 {
        font-size: 1.5rem;
    }
    
    .benefit-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .button-group {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .tabs-menu {
        flex-direction: column;
        align-items: stretch;
        border-bottom: none;
        gap: 8px;
    }
    
    .tab-link {
        text-align: center;
        background: #f1f5f9;
        border-radius: 8px;
        padding: 10px;
    }
    
    .tab-link::after {
        display: none;
    }
    
    .tab-link.active {
        background: #10b981;
        color: white;
    }
}