/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Design System Variables */
:root {
    /* Colors */
    --color-primary: #b91c1c;
    --color-primary-dark: #991b1b;
    --color-primary-light: #dc2626;
    --color-text-primary: #1f2937;
    --color-text-secondary: #6b7280;
    --color-text-tertiary: #9ca3af;
    --color-bg-light: #f9fafb;
    --color-bg-lighter: #f3f4f6;
    --color-border: #e5e7eb;
    --color-white: #ffffff;
    --color-navbar-bg: rgba(255, 255, 255, 0.95);

    /* Spacing */
    --spacing-xs: 5px;
    --spacing-sm: 10px;
    --spacing-md: 15px;
    --spacing-lg: 20px;
    --spacing-xl: 30px;
    --spacing-2xl: 40px;
    --spacing-3xl: 60px;
    --spacing-4xl: 80px;
    --spacing-5xl: 100px;

    /* Gap sizes */
    --gap-sm: 20px;
    --gap-md: 30px;
    --gap-lg: 60px;

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;

    /* Typography Scale */
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.1rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 2rem;
    --font-size-4xl: 2.5rem;

    /* Shadows */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.15);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.3s ease;
    --transition-slow: 0.5s ease;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden !important;
    max-width: 100% !important;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--color-text-primary);
    overflow-x: hidden !important;
    max-width: 100% !important;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--color-navbar-bg);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    align-items: center;
    gap: 20px;
    height: 80px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* DROPDOWN WRAPPER */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

/* MENU */
.dropdown-menu {
    position: absolute;
    top: 120%;
    left: 0;
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: var(--spacing-sm) 0;
    min-width: 240px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    z-index: 999;
}

/* SHOW ON HOVER */
.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* LINKS */
.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: var(--spacing-md) var(--spacing-lg);
    font-size: var(--font-size-sm);
    color: var(--color-text-primary);
    text-decoration: none;
    transition: background 0.2s ease, padding-left 0.2s ease;
}

/* ICON */
.dropdown-menu a i {
    color: var(--color-primary);
    font-size: var(--font-size-sm);
}

/* HOVER & FOCUS EFFECT */
.dropdown-menu a:hover,
.dropdown-menu a:focus-visible {
    background: var(--color-bg-lighter);
    padding-left: calc(var(--spacing-lg) + 6px);
    outline: none;
}

.nav-menu a,
.nav-dropdown>a {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ARROW ICON */
.nav-link i {
    font-size: 12px;
    margin-left: 5px;
}

.logo-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* LOGO LINK STYLES */
.logo-link {
    text-decoration: none !important;
    color: inherit !important;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.2s ease;
}

.logo-link:hover {
    transform: scale(1.02);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-text h1 {
    font-size: 1.1rem;
    color: var(--color-primary);
    font-weight: 700;
    margin-bottom: -2px;
    line-height: 1.2;
}

.logo-text p {
    font-size: 0.75rem;
    color: var(--color-text-secondary);
    line-height: 1;
}

.nav-menu {
    display: flex;
    justify-content: center;
    gap: 25px;
}

.nav-link {
    text-decoration: none;
    color: var(--color-text-primary);
    font-weight: 500;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: 25px;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
    position: relative;
    font-size: 0.95rem;
}

.nav-link:hover,
.nav-link.active,
.nav-link:focus-visible {
    background: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
    outline: none;
}

.nav-contact {
    display: flex;
    gap: 12px;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: var(--color-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background var(--transition-smooth), transform var(--transition-smooth);
    font-size: 0.9rem;
}

.contact-icon:hover,
.contact-icon:focus-visible {
    background: var(--color-primary-dark);
    transform: scale(1.1);
    outline: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm);
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--color-primary);
    transition: all var(--transition-smooth);
    border-radius: var(--radius-sm);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ===============================
   HERO – FIXED NAVBAR SAFE
   =============================== */

#home.hero-slider {
    margin-top: 80px;
    /* navbar height */
    padding: 0 !important;
    /* override section padding */
    width: 100%;
    overflow: hidden;
}

.hero-slider.auto-height {
    display: flex;
    justify-content: center;
}

.hero-slider.auto-height .slides {
    width: 100%;
}

.hero-slider.auto-height .slide {
    width: 100%;
    display: none;
}

.hero-slider.auto-height .slide.active {
    display: block;
}

.hero-slider.auto-height .hero-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}



.badge {
    display: inline-block;
    background: var(--color-primary);
    color: #fff;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 15px;
}

.content h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 15px;
}

.content h1 span {
    color: var(--color-primary);
}

.content p {
    font-size: 1.05rem;
    margin-bottom: 25px;
    opacity: 0.95;
}

.buttons {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 12px 26px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.btn.primary {
    background: var(--color-primary);
    color: #fff;
}

.btn.primary:hover {
    background: var(--color-primary-dark);
}

.btn.secondary {
    border: 2px solid #fff;
    color: #fff;
}

.btn.secondary:hover {
    background: var(--color-primary);
    color: #fff;
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Features Section */
.features {
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #f3f4f6;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #b91c1c, #dc2626);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--color-text-primary);
}

.feature-card p {
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* Products Preview Section */
.products-preview {
    background: #f9fafb;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.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;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.product-image {
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-content {
    padding: 25px;
}

.product-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.product-content p {
    color: var(--color-text-secondary);
    margin-bottom: 15px;
}

.product-features {
    list-style: none;
}

.product-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    color: #374151;
    font-size: 0.9rem;
}

.product-features i {
    color: #10b981;
    font-size: 0.8rem;
}

.view-all-products {
    text-align: center;
}

/* Stats Section */
.stats {
    background: var(--color-primary);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    opacity: 0.8;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Modern About Section */
.about-modern {
    padding: var(--spacing-4xl) 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.about-modern::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(185, 28, 28, 0.03) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

.about-grid-modern {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap-md);
    align-items: center;
    position: relative;
    z-index: 2;
}

/* About Text */
.about-text-content {
    padding-right: 20px;
}

.section-badge {
    display: inline-block;
    background: rgba(185, 28, 28, 0.08);
    color: var(--color-primary);
    padding: clamp(10px, 1.5vw, 16px) clamp(20px, 3vw, 32px);
    border-radius: 40px;
    font-weight: 700;
    font-size: clamp(0.9rem, 1.2vw, 1.1rem);
    margin-bottom: clamp(15px, 2.5vw, 25px);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: 1px solid rgba(185, 28, 28, 0.1);
    transition: all 0.3s ease;
}

.about-text-content h1 {
    font-size: clamp(1.8rem, 5vw, 3.2rem);
    line-height: clamp(1.1, 1.2, 1.2);
    margin-bottom: clamp(15px, 2vw, 25px);
    color: #111827;
    font-weight: 800;
    letter-spacing: clamp(-2px, -0.1vw, -1px);
}

.about-text-content h2,
.section-header h2 {
    font-size: clamp(1.5rem, 4vw, 2.8rem);
    line-height: 1.2;
    margin-bottom: clamp(15px, 2vw, 25px);
    color: #111827;
    font-weight: 800;
    letter-spacing: -1px;
}

.highlight-text {
    color: var(--color-primary);
    position: relative;
    display: inline-block;
}

.highlight-text::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(185, 28, 28, 0.1);
    z-index: -1;
    transform: skewX(-10deg);
}

.lead-text {
    font-size: 1.25rem;
    color: #374151;
    margin-bottom: 35px;
    line-height: 1.6;
    font-weight: 500;
    border-left: 4px solid #b91c1c;
    padding-left: 25px;
}

.about-narrative {
    margin-bottom: 40px;
}

.about-narrative p {
    color: var(--color-text-secondary);
    margin-bottom: 20px;
    line-height: 1.8;
    font-size: 1.05rem;
}

.about-stats-row {
    display: flex;
    gap: 50px;
    margin: 40px 0;
    padding-top: 30px;
    border-top: 1px solid #f3f4f6;
}

.stat-modern {
    display: flex;
    flex-direction: column;
}

.stat-modern .stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--color-text-primary);
    line-height: 1;
    margin-bottom: 5px;
    letter-spacing: -1px;
}

.stat-modern .stat-label {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Visuals */
.about-visuals {
    position: relative;
    padding-left: 40px;
}

.visual-main {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 30px 30px 0px rgba(185, 28, 28, 0.05);
    /* Stylish offset */
    background: var(--color-bg-lighter);
}

.visual-main img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 30px;
    transform: scale(1.05);
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.visual-main:hover img {
    transform: scale(1.1);
}

.visual-floating {
    position: absolute;
    bottom: -40px;
    left: 0;
    background: white;
    padding: 25px 30px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 280px;
    animation: float 4s ease-in-out infinite;
    border: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 3;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-8px);
    }

    100% {
        transform: translateY(0px);
    }
}

.visual-floating i {
    font-size: 2.2rem;
    color: var(--color-primary);
    text-align: center;
    background: rgba(185, 28, 28, 0.1);
    padding: 12px;
    border-radius: 50%;
}

.floating-content {
    display: flex;
    flex-direction: column;
}

.floating-content span {
    font-weight: 800;
    color: var(--color-text-primary);
    font-size: 1.2rem;
    line-height: 1.2;
}

.floating-content small {
    color: var(--color-text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
}

@media (max-width: 991px) {
    .about-grid-modern {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .about-text-content {
        padding-right: 0;
        text-align: center;
    }

    .lead-text {
        text-align: left;
    }

    .about-stats-row {
        justify-content: center;
        flex-wrap: wrap;
        gap: 30px;
    }

    .visual-floating {
        left: 50%;
        transform: translateX(-50%);
        bottom: -30px;
        animation: none;
        width: 80%;
        justify-content: center;
    }

    .about-visuals {
        padding-left: 0;
    }

    /* REDUNDANT TYPOGRAPHY OVERWRITTEN BY CLAMP() */

    .hide-mobile-br {
        display: none;
    }

    .logo-text div {
        font-size: clamp(0.95rem, 4vw, 1.1rem) !important;
    }
}


.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

.about-description h3 {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin: 30px 0 15px 0;
}

.about-description p {
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.about-image {
    text-align: center;
}

.image-container {
    background: #fef2f2;
    padding: 40px;
    border-radius: 20px;
    display: inline-block;
}

.image-container img {
    max-width: 300px;
    height: auto;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 30px;
}

.feature-item .feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #b91c1c, #dc2626);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 1.8rem;
}

.feature-item h3 {
    font-size: 1.2rem;
    color: var(--color-text-primary);
    margin-bottom: 15px;
}

.feature-item p {
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* Products Section */
.products {
    background: #f9fafb;
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 25px;
    border: 2px solid #b91c1c;
    background: transparent;
    color: var(--color-primary);
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.tab-btn.active,
.tab-btn:hover {
    background: var(--color-primary);
    color: white;
}

.products-grid-full {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.product-item:hover {
    transform: translateY(-10px);
}

.product-item .product-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(185, 28, 28, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.product-item:hover .product-overlay {
    opacity: 1;
}

.product-info {
    padding: 25px;
}

.product-info h3 {
    font-size: 1.2rem;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.product-info p {
    color: var(--color-text-secondary);
    margin-bottom: 15px;
}

.product-specs {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.product-specs span {
    font-size: 0.9rem;
    color: #374151;
    background: var(--color-bg-lighter);
    padding: 5px 10px;
    border-radius: 15px;
    display: inline-block;
}

/* Gallery Section */
.gallery {
    background: white;
}

.gallery-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.gallery-tab {
    padding: 10px 20px;
    border: none;
    background: var(--color-bg-lighter);
    color: #374151;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.gallery-tab.active,
.gallery-tab:hover {
    background: var(--color-primary);
    color: white;
}



.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media(max-width:992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width:600px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 250px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.gallery-overlay p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* FAQ Section */
.faq {
    background: #f9fafb;
}

.faq-content {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.faq-question {
    padding: 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question h3 {
    font-size: 1.1rem;
    color: var(--color-text-primary);
    margin: 0;
    flex: 1;
    padding-right: 20px;
}

.faq-question i {
    color: var(--color-primary);
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 25px 25px;
    max-height: 1000px;
}

.faq-answer p {
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin: 0;
}


/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo .logo-circle {
    width: 40px;
    height: 40px;
}

.footer-logo .logo-text h3 {
    font-size: 1.1rem;
    color: white;
    margin-bottom: -5px;
}

.footer-logo .logo-text p {
    font-size: 0.8rem;
    color: #9ca3af;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: white;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #9ca3af;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: #9ca3af;
}

.footer-contact a {
    color: #9ca3af;
    text-decoration: none;
}

.footer-contact a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: #374151;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--color-primary);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 20px;
    text-align: center;
    color: #9ca3af;
}

.footer-bottom a {
    color: #9ca3af;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: white;
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    animation: pulse 2s infinite;
}

.whatsapp-btn a {
    width: 60px;
    height: 60px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
}

.whatsapp-btn a:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--color-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--color-primary-dark);
    transform: translateY(-3px);
}

/* AOS Animation Classes */
[data-aos="fade-up"] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

[data-aos="fade-up"].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

[data-aos="fade-right"] {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s ease;
}

[data-aos="fade-right"].aos-animate {
    opacity: 1;
    transform: translateX(0);
}

[data-aos="fade-left"] {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.6s ease;
}

[data-aos="fade-left"].aos-animate {
    opacity: 1;
    transform: translateX(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-container {
        grid-template-columns: max-content 1fr;
    }

    .nav-contact {
        display: none;
    }

    .hero-text h1 {
        font-size: 2.8rem;
    }

    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .logo-text h1 {
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
    }

    .logo-text {
        max-width: 220px;
        overflow: hidden;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }
}

@media (max-width: 768px) {
    .nav-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 var(--spacing-lg);
        position: relative;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--color-white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: var(--spacing-3xl);
        transition: left var(--transition-smooth);
        box-shadow: var(--shadow-md);
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    /* MOBILE DROPDOWN STYLES */
    .nav-dropdown {
        width: 100%;
        display: block;
    }

    .nav-dropdown>.nav-link {
        justify-content: center;
        width: 100%;
        padding: 15px 25px;
        border-radius: 0;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        display: none;
        width: 100%;
        background: #f8fafc;
        padding: 0;
        min-width: 100%;
    }

    .nav-dropdown.active .dropdown-menu {
        display: block;
    }

    .nav-dropdown.active>.nav-link i {
        transform: rotate(180deg);
    }

    .dropdown-menu a {
        padding: 12px 40px;
        border-bottom: 1px solid #edf2f7;
    }

    .dropdown-menu a:last-child {
        border-bottom: none;
    }

    .hamburger {
        display: inline-flex;
        position: absolute;
        right: var(--spacing-lg);
        top: 50%;
        transform: translateY(-50%);
        width: 48px;
        height: 48px;
        padding: var(--spacing-sm);
        align-items: center;
        justify-content: center;
        border-radius: var(--radius-md);
        background: transparent;
        z-index: 2000;
        box-shadow: none;
        transition: background var(--transition-fast), transform var(--transition-fast);
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

    .hamburger:active {
        transform: translateY(-50%) scale(0.98);
    }

    .hamburger:focus-visible {
        outline: none;
        box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
    }

    .nav-logo {
        padding-right: 80px;
        min-width: 0;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .category-tabs {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .gallery-tabs {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .container {
        padding: 0 15px;
    }

    section {
        padding: 60px 0;
    }

    .logo-text h1 {
        font-size: 1rem;
    }

    .logo-text p {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.8rem;
    }

    .btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .whatsapp-btn {
        bottom: 15px;
        right: 15px;
    }

    .whatsapp-btn a {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .scroll-top {
        bottom: 80px;
        right: 15px;
        width: 45px;
        height: 45px;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .products-grid-full {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 25px;
    }

    .logo-text h1 {
        font-size: 0.9rem;
    }

    .logo-text p {
        font-size: 0.65rem;
    }

    .logo-circle {
        width: 40px;
        height: 40px;
    }

    /* Contact Section Mobile */
    .contact-wrapper-modern {
        padding: 20px;
        gap: 30px;
    }

    .contact-form-container-modern {
        padding: 20px;
    }

    .input-group-modern input,
    .input-group-modern textarea {
        font-size: 16px;
        /* Prevents iOS zoom on focus */
    }

    /* Footer Mobile */
    .footer-inner {
        display: flex;
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .footer-col {
        align-items: center;
    }

    .brand-row {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    .footer-links ul,
    .product-list,
    .footer-contact address {
        text-align: center;
    }

    .social-row {
        justify-content: center;
    }
}

/* Loading Animation */
.loading {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

/* Smooth Scrolling Enhancement */
html {
    scroll-padding-top: 80px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary-dark);
}

/* Print Styles */
@media print {

    .navbar,
    .whatsapp-btn,
    .scroll-top {
        display: none;
    }

    .hero {
        padding-top: 0;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .btn-secondary {
        border-width: 3px;
    }

    .nav-link {
        border: 1px solid transparent;
    }

    .nav-link:hover,
    .nav-link.active {
        border-color: white;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .pipe-animation {
        display: none;
    }
}


/* ----------------- Mobile hamburger alignment fix ----------------- */
/* (Place at the end of styles.css) */

/* Ensure the navbar container is a positioning context for the absolute hamburger */
@media (max-width: 768px) {
    .nav-container {
        position: relative;
        /* anchoring point for absolute-positioned hamburger */
    }

    /* Place hamburger firmly at the top-right, vertically centered
     inside the navbar height. Increase hit area so it's easy to tap. */
    .hamburger {
        position: absolute;
        right: 14px;
        /* distance from right edge - tweak if needed */
        top: 50%;
        /* vertical centering inside navbar */
        transform: translateY(-50%);
        width: 48px;
        /* comfortable tap target */
        height: 48px;
        padding: 8px;
        /* inner padding for the icon */
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
        background: transparent;
        /* can change to a subtle bg if you like */
        z-index: 2000;
        /* above nav/menu */
        box-shadow: none;
        /* remove accidental shadows pushing layout */
        transition: background .15s ease, transform .12s ease;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

    /* If your hamburger uses <svg> or .bar lines, ensure it scales to fit */
    .hamburger svg,
    .hamburger img {
        width: 24px;
        height: 24px;
        display: block;
    }

    /* Slight hover / active feedback */
    .hamburger:active {
        transform: translateY(-50%) scale(.98);
    }

    .hamburger:focus {
        outline: none;
        box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
    }

    /* Make sure logo area has room and does not overlap the hamburger */
    .nav-logo {
        padding-right: 80px;
        /* reserve space on the right for hamburger (48px + gap) */
        min-width: 0;
        /* allows truncation */
    }
}



/* ================= Footer — Manufacturer Trusted Design ================= */
.footer-manufacturer {
    background: #0f1724;
    /* dark background for trust */
    color: #e6eef6;
    padding-top: 60px;
    border-top: 4px solid #b91c1c;
    margin-top: 60px;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
}

/* Subtle texture overlay */
.footer-manufacturer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.03) 0%, transparent 20%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.03) 0%, transparent 20%);
    pointer-events: none;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 40px;
    position: relative;
    z-index: 1;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.1rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: var(--color-primary);
    border-radius: 2px;
}

.brand-row {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 20px;
}

.footer-logo-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    background: white;
    padding: 5px;
    border-radius: 8px;
}

.brand-name {
    color: #fff;
    margin: 0 0 5px 0;
    font-size: 1.2rem;
    font-weight: 700;
}

.brand-tagline {
    margin: 0;
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Trust badges */
.trust-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 25px;
}

.trust-badges .badge {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    color: #cbd5e1;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.trust-badges .badge:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.trust-badges .badge i {
    color: var(--color-primary);
}

/* Links */
.footer-links ul,
.product-list {
    list-style: none;
    padding: 0;
    margin: 0;
}


.footer-links li,
.product-list li {
    margin-bottom: 12px;
}

.footer-links a,
.product-list a,
.product-list span {
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.footer-links a::before {
    content: '\f105';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 0.8rem;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.footer-links a:hover,
.product-list a:hover {
    color: #fff;
    transform: translateX(5px);
}

.footer-links a:hover::before {
    opacity: 1;
    color: var(--color-primary);
}

/* Contact / social */
.footer-contact address {
    font-style: normal;
    color: #94a3b8;
    margin-bottom: 20px;
    line-height: 1.6;
}

.footer-contact address div {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.footer-contact address i {
    color: var(--color-primary);
    margin-top: 4px;
}

.footer-contact a {
    color: #e2e8f0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--color-primary);
}

.social-row {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    transform: translateY(-3px);
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 640px) {
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-col {
        text-align: center;
    }

    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .brand-row {
        justify-content: center;
    }

    .trust-badges {
        justify-content: center;
    }

    .footer-links a::before {
        display: none;
    }

    .footer-contact address div {
        justify-content: center;
    }

    .social-row {
        justify-content: center;
    }
}

.social-row {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: #111827;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.social-link:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-3px);
}

/* bottom bar */
.footer-bottom {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.03));
    padding: 14px 0;
    margin-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.02);
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    padding: 0 20px;
    color: #9fbdd6;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: #d2ecff;
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

.policies .sep {
    margin: 0 8px;
    color: rgba(255, 255, 255, 0.06);
}

/* Responsive */
@media (max-width: 920px) {
    .footer-inner {
        grid-template-columns: 1fr;
    }

    .footer-bottom-inner {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }

    .brand-tagline {
        max-width: none;
    }
}

/* Product Detail Page */
.product-detail {
    padding: 80px 0;
    background: #f9fafb;
}

.product-header {
    text-align: center;
    margin-bottom: 60px;
}

.product-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 20px;
}

.product-header p {
    font-size: 1.2rem;
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.product-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.product-gallery {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.main-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
}

.thumbnail-gallery {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    justify-content: center;
}

.thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
}

.thumbnail.active,
.thumbnail:hover {
    border-color: var(--color-primary);
    transform: scale(1.1);
}

.product-info h2 {
    font-size: 1.8rem;
    color: var(--color-text-primary);
    margin-bottom: 20px;
    border-bottom: 2px solid #b91c1c;
    padding-bottom: 10px;
}

.specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 40px;
}

.spec-item {
    background: var(--color-bg-lighter);
    padding: 15px;
    border-radius: 8px;
    font-size: 0.95rem;
}

.spec-item strong {
    color: var(--color-primary);
    display: block;
    margin-bottom: 5px;
}

.product-features ul {
    list-style: none;
    padding: 0;
}

.product-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: #374151;
}

.product-features i {
    color: #10b981;
    font-size: 1.1rem;
}

.applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.application-item {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.application-item i {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.contact-section {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.contact-section h2 {
    color: var(--color-text-primary);
    margin-bottom: 15px;
}

.contact-section p {
    color: var(--color-text-secondary);
    margin-bottom: 25px;
}

.contact-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .product-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .product-header h1 {
        font-size: 2rem;
    }

    .specs-grid {
        grid-template-columns: 1fr;
    }

    .applications-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   MODERN PRODUCT PAGE STYLES (New Redesign)
   ========================================= */

/* Global Enhancements */
:root {
    --primary-color: var(--color-primary);
    --primary-dark: #991b1b;
    --secondary-color: var(--color-text-primary);
    --accent-color: #f3f4f6;
    --text-color: #4b5563;
    --light-bg: #f9fafb;
    --white: #ffffff;
    --gradient-hero: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
    --shadow-soft: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 20px 40px -10px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-page-wrapper {
    background-color: var(--light-bg);
    overflow-x: hidden;
}

/* Modern Hero Section */
.product-hero-modern {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 80vh;
    align-items: center;
    position: relative;
    background: var(--gradient-hero);
    overflow: hidden;
    padding-top: 100px;
    /* Navbar height */
}

.hero-content {
    padding: 4rem 2rem 4rem 10%;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(185, 28, 28, 0.1);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    color: var(--secondary-color);
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.hero-title span {
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-color);
    margin-bottom: 2.5rem;
    max-width: 500px;
    line-height: 1.6;
}

.hero-visual {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-visual::before {
    content: '';
    position: absolute;
    width: 60vw;
    height: 60vw;
    background: rgba(185, 28, 28, 0.03);
    border-radius: 50%;
    z-index: 1;
}

.hero-image {
    width: 85%;
    max-height: 70vh;
    object-fit: contain;
    z-index: 2;
    transform: perspective(1000px) rotateY(-10deg);
    transition: transform 0.5s ease;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
}

.product-hero-modern:hover .hero-image {
    transform: perspective(1000px) rotateY(0deg);
}

/* Feature Grid Modern */
.features-modern {
    padding: 6rem 0;
    background: var(--white);
}

.grid-3-col {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.grid-3-col .feature-card-glass {
    flex: 1 1 calc(33.33% - 2rem);
    max-width: calc(33.33% - 2rem);
}

@media (max-width: 992px) {
    .grid-3-col .feature-card-glass {
        flex: 1 1 calc(50% - 2rem);
        max-width: calc(50% - 2rem);
    }
}

@media (max-width: 600px) {
    .grid-3-col .feature-card-glass {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

.feature-card-glass {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(249, 250, 251, 0.8) 100%);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(185, 28, 28, 0.08);
    /* Subtle brand tint boundary */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.feature-card-glass:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(185, 28, 28, 0.1);
    border-color: rgba(185, 28, 28, 0.2);
}

.icon-box-lg {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 8px 20px rgba(185, 28, 28, 0.2);
    transition: transform 0.3s ease;
}

.feature-card-glass:hover .icon-box-lg {
    transform: scale(1.1) rotate(5deg);
}

/* Why Choose Us Section Specifics */
.why-choose-modern {
    padding: 100px 0;
    background-color: var(--color-bg-light);
    position: relative;
}

.why-choose-modern .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.why-choose-modern h2 {
    font-size: 2.8rem;
    color: var(--color-text-primary);
    margin-bottom: 15px;
}

.why-choose-modern .section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

@media (max-width: 1200px) {
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .trust-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card-glass::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--color-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.feature-card-glass:hover::before {
    transform: scaleX(1);
}

.feature-card-glass h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-text-primary);
}

.feature-card-glass p {
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.feature-card-glass ul {
    margin-top: 15px;
    padding-left: 0;
    list-style: none;
}

.feature-card-glass ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: var(--color-text-secondary);
}

.feature-card-glass ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--color-primary);
}

/* Modern Specs Table */
.specs-modern-section {
    padding: 6rem 0;
    background: var(--light-bg);
}

.specs-container {
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
}

.specs-header {
    background: var(--secondary-color);
    color: var(--white);
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.specs-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.specs-table-wrapper {
    padding: 2rem;
}

.modern-table {
    width: 100%;
    border-collapse: collapse;
}

.modern-table th,
.modern-table td {
    padding: 1.25rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.modern-table th {
    font-weight: 600;
    color: var(--secondary-color);
    width: 40%;
}

.modern-table td {
    color: var(--text-color);
}

.modern-table tr:last-child td,
.modern-table tr:last-child th {
    border-bottom: none;
}

.modern-table tr:hover {
    background-color: #fcfcfc;
}

/* Application Showcase */
.applications-modern {
    padding: 6rem 0;
    background: var(--white);
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.app-card {
    position: relative;
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
}

.app-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.app-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    opacity: 0.9;
    transition: var(--transition);
}

.app-card h4 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    transform: translateY(0);
    transition: var(--transition);
}

.app-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition);
}

.app-card:hover img {
    transform: scale(1.1);
}

.app-card:hover p {
    transform: translateY(0);
    opacity: 1;
}

/* Floating CTA for Mobile */
.floating-cta {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: var(--primary-color);
    color: var(--white);
    padding: 1rem;
    border-radius: 50px;
    text-align: center;
    font-weight: 600;
    box-shadow: 0 10px 20px rgba(185, 28, 28, 0.3);
    z-index: 1000;
    text-decoration: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(100px);
    }

    to {
        transform: translateY(0);
    }
}

/* Responsive Modern Styles */
@media (max-width: 992px) {
    .product-hero-modern {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 100px;
    }

    .hero-content {
        padding: 2rem;
        order: 2;
    }

    .hero-visual {
        order: 1;
        height: 400px;
    }

    .hero-image {
        max-height: 350px;
        transform: none;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        margin: 0 auto 2rem;
    }

    .specs-container {
        grid-template-columns: 1fr;
    }

    .specs-header {
        padding: 2rem;
        text-align: center;
    }

    .app-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .app-grid {
        grid-template-columns: 1fr;
    }

    .floating-cta {
        display: flex;
    }

    .hide-mobile {
        display: none;
    }
}

/* Modern Contact Section */
.contact-modern {
    padding: var(--spacing-4xl) 0;
    background: #f8fafc;
    position: relative;
}

.contact-wrapper-modern {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
    background: white;
    border-radius: 30px;
    padding: 60px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
}

/* Contact Info Column */
.contact-header-modern .sub-title {
    color: var(--color-primary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: block;
}

.contact-header-modern h2 {
    font-size: 2.5rem;
    color: var(--color-text-primary);
    margin-bottom: 20px;
    line-height: 1.2;
}

.contact-header-modern p {
    color: var(--color-text-secondary);
    font-size: 1.1rem;
    margin-bottom: 40px;
    line-height: 1.6;
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

.contact-detail-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.icon-box {
    width: 50px;
    height: 50px;
    background: rgba(185, 28, 28, 0.1);
    color: var(--color-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-detail-item:hover .icon-box {
    background: var(--color-primary);
    color: white;
    transform: rotate(10deg);
}

.detail-text h3 {
    font-size: 1.1rem;
    color: var(--color-text-primary);
    margin-bottom: 5px;
    font-weight: 700;
}

.detail-text p {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 5px;
}

.detail-text a {
    color: #4b5563;
    text-decoration: none;
    transition: color 0.2s;
}

.detail-text a:hover {
    color: var(--color-primary);
}

.detail-text small {
    color: #9ca3af;
    font-size: 0.85rem;
    display: block;
}

.social-connect-modern h4 {
    font-size: 1.1rem;
    color: var(--color-text-primary);
    margin-bottom: 15px;
}

.social-icons-modern {
    display: flex;
    gap: 15px;
}

.social-icons-modern a {
    width: 40px;
    height: 40px;
    background: var(--color-bg-lighter);
    color: var(--color-text-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icons-modern a:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-3px);
}

/* Contact Form Column */
.contact-form-container-modern {
    background: #f9fafb;
    padding: 40px;
    border-radius: 20px;
}

.modern-form h3 {
    margin-bottom: 30px;
    color: var(--color-text-primary);
    font-size: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.input-group-modern {
    position: relative;
    margin-bottom: 25px;
}

.input-group-modern.full-width {
    grid-column: span 2;
}

.input-group-modern input,
.input-group-modern textarea,
.input-group-modern select {
    width: 100%;
    padding: 15px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    background: white;
    font-size: 1rem;
    color: var(--color-text-primary);
    transition: all 0.3s ease;
    outline: none;
}

.input-group-modern textarea {
    resize: vertical;
}

.input-group-modern label {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    padding: 0 5px;
    color: #9ca3af;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    pointer-events: none;
}

.input-group-modern textarea+label {
    top: 25px;
}

/* Floating Label Logic */
.input-group-modern input:focus,
.input-group-modern input:not(:placeholder-shown),
.input-group-modern textarea:focus,
.input-group-modern textarea:not(:placeholder-shown) {
    border-color: var(--color-primary);
}

.input-group-modern input:focus+label,
.input-group-modern input:not(:placeholder-shown)+label,
.input-group-modern textarea:focus+label,
.input-group-modern textarea:not(:placeholder-shown)+label {
    top: 0;
    font-size: 0.8rem;
    color: var(--color-primary);
    font-weight: 600;
}

.input-group-modern select {
    appearance: none;
    cursor: pointer;
}

.btn-submit-modern {
    width: 100%;
    background: var(--color-primary);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-submit-modern:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(185, 28, 28, 0.2);
}

@media (max-width: 991px) {
    .contact-wrapper-modern {
        grid-template-columns: 1fr;
        padding: 30px;
        gap: 40px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

.standards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

/* Tablet */
@media (max-width: 992px) {
    .standards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 576px) {
    .standards-grid {
        grid-template-columns: 1fr;
    }
}

.standard-card {
    background: white;
    padding: 28px;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.25s ease;
}

.standard-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.standard-card h4 {
    font-size: 18px;
    color: var(--color-text-primary);
    margin-bottom: 10px;
}

.standard-card p {
    font-size: 14px;
    color: var(--color-text-secondary);
}

/* SECTION */
.manufacturing-modern {
    padding: 80px 0;
    background: #f9fafb;
}

/* GRID */
.manufacturing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

/* CARD */
.manufacturing-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* HOVER EFFECT */
.manufacturing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* ICON */
.manufacturing-card .icon-box-lg {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #b91c1c, #b91c1c);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 28px;
}

/* TEXT */
.manufacturing-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #111827;
}

.manufacturing-card p {
    font-size: 15px;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* RESPONSIVE */
@media(max-width:992px) {
    .manufacturing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width:600px) {
    .manufacturing-grid {
        grid-template-columns: 1fr;
    }
}

/* GALLERY GRID */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

/* CARD */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    cursor: pointer;
}

/* IMAGE */
.gallery-item img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: 0.4s ease;
}

/* OVERLAY */
.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: #fff;
    transform: translateY(100%);
    transition: 0.4s ease;
}

/* HOVER EFFECT */
.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

/* TEXT */
.gallery-overlay h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.gallery-overlay p {
    font-size: 14px;
    opacity: 0.9;
}

/* TABS */
.gallery-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.gallery-tab {
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid #ddd;
    background: white;
    cursor: pointer;
    transition: 0.3s;
}

.gallery-tab.active,
.gallery-tab:hover {
    background: #16a34a;
    color: white;
    border-color: #16a34a;
}

/* RESPONSIVE */
@media(max-width:992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =========================================================
   RESPONSIVE LOGO & HEADER PERFECTION
   ========================================================= */
@media (max-width: 768px) {
    .logo-text div {
        font-size: 1.1rem !important;
        /* Scale down from 1.5em */
        white-space: nowrap !important;
    }

    .logo-text p {
        font-size: 0.7rem !important;
        margin-top: -2px;
    }

    .logo-circle {
        width: 38px !important;
        height: 38px !important;
    }

    .nav-logo {
        gap: 8px !important;
    }

    /* Extra Small Phone Typography */
    .nav-logo {
        gap: 8px !important;
    }

    .nav-container {
        padding: 0 15px !important;
    }
}

@media (max-width: 380px) {
    .logo-text div {
        font-size: 0.95rem !important;
        /* Extra small for tiny screens */
    }

    .logo-circle {
        width: 32px !important;
        height: 32px !important;
    }
}


@media(max-width:600px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}