/* assets/css/style.css - Light 2026 Premium Upgrade */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

:root {
    /* Brand Colors */
    --primary-orange: #ff9d00;
    --primary-glow: rgba(255, 157, 0, 0.15);
    --secondary-blue: #007aff;
    /* Premium Apple-like accent */

    /* Light Surface System */
    --bg-main: #ffffff;
    --bg-soft: #fbfbfd;
    --surface-glass: rgba(255, 255, 255, 0.7);
    --surface-glass-border: rgba(0, 0, 0, 0.05);

    --text-primary: #1d1d1f;
    --text-secondary: #424245;
    --text-muted: #86868b;

    /* Depth */
    --shadow-premium: 0 20px 40px rgba(0, 0, 0, 0.04);
    --shadow-hover: 0 30px 60px rgba(0, 0, 0, 0.08);

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --container-width: 1600px;
    --radius-lg: 32px;
    --radius-md: 20px;

    --transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- BASE --- */
html {
    overflow-x: hidden;
}

html {
    height: 100%;
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background-color: var(--bg-main);
    background-image:
        radial-gradient(circle at 100% 0%, rgba(255, 157, 0, 0.07) 0%, transparent 40%),
        radial-gradient(circle at 0% 100%, rgba(255, 157, 0, 0.07) 0%, transparent 40%);
    background-attachment: fixed;
    margin: 0;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.main-footer {
    margin-top: auto;
}

h1,
h2,
h3 {
    font-family: var(--font-heading);
    letter-spacing: -0.03em;
    font-weight: 700;
    margin-top: 0;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
}

/* --- COMPONENTS --- */
.btn-premium {
    padding: 16px 36px;
    background: var(--primary-orange);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 20px rgba(255, 157, 0, 0.2);
}

.btn-premium:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 30px rgba(255, 157, 0, 0.3);
}

.btn-outline {
    padding: 16px 36px;
    background: transparent;
    color: var(--primary-orange);
    border: 1px solid var(--primary-orange);
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.btn-outline:hover {
    background: rgba(255, 157, 0, 0.05);
    transform: translateY(-3px);
}

/* --- HEADER --- */
.header-main {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: var(--container-width);
    z-index: 2000;
    background: var(--surface-glass);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid var(--surface-glass-border);
    border-radius: 100px;
    padding: 14px 40px;
    transition: var(--transition);
    box-shadow: var(--shadow-premium);
}

.header-main.scrolled {
    top: 10px;
    padding: 10px 40px;
    width: 95%;
}

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

.logo img {
    height: 70px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-link {
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: 500;
    padding: 10px 24px;
    border-radius: 30px;
    transition: var(--transition);
    text-decoration: none;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-orange);
    background: rgba(255, 157, 0, 0.05);
}

/* --- DROPDOWN MENU --- */
.nav-menu>li {
    position: relative;
    display: flex;
    align-items: center;
}

.has-dropdown>.nav-link {
    display: flex;
    align-items: center;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-main);
    min-width: 240px;
    padding: 12px 0;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    border: 1px solid var(--surface-glass-border);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    list-style: none;
    z-index: 1000;
}

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

.dropdown-menu li a {
    display: block;
    padding: 12px 24px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.dropdown-menu li a:hover {
    background: rgba(255, 157, 0, 0.05);
    color: var(--primary-orange);
    padding-left: 28px;
}

.dropdown-divider {
    height: 1px;
    background: var(--surface-glass-border);
    margin: 8px 0;
}

/* --- HERO SLIDER --- */
.hero-slider {
    position: relative;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
}

.slider-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

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

.hero-content-wrapper {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    height: 100%;
    padding-top: 100px;
}

.hero-slider .hero-content {
    max-width: 700px;
}

.hero-slider .hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 24px;
    text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.5);
}

.hero-slider .hero-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 550px;
    text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.4);
}

.hero-slider .hero-badge {
    display: inline-block;
    background: rgba(255, 157, 0, 0.9);
    color: #fff;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px rgba(255, 157, 0, 0.4);
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.slider-nav:hover {
    background: var(--primary-orange);
    border-color: var(--primary-orange);
}

.slider-prev {
    left: 30px;
}

.slider-next {
    right: 30px;
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    gap: 12px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active,
.dot:hover {
    background: var(--primary-orange);
    transform: scale(1.2);
}

/* Light Button Variant */
.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: #fff;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.btn-outline-light:hover {
    background: #fff;
    color: var(--text-primary);
    border-color: #fff;
}

/* Hero CTA in slider */
.hero-slider .hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

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

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

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

.hero h1 {
    font-size: 5.5rem;
    line-height: 0.95;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.hero p {
    font-size: 1.4rem;
    color: var(--text-secondary);
    max-width: 650px;
    font-weight: 400;
    margin-bottom: 48px;
}

/* --- CARDS --- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
}

.product-card {
    display: block;
    background: var(--bg-soft);
    border: 1px solid var(--surface-glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    text-decoration: none;
}

.product-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-orange);
}

.product-img {
    height: 280px;
    background: #f5f5f7;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;

}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.product-info {
    padding: 32px;
}

.product-title {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.product-price {
    font-size: 1.8rem;
    color: var(--primary-orange);
    font-weight: 800;
}

/* --- FOOTER --- */
/* Old footer styles - overridden by .main-footer */
footer {
    padding: 0;
    background: transparent;
    border-top: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 80px;
}

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

.footer-links li {
    margin-bottom: 16px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

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

/* REVEAL */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- HERO ENHANCEMENTS --- */
.hero-badge {
    display: inline-block;
    background: rgba(255, 157, 0, 0.1);
    color: var(--primary-orange);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 157, 0, 0.2);
}

.hero-cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* --- STATS SECTION --- */
.stats-section {
    padding: 80px 0;
    background: var(--bg-soft);
    border-top: 1px solid var(--surface-glass-border);
    border-bottom: 1px solid var(--surface-glass-border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 800;
    color: var(--primary-orange);
    line-height: 1;
    margin-bottom: 12px;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* --- ABOUT TEASER --- */
.about-teaser {
    padding: 120px 0;
}

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

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-premium);
}

.about-image-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--primary-orange);
    color: #fff;
    padding: 20px 30px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: 0 15px 30px rgba(255, 157, 0, 0.3);
}

.about-image-badge span {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

.about-image-badge strong {
    font-size: 2rem;
    font-weight: 800;
}

.about-content h2 {
    font-size: 3rem;
    margin-bottom: 24px;
}

.about-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.8;
}

.section-tag {
    display: inline-block;
    color: var(--primary-orange);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    margin-bottom: 16px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--surface-glass-border);
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.feature-list li i {
    color: var(--primary-orange);
    font-size: 1.2rem;
}

/* --- PRODUCTS SECTION ENHANCEMENTS --- */
.products-section {
    padding: 120px 0;
}

.products-section .product-grid {
    grid-template-columns: repeat(3, 1fr);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 3rem;
    margin: 0;
}

.product-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-orange);
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 20px;
}

.product-price.ask-price {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 700;
}

.mobile-cta {
    display: none;
    text-align: center;
    margin-top: 60px;
}

.desktop-only {
    display: inline-flex;
}

/* --- CTA BANNER --- */
.cta-banner {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-orange) 0%, #ff7b00 100%);
    text-align: center;
}

.cta-content h2 {
    color: #fff;
    font-size: 3rem;
    margin-bottom: 16px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.3rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-banner .btn-premium {
    background: #fff;
    color: var(--primary-orange);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.cta-banner .btn-premium:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

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

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .desktop-only {
        display: none;
    }

    .mobile-cta {
        display: block;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

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

    .container {
        padding: 0 20px;
    }

    .about-content h2,
    .section-header h2,
    .cta-content h2 {
        font-size: 2rem;
    }

    .header-main {
        width: 95%;
        padding: 10px 20px;
    }
}

/* --- PRODUCTS LAYOUT WITH SIDEBAR --- */
.products-layout {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 30px;
    width: 100%;
    padding: 0 30px;
    box-sizing: border-box;
    overflow: visible;
}

.category-sidebar {
    background: var(--bg-soft);
    border-radius: var(--radius-lg);
    padding: 30px;
    border: 1px solid var(--surface-glass-border);
    position: sticky;
    top: 130px;
    align-self: start;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.category-sidebar h3 {
    font-size: 1.1rem;
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--surface-glass-border);
    color: var(--text-primary);
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu li {
    margin-bottom: 4px;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 10px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
}

.sidebar-menu a i {
    font-size: 0.9rem;
    opacity: 0.6;
}

.sidebar-menu a .count {
    margin-left: auto;
    background: rgba(0, 0, 0, 0.05);
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.sidebar-menu a:hover {
    background: rgba(255, 157, 0, 0.05);
    color: var(--primary-orange);
}

.sidebar-menu a.active {
    background: var(--primary-orange);
    color: #fff;
}

.sidebar-menu a.active i,
.sidebar-menu a.active .count {
    opacity: 1;
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
}

.products-main .product-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

@media (max-width: 900px) {
    .products-layout {
        grid-template-columns: 1fr;
    }

    .category-sidebar {
        position: static;
    }

    .sidebar-menu {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .sidebar-menu li {
        margin: 0;
    }

    .sidebar-menu a {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .sidebar-menu a .count {
        display: none;
    }
}

/* ========================================
   FOOTER REDESIGN 2026
   ======================================== */
.main-footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #fff;
    margin-top: 80px;
}

.footer-top {
    padding: 80px 0 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
}

.footer-widget h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: #fff;
    position: relative;
    padding-bottom: 12px;
}

.footer-widget h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-orange);
    border-radius: 2px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 25px;
}

.footer-logo {
    height: 50px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

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

.social-links a {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-orange);
    transform: translateY(-3px);
}

.social-links a.whatsapp:hover {
    background: #25D366;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a i {
    font-size: 0.7rem;
    opacity: 0;
    transition: var(--transition);
    color: var(--primary-orange);
}

.footer-links a:hover {
    color: var(--primary-orange);
    padding-left: 5px;
}

.footer-links a:hover i {
    opacity: 1;
}

.footer-contact .contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 18px;
    align-items: flex-start;
}

.footer-contact .contact-item i {
    color: var(--primary-orange);
    font-size: 1rem;
    margin-top: 4px;
    width: 18px;
}

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

.footer-contact .contact-item a:hover {
    color: var(--primary-orange);
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(37, 211, 102, 0.1);
    border: 1px solid rgba(37, 211, 102, 0.3);
    color: #25D366;
    padding: 10px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    margin-top: 10px;
    font-size: 0.95rem;
}

.btn-whatsapp:hover {
    background: #25D366;
    color: #fff !important;
    border-color: #25D366;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.2);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 25px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.footer-credit {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-credit a {
    display: inline-flex;
    align-items: center;
}

.madyo-logo {
    height: 22px;
    width: auto;
    vertical-align: middle;
    transition: opacity 0.3s ease;
}

.madyo-logo:hover {
    opacity: 0.8;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.8rem;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.5);
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 10px 30px rgba(37, 211, 102, 0.6);
    }
}

/* Footer Responsive */
@media (max-width: 1100px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 1.5rem;
    }
}

/* Footer Fix - Remove margin */
.main-footer {
    margin-top: 0 !important;
}

.footer-logo {
    filter: none !important;
    opacity: 1 !important;
}

/* --- MOBILE MENU UPGRADES 2026 --- */

/* Mobile Toggle Button */
.mobile-toggle {
    display: none;
    background: var(--surface-glass);
    border: 1px solid var(--surface-glass-border);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--text-primary);
    cursor: pointer;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: var(--transition);
    z-index: 2001;
    /* Above header */
    position: fixed;
    top: 24px;
    right: 5%;
    /* Aligned with header width */
    box-shadow: var(--shadow-premium);
}

.mobile-toggle:hover {
    background: var(--primary-orange);
    color: #fff;
    transform: rotate(90deg);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 3000;
    display: flex;
    flex-direction: column;
    padding: 30px;
    box-sizing: border-box;
    /* Fix width overflow */
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    visibility: hidden;
}

.mobile-menu-overlay.active {
    transform: translateX(0);
    visibility: visible;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.mobile-menu-header .logo img {
    height: 60px;
}

.mobile-menu-close {
    background: var(--bg-soft);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.mobile-menu-close:hover {
    background: #ff4757;
    color: #fff;
    transform: rotate(90deg);
}

/* Mobile Nav Links */
.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-nav-list a {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-nav-list a.active,
.mobile-nav-list a:hover {
    color: var(--primary-orange);
}

/* Mobile Submenu */
.mobile-submenu {
    list-style: none;
    padding: 0;
    margin: 15px 0 0 15px;
    border-left: 2px solid #eee;
    display: none;
    /* Hidden by default */
    flex-direction: column;
    gap: 12px;
}

.mobile-submenu.active {
    display: flex;
}

.mobile-submenu li a {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text-secondary);
}

/* Mobile Footer Items */
.mobile-lang-switcher {
    margin-top: auto;
    display: flex;
    gap: 15px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.mobile-lang-switcher a {
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 8px;
    background: #f5f5f7;
    transition: var(--transition);
}

.mobile-lang-switcher a.active {
    background: var(--primary-orange);
    color: #fff;
}

.mobile-contact-info {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-contact-info a {
    color: var(--text-muted);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 992px) {

    /* Hide Desktop Elements */
    .header-main nav,
    .header-main .lang-switcher {
        display: none !important;
    }

    /* Show Mobile Toggle */
    .mobile-toggle {
        display: flex;
    }

    /* Adjust Header */
    .header-main {
        width: 100% !important;
        left: 0 !important;
        top: 0 !important;
        transform: none !important;
        border-radius: 0;
        border: none;
        border-bottom: 1px solid var(--surface-glass-border);
        padding: 15px 20px;
        max-width: 100%;
        /* Ensure it doesn't overflow */
        box-sizing: border-box;
        /* Include padding in width */
    }

    .header-main.scrolled {
        top: 0;
        width: 100% !important;
        left: 0 !important;
        transform: none !important;
        padding: 15px 20px;
    }

    .logo img {
        height: 50px;
    }

    /* Global Overflow Protection */
    html,
    body {
        overflow-x: hidden;
        width: 100%;
        position: relative;
    }

    /* Mobile Product Grid Fix */
    .product-grid,
    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }

    /* For very small screens */
    @media (max-width: 480px) {

        .product-grid,
        .products-grid {
            grid-template-columns: 1fr !important;
        }
    }

    /* Product Card Adjustments */
    .product-card {
        min-height: auto !important;
    }

    .product-card img {
        height: 200px !important;
    }

    /* About Page Mobile Fixes */
    .about-grid {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
        text-align: center;
    }

    .mission-vision .container>div {
        grid-template-columns: 1fr !important;
    }

    .timeline-stats .container>div {
        grid-template-columns: 1fr !important;
        /* Stack vertically on mobile */
        gap: 40px !important;
    }

    /* Global Box Sizing Reset */
    *,
    *::before,
    *::after {
        box-sizing: border-box;
    }

    .timeline-stats div[style*="font-size: 4rem"] {
        font-size: 3rem !important;
        /* Reduce huge font size */
    }

    /* Contact Page Mobile Fixes */
    .contact-section .row {
        gap: 30px !important;
        width: 100% !important;
        margin: 0 !important;
    }

    .contact-form {
        padding: 25px !important;
        width: 100% !important;
        min-width: unset !important;
        max-width: 100% !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

    .contact-info {
        width: 100% !important;
        min-width: unset !important;
        padding: 0 10px;
    }

    .contact-info h3,
    .contact-form h3 {
        font-size: 1.6rem !important;
    }

    .contact-form input,
    .contact-form textarea {
        width: 100% !important;
        box-sizing: border-box !important;
    }
}

/* Very Small Screen Fixes (iPhone SE etc) */
@media (max-width: 480px) {
    .contact-form {
        padding: 20px !important;
    }

    .container {
        padding: 0 15px !important;
    }

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

/* --- CONTACT PAGE STYLES --- */
.contact-section .row {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    color: var(--text-secondary);
}

.contact-info h3 {
    color: var(--text-primary);
    font-size: 2rem;
    margin-bottom: 20px;
}

.contact-intro-text {
    margin-bottom: 40px;
}

.info-item {
    margin-bottom: 30px;
    display: flex;
    gap: 20px;
    background: var(--bg-soft);
    padding: 25px;
    border-radius: 20px;
    border: 1px solid var(--surface-glass-border);
    box-shadow: var(--shadow-premium);
}

.info-item i {
    color: var(--primary-orange);
    font-size: 1.5rem;
    margin-top: 5px;
}

.info-item strong {
    color: var(--text-primary);
}

.contact-form {
    flex: 1;
    min-width: 300px;
    background: var(--bg-soft);
    padding: 50px;
    border-radius: 30px;
    border: 1px solid var(--surface-glass-border);
    box-shadow: var(--shadow-premium);
}

.contact-form h3 {
    color: var(--text-primary);
    font-size: 2rem;
    margin-bottom: 30px;
}

.contact-form .form-group {
    margin-bottom: 25px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-primary);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    background: #fff;
    border: 1px solid var(--surface-glass-border);
    border-radius: 15px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 4px rgba(255, 157, 0, 0.1);
}

.contact-form .btn-premium {
    width: 100%;
    justify-content: center;
}

.alert-success {
    padding: 15px;
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
    border: 1px solid #28a745;
    border-radius: 15px;
    margin-bottom: 20px;
}

.alert-danger {
    padding: 10px;
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border: 1px solid #dc3545;
    border-radius: 15px;
    margin-bottom: 20px;
}