:root {
    --primary: #90c061;
    --primary-dark: #7aa552;
    --secondary: #4d5a5a;
    --accent: #e8b953;
    --bg-light: #f9f9f9;
    --text-dark: #3a2213;
    --text-muted: #666;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lang-switcher {
    display: flex;
    gap: 10px;
}

.lang-btn {
    background: transparent;
    border: 1px solid #ddd;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 700;
    transition: var(--transition);
}

.lang-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.logo-text {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -1px;
}

.site-logo {
    height: 50px;
    width: auto;
    display: block;
}

.footer-site-logo {
    height: 60px;
    margin-bottom: 15px;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 30px;
}

.nav-links li {
    position: static;
    /* Important for full-width mega menu */
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 5px;
    letter-spacing: 0.5px;
}

.nav-links a:hover {
    color: var(--primary);
}

/* Buttons */
.btn-primary {
    background-color: var(--primary);
    color: var(--white) !important;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
    display: inline-block;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(144, 192, 97, 0.3);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white) !important;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
    display: inline-block;
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary) !important;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary) !important;
    padding: 10px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
    display: inline-block;
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white) !important;
}

/* Hero Section */
#hero {
    height: 100vh;
    background: url('hero-bg.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    position: relative;
    color: var(--white);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 5rem;
    margin-bottom: 20px;
    line-height: 1.1;
    animation: fadeInUp 1s ease;
}

.hero-content .tagline {
    font-size: 1.5rem;
    margin-bottom: 40px;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-btns {
    display: flex;
    gap: 20px;
    animation: fadeInUp 1s ease 0.4s backwards;
}

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, var(--secondary) 0%, #1a1a1a 100%);
    color: var(--white);
    padding: 160px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://www.transparenttextures.com/patterns/cubes.png');
    opacity: 0.1;
}

.page-hero h1 {
    font-size: 4.5rem;
    margin-bottom: 20px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

.page-hero p {
    font-size: 1.4rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
    line-height: 1.6;
}

/* Internal Page Components */
.page-section {
    padding: 100px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-item {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    border: 1px solid #eee;
}

.feature-item:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: block;
}

.feature-item h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* Service Pricing snippet on internal pages */
.service-cta {
    background: #f8f9fa;
    padding: 60px;
    border-radius: 30px;
    margin: 60px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.cta-text h2 {
    margin-bottom: 10px;
    font-size: 2rem;
}

.price-badge {
    background: var(--primary);
    color: var(--white);
    padding: 20px 40px;
    border-radius: 15px;
    text-align: center;
}

.price-badge span {
    display: block;
    font-size: 0.9rem;
    opacity: 0.8;
}

.price-badge .amount {
    font-size: 2rem;
    font-weight: 700;
}

.page-content {
    line-height: 1.8;
    color: var(--text-muted);
}

.page-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.page-content-image img {
    width: 100%;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

@media (max-width: 991px) {
    .page-hero h1 {
        font-size: 3rem;
    }

    .page-content-wrapper {
        grid-template-columns: 1fr;
    }

    .service-cta {
        flex-direction: column;
        text-align: center;
    }
}

/* Services */
#services {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 15px auto 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 20px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.service-card:hover {
    background: var(--white);
    transform: translateY(-10px);
    box-shadow: var(--shadow);
    border-color: rgba(144, 192, 97, 0.2);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card ul {
    list-style: none;
    margin-top: 20px;
}

.service-card ul li {
    padding: 5px 0;
    font-weight: 600;
    position: relative;
    padding-left: 20px;
}

.service-card ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
}

/* Portfolio */
#portfolio {
    padding: 100px 0;
}

.portfolio-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}

.tab-btn {
    background: transparent;
    border: none;
    padding: 10px 20px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
}

.tab-btn.active,
.tab-btn:hover {
    color: var(--primary);
    border-color: var(--primary);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.portfolio-item {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: scale(1);
}

.portfolio-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.item-inner {
    position: relative;
    aspect-ratio: 4/3;
}

.item-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(144, 192, 97, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--white);
    opacity: 0;
    transition: var(--transition);
    transform: translateY(20px);
}

.portfolio-item:hover .item-overlay {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-item.hide-on-all {
    display: none;
}

/* About Section */
.about-bg {
    background: #1a1a1a;
    color: var(--white);
    padding: 100px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text h2 {
    font-size: 3rem;
    margin-bottom: 30px;
}

.stats {
    display: flex;
    gap: 40px;
    margin-top: 50px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-item .number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-item .label {
    font-size: 0.9rem;
    opacity: 0.7;
}

.about-tech {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 30px;
}

.tech-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 25px;
}

.tech-icons span {
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 15px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Pricing */
.pricing-bg {
    background-color: var(--bg-light);
    padding: 100px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.price-card {
    background: var(--white);
    padding: 50px 40px;
    border-radius: 30px;
    text-align: center;
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.price-card.featured {
    transform: scale(1.05);
    border: 2px solid var(--primary);
    box-shadow: var(--shadow);
}

.badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.price-header h4 {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.price {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 30px;
    word-break: break-word;
    line-height: 1.1;
}

.price span {
    font-size: 2rem;
    font-weight: 600;
}

.price-card .btn-primary,
.price-card .btn-outline {
    margin-top: auto;
}

.features,
.price-features {
    list-style: none;
    margin-bottom: 40px;
    text-align: left;
    padding: 0;
}

.features li,
.price-features li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 0.95rem;
    position: relative;
    padding-left: 25px;
}

.features li::before,
.price-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

.price-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.price-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.contact-info h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.contact-details {
    margin-top: 40px;
}

.detail-item {
    margin-bottom: 15px;
}

.contact-form {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 20px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    background: var(--white);
}

.contact-form button {
    width: 100%;
    cursor: pointer;
    border: none;
}

/* Footer */
footer {
    background: var(--secondary);
    color: var(--white);
    padding: 80px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 2fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 20px;
    list-style: none;
}

.footer-services-grid a {
    font-size: 0.85rem;
}

.footer-logo .logo-text {
    color: var(--white);
}

.footer-links h4,
.footer-social h4 {
    margin-bottom: 25px;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icons a {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 1.1rem;
}

.social-icons a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    color: var(--white);
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* Responsive */
@media (max-width: 992px) {
    .contact-section {
        grid-template-columns: 1fr;
        gap: 50px;
    }

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

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .price-card.featured {
        transform: scale(1);
    }
}

/* Technologies Section */
.technologies-section {
    background-color: #55524e;
    padding: 40px 0;
    text-align: center;
}

.technologies-header {
    color: #fff;
    font-size: 28px;
    margin-bottom: 30px;
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
}

.technologies-list {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.technologies-list li {
    background-image: url('tech-sprite.png');
    background-repeat: no-repeat;
    height: 35px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.technologies-list li:hover {
    opacity: 1;
}

/* Background positions based on sprite analysis */
.tech-opencart {
    width: 104px;
    background-position: 0px 0px;
}

.tech-magento {
    width: 95px;
    background-position: -114px 0px;
}

.tech-wordpress {
    width: 115px;
    background-position: -232px 0px;
}

.tech-google-analytics {
    width: 135px;
    background-position: -365px 0px;
}

.tech-google-adwords {
    width: 135px;
    background-position: -518px 0px;
}

.tech-android {
    width: 100px;
    background-position: -672px 0px;
}

.tech-ios {
    width: 60px;
    background-position: -789px 0px;
}

.tech-html5 {
    width: 45px;
    background-position: -860px 0px;
}

.tech-java {
    width: 75px;
    background-position: -915px 0px;
}

.tech-php {
    width: 45px;
    background-position: -1000px 0px;
}

@media (max-width: 992px) {
    .technologies-list {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .technologies-section {
        padding: 30px 0;
    }

    .technologies-header {
        font-size: 22px;
    }

    .technologies-list li {
        transform: scale(0.8);
        margin: -5px;
    }
}

/* Payment Icons in Footer */
.payment-methods {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.payment-icon {
    height: 24px;
    width: auto;
    filter: grayscale(1) opacity(0.7);
    transition: var(--transition);
    background: #fff;
    padding: 3px 8px;
    border-radius: 4px;
}

.payment-icon:hover {
    filter: grayscale(0) opacity(1);
}

.footer-bottom p {
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Process Section */
.process-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 100px 0;
    position: relative;
}

.process-section h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 20px;
}

.process-section .subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.process-step {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 2px solid transparent;
}

.process-step:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(144, 192, 97, 0.2);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 20px;
    box-shadow: 0 5px 15px rgba(144, 192, 97, 0.3);
}

.process-step .step-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: block;
}

.process-step h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.process-step p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Statistics Section */
.statistics-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--secondary) 0%, #1a1a1a 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.statistics-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://www.transparenttextures.com/patterns/cubes.png');
    opacity: 0.05;
}

.statistics-section h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.statistics-section .subtitle {
    text-align: center;
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 1;
}

.stat-block {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.stat-block:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-10px);
}

.stat-block .stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 10px;
    display: block;
    line-height: 1;
}

.stat-block .stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 600;
}

.stat-block .stat-description {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-top: 10px;
}

/* Why Section */
.why-section {
    padding: 100px 0;
    background: var(--white);
}

.why-section h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 20px;
}

.why-section .subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.benefit-item {
    background: var(--bg-light);
    padding: 40px 30px;
    border-radius: 20px;
    transition: var(--transition);
    border: 2px solid transparent;
}

.benefit-item:hover {
    background: var(--white);
    border-color: var(--primary);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

.benefit-item .benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: block;
}

.benefit-item h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.benefit-item p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Responsive adjustments for new sections */
@media (max-width: 768px) {

    .process-section h2,
    .statistics-section h2,
    .why-section h2 {
        font-size: 2.2rem;
    }

    .process-steps,
    .stats-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .stat-block .stat-number {
        font-size: 2.5rem;
    }
}

/* Mega Menu Styling */
.has-dropdown {
    position: static !important;
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    visibility: hidden;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1000;
    padding: 20px 0;
    border-top: 1px solid #eee;
}

.has-dropdown:hover .mega-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.mega-menu .subnav-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    max-width: 1200px;
    margin: 20px auto;
    background-color: transparent;
    border: none;
}

.subnav-item {
    background-color: var(--white);
    border: 1px solid #e0e0e0;
    padding: 25px 15px;
    text-align: center;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    min-height: 110px;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.subnav-item:hover {
    background-color: #fafafa;
    border-color: #ccc;
    color: var(--primary-color);
}

.subnav-item.active {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.arrow {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.has-dropdown:hover .arrow {
    transform: rotate(180deg);
}

@media (max-width: 991px) {
    .mega-menu {
        position: static;
        visibility: visible;
        opacity: 1;
        transform: none;
        box-shadow: none;
        padding: 0;
        display: none;
    }

    .has-dropdown.active .mega-menu {
        display: block;
    }
}