/* ==========================================================================
   1. BRAND VARIABLES & THEME SETUP
   ========================================================================== */
:root {
    --brand-red: #e62335;
    --brand-purple: #6a1b65;
    --dark-bg: #0b0b0d;
    --body-bg: #121214; 
    --card-bg: #151518;
    --text-light: #f5f5f7;
    --text-muted: #19191a; /* Initial dark/muted text color used in nav links */
    --gradient-primary: linear-gradient(135deg, var(--brand-red) 0%, var(--brand-purple) 100%);
}

/* --- GENERAL RESETS --- */
/* --- GENERAL RESETS --- */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-light);
    overflow-x: hidden;
    
    /* FIX: Yeh line <main> ko navbar ke niche dhakel degi, pichhe se shuru nahi hone degi */
    padding-top: 130px; 
}

/* ==========================================================================
   2. SITE HEADER & NAVIGATION (SMOOTH STICKY EFFECT)
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1030;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); /* Controls smoothness of header size change */
}

/* Transparent State (Top of the page) */
.bg-dark-custom {
    background-color: transparent !important; 
    padding: 15px 0; 
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.logo-img {
    height: 100px; /* Logo is large initially as per your preference */
    width: auto;
    object-fit: contain;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-nav .nav-link {
    color: var(--text-muted) !important;
    font-weight: 500;
    font-size: 15px;
    padding: 10px 16px !important; 
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.navbar-nav .nav-link:hover, 
.navbar-nav .nav-link.active {
    color: var(--brand-purple) !important;
}

/* ==========================================================================
   3. SCROLLED STATE (TRIGGERED VIA JAVASCRIPT)
   ========================================================================== */
.site-header.scrolled .bg-dark-custom {
    background-color: #ffffff !important; /* Changes smoothly to Plain White */
    padding: 5px 0; /* Shrinks height of navbar */
    border-bottom: 1px solid #e0e0e0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); /* Adds professional depth */
}

.site-header.scrolled .logo-img {
    height: 60px; /* Logo smoothly resizes smaller on scroll */
}

/* Updates text visibility for White Background */
.site-header.scrolled .navbar-nav .nav-link {
    color: #222225 !important; /* Dark charcoal color for contrast */
}

.site-header.scrolled .navbar-nav .nav-link:hover,
.site-header.scrolled .navbar-nav .nav-link.active {
    color: var(--brand-red) !important; /* Changes hover accent dynamically on scroll */
}

/* Adjusts indicator colors dynamically on white background */
.site-header.scrolled .toggle-icon-indicator::before,
.site-header.scrolled .toggle-icon-indicator::after {
    background-color: #222225;
}

/* ==========================================================================
   4. DROPDOWN ARCHITECTURE & PLUS/MINUS INTERACTION
   ========================================================================== */
.custom-dropdown {
    position: relative;
}

/* Pure CSS Plus Indicator Setup */
.toggle-icon-indicator {
    position: relative;
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-left: 8px;
}

.toggle-icon-indicator::before,
.toggle-icon-indicator::after {
    content: '';
    position: absolute;
    background-color: var(--text-muted);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

/* Horizontal line component */
.toggle-icon-indicator::before {
    top: 4px;
    left: 0;
    width: 10px;
    height: 2px;
}

/* Vertical line component */
.toggle-icon-indicator::after {
    top: 0;
    left: 4px;
    width: 2px;
    height: 10px;
}

/* Dropdown Menu Container (Matches 'Get a Quote' Button Gradient) */
.custom-dropdown .dropdown-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    
    background: var(--gradient-primary) !important; 
    border: none; 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    border-radius: 4px;
    
    /* Hover Bridge Fix: Erases gaps so it won't disappear when moving cursor down */
    margin-top: 0 !important; 
    top: 100%; 
    pointer-events: none;
}

/* Dropdown Sub Links Styling */
.custom-dropdown .dropdown-item {
    color: #ffffff !important; /* Forced to white for perfect readability on gradient */
    padding: 11px 20px;
    font-size: 14.5px;
    font-weight: 500;
    transition: all 0.2s ease;
}

/* Hover over list elements inside dropdown */
.custom-dropdown .dropdown-item:hover {
    background: rgba(255, 255, 255, 0.15) !important; /* Clean glassmorphism effect */
    padding-left: 25px; /* Smooth modern push animation */
}


/* ==========================================================================
   SUB-DROPDOWN OVERFLOW FIX (OPEN TO LEFT SIDE)
   ========================================================================== */

.dropdown-submenu {
    position: relative !important;
}

/* ==========================================================================
   SUB-MENU TEXT WRAPPING FIX
   ========================================================================== */

/* 1. Container Rules */
.dropdown-submenu > .dropdown-submenu-menu {
    display: none !important;
    position: absolute !important;
    top: 0 !important;
    right: 100% !important;
    left: auto !important;
    margin-top: 0 !important;
    border-top-right-radius: 0;
    
    width: 220px !important;            /* Fixed width for clean alignment */
    max-width: 220px !important;
    overflow: hidden !important;        /* Box ke bahar text na jaye */
}

/* 2. Text Wrapping Rule (Overriding Bootstrap Default `nowrap`) */
.dropdown-submenu-menu .dropdown-item {
    white-space: normal !important;      /* Explicitly force multi-line text wrap */
    word-wrap: break-word !important;    /* Long text breaks cleanly */
    font-size: 13px !important;
    padding: 8px 14px !important;
    line-height: 1.4 !important;
    display: block !important;
}

/* Hover par Submenu Display */
.dropdown-submenu:hover > .dropdown-submenu-menu {
    display: block !important;
}

/* Plus to Minus Icon Toggle */
.sub-toggle-icon {
    font-size: 11px;
}

.dropdown-submenu:hover .sub-toggle-icon::before {
    content: "\f068" !important; /* fa-minus unicode */
}

/* Mobile Responsive Setup */
@media (max-width: 991.98px) {
    .dropdown-submenu > .dropdown-submenu-menu {
        position: static !important;
        right: auto !important;
        left: 0 !important;
        width: 100%;
        padding-left: 1rem;
        background: rgba(0, 0, 0, 0.2) !important;
        box-shadow: none !important;
    }
}


/* ==========================================================================
   5. DESKTOP HOVER ENGINE (LAPTOPS & DESKTOPS)
   ========================================================================== */
@media (min-width: 992px) {
    .custom-dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }
    
    /* Smoothly morphs Plus (+) to a Minus (-) indicator on hover */
    .custom-dropdown:hover .toggle-icon-indicator::after {
        transform: rotate(90deg);
        opacity: 0; /* Fades out vertical bar */
    }
    
    .custom-dropdown:hover .toggle-icon-indicator::before {
        background-color: var(--brand-red);
    }
    
    /* In scrolled white header state, hover indicator accent shifts to brand red */
    .site-header.scrolled .custom-dropdown:hover .toggle-icon-indicator::before {
        background-color: var(--brand-purple);
    }
}

/* ==========================================================================
   6. MOBILE RESPONSIVE ADAPTATIONS (MOBILE & TABLETS)
   ========================================================================== */
@media (max-width: 991.98px) {
    .bg-dark-custom {
        background-color: var(--body-bg) !important; 
        padding: 10px 0;
    }

    .logo-img {
        height: 60px; /* Kept concise for mobile viewports */
    }

    .navbar-collapse {
        background-color: var(--card-bg);
        padding: 20px;
        border-radius: 8px;
        margin-top: 15px;
        border: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .navbar-nav .nav-link {
        color: var(--text-light) !important; /* Force readable text for mobile flyout drawer */
    }
    
    /* Mobile standard toggle actions override */
    .custom-dropdown .dropdown-menu.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        position: static !important;
        float: none;
        background-color: rgba(0, 0, 0, 0.15) !important;
        margin-top: 5px !important;
    }
    
    /* Plus to Minus adjustment handling via mobile ARIA tags */
    .custom-dropdown .dropdown-toggle-custom[aria-expanded="true"] .toggle-icon-indicator::after {
        transform: rotate(90deg);
        opacity: 0;
    }
    
    .btn-gradient {
        margin-top: 15px;
        display: block;
        text-align: center;
    }
}

/* ==========================================================================
   7. GLOBAL COMPONENTS & FOOTER
   ========================================================================== */
/* --- BRAND CTA BUTTON --- */
.btn-gradient {
    background: var(--gradient-primary);
    color: #fff !important;
    border: none;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 4px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(230, 35, 53, 0.4);
}

/* --- FOOTER SECTIONS --- */
.site-footer {
    background-color: var(--dark-bg);
    color: var(--text-light);
    border-top: 2px solid var(--brand-purple);
}
.site-footer p
{
    color : #a0a0a5 !important;
}

.footer-top { 
    padding: 70px 0 40px 0; 
}

.footer-logo { 
    
    width: 70%; 
}

.footer-heading {
    color: #fff; 
    font-size: 18px; 
    font-weight: 600; 
    margin-bottom: 25px; 
    position: relative;
}

.footer-heading::after {
    content: ''; 
    position: absolute; 
    left: 0; 
    bottom: -6px; 
    width: 35px; 
    height: 2px; 
    background: var(--gradient-primary);
}

.footer-links li { 
    margin-bottom: 12px; 
    list-style: none;
}

.footer-links a {
    color: #a0a0a5; 
    text-decoration: none; 
    transition: all 0.3s ease; 
    display: inline-block;
}

.footer-links a:hover { 
    color: var(--brand-red); 
    transform: translateX(5px); 
}

.footer-contact li { 
    display: flex; 
    align-items: flex-start; 
    margin-bottom: 15px; 
    color: #a0a0a5; 
    list-style: none;
}

.footer-contact i { 
    color: var(--brand-red); 
    margin-top: 4px; 
    margin-right: 12px; 
    font-size: 16px; 
}

.footer-contact a { 
    color: #a0a0a5; 
    text-decoration: none; 
}

/* Social Link Slots */
.social-links a {
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    width: 36px; 
    height: 36px;
    background-color: #1a1a1f; 
    color: #a0a0a5; 
    border-radius: 4px; 
    margin-right: 10px; 
    transition: all 0.3s ease; 
    text-decoration: none;
}

.social-links a:hover { 
    background: var(--gradient-primary); 
    color: #fff; 
    transform: translateY(-3px); 
}

/* Footer Bottom Base line */
.footer-bottom { 
    background-color: #050506; 
    padding: 20px 0; 
    border-top: 1px solid rgba(255, 255, 255, 0.05); 
}

.footer-bottom p { 
    font-size: 14px; 
    color: #666; 
}


/* Home Page */


/* ==========================================================================
   8. HERO SLIDER SECTION (TEXT & PRODUCT SYNCED LAYOUT)
   ========================================================================== */
.hero-slider-section {
    position: relative;
    width: 100%;
    background-color: #0b0b0d;
}

/* Dynamic slider layout viewport sizing minus layout padding */
.hero-slider-section .carousel-item {
    min-height: calc(100vh - 130px); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Center items inside columns vertically */
.carousel-caption-container {
    height: 100%;
    display: flex;
    align-items: center;
    padding-top: 60px;
    padding-bottom: 60px;
}

.banner-content-box h1 {
    font-size: 3.2rem; /* Adjusted perfectly to accommodate product image alongside */
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

.text-light-muted {
    color: #e4e4e7;
    font-size: 1.15rem;
    max-width: 95%;
    line-height: 1.6;
}

.badge-gradient {
    background: var(--gradient-primary);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 1px;
    text-uppercase: true;
    padding: 8px 14px !important;
}

/* --- PRODUCT IMAGE STYLING & GLOW EFFECT --- */
.hero-product-img {
    max-height: 480px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.7)); /* Creates depth separate from background application */
}

/* --- SLIDER TEXT AND IMAGE INTERACTION ANIMATIONS --- */
.carousel-item .animate-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.carousel-item .animate-scale {
    opacity: 0;
    transform: scale(0.85) translateY(20px);
    transition: all 0.9s cubic-bezier(0.34, 1.56, 0.64, 1); /* Snappy bouncy feel for product mount */
}

/* Active transitions fired instantly via state attachments */
.carousel-item.active .animate-up,
.carousel-item.active .animate-scale {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.carousel-item.active .delay-1 { transition-delay: 0.15s; }
.carousel-item.active .delay-2 { transition-delay: 0.35s; }
.carousel-item.active .delay-3 { transition-delay: 0.55s; }
.carousel-item.active .animate-scale { transition-delay: 0.4s; } /* Image enters slightly after main headers */

/* --- PAGINATION & ARROWS CONTROLS --- */
.hero-slider-section .carousel-indicators [data-bs-target] {
    width: 45px;
    height: 4px;
    border-radius: 2px;
    background-color: rgba(255, 255, 255, 0.35);
    transition: all 0.3s ease;
}

.hero-slider-section .carousel-indicators .active {
    background: var(--gradient-primary) !important;
    width: 70px;
}

.hero-slider-section .carousel-control-prev,
.hero-slider-section .carousel-control-next {
    width: 4%;
    opacity: 0.2;
    transition: opacity 0.2s ease;
}
.hero-slider-section .carousel-control-prev:hover,
.hero-slider-section .carousel-control-next:hover {
    opacity: 0.8;
}

/* --- TABLET & MOBILE RESPONSIVE MEDIA BREAKPOINTS --- */
@media (max-width: 1199.98px) {
    .banner-content-box h1 { font-size: 2.6rem; }
    .hero-product-img { max-height: 380px; }
}

@media (max-width: 991.98px) {
    .hero-slider-section .carousel-item {
        min-height: auto;
        padding-top: 50px;
        padding-bottom: 50px;
    }
    .carousel-caption-container {
        padding-top: 40px;
        padding-bottom: 40px;
    }
    .banner-content-box {
        text-align: center !important;
        margin-bottom: 30px;
    }
    .banner-content-box h1 { font-size: 2.3rem; }
    .banner-content-box .text-light-muted { max-width: 100%; }
    .hero-product-img { max-height: 320px; }
    .banner-content-box .btn {
        width: 100%;
        margin-bottom: 12px;
        margin-right: 0 !important;
    }
}

/* Home Page Welcome Section */

/* ==========================================================================
   12. HOME PAGE - COMPANY WELCOME SECTION
   ========================================================================== */
.company-welcome-section {
    position: relative;
    overflow: hidden;
}

.text-dark-slate {
    color: #1e293b;
}

.tracking-wider {
    letter-spacing: 0.5px;
}

/* Core Strengths Bullet Layout Tweaks */
.core-strengths-grid i {
    flex-shrink: 0;
}

/* Image Matrix & Floating Box Styling */
.welcome-image-matrix {
    position: relative;
}

.main-industrial-frame {
    border-color: #e2e8f0 !important;
}

/* Floating Overlay Position Counter Box */
.stat-counter-overlay {
    bottom: -20px;
    left: 0;
    min-width: 160px;
    border-color: #e2e8f0 !important;
    animation: floatVertical 4s ease-in-out infinite;
}

/* Soft hovering floating motion for industrial premium look */
@keyframes floatVertical {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0px); }
}

/* Custom adjustment to make button match template gradient structure */
.welcome-text-wrapper .btn-gradient {
    border: none;
    font-size: 14.5px;
}

/* Mobile Responsive Optimization overrides */
@media (max-width: 991.98px) {
    .stat-counter-overlay {
        position: relative !important;
        margin-top: 25px;
        bottom: 0;
        left: 0;
        display: inline-block;
    }
    .welcome-image-matrix {
        padding-left: 0 !important;
        text-align: center;
    }
}

/* ==========================================================================
   14. REDESIGNED HYBRID HIGH-HIGHLIGHT METALLIC SPLIT
   ========================================================================== */
.text-dark-slate {
    color: #1e293b;
}

/* Advantage Left Section Structural Upgrades */
.advantage-stack .bg-white.bg-opacity-5 {
    transition: background-color 0.2s ease;
}
.advantage-stack .bg-white.bg-opacity-5:hover {
    background-color: rgba(255, 255, 255, 0.08) !important;
}

/* Right Side Product Large Card Configurations */
.product-slider-card {
    border-color: #e2e8f0 !important;
}

.product-slider-card:hover {
    border-color: #cbd5e1 !important;
    background-color: #f1f5f9 !important; /* Micro shift back-color on hover */
}

/* Big Image Box Zoom Stability Layout */
.big-img-wrap {
    overflow: hidden;
    border-color: #e2e8f0 !important;
}

.dynamic-product-view {
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.product-slider-card:hover .dynamic-product-view {
    transform: scale(1.05); /* Soft professional zoom on machinery images */
}

/* Right Nav Custom Button Boxes Style */
.nav-arrow-btn {
    background-color: #111827 !important;
    border: none !important;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px !important;
}

.nav-arrow-btn:hover {
    background-color: #1f2937 !important;
}

/* Force global template uniform buttons internally matching your theme */
.product-slider-card .btn-gradient {
    border: none !important;
    font-size: 13.5px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* ==========================================================================
   FIXED INDUSTRIAL GRADIENT SPLIT BLOCK (STRICT GRADIENT THEME)
   ========================================================================== */

/* Left Main Column Content Box - Powered by your exact Button Gradient */
.hybrid-left-industrial {
    background: var(--gradient-primary); /* Aapka welcome section wala strict signature gradient button background automatically yahan apply ho jayega */
    position: relative;
}

/* 1. Industrial Compressor Frame Overlay (Faded behind your button gradient layer) */
.industrial-image-overlay {
    background-image: url('https://images.unsplash.com/photo-1504917595217-d4dc5ebe6122?q=80&w=1000') !important; 
    background-size: cover;
    background-position: center;
    opacity: 0.12; /* Halka texture visualization background */
    mix-blend-mode: luminosity; /* Strict matching tone layout configuration */
    pointer-events: none;
}

/* 2. Theme Elements Rule (No random color - only pure high contrast white or smooth gray colors) */
.theme-accent-text {
    color: #ffffff !important; /* Heading highlights will use pure clean white code */
}

/* Icons styling using professional high-contrast smooth white layer */
.advantage-stack .theme-accent-text i {
    color: #ffffff !important;
}

/* 3. Text Descriptions visibility controls */
.text-white-50 {
    color: #f1f5f9 !important; /* Highly readable bold layout text contrast light gray */
}

.advantage-stack .d-flex {
    border: none !important;
    background: transparent !important;
}

/* Typography scale-up checks */
.advantage-stack h5 {
    font-size: 16px !important;
    letter-spacing: 0.3px;
    font-weight: 700 !important;
}

/* Home Success Story */

/* ==========================================================================
   15. HOME PAGE - SUCCESS STORIES & QUICK INQUIRY SECTION
   ========================================================================== */
.gradient-icon
{
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Spacing and Shadow Overlap Structure adjustments */
.success-quote-section {
    overflow: visible;
}

/* Form Input Layout Styling Focus */
.form-input-custom {
    border: 1px solid #cbd5e1 !important;
    background-color: #ffffff !important;
    color: #1e293b !important;
    font-size: 14.5px;
    border-radius: 6px !important;
    transition: all 0.2s ease-in-out;
}

.form-input-custom:focus {
    border-color: #94a3b8 !important;
    box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.15) !important;
    background-color: #ffffff !important;
}

.form-input-custom::placeholder {
    color: #94a3b8 !important;
}

/* Metric Row Elements Icons controls */
.icon-frame-wrap {
    border: 1px solid #e2e8f0 !important;
    flex-shrink: 0;
}

.icon-frame-wrap i {
    opacity: 0.75;
}

/* Sub-heading badge overrides */
.style-badge-custom {
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

/* Absolute Uniform Layout Button matching rules */
.success-quote-section .btn-gradient {
   background: var(--gradient-primary);
    font-size: 14px;
    box-shadow: 0 4px 10px rgba(168, 36, 78, 0.15);
}
.vertical-title-strip
{
    background: var(--gradient-primary); 
    font-size: 11px; 
    letter-spacing: 1px; 
    border-radius: 2px;
}
/* Mobile Layout Overlap Override configurations */
@media (max-width: 991.98px) {
    .success-quote-section .rounded-4 {
        border-radius: 12px !important;
    }
    .vertical-title-strip {
        display: none !important;
    }
}


/* ==========================================================================
   16. HOME PAGE - INDUSTRIAL CATALOGUE DOWNLOAD BLOCK
   ========================================================================== */
.catalogue-download-section {
    overflow: hidden;
}

/* Big Interactive Circle PDF Icon Design Framework */
.pdf-icon-display {
    border-color: #e2e8f0 !important;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.catalogue-action-box:hover .pdf-icon-display {
    transform: scale(1.08) rotate(-5deg); /* Professional subtle layout dynamic shift */
}

/* Dynamic Text Gradient Fill on Icon using Strict Project Variable */
.dynamic-icon-fill {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Absolute Uniform Layout Button matching layout rules */
.catalogue-download-section .btn-gradient {
    background: var(--gradient-primary) !important;
    font-size: 14px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Feature checklist color configuration */
.pdf-features-grid .text-white-50 {
    color: #e2e8f0 !important;
}


/* Contact Page Design */
/* ==========================================================================
   9. CONTACT PAGE LAYOUT DESIGN (CLEAN LIGHT THEME)
   ========================================================================== */
.contact-main-section {
    background-color: #ffffff; /* Section background made pure white */
    position: relative;
}

.text-dark-slate {
    color: #1e293b; /* Premium high-contrast dark text for readability */
}

/* Page Banner Styling */
.page-header-section {
    background-size: cover;
    background-position: center;
    position: relative;
    border-bottom: 1px solid #e2e8f0;
}

/* Info Icon Box Wrap */
.contact-info-wrapper .icon-box {
    width: 50px;
    height: 50px;
    background: #f8f9fa; /* Light subtle grey for icon box background */
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-red); 
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

/* Industrial Light Premium Contact Form Card */
.contact-form-card {
    background-color: #f8f9fa; /* Changed from dark to a clean soft light-grey background */
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04); /* Soft corporate drop shadow */
}

/* Form Inputs Styling (Light Version) */
.industrial-input {
    background-color: #ffffff !important; /* Pure white input background */
    border: 1px solid #cbd5e1 !important; /* Soft steel border color */
    color: #334155 !important; /* Dark text for inputs */
    padding: 10px 14px;
    font-size: 14.5px;
    border-radius: 6px;
}

.industrial-input::placeholder {
    color: #94a3b8;
}

.industrial-input:focus {
    box-shadow: 0 0 0 3px rgba(230, 35, 53, 0.15) !important;
    border-color: var(--brand-red) !important;
}

select.industrial-input option {
    background-color: #ffffff;
    color: #334155;
}

/* Responsive Overrides */
@media (max-width: 991.98px) {
    .contact-form-card {
        padding: 30px 20px;
    }
}


/* Applications Page */

/* ==========================================================================
   10. INDUSTRIAL APPLICATIONS PAGE LAYOUT
   ========================================================================== */
.text-dark-slate {
    color: #1e293b;
}

/* Modern Clean Light Grid Card */
.app-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease-in-out;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.app-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e1;
}

/* Card Image Wrapper with Badge Overlap */
.app-card-img-wrap {
    position: relative;
    height: 200px;
    overflow: hidden;
    background-color: #f1f5f9;
}

.app-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.app-card:hover .app-card-img {
    transform: scale(1.05);
}

/* Industrial Corner Badge */
.app-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: #1e293b;
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.app-card-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.app-card-content p {
    line-height: 1.6;
}

/* Button override integration to match user's custom template button style */
.app-card-content .btn-gradient {
    font-size: 13px;
    border: none;
}


/* Product Pages */

/* ==========================================================================
   11. PRODUCT DETAIL PAGE LAYOUT
   ========================================================================== */
.text-dark-slate {
    color: #1e293b;
}

/* Image Wrapper Optimization */
.main-product-img-box {
    border-color: #e2e8f0 !important;
}

.main-view-img {
    max-height: 420px;
    object-fit: contain;
    width: auto;
}

.thumb-box {
    cursor: pointer;
    border-color: #e2e8f0 !important;
    transition: all 0.2s ease;
}

.thumb-box.active, .thumb-box:hover {
    border-color: #cbd5e1 !important;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.05);
}

/* Technical Specification Brief Panel */
.quick-spec-card {
    border-color: #e2e8f0 !important;
}

/* Engineering Matrix Data Table Styling */
.industrial-spec-table thead.table-dark {
    background-color: #1e293b !important;
    border-color: #1e293b !important;
    text-align: center;
}

.industrial-spec-table th {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border: solid #fff .1rem;
    vertical-align: middle !important;
}

.industrial-spec-table td {
    font-size: 14.5px;
    color: #475569;
    border: solid #fff .1rem;
    vertical-align: middle !important;
    text-align: center;
}
.industrial-spec-table tbody td:first-child {
    min-width: 8rem;
}
/* Custom adjustment to make button match template gradient structure */
.product-core-details .btn-gradient {
    border: none;
    font-size: 15px;
}
.main-view-img {
    max-height: 420px;
    object-fit: contain;
    width: auto;
    transition: opacity 0.2s ease-in-out; /* Smooth transition effect */
}