/* ==========================================================================
   PACTECHE MACHINERY - MODERN INDUSTRIAL LIGHT DESIGN SYSTEM
   ========================================================================== */

:root {
    /* Color Palette */
    --primary-blue: #1e3a8a;
    --primary-blue-hover: #1d4ed8;
    --accent-red: #dc2626;
    --accent-red-hover: #b91c1c;
    --accent-crimson: #991b1b;
    
    /* Theme Light System */
    --bg-body: #f8fafc;
    --bg-surface: #ffffff;
    --bg-alt: #f1f5f9;
    --navy-dark: #0f172a; /* Used for top bar & footer header */
    --navy-card: #ffffff;
    --navy-border: #e2e8f0;
    --border-medium: #cbd5e1;
    
    /* Text Colors */
    --text-main: #0f172a;
    --text-muted: #475569;
    --text-light: #64748b;
    --text-dark: #0f172a;
    --white: #ffffff;
    
    /* Gradients */
    --grad-primary: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    --grad-red: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    --grad-hero: linear-gradient(135deg, #ffffff 0%, #eff6ff 60%, #f8fafc 100%);
    --grad-dark: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    --grad-glow: linear-gradient(135deg, rgba(30, 58, 138, 0.08) 0%, rgba(220, 38, 38, 0.08) 100%);

    /* Shadows & Elevation */
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 16px 35px rgba(15, 23, 42, 0.12);
    --shadow-glow: 0 10px 30px rgba(30, 58, 138, 0.12);

    /* Layout & Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* TYPOGRAPHY UTILITIES */
.text-gradient {
    background: linear-gradient(135deg, #1e3a8a 0%, #dc2626 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--accent-red);
    background: rgba(220, 38, 38, 0.08);
    padding: 6px 14px;
    border-radius: 50px;
    border: 1px solid rgba(220, 38, 38, 0.2);
    margin-bottom: 12px;
    text-transform: uppercase;
}

.section-title {
    font-size: clamp(24px, 4vw, 38px);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 16px;
    color: #0f172a;
}

.section-subtitle {
    font-size: 17px;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 40px auto;
}

.text-center {
    text-align: center;
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 26px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
}

.btn-primary {
    background: var(--accent-red);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.3);
}

.btn-primary:hover {
    background: var(--accent-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.45);
}

.btn-outline {
    background: #ffffff;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-outline:hover {
    border-color: var(--accent-red);
    background: var(--accent-red);
    color: var(--white);
}

.glow-btn {
    position: relative;
    overflow: hidden;
}

.glow-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 60%);
    transform: scale(0);
    transition: transform 0.5s ease-out;
}

.glow-btn:hover::after {
    transform: scale(1);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
    border-radius: var(--radius-md);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

.btn-block {
    width: 100%;
}

.btn-whatsapp {
    background: #25d366;
    color: #fff;
    width: 100%;
    font-size: 16px;
    padding: 14px;
    border-radius: var(--radius-md);
    font-weight: 700;
}

.btn-whatsapp:hover {
    background: #1da851;
}

/* ==========================================================================
   TOP BAR & HEADER
   ========================================================================== */

.top-bar {
    background-color: #0f172a;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 13px;
    color: #94a3b8;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left, .top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar-left .info-item i {
    color: #ef4444;
}

.top-bar-right .info-item {
    color: #94a3b8;
}

.top-bar-right .info-item:hover {
    color: #ffffff;
}

.hindi-tag {
    background: rgba(30, 58, 138, 0.5);
    color: #bfdbfe;
    padding: 2px 10px;
    border-radius: 4px;
    font-weight: 600;
}

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

.social-links a {
    color: #94a3b8;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.social-links a:hover {
    background: var(--accent-red);
    color: var(--white);
}

/* MAIN HEADER */
.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--navy-border);
    padding: 14px 0;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
    transition: var(--transition);
}

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

/* BRAND LOGO */
.brand-logo {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-logo-img {
    height: 52px;
    width: auto;
    object-fit: contain;
    display: block;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: 'Times New Roman', Times, serif;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--accent-red);
    line-height: 1;
}

.brand-sub {
    font-family: 'Times New Roman', Times, serif;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 3.5px;
    color: var(--accent-red);
    line-height: 1.1;
    margin-top: 2px;
}

.nav-menu {
    display: flex;
    gap: 28px;
}

.nav-link {
    font-size: 15px;
    font-weight: 600;
    color: #334155;
    position: relative;
    padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-red);
}

.nav-link.active::after, .nav-link:hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-red);
    border-radius: 2px;
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: #0f172a;
    font-size: 24px;
    cursor: pointer;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
    position: relative;
    padding: 95px 0 75px 0;
    background-color: #ffffff;
    background-image: 
        radial-gradient(circle at 75% 30%, rgba(37, 99, 235, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 20% 75%, rgba(220, 38, 38, 0.06) 0%, transparent 45%),
        radial-gradient(circle at 50% 0%, rgba(30, 58, 138, 0.05) 0%, transparent 60%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 55%, #eff6ff 100%);
    border-bottom: 1px solid var(--navy-border);
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* 3D Hexagonal Tech Grid Overlay */
.hero-hex-pattern {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    -webkit-mask-image: radial-gradient(ellipse 90% 90% at 50% 40%, black 40%, transparent 100%);
    mask-image: radial-gradient(ellipse 90% 90% at 50% 40%, black 40%, transparent 100%);
}

/* Rich Multi-Layer Ambient Lighting */
.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.55;
    pointer-events: none;
    animation: floatGlow 12s ease-in-out infinite alternate;
}

.hero-glow-1 {
    top: -15%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.12) 0%, rgba(220, 38, 38, 0) 70%);
}

.hero-glow-2 {
    bottom: -15%;
    right: -5%;
    width: 580px;
    height: 580px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, rgba(37, 99, 235, 0) 70%);
    animation-delay: -6s;
}

.hero-glow-3 {
    top: 30%;
    left: 45%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(30, 58, 138, 0.08) 0%, rgba(30, 58, 138, 0) 70%);
    animation-delay: -3s;
}

@keyframes floatGlow {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(25px, 18px) scale(1.06); }
}

.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(30, 58, 138, 0.06);
    border: 1px solid rgba(30, 58, 138, 0.18);
    color: var(--primary-blue);
    padding: 7px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.05);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #22c55e;
    border-radius: 50%;
    position: relative;
    display: inline-block;
}

.pulse-dot::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background-color: rgba(34, 197, 94, 0.4);
    animation: radarPulse 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes radarPulse {
    0% { transform: scale(0.9); opacity: 0.8; }
    100% { transform: scale(2.4); opacity: 0; }
}

.hero-title {
    font-size: clamp(28px, 4.8vw, 48px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    color: #0f172a;
}

.hero-description {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 32px;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 50px;
}

/* STATS ROW */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    background: #ffffff;
    border: 1px solid var(--navy-border);
    padding: 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.stat-card {
    text-align: center;
}

.stat-num {
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
}

.stat-plus {
    font-size: 20px;
    font-weight: 700;
    color: var(--accent-red);
}

.stat-label {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* HERO PREVIEW CARD */
.machinery-card-preview {
    background: #ffffff;
    border: 1px solid var(--navy-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.preview-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent-red);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    text-transform: uppercase;
}

.preview-img-box {
    width: 100%;
    height: 220px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.hero-preview-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 6px;
    transition: transform 0.4s ease;
}

.hero-preview-img:hover {
    transform: scale(1.05);
}

.preview-info h3 {
    font-size: 20px;
    margin-bottom: 8px;
    color: #0f172a;
}

.preview-info p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.preview-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.preview-tags span {
    background: rgba(30, 58, 138, 0.08);
    border: 1px solid rgba(30, 58, 138, 0.15);
    color: var(--primary-blue);
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 600;
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */

.about-section {
    padding: 90px 0;
    background: #f8fafc;
    border-top: 1px solid var(--navy-border);
    border-bottom: 1px solid var(--navy-border);
}

.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image-box {
    position: relative;
}

.factory-badge {
    position: absolute;
    bottom: -20px;
    left: 20px;
    background: #ffffff;
    border: 1px solid var(--navy-border);
    padding: 16px 24px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-lg);
}

.factory-badge i {
    font-size: 32px;
    color: var(--accent-red);
}

.factory-badge strong {
    display: block;
    font-size: 16px;
    color: #0f172a;
}

.factory-badge span {
    font-size: 13px;
    color: var(--text-muted);
}

.about-illustration {
    width: 100%;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--navy-border);
    box-shadow: var(--shadow-md);
}

.about-img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    display: block;
    transition: transform 0.4s ease;
    padding: 20px;
}

.about-img:hover {
    transform: scale(1.03);
}

.about-lead {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.highlight-item {
    display: flex;
    gap: 16px;
}

.hl-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: rgba(220, 38, 38, 0.08);
    color: var(--accent-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.highlight-item h4 {
    font-size: 17px;
    margin-bottom: 4px;
    color: #0f172a;
}

.highlight-item p {
    font-size: 14px;
    color: var(--text-muted);
}

/* ==========================================================================
   CATALOG SECTION & FILTER TABS
   ========================================================================== */

.catalog-section {
    padding: 90px 0;
    background: #ffffff;
}

.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    background: #ffffff;
    border: 1px solid var(--border-medium);
    color: var(--text-muted);
    padding: 10px 22px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--accent-red);
    border-color: var(--accent-red);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.machine-card {
    background: #ffffff;
    border: 1px solid var(--navy-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
}

.machine-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-glow);
}

.card-img-wrap {
    height: 220px;
    background: #ffffff;
    border-bottom: 1px solid var(--navy-border);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    overflow: hidden;
}

.card-product-img {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: var(--transition);
}

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

.card-category-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--primary-blue);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 4px;
}

.card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #0f172a;
}

.card-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 16px;
    flex-grow: 1;
}

.card-specs {
    border-top: 1px solid var(--navy-border);
    padding-top: 14px;
    margin-bottom: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    font-size: 12px;
    color: #334155;
}

.card-specs i {
    color: var(--accent-red);
    margin-right: 6px;
}

.card-actions {
    display: flex;
    gap: 10px;
}

.card-actions .btn {
    flex: 1;
}

/* ==========================================================================
   INTERACTIVE MACHINE FINDER WIZARD
   ========================================================================== */

.wizard-section {
    padding: 90px 0;
    background: #f8fafc;
    border-top: 1px solid var(--navy-border);
    border-bottom: 1px solid var(--navy-border);
}

.wizard-card {
    background: #ffffff;
    border: 1px solid var(--navy-border);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.wizard-steps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.wizard-step h3 {
    font-size: 18px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #0f172a;
}

.step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--accent-red);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.wizard-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.wiz-opt input {
    display: none;
}

.opt-box {
    background: #ffffff;
    border: 1px solid var(--border-medium);
    padding: 16px;
    border-radius: var(--radius-sm);
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #0f172a;
    font-weight: 500;
}

.opt-box i {
    font-size: 24px;
    color: var(--text-muted);
}

.wiz-opt input:checked + .opt-box {
    border-color: var(--accent-red);
    background: rgba(220, 38, 38, 0.06);
    color: var(--accent-red);
}

.wiz-opt input:checked + .opt-box i {
    color: var(--accent-red);
}

.speed-slider-container {
    background: #ffffff;
    border: 1px solid var(--border-medium);
    padding: 24px;
    border-radius: var(--radius-sm);
    text-align: center;
    color: #0f172a;
}

.slider {
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: #e2e8f0;
    outline: none;
    accent-color: var(--accent-red);
    margin-bottom: 16px;
}

.speed-val-display {
    font-size: 24px;
    font-weight: 800;
    color: var(--accent-red);
}

.wizard-result {
    background: rgba(30, 58, 138, 0.06);
    border: 1px solid rgba(30, 58, 138, 0.2);
    padding: 24px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: #0f172a;
}

.result-badge {
    color: #15803d;
    font-size: 13px;
    font-weight: 700;
    background: rgba(22, 163, 74, 0.12);
    padding: 6px 12px;
    border-radius: 50px;
}

/* ==========================================================================
   WHY CHOOSE US
   ========================================================================== */

.why-us-section {
    padding: 90px 0;
    background: #ffffff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    background: #ffffff;
    border: 1px solid var(--navy-border);
    border-radius: var(--radius-md);
    padding: 30px 24px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-red);
    box-shadow: var(--shadow-md);
}

.feat-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    background: rgba(220, 38, 38, 0.08);
    color: var(--accent-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #0f172a;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-muted);
}

/* ==========================================================================
   RESOURCES & DOWNLOADS CENTER
   ========================================================================== */

.resources-section {
    padding: 90px 0;
    background: #f8fafc;
    border-top: 1px solid var(--navy-border);
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.resource-card {
    background: #f8fafc;
    border: 1px solid var(--navy-border);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
    position: relative;
}

.resource-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-md);
    background: #ffffff;
}

.resource-type-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.resource-type-badge.pdf { background: rgba(220, 38, 38, 0.1); color: var(--accent-red); }
.resource-type-badge.guide { background: rgba(37, 99, 235, 0.1); color: var(--primary-blue); }
.resource-type-badge.cert { background: rgba(22, 163, 74, 0.1); color: #16a34a; }
.resource-type-badge.calc { background: rgba(147, 51, 234, 0.1); color: #9333ea; }

.resource-icon-box {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: rgba(30, 58, 138, 0.08);
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 20px;
    transition: var(--transition);
}

.resource-card:hover .resource-icon-box {
    background: var(--primary-blue);
    color: #ffffff;
}

.resource-details h3 {
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
    line-height: 1.35;
}

.resource-details p {
    font-size: 13.5px;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.5;
}

.resource-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-light);
    padding-top: 14px;
    border-top: 1px dashed var(--navy-border);
    margin-bottom: 20px;
}

.resource-btn {
    font-size: 14px;
    padding: 10px 18px;
}

/* ==========================================================================
   CONTACT & RFQ SECTION
   ========================================================================== */

.contact-section {
    padding: 90px 0;
    background: #ffffff;
    border-top: 1px solid var(--navy-border);
}

.contact-info-card h2 {
    font-size: 32px;
    margin-bottom: 16px;
    color: #0f172a;
}

.contact-info-card > p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.info-row {
    display: flex;
    gap: 16px;
}

.ir-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(30, 58, 138, 0.1);
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.info-row strong {
    display: block;
    font-size: 15px;
    margin-bottom: 2px;
    color: #0f172a;
}

.info-row p {
    font-size: 14px;
    color: var(--text-muted);
}

.rfq-form-card {
    background: #f8fafc;
    border: 1px solid var(--navy-border);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-md);
}

.rfq-form-card h3 {
    font-size: 24px;
    margin-bottom: 8px;
    color: #0f172a;
}

.rfq-form-card > p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    background: #ffffff;
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    color: #0f172a;
    font-family: inherit;
    font-size: 14px;
    transition: var(--transition);
}

.form-control::placeholder {
    color: #94a3b8;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-red);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
}

/* ==========================================================================
   SPEC MODAL
   ========================================================================== */

.spec-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.spec-modal.active {
    opacity: 1;
    pointer-events: all;
}

.modal-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(6px);
}

.modal-content {
    position: relative;
    background: #ffffff;
    border: 1px solid var(--navy-border);
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 650px;
    padding: 32px;
    box-shadow: var(--shadow-lg);
    z-index: 10;
    color: #0f172a;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 20px;
    cursor: pointer;
}

.modal-close:hover {
    color: var(--accent-red);
}

.modal-category {
    color: var(--accent-red);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.modal-header h2 {
    font-size: 22px;
    margin-top: 4px;
    margin-bottom: 20px;
    color: #0f172a;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--navy-border);
    font-size: 14px;
}

.spec-row span:first-child {
    color: #64748b;
}

.spec-row span:last-child {
    font-weight: 600;
    color: #0f172a;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 24px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.main-footer {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    padding-top: 70px;
    color: var(--text-muted);
}

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

.brand-col .footer-logo {
    display: inline-flex;
    align-items: center;
    margin-bottom: 20px;
    text-decoration: none;
}

.footer-logo-img {
    height: 52px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
    transition: var(--transition);
}

.footer-logo:hover .footer-logo-img {
    transform: translateY(-2px);
}

.footer-col h4 {
    font-size: 16px;
    margin-bottom: 20px;
    color: #0f172a;
    font-weight: 700;
}

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

.footer-links a {
    color: #475569;
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--accent-red);
    padding-left: 4px;
}

.footer-col p {
    font-size: 14px;
    color: #475569;
    margin-bottom: 10px;
}

.footer-col p i {
    color: var(--accent-red);
    margin-right: 8px;
}

.footer-hindi {
    color: var(--primary-blue) !important;
    font-weight: 600;
    margin-top: 10px;
}

.footer-bottom {
    background: #0f172a;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
    font-size: 13px;
    color: #94a3b8;
}

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

/* ==========================================================================
   NAVIGATION OVERLAY & MOBILE STICKY CONTACT BAR
   ========================================================================== */

body.menu-open {
    overflow: hidden;
}

.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-sticky-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 56px;
    background: #ffffff;
    border-top: 1px solid var(--navy-border);
    box-shadow: 0 -4px 16px rgba(15, 23, 42, 0.1);
    z-index: 990;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
}

.sticky-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 100%;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
}

.sticky-call {
    color: var(--primary-blue);
    background: #ffffff;
    border-right: 1px solid var(--navy-border);
}

.sticky-whatsapp {
    color: #ffffff;
    background: #25d366;
}

.sticky-quote {
    color: #ffffff;
    background: var(--accent-red);
}

/* ==========================================================================
   FLOATING WHATSAPP BUTTON
   ========================================================================== */

.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
    z-index: 995;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease, background 0.3s ease;
    text-decoration: none;
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.35);
    animation: whatsappPulse 2s cubic-bezier(0, 0, 0.2, 1) infinite;
    z-index: -1;
}

@keyframes whatsappPulse {
    0% { transform: scale(0.9); opacity: 0.8; }
    100% { transform: scale(1.6); opacity: 0; }
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-4px);
    background: #1da851;
    color: #ffffff;
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

.float-tooltip {
    position: absolute;
    right: 70px;
    background: #0f172a;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.15);
}

.float-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -5px;
    transform: translateY(-50%);
    border-width: 5px 0 5px 5px;
    border-style: solid;
    border-color: transparent transparent transparent #0f172a;
}

.whatsapp-float:hover .float-tooltip {
    opacity: 1;
    visibility: visible;
    right: 74px;
}

/* ==========================================================================
   SCROLL TO TOP & BOTTOM ARROW BUTTONS
   ========================================================================== */

.scroll-nav-btns {
    position: fixed;
    bottom: 28px;
    left: 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 995;
}

.scroll-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff;
    color: var(--primary-blue);
    border: 1px solid var(--navy-border);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.scroll-btn:hover {
    background: var(--primary-blue);
    color: #ffffff;
    border-color: var(--primary-blue);
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.25);
    transform: scale(1.08) translateY(-2px);
}


/* ==========================================================================
   COMPREHENSIVE MULTI-DEVICE RESPONSIVE BREAKPOINTS
   ========================================================================== */

/* 1. LARGE DESKTOP & MONITORS (> 1440px) */
@media (min-width: 1441px) {
    .container {
        max-width: 1360px;
    }
}

/* 2. LAPTOP / SMALL DESKTOP (1025px - 1200px) */
@media (max-width: 1200px) {
    .container {
        max-width: 100%;
        padding: 0 20px;
    }
    
    .nav-menu {
        gap: 20px;
    }
    
    .nav-link {
        font-size: 14px;
    }
    
    .grid-2-col {
        gap: 36px;
    }
}

/* 3. TABLETS & SMALL LAPTOPS (<= 992px) */
@media (max-width: 992px) {
    .top-bar-content {
        gap: 12px;
    }

    .main-header {
        padding: 10px 0;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #ffffff;
        flex-direction: column;
        gap: 0;
        padding: 12px 24px;
        box-shadow: 0 16px 32px rgba(15, 23, 42, 0.12);
        border-top: 1px solid var(--navy-border);
        border-bottom: 1px solid var(--navy-border);
        transform: translateY(-10px);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        z-index: 999;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-link {
        padding: 14px 0;
        font-size: 16px;
        border-bottom: 1px solid #f1f5f9;
        width: 100%;
        display: block;
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    .nav-link.active::after, .nav-link:hover::after {
        display: none;
    }

    .mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        border-radius: var(--radius-sm);
        background: rgba(30, 58, 138, 0.06);
        color: var(--primary-blue);
        font-size: 20px;
        transition: var(--transition);
    }

    .mobile-toggle:hover, .mobile-toggle.active {
        background: var(--accent-red);
        color: #ffffff;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-visual {
        max-width: 600px;
        margin: 0 auto;
        width: 100%;
    }

    .grid-2-col {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .features-grid, .resources-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .wizard-steps {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

/* 4. MOBILE LANDSCAPE & TABLET PORTRAIT (<= 768px) */
@media (max-width: 768px) {
    body {
        padding-bottom: 56px; /* Space for fixed mobile sticky bar */
    }

    .mobile-sticky-bar {
        display: grid;
    }

    .whatsapp-float {
        display: none; /* Hidden on mobile as sticky bottom contact bar already contains WhatsApp */
    }

    .scroll-nav-btns {
        bottom: 72px;
        left: 16px;
        gap: 8px;
    }

    .scroll-btn {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }

    .top-bar {
        display: none;
    }

    .header-cta-btn {
        display: none; /* Hide header quote btn on small mobile to give space to logo & hamburger */
    }

    .hero-section {
        padding: 40px 0 45px 0;
    }

    .hero-description {
        font-size: 15px;
        margin-bottom: 24px;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 12px;
        margin-bottom: 36px;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 16px;
    }

    .stat-num {
        font-size: 24px;
    }

    .stat-plus {
        font-size: 18px;
    }

    .stat-label {
        font-size: 11px;
    }

    .about-section, .catalog-section, .wizard-section, .why-us-section, .resources-section, .contact-section {
        padding: 55px 0;
    }

    .filter-tabs {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 12px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .filter-tabs::-webkit-scrollbar {
        display: none;
    }

    .filter-btn {
        white-space: nowrap;
        flex-shrink: 0;
        padding: 8px 16px;
        font-size: 13px;
    }

    .products-grid, .features-grid, .resources-grid {
        grid-template-columns: 1fr;
    }

    .wizard-card {
        padding: 20px 16px;
    }

    .wizard-options {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .opt-box {
        padding: 16px 12px;
        font-size: 13px;
    }

    .opt-box i {
        font-size: 24px;
    }

    .wizard-result {
        flex-direction: column;
        text-align: center;
        align-items: center;
        padding: 18px;
    }

    .rfq-form-card {
        padding: 24px 16px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-control {
        font-size: 16px; /* Prevents auto-zoom on iOS */
    }

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

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

/* 5. SMALL MOBILE PHONES (<= 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .brand-logo-img {
        height: 42px;
    }

    .wizard-options {
        grid-template-columns: 1fr;
    }

    .machinery-card-preview {
        padding: 16px;
    }

    .preview-info h3 {
        font-size: 18px;
    }

    .modal-content {
        width: 95%;
        padding: 20px 16px;
    }

    .modal-header h2 {
        font-size: 18px;
    }

    .spec-row {
        font-size: 13px;
    }

    .modal-footer {
        flex-direction: column;
        gap: 10px;
    }

    .modal-footer .btn {
        width: 100%;
    }
}
