/* =========================================
   1. CORE VARIABLES & THEME SETUP
   ========================================= */
:root {
    /* --- LIGHT MODE COLORS --- */
    --bg-hf: #ffffff;
    /* Header/Footer Background */
    --text-hf: #0f172a;
    /* Header/Footer Text */
    --bg-body: #f8fafc;
    /* Main Body Background */
    --text-main: #334155;
    /* Body Text */

    /* --- BRAND COLORS --- */
    --primary: #0f172a;
    /* Navy Blue */
    --secondary: #f97316;
    /* Orange */
    --text-muted: #64748b;
    /* Muted Text */
    --border: #e2e8f0;
    /* Light Border */
    --bg-card: #ffffff;
    /* Card Background */

    /* --- DIMENSIONS & EFFECTS --- */
    --nav-height: 90px;
    --radius: 4px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body.dark-mode {
    /* --- DARK MODE COLORS --- */
    --bg-hf: #020617;
    --text-hf: #ffffff;
    --bg-body: #0f172a;
    --text-main: #cbd5e1;
    --primary: #f8fafc;
    --secondary: #fb923c;
    --text-muted: #94a3b8;
    --border: #1e293b;
    --bg-card: #1e293b;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
}

/* =========================================
   2. GLOBAL RESET & TYPOGRAPHY
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Manrope', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    font-size: 16px;
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    color: var(--primary);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 80px 0;
}

/* =========================================
   3. LOADER STYLES
   ========================================= */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0f172a;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.loader-pipe-container {
    width: 250px;
    height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.steel-pipe-img {
    width: 180px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.5));
}

.animate-pipe {
    animation: spinPipe 1.5s linear infinite;
}

@keyframes spinPipe {
    0% {
        transform: rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    100% {
        transform: rotate(360deg);
        opacity: 1;
    }
}

.loader-brand {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s ease;
    text-align: center;
}

.loader-brand.show {
    opacity: 1;
    transform: scale(1);
}

.loader-main-logo {
    width: 140px;
    margin: 0 auto 20px;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.2));
}

.loader-brand h1 {
    color: white;
    font-size: 2.5rem;
    letter-spacing: 2px;
}

.loader-brand p {
    color: var(--secondary);
    font-weight: 700;
    letter-spacing: 3px;
    margin-top: 5px;
}

/* =========================================
   4. HEADER & NAVIGATION
   ========================================= */
header {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--nav-height);
    background: var(--bg-hf);
    color: var(--text-hf);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    box-shadow: var(--shadow);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    height: 100%;
    text-decoration: none;
    gap: 20px;
}

.main-logo {
    max-height: 75px;
    width: auto;
    animation: industrialSpin 12s linear infinite;
}

@keyframes industrialSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.logo-text-new {
    font-family: 'Oswald', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text-hf);
    line-height: 1.1;
    letter-spacing: 1px;
}

.logo-text-new span {
    color: var(--secondary);
    font-weight: 500;
    margin-left: 5px;
}

/* Navigation */
.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    font-weight: 600;
    color: var(--text-hf);
    position: relative;
}

.nav-link:hover {
    color: var(--secondary);
}

.theme-toggle {
    background: none;
    border: 1px solid var(--border);
    padding: 8px;
    border-radius: 50%;
    cursor: pointer;
    color: var(--text-hf);
    display: flex;
}

/* ============================
   UNIQUE HAMBURGER TOGGLE
   ============================ */

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

/* Hamburger Container - (Hidden on Desktop) */
.hamburger {
    display: none;
    /* Desktop par hide rahega */
    cursor: pointer;
    width: 45px;
    height: 45px;
    position: relative;
    z-index: 1001;
    /* Menu ke upar dikhna chahiye */
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 6px;
    /* Bars ke beech ka gap */
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

/* Bars Styling */
.bar {
    width: 28px;
    height: 3px;
    background-color: var(--text-hf);
    border-radius: 3px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    /* Bouncy Smooth Effect */
    transform-origin: center;
}

/* Hover Effect */
.hamburger:hover .bar {
    background-color: var(--secondary);
    /* Hover par orange */
}

/* --- ACTIVE STATE (CLOSE "X" ANIMATION) --- */

/* 1. Top Bar: Rotate 45deg & Move Down */
.hamburger.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
    background-color: var(--secondary);
    /* Active hone par orange */
}

/* 2. Middle Bar: Fade Out & Shrink */
.hamburger.active .bar:nth-child(2) {
    opacity: 0;
    transform: scale(0);
    /* Gayab ho jayega */
}

/* 3. Bottom Bar: Rotate -45deg & Move Up */
.hamburger.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
    background-color: var(--secondary);
}

/* Optional: Active hone par background circle */
.hamburger.active {
    background-color: rgba(0, 0, 0, 0.05);
    /* Light circle bg */
    transform: rotate(90deg);
    /* Pura button ghumega */
}

/* Dark Mode Adjustment for Active State */
body.dark-mode .hamburger.active {
    background-color: rgba(255, 255, 255, 0.1);
}

/* ============================
   MOBILE MEDIA QUERY UPDATE
   ============================ */

@media (max-width: 992px) {
    .hamburger {
        display: flex;
        /* Mobile par show karein */
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        /* Full Width for Premium Feel */
        height: 100vh;
        background: rgba(15, 23, 42, 0.98);
        /* Deep Dark Overlay */
        backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: center;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        /* Hamburger (1001) se neeche */
        box-shadow: none;
    }

    .nav-menu.active {
        right: 0;
    }
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-hf);
}

/* =========================================
   5. HERO SECTION
   ========================================= */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 0;
}

.hero-bg-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transform: scale(1.1);
    transition: opacity 1.5s ease-in-out, transform 6s linear;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 900px;
}

.hero-sub {
    display: block;
    color: var(--secondary);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    margin-bottom: 15px;
    animation: fadeInDown 1s ease-out;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 30px;
    color: white !important;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out 0.3s backwards;
}

/* Buttons */
.btn-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    animation: fadeInUp 1s ease-out 0.6s backwards;
}

.btn {
    padding: 16px 36px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Manrope', sans-serif;
}

.btn-primary {
    background-color: var(--secondary);
    border: 2px solid var(--secondary);
    color: white;
}

.btn-primary:hover {
    background-color: #e65100;
    border-color: #e65100;
    transform: translateY(-3px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid white;
    color: white;
}

.btn-outline:hover {
    background-color: white;
    color: var(--primary);
    transform: translateY(-3px);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 2rem;
    z-index: 2;
    opacity: 0.8;
    animation: bounce 2s infinite;
    cursor: pointer;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   6. ABOUT SECTION
   ========================================= */
#about {
    background-color: var(--bg-body);
    padding: 100px 0;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.about-header {
    text-align: left;
    margin-bottom: 30px;
}

.section-header h2 {
    font-size: 2.5rem;
}

.about-header .line,
.section-header .line {
    margin: 0;
    width: 60px;
    height: 4px;
    background: var(--secondary);
}

.section-header .line {
    margin: 15px auto 0;
    width: 80px;
}

.about-text p {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.8;
    font-weight: 400;
}

.arrow-link {
    display: inline-block;
    margin-top: 10px;
    font-weight: 700;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.arrow-link:hover {
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
    transform: translateX(5px);
}

.about-img {
    position: relative;
    display: flex;
    justify-content: center;
}

.img-frame {
    position: relative;
    z-index: 1;
    border-radius: var(--radius);
}

.img-frame img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    display: block;
    position: relative;
    z-index: 2;
}

.img-frame::after {
    content: '';
    position: absolute;
    top: 20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 4px solid var(--secondary);
    border-radius: var(--radius);
    z-index: 1;
    transition: transform 0.4s ease;
}

.about-img:hover .img-frame::after {
    transform: translate(-10px, -10px);
}

/* =========================================
   7. PRODUCTS SECTION (Basic Layout)
   ========================================= */
.products-section {
    background: var(--bg-card);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--bg-body);
    border: 1px solid var(--border);
    padding-bottom: 20px;
}

.product-img-box {
    height: 200px;
    background: #ddd;
    overflow: hidden;
}

.product-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    padding: 20px;
}

/* =========================================
   8. PREMIUM INDUSTRIES SECTION
   ========================================= */
.industries-section {
    position: relative;
    padding: 100px 0;
    background-color: var(--primary);
    background-image: linear-gradient(to bottom, rgba(11, 17, 32, 0.95), rgba(15, 23, 42, 0.98));
    overflow: hidden;
    color: white;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-top: 10px;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    height: 600px;
}

/* Left: Visuals */
.visual-column {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 100%;
}

.visual-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1);
    transition: opacity 1s ease, transform 10s ease;
}

.visual-img.active {
    opacity: 1;
    transform: scale(1.1);
}

.visual-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95), transparent);
    z-index: 2;
}

.visual-badge {
    background: var(--secondary);
    color: white;
    padding: 5px 12px;
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 700;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 10px;
}

.visual-text h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 2rem;
    line-height: 1.2;
    color: white;
}

/* Right: Scroller */
.scroller-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    position: relative;
    overflow: hidden;
}

.scroller-container::before,
.scroller-container::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 100px;
    z-index: 3;
    pointer-events: none;
}

.scroller-container::before {
    top: 0;
    background: linear-gradient(to bottom, var(--primary), transparent);
}

.scroller-container::after {
    bottom: 0;
    background: linear-gradient(to top, var(--primary), transparent);
}

.scroller-track {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

@keyframes scrollUp {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-50%);
    }
}

@keyframes scrollDown {
    0% {
        transform: translateY(-50%);
    }

    100% {
        transform: translateY(0);
    }
}

.track-up {
    animation: scrollUp 60s linear infinite;
}

.track-down {
    animation: scrollDown 65s linear infinite;
}

.scroller-container:hover .track-up,
.scroller-container:hover .track-down {
    animation-play-state: paused;
}

/* Industry Cards */
.ind-card {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.ind-card:hover {
    background: rgba(249, 115, 22, 0.1);
    border-color: var(--secondary);
    transform: translateX(5px);
}

.ind-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: var(--secondary);
    opacity: 0;
    transition: 0.3s;
}

.ind-card:hover::before {
    opacity: 1;
}

.card-category {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 1px;
    display: block;
    margin-bottom: 5px;
}

.card-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: white;
    line-height: 1.3;
}

.card-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.1;
    font-size: 1.5rem;
    transition: 0.3s;
}

.ind-card:hover .card-icon {
    opacity: 1;
    color: var(--secondary);
    transform: translateY(-50%) scale(1.1);
}

/* =========================================
   9. TRUSTED CLIENTS SECTION
   ========================================= */
.clients-section {
    padding: 100px 0;
    background-color: var(--bg-body);
    position: relative;
    overflow: hidden;
}

.slider-window {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.slider-window::before,
.slider-window::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.slider-window::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-body), transparent);
}

.slider-window::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-body), transparent);
}

.slider-track {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: scrollHorizontal 50s linear infinite;
}

@keyframes scrollHorizontal {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.slider-window:hover .slider-track {
    animation-play-state: paused;
}

.client-card {
    background: var(--bg-hf);
    border: 1px solid var(--border);
    border-radius: 8px;
    width: 350px;
    height: 120px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.client-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.1);
    border-color: var(--secondary);
}

.client-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: var(--secondary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.client-card:hover::before {
    opacity: 1;
}

.logo-box {
    width: 150px;
    height: 150px;
    background: #ffffff;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    flex-shrink: 0;
    border: 1px solid var(--border);
    overflow: hidden;
}

.logo-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
}

.client-card:hover .logo-box img {
    transform: scale(1.1);
}

.client-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.client-name {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    color: var(--text-main);
    font-size: 0.95rem;
    line-height: 1.3;
    margin-bottom: 5px;
}

.client-year {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.check-icon {
    color: var(--secondary);
    font-weight: bold;
}

/* =========================================
   10. MODAL SYSTEMS (PDF & RFQ)
   ========================================= */
/* PDF Modal */
.catalogue-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.95);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.catalogue-modal.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.modal-content {
    background: white;
    width: 100%;
    max-width: 1000px;
    height: 90vh;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.catalogue-modal.active .modal-content {
    transform: scale(1);
}

.modal-header {
    padding: 15px 20px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    color: #0f172a;
    margin: 0;
}

.close-btn {
    background: none;
    border: none;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    color: #64748b;
}

.close-btn:hover {
    color: #f97316;
}

.pdf-container {
    flex: 1;
    background: #525659;
    position: relative;
}

iframe#pdfViewer {
    width: 100%;
    height: 100%;
    display: block;
}

.mobile-pdf-btn {
    display: none;
    padding: 15px;
    text-align: center;
}

/* RFQ Modal */
.rfq-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(5px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.rfq-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.rfq-modal {
    background: #ffffff;
    width: 100%;
    max-width: 480px;
    border-radius: 8px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: scale(0.95) translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.rfq-overlay.active .rfq-modal {
    transform: scale(1) translateY(0);
}

.rfq-header {
    background: #f8fafc;
    padding: 20px 25px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rfq-header h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.4rem;
    color: var(--primary);
    margin: 0;
    text-transform: uppercase;
}

.close-rfq {
    background: none;
    border: none;
    font-size: 2rem;
    line-height: 1;
    color: #64748b;
    cursor: pointer;
    transition: 0.2s;
}

.close-rfq:hover {
    color: var(--secondary);
    transform: rotate(90deg);
}

.rfq-body-container {
    padding: 30px;
    position: relative;
}

.form-group {
    margin-bottom: 18px;
}

.form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 12px 15px;
    font-family: 'Manrope', sans-serif;
    font-size: 0.95rem;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    background: #fff;
    color: #1e293b;
    transition: all 0.2s;
}

.form-input:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

.form-input.error {
    border-color: #ef4444;
    background: #fef2f2;
}

.error-msg {
    display: none;
    color: #ef4444;
    font-size: 0.8rem;
    margin-top: 5px;
}

.form-input.error+.error-msg {
    display: block;
}

.rfq-submit-btn {
    width: 100%;
    padding: 14px;
    background-color: var(--primary);
    color: white;
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 1px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
    margin-top: 10px;
}

.rfq-submit-btn:hover {
    background-color: #1e293b;
    transform: translateY(-2px);
}

.rfq-submit-btn:disabled {
    background-color: #94a3b8;
    cursor: not-allowed;
    transform: none;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: none;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.rfq-success {
    display: none;
    text-align: center;
    padding: 20px 0;
    animation: fadeIn 0.5s ease;
}

.success-icon {
    width: 70px;
    height: 70px;
    background: #dcfce7;
    color: #16a34a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.success-icon svg {
    width: 35px;
    height: 35px;
}

.rfq-success h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.rfq-success p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.5;
}

.rfq-form.hidden {
    display: none;
}

.rfq-success.visible {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes popIn {
    0% {
        transform: scale(0);
    }

    100% {
        transform: scale(1);
    }
}

/* =========================================
   11. COMPACT 'WHY US' SECTION
   ========================================= */
.why-compact-section {
    padding: 80px 0;
    background-color: #ffffff;
    color: var(--text-main);
}

.compact-header {
    text-align: center;
    margin-bottom: 50px;
}

.sub-tag {
    font-family: 'Oswald', sans-serif;
    font-size: 0.85rem;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
}

.compact-header h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.compact-header .text-highlight {
    color: var(--secondary);
}

.compact-header p {
    font-size: 1rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

.compact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid #e2e8f0;
    border-left: 1px solid #e2e8f0;
}

.compact-item {
    padding: 35px 30px;
    border-right: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: all 0.3s ease;
    background: transparent;
    opacity: 0;
    transform: translateY(20px);
}

.compact-item:hover {
    background-color: #f8fafc;
    padding-left: 35px;
}

.c-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: 0.3s;
}

.c-icon svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

.compact-item:hover .c-icon {
    color: var(--secondary);
    transform: scale(1.1);
}

.c-content h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.c-content p {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

.compact-item.revealed {
    animation: fadeUp 0.6s ease forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   12. FOOTER
   ========================================= */
.site-footer {
    background-color: var(--bg-hf);
    color: var(--text-muted);
    font-family: 'Manrope', sans-serif;
    border-top: 4px solid var(--secondary);
    padding-top: 80px;
    margin-top: auto;
    transition: background-color 0.3s ease;
}

.footer-heading,
.footer-logo {
    color: var(--text-hf);
    transition: color 0.3s ease;
}

.footer-top-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-heading {
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
    position: relative;
}

.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 2px;
    background-color: var(--secondary);
}

.footer-logo {
    font-family: 'Oswald', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.footer-logo span {
    color: var(--secondary);
}

.footer-desc {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 25px;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-hf);
    font-size: 0.8rem;
    font-weight: bold;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: white;
    transform: translateY(-3px);
}

.footer-links-list,
.contact-list {
    list-style: none;
    padding: 0;
}

.footer-links-list li {
    margin-bottom: 12px;
}

.footer-links-list a,
.contact-list a,
.contact-list span {
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links-list a:hover,
.contact-list a:hover {
    color: var(--secondary);
    transform: translateX(5px);
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.contact-list .icon {
    color: var(--secondary);
    font-size: 1.1rem;
    margin-top: 2px;
}

.footer-bottom {
    background-color: var(--bg-body);
    padding: 20px 0;
    border-top: 1px solid var(--border);
    font-size: 0.85rem;
}

.bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.legal-links a {
    color: var(--text-muted);
    transition: 0.3s;
}

.legal-links a:hover {
    color: var(--secondary);
}

.separator {
    margin: 0 10px;
    color: var(--border);
}


/* =======================================================
   13. RESPONSIVE / MOBILE OPTIMIZATION
   (Unified & Professional)
   ======================================================= */

/* --- Tablet / Small Desktop (1024px) --- */
@media (max-width: 1024px) {
    .content-wrapper {
        grid-template-columns: 1fr;
        height: auto;
    }

    .visual-column {
        height: 300px;
        margin-bottom: 30px;
    }

    .scroller-container {
        height: 500px;
    }

    .compact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- Mobile / Tablet Portrait (992px) --- */
@media (max-width: 992px) {

    /* 1. Global Updates */
    :root {
        --nav-height: 70px;
    }

    body {
        font-size: 16px;
        overflow-x: hidden;
    }

    section {
        padding: 60px 0;
    }

    .container {
        width: 90%;
        padding: 0;
        margin: 0 auto;
    }

    h1 {
        font-size: 2.2rem !important;
        line-height: 1.2;
    }

    h2 {
        font-size: 1.8rem !important;
    }

    h3 {
        font-size: 1.4rem !important;
    }

    .section-header p {
        font-size: 1rem !important;
        padding: 0 10px;
    }

    /* 2. Header & Menu */
    header {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    }

    .main-logo {
        height: 40px;
    }

    /* Smaller Logo */

    .logo-text-new {
        font-size: 1.1rem;
    }

    .logo {
        gap: 10px;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        height: 100vh;
        flex-direction: column;
        justify-content: flex-start;
        transition: 0.4s;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        padding-top: 100px;
        background: rgba(15, 23, 42, 0.98);
        /* Premium Dark Theme */
        backdrop-filter: blur(15px);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        font-size: 1.4rem;
        padding: 20px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        width: 85%;
        text-align: center;
        color: #fff !important;
        font-family: 'Oswald', sans-serif;
        letter-spacing: 1px;
    }

    /* 3. Hero Section (Clean Stack) */
    .hero {
        height: 85vh;
        min-height: 600px;
    }

    .hero-content {
        padding: 0 15px;
        transform: translateY(-30px);
    }

    .hero h1 {
        margin-bottom: 20px;
        text-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    }

    .hero-sub {
        background: rgba(249, 115, 22, 0.2);
        backdrop-filter: blur(5px);
        padding: 6px 12px;
        border-radius: 4px;
        font-size: 0.8rem;
    }

    .btn-group {
        flex-direction: column;
        width: 100%;
        gap: 15px;
        background: rgba(255, 255, 255, 0.1);
        padding: 25px;
        border-radius: 12px;
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.15);
        margin-top: 20px;
    }

    .btn {
        width: 100%;
        padding: 15px 0;
        font-size: 1rem;
    }

    .scroll-indicator {
        display: none;
    }

    /* 4. About Section */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-text {
        order: 1;
    }

    .about-img {
        order: 2;
        margin-top: 20px;
    }

    .img-frame::after {
        top: 15px;
        right: -15px;
    }

    /* 5. Compact Why Us (Accordion Style) */
    .compact-grid {
        display: flex;
        flex-direction: column;
        gap: 15px;
        border: none;
    }

    .compact-item {
        background: #ffffff;
        border: 1px solid #e2e8f0;
        border-radius: 8px;
        padding: 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    }

    .compact-item .c-icon {
        margin-bottom: 15px;
        background: rgba(15, 23, 42, 0.05);
        border-radius: 50%;
        padding: 10px;
        width: 50px;
        height: 50px;
    }

    .c-content h3 {
        font-size: 1.2rem;
        margin-bottom: 5px;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    /* 6. Industries & Visuals */
    .content-wrapper {
        gap: 20px;
        height: auto;
    }

    .visual-column {
        height: 250px;
        border-radius: 8px;
    }

    .scroller-container {
        /* Height auto hata diya taaki JS control kar sake */
        grid-template-columns: 1fr;
    }

    /* Disable Animations on Mobile for readability */
    .scroller-track,
    .track-up,
    .track-down {
        animation: none !important;
        transform: none !important;
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .scroller-container::before,
    .scroller-container::after {
        display: none;
    }

    .ind-card {
        background: #fff;
        border: 1px solid #e2e8f0;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
        transform: none !important;
    }

    .card-name {
        color: var(--primary);
    }

    /* Hide extra duplicates if any exists */
    .duplicate-set {
        display: none;
    }

    /* 7. Footer */
    .footer-top-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* --- Small Mobile (768px & below) --- */
@media (max-width: 768px) {

    /* Hero Text Adjustment */
    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-sub {
        font-size: 0.85rem;
    }

    /* Clients Slider (Swipeable) */
    .clients-section {
        padding: 60px 0;
    }

    .slider-window {
        padding: 0;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 20px;
    }

    .slider-window::before,
    .slider-window::after {
        display: none;
    }

    .slider-track {
        animation: none !important;
        width: auto;
        padding: 0 20px;
        gap: 15px;
    }

    .client-card {
        scroll-snap-align: center;
        width: 260px;
        background: #fff;
        margin-right: 0;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        padding: 15px;
    }

    .logo-box {
        width: 60px;
        height: 60px;
    }

    .client-name {
        font-size: 0.9rem;
    }

    /* Footer Clean Stack */
    .site-footer {
        padding-top: 50px;
        text-align: center;
    }

    .footer-top-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-heading {
        background: #f1f5f9;
        padding: 12px;
        border-radius: 6px;
        margin-bottom: 15px;
    }

    .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-links {
        justify-content: center;
    }

    .contact-list li {
        justify-content: center;
    }

    .bottom-flex {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .footer-desc {
        margin: 0 auto 25px;
    }

    .separator {
        display: none;
    }

    /* Modals */
    .catalogue-modal {
        padding: 0;
    }

    .modal-content {
        height: 100%;
        border-radius: 0;
    }

    .pdf-container {
        display: none;
    }

    .mobile-pdf-btn {
        display: block;
        margin: auto;
    }
}

/* --- Tiny Mobile (600px) --- */
@media (max-width: 600px) {
    .rfq-modal {
        height: 100%;
        max-width: none;
        border-radius: 0;
    }

    .rfq-body-container {
        padding: 20px;
        overflow-y: auto;
    }
}

/* ============================
   PREMIUM PRODUCT SHOWCASE
   ============================ */

.products-section {
    padding: 100px 0;
    background-color: #f1f5f9;
    /* Slight Grey for contrast */
}

/* --- Section Header Adjustments --- */
.section-header .sub-tag {
    font-family: 'Oswald', sans-serif;
    font-size: 0.9rem;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
}

/* --- GRID LAYOUT --- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* --- CARD DESIGN --- */
.product-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    /* Link underline remove */
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid #e2e8f0;
}

/* Hover State: Lift Up */
.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: var(--secondary);
}

/* --- IMAGE AREA --- */
.prod-img-box {
    width: 100%;
    height: 220px;
    position: relative;
    overflow: hidden;
}

.prod-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

/* Image Zoom on Hover */
.product-card:hover .prod-img-box img {
    transform: scale(1.1);
}

/* Overlay (Darkens image slightly) */
.prod-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
    opacity: 0.6;
    transition: 0.3s;
}

.product-card:hover .prod-overlay {
    opacity: 0.3;
    /* Brighten image on hover */
}

/* --- CONTENT AREA --- */
.prod-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Icon Bubble */
.prod-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    position: absolute;
    top: -25px;
    /* Half overlapping image */
    right: 25px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: 0.3s;
}

.prod-icon svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

/* Icon turns Orange on Hover */
.product-card:hover .prod-icon {
    background: var(--secondary);
    transform: rotateY(180deg);
}

/* Typography */
.prod-content h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 12px;
    margin-top: 10px;
}

.prod-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
    /* Pushes button down */
}

/* "View More" Link */
.read-more {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
}

.product-card:hover .read-more {
    color: var(--primary);
    padding-left: 10px;
    /* Slide effect */
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: 1fr;
    }

    .prod-img-box {
        height: 200px;
    }

    .product-card {
        max-width: 400px;
        margin: 0 auto;
    }
}
/* =============================================
   FIXED MOBILE SHOW MORE LOGIC
   ============================================= */

/* Default: Desktop par button aur fade hide rahega */
.mobile-toggle-btn-wrapper, 
.fade-overlay {
    display: none;
}

/* --- MOBILE ONLY STYLES (992px se neeche) --- */
@media (max-width: 992px) {

    /* 1. CONTAINER LIMIT (Collapsed State - Band hone par) */
    #mobileIndustriesContainer {
        /* Height fix karein taaki shuru mein kam dikhe */
        height: 400px; 
        overflow: hidden; 
        position: relative;
        
        /* Flex Column zaroori hai taaki teeno columns (col1, col2, col3) stack ho sakein */
        display: flex;
        flex-direction: column; 
        gap: 0; /* Gap 0 rakhein taaki beech me space na aaye */
        
        transition: height 0.5s ease-in-out; 
    }

    /* 2. EXPANDED STATE (Jab button dabega) */
    #mobileIndustriesContainer.expanded {
        /* Height auto kar dein taaki saara content dikhe */
        height: auto !important; 
        overflow: visible !important;
        max-height: none !important;
    }

    /* 3. COLUMNS KO STACK KARNA (Very Important) */
    #mobileIndustriesContainer .scroller-track {
        display: flex;
        flex-direction: column;
        gap: 15px;
        height: auto !important; /* Height auto karein */
        margin-bottom: 15px; /* Har column ke baad space */
    }

    /* 4. DUPLICATES HIDE KARNA */
    /* Mobile par list bahut lambi na ho, isliye duplicate set hata dein */
    .duplicate-set {
        display: none !important;
    }

    /* 5. FADE EFFECT (White Blur at Bottom) */
    .fade-overlay {
        display: block;
        position: absolute;
        bottom: 0; 
        left: 0; 
        width: 100%; 
        height: 150px; 
        background: linear-gradient(to bottom, transparent, #ffffff); 
        pointer-events: none;
        transition: opacity 0.5s;
        z-index: 5;
    }

    /* Jab khul jaye to Fade hata do */
    #mobileIndustriesContainer.expanded .fade-overlay {
        opacity: 0;
        pointer-events: none; /* Clickable bana rahe */
    }

    /* 6. BUTTON STYLING */
    .mobile-toggle-btn-wrapper {
        display: flex;
        justify-content: center;
        margin-top: -30px; 
        position: relative;
        z-index: 10;
        padding-bottom: 20px;
    }

    .btn-clean {
        background: white;
        border: 1px solid var(--border);
        padding: 12px 28px;
        border-radius: 50px;
        color: var(--secondary);
        font-family: 'Oswald', sans-serif;
        font-size: 0.95rem;
        letter-spacing: 1px;
        cursor: pointer;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        display: flex; 
        align-items: center; 
        gap: 8px;
        transition: all 0.3s ease;
    }

    .btn-clean:hover {
        background: var(--secondary);
        color: white;
        transform: translateY(-2px);
    }

    .btn-clean .arrow {
        transition: transform 0.3s ease;
        font-size: 0.8rem;
    }

    .btn-clean.active .arrow {
        transform: rotate(180deg);
    }
}
/* =========================================
   PERFECT MOBILE MENU STYLES
   ========================================= */

/* --- 1. DESKTOP DEFAULTS --- */
.desktop-menu {
    display: flex;
    gap: 30px;
    align-items: center;
    list-style: none;
}

/* Hide Mobile Elements on Desktop */
.hamburger-btn, 
.mobile-menu-overlay, 
.mobile-menu-panel {
    display: none;
}

/* --- 2. MOBILE STYLES (Max-Width: 992px) --- */
@media (max-width: 992px) {

    /* Hide Desktop Menu */
    .desktop-menu { display: none; }

    /* Show Hamburger */
    .hamburger-btn {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 20px;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 1001; /* Menu se upar */
        padding: 0;
    }

    .hamburger-btn .line {
        width: 100%; height: 2px;
        background-color: var(--text-hf);
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    /* Active Animation (Turn into X) */
    .hamburger-btn.active .line-1 { transform: translateY(9px) rotate(45deg); background-color: var(--secondary); }
    .hamburger-btn.active .line-2 { opacity: 0; }
    .hamburger-btn.active .line-3 { transform: translateY(-9px) rotate(-45deg); background-color: var(--secondary); }

    /* Overlay (Dark Background) */
    .mobile-menu-overlay {
        display: block;
        position: fixed; top: 0; left: 0;
        width: 100%; height: 100%;
        background: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(3px);
        z-index: 998;
        opacity: 0; visibility: hidden;
        transition: all 0.3s ease;
    }

    .mobile-menu-overlay.active { opacity: 1; visibility: visible; }

    /* Slide-In Panel */
    .mobile-menu-panel {
        display: flex; flex-direction: column;
        position: fixed; top: 0; right: -100%; /* Hidden initially */
        width: 85%; max-width: 320px; height: 100vh;
        background: #ffffff;
        z-index: 999;
        box-shadow: -5px 0 30px rgba(0,0,0,0.15);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1); /* Smooth Slide */
        padding: 25px;
    }

    .mobile-menu-panel.active { right: 0; }

    /* Panel Content */
    .mobile-menu-header {
        display: flex; justify-content: space-between; align-items: center;
        padding-bottom: 20px; border-bottom: 1px solid var(--border);
        margin-bottom: 20px;
    }

    .menu-title {
        font-family: 'Oswald', sans-serif; font-size: 1.4rem;
        color: var(--primary); text-transform: uppercase;
    }

    .close-menu-btn {
        background: none; border: none; font-size: 2.5rem;
        line-height: 1; color: var(--text-muted); cursor: pointer;
    }

    .mobile-menu-list { list-style: none; padding: 0; overflow-y: auto; }
    
    .mobile-menu-list li { border-bottom: 1px solid #f1f5f9; }

    .mobile-menu-list a {
        display: block; padding: 15px 0;
        font-family: 'Manrope', sans-serif; font-size: 1.1rem;
        color: var(--text-main); font-weight: 600;
        transition: 0.2s;
    }

    .mobile-menu-list a:hover { color: var(--secondary); padding-left: 8px; }

    .mobile-menu-footer { margin-top: auto; padding-top: 20px; }
    
    .btn-contact {
        display: block; width: 100%; padding: 12px;
        text-align: center; background: var(--primary);
        color: white; border-radius: 4px; font-weight: 700;
        text-transform: uppercase; font-size: 0.9rem;
    }
}