/* General Styles */
:root {
    --primary-red: #DC143C;
    --secondary-dark: #1a1a1a;
    --light-bg: #f8f9fa;
    --text-dark: #333;
    --text-light: #fff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

/* Navigation Bar */
.navbar-custom {
    background-color: var(--secondary-dark) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1030;
}

.navbar-custom .navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
}

.navbar-custom .navbar-brand .logo-img {
    height: 55px;
    width: auto;
}

.navbar-custom .navbar-collapse {
    align-items: center;
}

.navbar-custom .navbar-nav {
    align-items: center;
}

.navbar-custom .nav-link {
    color: var(--text-light) !important;
    font-weight: 500;
    margin-left: 1.5rem;
    transition: color 0.3s ease;
    position: relative;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
    color: var(--primary-red) !important;
}

.navbar-custom .nav-link.active {
    background: rgba(220, 20, 60, 0.14);
    border-radius: 999px;
    padding: 0.35rem 0.85rem;
}

.navbar-custom .dropdown-menu {
    background-color: rgba(26, 26, 26, 0.98) !important;
    border: 1px solid rgba(220, 20, 60, 0.3) !important;
    margin-top: 0.5rem;
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease, display 0.3s ease;
    pointer-events: none;
}

.navbar-custom .dropdown-menu.show {
    display: block !important;
    opacity: 1;
    pointer-events: auto;
}

.navbar-custom .dropdown-menu .dropdown-item {
    color: var(--text-light);
    transition: all 0.3s ease;
}

.navbar-custom .dropdown-menu .dropdown-item:hover {
    background-color: var(--primary-red);
    color: var(--text-light);
}

.navbar-custom .navbar-nav > .nav-item:last-child {
    margin-left: 1rem;
    display: flex;
    align-items: center;
}

.navbar-custom .navbar-nav > .nav-item:last-child .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.75rem 1.2rem;
    margin-left: 0 !important;
    line-height: 1;
    white-space: nowrap;
    border-radius: 8px;
}

@media (min-width: 992px) {
    .navbar-custom .dropdown-menu[aria-labelledby="productsDropdown"] {
        width: min(760px, calc(100vw - 80px));
        left: 50%;
        right: auto;
        transform: translateX(-30%);
        padding: 1rem;
        border-radius: 18px;
        box-shadow: 0 22px 44px rgba(0, 0, 0, 0.3);
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.4rem 0.8rem;
        align-items: start;
    }

    .navbar-custom .dropdown-menu.show[aria-labelledby="productsDropdown"] {
        display: grid !important;
    }

    .navbar-custom .dropdown-menu[aria-labelledby="productsDropdown"] li:first-child {
        grid-column: 1 / -1;
        margin-bottom: 0.25rem;
        padding-bottom: 0.45rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .navbar-custom .dropdown-menu[aria-labelledby="productsDropdown"] .dropdown-item {
        border-radius: 12px;
        padding: 0.75rem 0.9rem;
        line-height: 1.35;
        white-space: normal;
        min-height: 100%;
    }

    .navbar-custom .dropdown-menu[aria-labelledby="productsDropdown"] .dropdown-item:hover {
        transform: translateY(-1px);
        background: rgba(220, 20, 60, 0.15);
        color: #fff;
    }

    .navbar-custom .dropdown-menu[aria-labelledby="industriesDropdown"] {
        width: min(420px, calc(100vw - 80px));
        left: 50%;
        right: auto;
        transform: translateX(-35%);
        padding: 1rem;
        border-radius: 18px;
        box-shadow: 0 22px 44px rgba(0, 0, 0, 0.3);
    }

    .navbar-custom .dropdown-menu[aria-labelledby="industriesDropdown"] li:first-child {
        margin-bottom: 0.25rem;
        padding-bottom: 0.45rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .navbar-custom .dropdown-menu[aria-labelledby="industriesDropdown"] .dropdown-item {
        border-radius: 12px;
        padding: 0.75rem 0.9rem;
        line-height: 1.35;
        white-space: normal;
    }

    .navbar-custom .dropdown-menu[aria-labelledby="industriesDropdown"] .dropdown-item:hover {
        transform: translateY(-1px);
        background: rgba(220, 20, 60, 0.15);
        color: #fff;
    }
}

.btn-danger {
    background-color: var(--primary-red) !important;
    border-color: var(--primary-red) !important;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-danger:hover {
    background-color: #a00b2d !important;
    box-shadow: 0 4px 12px rgba(220, 20, 60, 0.4);
}

/* Standardize all primary buttons */
.btn-lg {
    padding: 0.85rem 2.2rem !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    letter-spacing: 0.5px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="dots" x="0" y="0" width="50" height="50" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23444"/></pattern></defs><rect width="1200" height="600" fill="%231a1a1a"/><rect width="1200" height="600" fill="url(%23dots)"/></svg>');
    color: var(--text-light);
    padding: 120px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><image href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNk+M9QDwADhgGAWjR9awAAAABJRU5ErkJggg==" width="1200" height="600" opacity="0.1"/></svg>');
    opacity: 0.15;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 2rem;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-section p {
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.7;
    font-weight: 300;
    letter-spacing: 0.3px;
}

.hero-section .btn {
    padding: 14px 45px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(220, 20, 60, 0.4);
    transition: all 0.3s ease;
}

/* Why Choose Us Section */
.why-choose-us {
    background-color: white;
}

.why-choose-us h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.why-choose-us p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.8;
}

.feature-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-box:hover {
    border-color: var(--primary-red);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(220, 20, 60, 0.1);
}

.feature-box i {
    font-size: 2.5rem;
    color: var(--primary-red);
}

.feature-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.14) 0%, rgba(220, 20, 60, 0.04) 100%);
    border: 1px solid rgba(220, 20, 60, 0.18);
    box-shadow: 0 14px 26px rgba(220, 20, 60, 0.08);
    color: transparent;
    font-size: 0;
    line-height: 0;
    position: relative;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 42px 42px;
}

.feature-icon::before,
.feature-icon::after {
    content: none;
    position: absolute;
}

.why-choose-us .col-md-4:nth-child(1) .feature-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath fill='%23dc143c' d='m24 5.5 5.4 10.9 12 1.7-8.7 8.5 2.1 12-10.8-5.7-10.8 5.7 2.1-12-8.7-8.5 12-1.7z'/%3E%3C/svg%3E");
}

.why-choose-us .col-md-4:nth-child(2) .feature-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cg fill='none' stroke='%23dc143c' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M24 8c-5.7 0-10.2 4.4-10.2 10 0 3.5 1.7 6.6 4.4 8.5V30h11.6v-3.5c2.7-1.9 4.4-5 4.4-8.5 0-5.6-4.5-10-10.2-10Z'/%3E%3Cpath d='M20 34h8'/%3E%3Cpath d='M19 38h10'/%3E%3Cpath d='M24 13v3.8'/%3E%3Cpath d='M18.8 18h3.4'/%3E%3Cpath d='M25.8 18h3.4'/%3E%3Cpath d='m24 18 2.8 3.1'/%3E%3C/g%3E%3C/svg%3E");
}

.why-choose-us .col-md-4:nth-child(3) .feature-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cg fill='none' stroke='%23dc143c' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 25h8'/%3E%3Cpath d='M9 20h6'/%3E%3Cpath d='M10 30h5'/%3E%3Cpath d='M17 28h15'/%3E%3Cpath d='M32 28h6v-6l-4-4h-7'/%3E%3Cpath d='M27 18h6'/%3E%3Ccircle cx='21' cy='31' r='3.5'/%3E%3Ccircle cx='35' cy='31' r='3.5'/%3E%3Ccircle cx='32' cy='14' r='6.5'/%3E%3Cpath d='M32 11v3.4l2.4 1.4'/%3E%3C/g%3E%3C/svg%3E");
}

.feature-box h5 {
    font-weight: 600;
    color: var(--text-dark);
}

/* Range of Products Section */
.range-of-products {
    background-color: var(--secondary-dark);
}

.range-of-products h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-light);
}

.product-card {
    background-color: #2a2a2a;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-image {
    background: #fff;
    text-align: center;
    color: #666;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 3/2;
    overflow: hidden;
    position: relative;
    min-height: 280px;
    padding: 1.5rem;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: scale-down;
    max-width: 100%;
    display: block;
}

.product-card h6 {
    padding: 1rem 0.9rem;
    color: var(--text-light);
    font-weight: 600;
    text-align: center;
    background-color: #1a1a1a;
    min-height: 92px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    line-height: 1.25;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(220, 20, 60, 0.2);
    background-color: var(--primary-red);
}

.product-card:hover h6 {
    color: var(--text-light);
}

/* Industries Section */
.industries-we-serve {
    background-color: var(--secondary-dark);
}

.industries-we-serve h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-light);
}

.industry-card {
    background-color: #2a2a2a;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.industry-image {
    background: #fff;
    text-align: center;
    color: #666;
    flex-grow: 1;
    display: block;
    aspect-ratio: 4/3;
    overflow: hidden;
    position: relative;
}

.industry-card h6 {
    padding: 0.8rem;
    color: var(--text-light);
    font-weight: 600;
    text-align: center;
}

.industry-card small {
    padding: 0 1rem 1rem 1rem;
    color: #999;
    text-align: center;
    display: block;
}

.industry-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(220, 20, 60, 0.2);
    background-color: var(--primary-red);
}

/* Get In Touch Section */
.get-in-touch {
    background-color: white;
    border-top: 1px solid #eee;
}

.get-in-touch h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.get-in-touch .row > [class*="col-"] {
    display: flex;
}

.touch-card {
    background-color: #2a2a2a;
    color: var(--text-light);
    padding: 2rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
    height: 100%;
    min-height: 370px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.touch-card:hover {
    border-color: var(--primary-red);
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.touch-card h5 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.touch-card p {
    font-size: 0.95rem;
    color: #ccc;
    line-height: 1.6;
}

.touch-card p:last-child {
    margin-top: 1.25rem;
    margin-bottom: 0;
}

.touch-card strong {
    color: var(--primary-red);
}

@media (max-width: 767px) {
    .touch-card {
        min-height: auto;
    }
}

/* Gallery Section */
.gallery {
    background-color: var(--secondary-dark);
}

.gallery h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-light);
}

.gallery-card {
    background-color: #2a2a2a;
    border-radius: 10px;
    padding: 3rem 1rem;
    text-align: center;
    color: #ddd;
    font-size: 0.9rem;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: hidden;
    position: relative;
}

.gallery-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(220, 20, 60, 0.3), transparent);
    transition: left 0.5s ease;
}

.gallery-card:hover::before {
    left: 100%;
}

.gallery-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(220, 20, 60, 0.3);
}

/* About Us Section */
.about-us {
    background-color: #f8f9fa;
}

.about-us h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.about-us p {
    font-size: 1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.about-content h4 {
    font-weight: 600;
    font-size: 1.3rem;
}

.about-image {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.expertise-list,
.commitment-list {
    list-style: none;
    padding: 0;
}

.expertise-list li,
.commitment-list li {
    padding: 0.5rem 0;
    color: #666;
    font-weight: 500;
}

.expertise-list li::before {
    content: '✓ ';
    color: var(--primary-red);
    font-weight: bold;
    margin-right: 0.5rem;
}

.commitment-list li::before {
    content: '✓ ';
    color: var(--primary-red);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Inquiry Section */
.inquiry-section {
    background-color: var(--secondary-dark);
}

.inquiry-section h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.map-placeholder {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.form-dark {
    background-color: #2a2a2a !important;
    border: 1px solid #3a3a3a !important;
    color: var(--text-light) !important;
    padding: 0.75rem 1rem !important;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.form-dark:focus {
    background-color: #3a3a3a !important;
    border-color: var(--primary-red) !important;
    box-shadow: 0 0 10px rgba(220, 20, 60, 0.3) !important;
    color: var(--text-light) !important;
}

.form-dark::placeholder {
    color: #bbb !important;
}

.captcha-code {
    background-color: var(--primary-red);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 70px;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.captcha-code-display {
    background-color: var(--primary-red);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 70px;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

/* Form Input Improvements */
.inquiry-section .form-control {
    background-color: rgba(50, 50, 50, 0.8) !important;
    border: 1.5px solid rgba(220, 20, 60, 0.3) !important;
    color: #fff !important;
    padding: 0.8rem 1rem !important;
    border-radius: 6px;
    font-size: 0.95rem;
}

.inquiry-section .form-control::placeholder {
    color: #999 !important;
}

.inquiry-section .form-control:focus {
    background-color: rgba(60, 60, 60, 0.9) !important;
    border-color: var(--primary-red) !important;
    box-shadow: 0 0 12px rgba(220, 20, 60, 0.4) !important;
    color: #fff !important;
}

/* Premium Inquiry Section with Gradient */
.inquiry-gradient-section {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 40%, #750000 100%);
    position: relative;
    overflow: hidden;
}

.inquiry-gradient-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 85% 15%, rgba(220, 20, 60, 0.25) 0%, transparent 60%);
    pointer-events: none;
}

.inquiry-gradient-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60" viewBox="0 0 60 60"><path d="M0 0l60 60M60 0L0 60" stroke="rgba(255,255,255,0.02)" stroke-width="0.5"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.glass-form-container {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.inquiry-gradient-section h3 {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 2rem;
}


/* FAQ Layout Improvements */
.faq-item {
    background: #f8f9fa;
    padding: 1.3rem;
    border-radius: 8px;
    margin-bottom: 0;
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.faq-item h6 {
    cursor: pointer;
    margin: 0;
    font-weight: 600;
    user-select: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    line-height: 1.4;
}

.faq-item:hover {
    border-left-color: var(--primary-red);
    background: white;
    box-shadow: 0 5px 15px rgba(220, 20, 60, 0.1);
    transform: translateY(-3px);
}

/* Footer */
footer {
    background-color: #000 !important;
    border-top: 2px solid var(--primary-red);
    color: #fff;
}

.footer {
    background-color: #000 !important;
    border-top: 2px solid var(--primary-red);
    color: #fff;
}

footer h6, .footer h6 {
    font-weight: bold;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.8rem;
    color: #DC143C;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.3rem;
    line-height: 1.4;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    display: inline-block;
}

.footer-links a:hover {
    color: #DC143C;
    margin-left: 5px;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.85rem;
    color: #ccc;
    line-height: 1.3;
}

.footer-contact li {
    margin-bottom: 0.22rem;
    font-size: 0.8rem;
}

.footer-contact li:nth-last-child(2) {
    margin-top: 0.6rem;
}

.footer-contact li:last-child {
    margin-top: 0.3rem;
}

.footer-contact a {
    color: #ccc;
    text-decoration: none;
}

.footer-contact a:hover {
    color: #DC143C;
}

footer .col-lg-2 {
    padding: 0.5rem;
}

footer .small, footer .small a {
    font-size: 0.75rem;
    color: #999;
    text-decoration: none;
}

footer .small a:hover {
    color: #DC143C;
}

footer hr {
    background-color: #333;
    margin: 0.8rem 0;
}

.footer-column p {
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
}

.footer-divider {
    flex: 1;
    border-right: 1px solid #555;
    margin: 0 1rem;
}

.footer-divider:last-child {
    border-right: none;
}

/* Utilities */
.col-lg-2-5 {
    flex: 0 0 auto;
    width: 20%;
}

@media (max-width: 1199px) {
    .col-lg-2-5 {
        width: 25%;
    }
}

@media (max-width: 767px) {
    .col-lg-2-5 {
        width: 50%;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .why-choose-us h2,
    .range-of-products h2,
    .industries-we-serve h2,
    .gallery h2 {
        font-size: 1.8rem;
    }
    
    .navbar-custom .nav-link {
        margin-left: 0;
        padding: 0.5rem 0;
    }
}

/* Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in-element {
    animation: fadeIn 0.6s ease-in-out;
}

/* Smooth scrolling for sections */
section {
    scroll-margin-top: 80px;
}

/* Text Utilities */
.text-danger {
    color: var(--primary-red) !important;
}

/* Border and Shadow Utilities */
.border-danger {
    border-color: var(--primary-red) !important;
}

.shadow-lg {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-bottom: 3px solid var(--primary-red);
}

.page-header h1 {
    font-size: 2.8rem;
    font-weight: 700;
}

.breadcrumb-dark {
    background-color: transparent;
}

.breadcrumb-dark .breadcrumb-item a {
    color: var(--primary-red);
    text-decoration: none;
    transition: all 0.3s ease;
}

.breadcrumb-dark .breadcrumb-item a:hover {
    text-decoration: underline;
}

.breadcrumb-dark .breadcrumb-item.active {
    color: #ccc;
}

/* Product Filter */
.filter-btn {
    font-weight: 600;
    transition: all 0.3s ease;
    border-width: 2px;
}

.filter-btn.active {
    background-color: var(--primary-red) !important;
    border-color: var(--primary-red) !important;
    color: white !important;
}

.filter-btn:hover {
    border-color: var(--primary-red) !important;
    color: var(--primary-red) !important;
}

/* Product Card Full */
.product-card-full {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card-full:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(220, 20, 60, 0.2);
}

.product-image-full {
    position: relative;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.product-image-full svg {
    width: 100%;
    height: 100%;
}

.badge-category {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--primary-red);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
}

.product-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-info h5 {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.product-info p {
    color: #444;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    flex-grow: 1;
    line-height: 1.6;
}

.specs {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 5px;
    border-left: 3px solid var(--primary-red);
}

.specs small {
    display: block;
    color: #555;
    margin-bottom: 0.5rem;
}

.product-info .btn {
    align-self: flex-start;
}

/* Service Box */
.service-box {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border-top: 4px solid transparent;
}

.service-box:hover {
    border-top-color: var(--primary-red);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(220, 20, 60, 0.15);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-red);
    font-weight: bold;
}

.service-box h5 {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
}

.service-box p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #4a0000 100%);
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(220, 20, 60, 0.2) 0%, transparent 60%);
    pointer-events: none;
}

.cta-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none"/><path d="M0 0l100 100M100 0L0 100" stroke="rgba(255,255,255,0.03)" stroke-width="0.5"/></svg>');
    opacity: 0.5;
    pointer-events: none;
}

.cta-section h2 {
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    position: relative;
    z-index: 1;
}

.cta-section .btn {
    position: relative;
    z-index: 1;
    padding: 15px 40px;
    font-size: 1.1rem;
}


/* Products Section */
.products-section {
    background-color: white;
    min-height: 500px;
}

/* Responsive Product Grid */
@media (max-width: 768px) {
    .col-lg-2-5 {
        width: 50%;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    .filter-btn {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }

    .product-card-full {
        margin-bottom: 1rem;
    }
}

/* Gallery Page Styles */
.gallery-section {
    background-color: white;
}

.gallery-card-full {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.gallery-card-full:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(220, 20, 60, 0.2);
}

.gallery-image-full {
    position: relative;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.gallery-image-full svg {
    width: 100%;
    height: 100%;
}

.overlay-hover {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-image-full:hover .overlay-hover {
    opacity: 1;
}

.gallery-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.gallery-info h6 {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
    font-size: 1rem;
}

.gallery-info p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.6;
    flex-grow: 1;
}

/* Contact Page Styles */
.contact-section {
    background-color: white;
}

.info-box {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary-red);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 1.5rem;
}

.info-box h4 {
    margin-bottom: 1rem;
}

.info-box p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.faq-section {
    background-color: white;
}

.faq-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-left-color: var(--primary-red);
    background: white;
    box-shadow: 0 5px 15px rgba(220, 20, 60, 0.1);
}

.faq-item h6 {
    cursor: pointer;
    margin: 0;
    font-weight: 600;
    user-select: none;
    transition: all 0.3s ease;
}

.faq-item h6:hover {
    color: #a00b2d;
    margin-left: 5px;
}

.faq-item p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.cursor-pointer {
    cursor: pointer;
}

/* Hero Section Enhancement */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* ========== RESPONSIVE DESIGN ========== */

/* Desktop - 1200px and up (Full width layout) */
@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
    }
    
    footer .container {
        padding: 0 15px;
    }
    
    footer .row {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 1rem;
        margin-bottom: 1rem;
    }
    
    footer .col-lg-2 {
        flex: 0 0 18%;
        min-width: 140px;
    }
    
    footer .col-md-6 {
        flex: 0 0 48%;
    }
}

/* Tablets & Medium screens - 768px to 1199px */
@media (max-width: 1199px) and (min-width: 768px) {
    footer .row {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        margin-bottom: 1rem;
    }
    
    footer .col-lg-2 {
        flex: auto;
        min-width: auto;
    }
    
    h1 {
        font-size: 2rem !important;
    }
    
    h2 {
        font-size: 1.75rem !important;
    }
    
    .hero-section {
        min-height: 400px !important;
    }
}

/* Small tablets - 768px to 991px */
@media (max-width: 991px) {
    footer .row {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        margin-bottom: 1rem;
    }
    
    footer .col-lg-2 {
        grid-column: auto;
        flex: auto;
    }
    
    .navbar-custom .navbar-nav {
        gap: 0.5rem;
        align-items: flex-start;
    }
    
    .navbar-custom .nav-link {
        font-size: 0.9rem;
        padding: 0.25rem 0.75rem !important;
    }

    .navbar-custom .navbar-nav > .nav-item:last-child {
        margin-left: 0;
        margin-top: 0.45rem;
        width: 100%;
    }

    .navbar-custom .navbar-nav > .nav-item:last-child .btn {
        width: 100%;
        justify-content: center;
    }
    
    .dropdown-menu {
        position: absolute;
        min-width: auto;
    }
}

/* Mobile - 481px to 767px */
@media (max-width: 767px) {
    body {
        font-size: 14px;
    }
    
    .container {
        max-width: 100%;
        padding: 0 10px;
    }
    
    h1 {
        font-size: 1.5rem !important;
    }
    
    h2 {
        font-size: 1.25rem !important;
    }
    
    h3, h4, h5, h6 {
        font-size: 1rem !important;
    }
    
    /* Footer Single Column on Mobile */
    footer .container {
        padding: 0.75rem 0.5rem;
    }
    
    footer .row {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.8rem;
        margin-bottom: 0.5rem;
    }
    
    footer .col-lg-2, footer .col-md-3, footer [class*="col-"] {
        grid-column: 1;
        flex: 1 1 100%;
        padding: 0.5rem;
        border-bottom: 1px solid #555;
    }
    
    footer .col-lg-2:last-child, footer [class*="col-"]:last-child {
        border-bottom: none;
    }
    
    footer h6 {
        font-size: 0.8rem;
        margin-bottom: 0.4rem;
    }
    
    footer .footer-links a,
    footer .footer-contact li,
    footer p {
        font-size: 0.8rem;
    }
    
    .hero-section {
        min-height: 300px !important;
    }
    
    .hero-content h1 {
        font-size: 1.5rem;
        line-height: 1.2;
    }
    
    .navbar-custom {
        padding: 0.5rem 0 !important;
    }
    
    .navbar-brand img {
        max-width: 100%;
        height: auto;
    }
    
    .btn {
        padding: 0.75rem 1rem !important;
        font-size: 0.85rem !important;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem !important;
        font-size: 0.9rem !important;
    }
    
    .navbar-custom .nav-link {
        font-size: 0.85rem;
        padding: 0.25rem 0.5rem !important;
        margin-left: 0 !important;
    }
    
    .dropdown-menu {
        min-width: 100% !important;
        position: static !important;
        display: none;
    }
    
    .dropdown-menu.show {
        display: block;
    }
    
    .product-card, .gallery-card, .industry-card {
        padding: 1rem 0.5rem !important;
    }
    
    .col-md-6 {
        flex: 0 0 100% !important;
    }
    
    .col-lg-2-5 {
        flex: 0 0 50% !important;
        width: 50% !important;
    }
    
    .row.g-4 > [class*="col-"] {
        padding-right: 0.5rem !important;
        padding-left: 0.5rem !important;
    }
}

/* Extra small devices - 320px to 480px */
@media (max-width: 480px) {
    body {
        font-size: 13px;
    }
    
    .container {
        padding: 0 8px;
    }
    
    h1 {
        font-size: 1.25rem !important;
    }
    
    h2 {
        font-size: 1rem !important;
    }
    
    h3 {
        font-size: 0.9rem !important;
    }
    
    h6 {
        font-size: 0.75rem !important;
    }
    
    p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    /* Footer Stacked on Extra Small */
    footer .container {
        padding: 0.5rem;
    }
    
    footer .row {
        grid-template-columns: 1fr;
        gap: 0.4rem;
        margin-bottom: 0.4rem;
    }
    
    footer .col-lg-2 {
        padding: 0.3rem !important;
        margin-bottom: 0.4rem;
    }
    
    footer h6 {
        font-size: 0.7rem;
        margin-bottom: 0.2rem;
    }
    
    footer .footer-links a,
    footer .footer-contact li,
    footer p {
        font-size: 0.7rem !important;
    }
    
    footer .footer-links li {
        margin-bottom: 0.1rem;
    }
    
    footer .small {
        font-size: 0.65rem;
    }
    
    .hero-section {
        min-height: 250px !important;
        padding: 1rem 0 !important;
    }
    
    .hero-content h1 {
        font-size: 1.25rem;
        line-height: 1.2;
    }
    
    .hero-content p {
        font-size: 0.8rem;
        margin: 0.5rem 0;
    }
    
    .btn {
        padding: 0.5rem 0.75rem !important;
        font-size: 0.75rem !important;
    }
    
    .btn-lg {
        padding: 0.5rem 1rem !important;
        font-size: 0.8rem !important;
    }
    
    .navbar-toggler {
        padding: 0.25rem 0.5rem !important;
    }
    
    .navbar-custom .nav-link {
        font-size: 0.75rem;
        padding: 0.15rem 0.4rem !important;
    }
    
    .col-lg-2-5 {
        flex: 0 0 100% !important;
        width: 100% !important;
    }
    
    .row.g-4 > [class*="col-"] {
        padding-right: 0.25rem !important;
        padding-left: 0.25rem !important;
    }
    
    .row.g-4 {
        margin-right: -0.25rem !important;
        margin-left: -0.25rem !important;
    }
}

/* Maintain navbar responsiveness */
@media (max-width: 1199px) {
    .navbar-custom .navbar-collapse {
        background-color: rgba(0, 0, 0, 0.9);
        padding: 0.5rem 0;
        border-radius: 5px;
    }
}

/* Ensure proper footer alignment */
@media (min-width: 992px) {
    footer .row {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
    }
    
    footer .col-md-3 {
        flex: 0 1 18%;
        min-width: 140px;
    }
}

/* Shared premium product detail pages */
.product-showcase-hero {
    background:
        radial-gradient(circle at top right, rgba(220, 20, 60, 0.22), transparent 32%),
        linear-gradient(135deg, #111 0%, #242424 55%, #151515 100%);
    color: #fff;
    padding: 84px 0 72px;
}

.product-page-eyebrow {
    display: inline-block;
    color: var(--primary-red);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.product-page-title {
    font-size: clamp(2.5rem, 4vw, 4.5rem);
    line-height: 1;
    margin-bottom: 1rem;
    font-weight: 800;
}

.product-page-subtitle {
    font-size: 1.1rem;
    color: #f3b3be;
    max-width: 42rem;
}

.product-page-copy {
    color: #d5d5d5;
    max-width: 38rem;
}

.product-showcase-hero .btn-lg {
    min-width: 210px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700 !important;
    white-space: nowrap;
}

.product-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.product-hero-badges span,
.product-spec-chip {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    font-size: 0.9rem;
}

.product-hero-card,
.product-content-panel,
.product-spec-table-card {
    border-radius: 24px;
    padding: 1.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
}

.product-hero-card,
.product-content-panel {
    background: #212121;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.product-hero-card {
    background: linear-gradient(180deg, #2a2a2a 0%, #1b1b1b 100%);
}

.product-hero-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.product-hero-image {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 500px !important;
    object-fit: contain !important;
    margin: 2rem 0 2.5rem !important;
    padding: 2rem !important;
    background: rgba(255, 255, 255, 0.02) !important;
    border-radius: 15px !important;
    border: 1px solid rgba(220, 20, 60, 0.2) !important;
    display: block !important;
}

.product-hero-spec-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.product-hero-spec-grid div {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    padding: 0.9rem 1rem;
}

.product-hero-spec-grid small {
    display: block;
    color: #999;
    margin-bottom: 0.25rem;
}

.product-section-title {
    color: #fff;
    font-size: 1.6rem;
    margin-bottom: 1.25rem;
}

.product-section-title-dark {
    color: #191919;
}

.product-detail-list,
.product-benefit-list {
    display: grid;
    gap: 1rem;
}

.product-detail-item {
    padding: 1rem 1.1rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
}

.product-detail-item h5 {
    margin-bottom: 0.35rem;
    color: #fff;
}

.product-detail-item p,
.product-benefit-list li {
    color: #cfcfcf;
    margin-bottom: 0;
}

.product-application-box p {
    color: #6a6a6a;
    margin-bottom: 0;
}

.product-benefit-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.product-benefit-list li {
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.product-mini-cta {
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.product-spec-table-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.product-spec-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.95rem 0;
    border-bottom: 1px solid #ececec;
}

.product-spec-row:last-child {
    border-bottom: none;
}

.product-spec-row span {
    color: #666;
}

.product-application-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.product-application-box {
    border-radius: 18px;
    background: #f6f6f6;
    padding: 1rem;
    height: 100%;
}

.product-contact-label {
    color: #bdbdbd;
    display: block;
    margin-bottom: 0.45rem;
    font-size: 0.85rem;
}

.form-dark {
    background-color: #2b2b2b !important;
    border: 1px solid #4b4b4b !important;
    color: #fff !important;
    border-radius: 14px;
    padding: 0.85rem 1rem;
}

.form-dark::placeholder {
    color: #9d9d9d !important;
}

.form-dark:focus {
    background-color: #333 !important;
    border-color: var(--primary-red) !important;
    color: #fff !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 20, 60, 0.18);
}

.product-captcha-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.captcha-code {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    color: #fff;
}

@media (max-width: 767px) {
    .product-hero-spec-grid,
    .product-application-grid {
        grid-template-columns: 1fr;
    }

    .product-showcase-hero {
        padding: 64px 0 56px;
    }

    .product-page-title {
        font-size: 2.3rem;
    }
}

.bg-variant-section {
    background-color: #f9f9f9;
    border-top: 1px solid #eee;
}

/* Industry variant selector */
.industry-variant-panel {
    background: #ffffff;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
}

.industry-variant-preview {
    background: linear-gradient(180deg, #f7f7f7 0%, #ededed 100%);
    border-radius: 18px;
    padding: 1.25rem;
    min-height: 100%;
}

.industry-variant-preview img {
    width: 100%;
    max-height: 320px;
    object-fit: contain;
}

.industry-variant-label {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 0.85rem;
}

.industry-variant-copy {
    color: #666;
    line-height: 1.7;
}

.industry-variant-heading {
    font-size: 0.88rem;
    font-weight: 700;
    color: #222;
    margin: 1.5rem 0 0.9rem;
}

.industry-variant-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
    margin-bottom: 1.25rem;
}

@media (max-width: 576px) {
    .industry-variant-options {
        grid-template-columns: 1fr;
    }
}

.industry-variant-pill {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    min-width: 0;
    max-width: 100%;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 999px;
    background: #2f2f2f;
    color: #fff;
    padding: 0.5rem 0.95rem 0.5rem 0.55rem;
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
    position: relative;
}

.industry-variant-pill:hover,
.industry-variant-pill.is-active {
    transform: translateY(-2px);
    border-color: rgba(220, 20, 60, 0.45);
    background: #1f1f1f;
    box-shadow: 0 14px 28px rgba(220, 20, 60, 0.14);
}

.industry-variant-pill.is-active {
    background: linear-gradient(135deg, #dc143c 0%, #96112b 100%);
    border-color: rgba(255, 255, 255, 0.26);
    box-shadow: 0 18px 34px rgba(220, 20, 60, 0.3);
}

.industry-variant-pill:focus-visible {
    outline: 3px solid rgba(220, 20, 60, 0.35);
    outline-offset: 2px;
}

.industry-variant-pill-thumb {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(180deg, #fbfbfb 0%, #ececec 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    overflow: hidden;
    transition: background 0.22s ease, box-shadow 0.22s ease;
}

.industry-variant-pill-thumb img {
    width: 92%;
    height: 92%;
    object-fit: contain;
}

.industry-variant-pill.is-active .industry-variant-pill-thumb {
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.14);
}

.industry-variant-pill-copy {
    min-width: 0;
}

.industry-variant-pill-title {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.2;
}

.industry-variant-pill-text {
    display: block;
    font-size: 0.74rem;
    color: rgba(255, 255, 255, 0.72);
    margin-top: 0.12rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 220px;
}

.industry-variant-pill.is-active .industry-variant-pill-title {
    font-weight: 700;
    color: #fff;
}

.industry-variant-pill.is-active .industry-variant-pill-text {
    color: rgba(255, 255, 255, 0.92);
}

.industry-variant-feature-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
    margin: 1.5rem 0;
}

.industry-variant-feature-capsule {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    background: #1a1a1a;
    color: #fff;
    font-size: 0.95rem;
    transition: transform 0.2s ease;
    cursor: default;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.industry-variant-feature-capsule:hover {
    transform: translateX(5px);
}

.industry-variant-feature-capsule::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #dc3545;
    flex-shrink: 0;
}

@media (max-width: 767px) {
    .industry-variant-panel {
        padding: 1.1rem;
    }

    .industry-variant-options {
        gap: 0.7rem;
    }

    .industry-variant-pill {
        width: 100%;
        border-radius: 20px;
        padding-right: 0.8rem;
    }

    .industry-variant-pill-text {
        max-width: none;
        white-space: normal;
    }
}

/* ========== INDUSTRY VARIANT ENHANCEMENTS ========== */
.industry-variant-panel .row {
    align-items: flex-start !important;
}

.industry-detail-image {
    position: sticky;
    top: 5rem;
}

#industryVariantTechSection {
    margin-bottom: 0;
}

/* Main block heading: centered, bold, large */
.tech-block-main-heading {
    font-size: 1.55rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

/* Red underline bar below main heading */
.tech-block-heading-bar {
    width: 60px;
    height: 3px;
    background: #dc3545;
    margin: 0 auto 1.8rem;
    border-radius: 2px;
}

/* Section sub-labels (Common Rubber Compounds, Key Benefits, etc.) */
.tech-section-label {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.85rem;
}

.tech-section-label::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 1.1rem;
    background: #dc3545;
    border-radius: 2px;
    flex-shrink: 0;
}

.tech-section-label-text {
    font-size: 0.78rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1.8px;
}

.industry-dark-tech-block {
    background: #0a0a0a;
    color: #fff;
    border-radius: 20px;
    padding: 2.5rem;
    margin-top: 1rem;
    border: 1px solid #1a1a1a;
}

.industry-dark-tech-block .industry-variant-heading {
    color: #fff;
    border-color: #dc3545;
    font-size: 0.85rem;
    opacity: 0.9;
}

.industry-dark-tech-block .table-premium th {
    background-color: #1a1a1a;
    color: #eee;
    border-color: #222;
    font-size: 0.85rem;
}

.industry-dark-tech-block .table-premium td {
    background-color: #0d0d0d;
    color: #bbb;
    border-color: #1a1a1a;
    font-size: 0.85rem;
}

.benefit-badge-modern {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.8rem 1.2rem;
    background: #111;
    border: 1px solid #333;
    border-radius: 12px;
    font-size: 0.9rem;
    color: #eee;
    transition: all 0.3s ease;
}

.benefit-badge-modern:hover {
    border-color: #dc3545;
    background: #1a1a1a;
    transform: translateY(-2px);
}

.benefit-badge-modern .dot {
    font-size: 0.6rem;
    color: #dc3545;
}

.compound-card-dark {
    background: #141414;
    border: 1px solid #222;
    padding: 1rem;
    border-radius: 10px;
    border-left: 3px solid #dc3545;
}

.industry-dark-tech-block .certified-box-full {
    background: #141414;
    border: 1px solid #222;
    padding: 2rem;
    border-radius: 15px;
}

.certified-badge-large {
    width: 60px;
    height: 60px;
    background: #dc3545;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 8px 20px rgba(220, 20, 60, 0.2);
    flex-shrink: 0;
}

.industry-variant-feature-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 1.5rem;
}

@media (min-width: 992px) {
    /* Set to 3-column grid for larger screens if desired, but 2 looks solid for most counts */
    .industry-variant-feature-list {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* If variant has 5/6 items, 3x2 is nice. 2x2 for 4 items. */
    .industry-variant-feature-list:has(> :nth-child(5)) {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .industry-variant-feature-list {
        grid-template-columns: 1fr;
    }
}

.industry-variant-feature-capsule {
    margin: 0 !important;
    width: 100%;
    justify-content: flex-start;
    padding: 12px 20px;
}

.industry-variant-panel {
    background: #ffffff;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 15px 40px rgba(0,0,0,0.04);
    border: 1px solid #f0f0f0;
    margin-bottom: 2rem;
}

.industry-variant-panel::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(220, 20, 60, 0.03) 0%, transparent 70%);
    z-index: 0;
}

.feature-section-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
}

.feature-section-header h5 {
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #666;
    margin-bottom: 0;
    white-space: nowrap;
}

.feature-section-header .divider {
    height: 1px;
    background: #eee;
    width: 100%;
}

#industryVariantUnderImage .industry-variant-heading {
    color: #fff;
    border-color: #dc3545;
    margin-top: 1rem;
}

#industryVariantUnderImage .table-premium {
    border-color: #333;
}

#industryVariantUnderImage .table-premium th {
    background-color: #222;
    color: #fff;
    border-color: #333;
}

#industryVariantUnderImage .table-premium td {
    background-color: #1a1a1a;
    color: #ccc;
    border-color: #333;
}

#industryVariantUnderImage .compound-card {
    background: #222 !important;
    border-color: #333 !important;
}

#industryVariantUnderImage .compound-card .text-muted {
    color: #999 !important;
}

#industryVariantUnderImage .benefit-badge {
    background-color: #2d2d2d;
    color: #fff;
    border-color: #444;
}

.industry-variant-heading {
    border-bottom: 2px solid #dc3545;
    padding-bottom: 5px;
    margin-bottom: 15px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.table-premium {
    font-size: 0.85rem;
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    margin-bottom: 1rem;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
}

.table-premium th {
    background-color: #f8f9fa;
    color: #495057;
    font-weight: 600;
    padding: 10px 15px;
    width: 35%;
    border-right: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
}

.table-premium td {
    padding: 10px 15px;
    background-color: #fff;
    border-bottom: 1px solid #dee2e6;
}

.table-premium tr:last-child th,
.table-premium tr:last-child td {
    border-bottom: none;
}

.compound-card {
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.compound-card:hover {
    border-color: #dc3545;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.1);
    transform: translateY(-2px);
}

.benefit-badge {
    background-color: #fff5f5;
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.2);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.benefit-badge i {
    font-size: 0.9rem;
}

/* ========== INDUSTRY SOLUTIONS & FEATURES (AS PER REFERENCE IMAGES) ========== */
.solution-card {
    background: #fff;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    border-left: 5px solid #dc3545;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 45px rgba(220, 53, 69, 0.12);
}

.solution-icon {
    font-size: 1.2rem;
    color: #dc3545;
    margin-bottom: 1rem;
    display: block;
}

.solution-card h5 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: #222;
}

.solution-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.feature-box {
    background: #f8f9fa;
    padding: 3rem 2rem;
    border-radius: 12px;
    border-top: 5px solid #dc3545;
    transition: all 0.3s ease;
    text-align: center;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
}

.feature-box:hover {
    background: #fff;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-8px);
}

.feature-number {
    font-size: 3rem;
    font-weight: 800;
    color: #dc3545;
    line-height: 1;
    margin-bottom: 1.5rem;
    display: block;
}

.feature-box h5 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: #222;
}

.application-list {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
}

.application-list li {
    padding: 1rem 0;
    color: #555;
    border-bottom: 1px dashed #e0e0e0;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.application-list li:hover {
    padding-left: 8px;
    color: #dc3545;
}

.application-list li:last-child {
    border-bottom: none;
}

.section-title-premium {
    text-align: center;
    margin-bottom: 4rem;
    font-weight: 700;
}

.section-title-premium span.dot {
    color: #dc3545;
    margin-right: 10px;
}

.section-title-premium span.accent {
    color: #dc3545;
}

/* Fix for footer links in centrally defined style */
.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #999;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #dc3545;
    padding-left: 5px;
}

/* ========== INDUSTRY HERO & BREADCRUMBS ========== */
.breadcrumb-dark {
    background-color: transparent !important;
    padding: 0;
    margin-bottom: 1.5rem;
}

.breadcrumb-dark .breadcrumb-item a {
    color: #dc3545;
    text-decoration: none;
    font-size: 0.9rem;
}

.breadcrumb-dark .breadcrumb-item.active {
    color: #999;
    font-size: 0.9rem;
}

.industry-hero-section {
    padding: 100px 0;
    text-align: center;
    color: white;
}

.industry-hero-section h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.industry-detail-image {
    position: sticky;
    top: 5rem;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    margin-bottom: 2rem;
}

/* ============================================================
   Product Page: Dark-context spec table & feature/benefit icons
   ============================================================ */

.bg-dark .product-spec-table-card {
    background: #212121;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.bg-dark .product-spec-row {
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

.bg-dark .product-spec-row span {
    color: #9e9e9e;
    font-size: 0.92rem;
}

.bg-dark .product-spec-row strong {
    color: #ffffff;
    font-size: 0.92rem;
    text-align: right;
}

/* Feature checkmark icon */
.feature-check {
    color: #dc3545;
    font-size: 1rem;
    flex-shrink: 0;
    margin-right: 0.6rem;
    line-height: 1.4;
}

/* Benefit star icon */
.benefit-star {
    color: #dc3545;
    font-size: 1rem;
    flex-shrink: 0;
    margin-right: 0.6rem;
    line-height: 1.4;
}

.product-benefit-list li {
    display: flex;
    align-items: flex-start;
}

.product-benefit-list li span:last-child {
    color: #cfcfcf;
    flex: 1;
}

/* Full-width compound section layout */
/* Full-width compound section layout (legacy dark style) */
.bg-dark .product-detail-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}

/* ============================================================
   Compounds Section — Clean light card design
   ============================================================ */

.compounds-section {
    background: #f4f5f7;
}

.compounds-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #dc3545;
    margin-bottom: 0.6rem;
}

.compounds-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.6rem;
    line-height: 1.3;
}

.compounds-subtitle {
    color: #6b7280;
    font-size: 0.92rem;
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.65;
}

.compounds-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 1.1rem;
}

.compound-card {
    background: #ffffff;
    border-radius: 12px;
    border-left: 3px solid #dc3545;
    padding: 1.35rem 1.5rem 1.35rem 1.4rem;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.055);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
}

.compound-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.09);
}

.compound-card-dot {
    width: 7px;
    height: 7px;
    background: #dc3545;
    border-radius: 50%;
    margin-bottom: 0.85rem;
}

.compound-card h5 {
    font-size: 0.97rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.45rem;
    line-height: 1.35;
}

.compound-card p {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.65;
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .compounds-grid {
        grid-template-columns: 1fr;
    }
    .compounds-title {
        font-size: 1.45rem;
    }
}

/* ========================================
   COMPREHENSIVE MOBILE RESPONSIVE DESIGN
   ======================================== */

/* Extra Small Devices (320px - 576px) */
@media (max-width: 575px) {
    /* General */
    body {
        font-size: 14px;
        line-height: 1.5;
    }

    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    h4 {
        font-size: 1.1rem;
    }

    /* Navigation */
    .navbar-custom {
        padding: 0.75rem 1rem;
    }

    .navbar-custom .navbar-brand .logo-img {
        height: 45px;
    }

    .navbar-custom .nav-link {
        font-size: 0.9rem;
        margin-left: 1rem;
        padding: 0.5rem 0.3rem !important;
    }

    .navbar-custom .navbar-toggler {
        padding: 0.2rem 0.4rem;
    }

    .navbar-custom .dropdown-menu {
        min-width: 200px;
    }

    .navbar-custom .dropdown-menu .dropdown-item {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }

    /* Buttons */
    .btn, .btn-lg, .btn-sm {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }

    .btn-lg {
        padding: 0.7rem 1.5rem !important;
    }

    /* Page Header */
    .page-header {
        padding: 2rem 1rem !important;
    }

    .page-header h1 {
        font-size: 1.75rem;
        margin-bottom: 0.5rem;
    }

    .breadcrumb {
        font-size: 0.8rem;
    }

    /* Hero Section */
    .hero-section {
        padding: 60px 1rem !important;
        min-height: 400px;
        justify-content: center;
    }

    .hero-content {
        padding: 0 1rem !important;
        text-align: center;
        max-width: 100%;
    }

    .hero-section h1 {
        font-size: 1.8rem;
        line-height: 1.15;
        margin-bottom: 1rem;
    }

    .hero-section p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
        line-height: 1.6;
    }

    .hero-section .btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }

    .hero {
        padding: 2rem 1rem !important;
        min-height: 300px;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .hero p {
        font-size: 0.95rem;
    }

    /* Forms */
    .form-control, .form-dark {
        font-size: 0.9rem;
        padding: 0.6rem 0.8rem !important;
    }

    .inquiry-section {
        padding: 1.5rem 1rem !important;
    }

    .inquiry-section h3 {
        font-size: 1.5rem;
    }

    .inquiry-section .row {
        flex-direction: column;
    }

    .inquiry-section .col-md-6 {
        margin-bottom: 1.5rem;
    }

    /* Info Boxes */
    .info-box {
        padding: 1.2rem;
        margin-bottom: 1rem;
    }

    .info-box h4 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }

    .info-box p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    /* Touch Cards */
    .touch-card {
        min-height: 280px;
        padding: 1.5rem;
    }

    .card-icon {
        font-size: 2.5rem;
        margin-bottom: 0.75rem;
    }

    .touch-card h5 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }

    .touch-card p {
        font-size: 0.9rem;
    }

    /* Product Card Images */
    .product-image {
        aspect-ratio: 4/3;
        min-height: 220px;
        padding: 1rem;
    }

    /* Product Detail Images */
    .product-hero-image {
        max-height: 350px !important;
        margin: 1.5rem 0 2rem !important;
        padding: 1.5rem !important;
    }

    .product-hero-card {
        padding: 1rem;
    }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .gallery-item {
        height: 250px;
    }

    /* Product Cards */
    .product-card {
        margin-bottom: 1rem;
    }

    .product-card img {
        max-height: 250px;
    }

    .product-card h5 {
        font-size: 1rem;
    }

    /* Footer */
    footer {
        padding: 1rem 0 !important;
    }

    footer h6 {
        font-size: 0.95rem;
        margin-bottom: 0.75rem;
    }

    .footer-links, .footer-contact {
        font-size: 0.85rem;
    }

    footer .container {
        padding: 0 1rem;
    }

    .footer-links li, .footer-contact li {
        margin-bottom: 0.4rem;
    }

    /* Tech Block */
    .tech-block-main-heading {
        font-size: 1.25rem;
        letter-spacing: 1px;
    }

    .tech-block-heading-bar {
        margin: 0 auto 1rem;
    }

    /* Sections */
    .py-5 {
        padding: 2rem 1rem !important;
    }

    .py-4 {
        padding: 1.5rem 1rem !important;
    }

    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    /* Map */
    .map-placeholder iframe {
        height: 300px !important;
    }

    /* Captcha */
    .captcha-code-display {
        padding: 0.6rem 1rem;
        min-width: 60px;
        font-size: 1rem;
    }
}

/* Small Devices (576px - 768px) */
@media (min-width: 576px) and (max-width: 767px) {
    /* General */
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    /* Navigation */
    .navbar-custom .navbar-brand .logo-img {
        height: 50px;
    }

    .navbar-custom .nav-link {
        font-size: 0.95rem;
        margin-left: 1.2rem;
    }

    /* Buttons */
    .btn-lg {
        padding: 0.75rem 1.8rem !important;
        font-size: 0.95rem;
    }

    /* Page Header */
    .page-header {
        padding: 2.5rem 1rem !important;
    }

    /* Hero Section */
    .hero-section {
        padding: 80px 1.5rem !important;
        justify-content: center;
    }

    .hero-content {
        padding: 0 1rem;
        text-align: center;
    }

    .hero-section h1 {
        font-size: 2.3rem;
        margin-bottom: 1.2rem;
    }

    .hero-section p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    /* Product Images */
    .product-hero-image {
        max-height: 400px !important;
        margin: 1.5rem 0 2rem !important;
        padding: 1.5rem !important;
    }
    }

    /* Forms */
    .inquiry-section {
        padding: 2rem 1rem !important;
    }

    /* Touch Cards */
    .touch-card {
        min-height: 300px;
    }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    /* Footer */
    footer {
        padding: 1.5rem 0 !important;
    }

    /* Sections */
    .py-5 {
        padding: 2.5rem 1rem !important;
    }

    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    /* Tech Block */
    .tech-block-main-heading {
        font-size: 1.4rem;
    }
}

/* Medium Devices (768px - 992px) */
@media (min-width: 768px) and (max-width: 991px) {
    /* Navigation */
    .navbar-custom .navbar-brand .logo-img {
        height: 50px;
    }

    .navbar-custom .nav-link {
        font-size: 0.95rem;
        margin-left: 1.2rem;
    }

    /* Buttons */
    .btn-lg {
        padding: 0.8rem 2rem !important;
        font-size: 0.98rem;
    }

    /* Page Header */
    .page-header {
        padding: 2.5rem 0 !important;
    }

    /* Forms */
    .inquiry-section {
        padding: 2.5rem 0 !important;
    }

    /* Product Detail Images */
    .product-hero-image {
        max-height: 450px !important;
        margin: 2rem 0 2.5rem !important;
        padding: 2rem !important;
    }

    /* Product Card Images */
    .product-image {
        aspect-ratio: 3/2;
        min-height: 280px;
        padding: 1.5rem;
    }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .gallery-item {
        height: 300px;
    }

    /* Sections */
    .py-5 {
        padding: 3rem 0 !important;
    }

    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    /* Tech Block */
    .tech-block-main-heading {
        font-size: 1.5rem;
    }

    /* Product Grid */
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Large Devices (992px - 1200px) */
@media (min-width: 992px) and (max-width: 1199px) {
    /* Navigation */
    .navbar-custom .navbar-brand .logo-img {
        height: 55px;
    }

    .navbar-custom .nav-link {
        font-size: 0.98rem;
        margin-left: 1.3rem;
    }

    /* Forms */
    .inquiry-section {
        padding: 3rem 0 !important;
    }

    /* Product Detail Images */
    .product-hero-image {
        max-height: 500px !important;
        margin: 2rem 0 2.5rem !important;
        padding: 2rem !important;
    }

    /* Product Card Images */
    .product-image {
        aspect-ratio: 3/2;
        min-height: 300px;
        padding: 1.5rem;
    }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.2rem;
    }

    /* Sections */
    .py-5 {
        padding: 3.5rem 0 !important;
    }

    /* Product Grid */
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Extra Large Devices (1200px+) */
@media (min-width: 1200px) {
    /* Gallery */
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }

    /* Product Grid */
    .product-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    /* Sections */
    .py-5 {
        padding: 4rem 0 !important;
    }
}

/* Touch Optimization */
@media (hover: none) and (pointer: coarse) {
    /* Mobile devices - increase touch target sizes */
    button, a.btn, input[type="button"], input[type="submit"] {
        min-height: 48px;
        min-width: 48px;
    }

    .nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .dropdown-menu .dropdown-item {
        padding: 1rem;
    }

    /* Disable hover effects on touch */
    .product-card:hover,
    .touch-card:hover,
    .faq-item:hover {
        transform: none;
    }
}

/* Print Styles */
@media print {
    .navbar-custom, footer, .btn-close, nav {
        display: none;
    }

    body {
        color: #000;
        background: #fff;
    }

    .container {
        max-width: 100%;
    }

    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
    }

    p {
        page-break-inside: avoid;
    }
}

/* Custom Inquiry Modal Styling */
.modal-close-custom {
    position: absolute;
    right: 15px;
    top: 15px;
    background: none;
    border: none;
    color: #DC143C;
    font-size: 2rem;
    font-weight: 300;
    line-height: 1;
    z-index: 1051;
    transition: transform 0.4s ease;
    cursor: pointer;
}

.modal-close-custom:hover {
    transform: rotate(90deg);
    color: #ff4d6d;
}

/* Overriding form-dark for inline forms */
.form-dark {
    background-color: #111 !important;
    border: 1px solid #333 !important;
    color: #fff !important;
    border-radius: 8px !important;
    padding: 0.8rem 1rem !important;
}

.form-dark:focus {
    background-color: #000 !important;
    border-color: #DC143C !important;
}

.inquiry-map-iframe {
    height: 100% !important;
    min-height: 450px !important;
    border-radius: 12px;
    border: 1px solid #333;
}

/* Final Refinement for Inquiry Section */
.inquiry-form-container {
    background-color: #111 !important;
    padding: 2rem !important;
    border-radius: 15px !important;
    border: 1px solid #333 !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
}

.inquiry-form-container textarea {
    height: 100px !important;
    resize: none !important;
}

.inquiry-form-container h3 {
    margin-bottom: 1.5rem !important;
    font-weight: 700 !important;
    font-size: 1.5rem !important;
}

/* Fixing Popup Close Button Rotation and Weight */
.modal-close-custom {
    width: 45px !important;
    height: 45px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: 900 !important;
    font-size: 2.2rem !important;
    transform-origin: center !important;
    padding: 0 !important;
    top: 10px !important;
    right: 10px !important;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.3s ease !important;
}

/* Final perfection for SVG Close Button */
.modal-close-custom svg {
    display: block !important;
    margin: auto !important;
}

.modal-close-custom {
    line-height: 0 !important; /* Remove text line-height issues */
    overflow: hidden !important;
}

/* Compact Premium Gallery Grid */
.gallery-grid-premium {
    background: #0a0a0a;
}

.gallery-card-premium {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: #111;
    border: 1px solid #222;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    height: 400px;
    cursor: pointer;
}

.gallery-card-premium img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease, filter 0.5s ease;
    filter: brightness(0.7);
}

.gallery-card-premium:hover img {
    transform: scale(1.1);
    filter: brightness(0.4);
}

.gallery-content-premium {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
    z-index: 2;
    transition: transform 0.5s ease;
}

.gallery-card-premium:hover .gallery-content-premium {
    transform: translateY(-10px);
}

.gallery-tag-premium {
    display: inline-block;
    padding: 4px 12px;
    background: #DC143C;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    margin-bottom: 12px;
}

.gallery-card-premium h3 {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.gallery-card-premium p {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease 0.1s;
}

.gallery-card-premium:hover p {
    opacity: 1;
    transform: translateY(0);
}

.gallery-reveal-line {
    width: 0;
    height: 2px;
    background: #DC143C;
    transition: width 0.5s ease;
    margin-bottom: 15px;
}

.gallery-card-premium:hover .gallery-reveal-line {
    width: 50px;
}

 / *   R e s p o n s i v e   i m p r o v e m e n t s   f o r   I n q u i r y   S e c t i o n s   * / 
 @ m e d i a   ( m a x - w i d t h :   7 6 8 p x )   { 
         . g l a s s - f o r m - c o n t a i n e r   { 
                 p a d d i n g :   2 5 p x   ! i m p o r t a n t ; 
                 b o r d e r - r a d i u s :   1 6 p x   ! i m p o r t a n t ; 
         } 
         . i n q u i r y - g r a d i e n t - s e c t i o n   { 
                 p a d d i n g :   4 0 p x   0   ! i m p o r t a n t ; 
         } 
         . i n q u i r y - g r a d i e n t - s e c t i o n   h 2   { 
                 f o n t - s i z e :   2 . 2 r e m   ! i m p o r t a n t ; 
         } 
 }  
 
/* Industry CTA Banner Styles */
.industry-cta-banner {
    background: linear-gradient(90deg, #111111 0%, #1a1a1a 30%, #DC143C 100%);
    padding: 60px 0;
    color: white;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.industry-cta-banner .container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 900px;
}

.industry-cta-banner h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 0.8rem;
    letter-spacing: -0.5px;
    text-transform: none;
    line-height: 1.2;
}

.industry-cta-banner p {
    font-size: 1.1rem;
    max-width: 750px;
    margin: 0 auto 1.8rem !important;
    opacity: 0.9;
    font-weight: 400;
    line-height: 1.5;
}

.btn-quote {
    background-color: #DC143C;
    border: none;
    color: white;
    padding: 12px 35px;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 6px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: none;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    display: inline-block;
}

.btn-quote:hover {
    background-color: #ff1e4d;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(220, 20, 60, 0.5);
}

/* Responsive improvements */
@media (max-width: 768px) { .glass-form-container { padding: 25px !important; } }

/* Industry CTA Banner Styles */
.industry-cta-banner {
    background: linear-gradient(90deg, #111111 0%, #1a1a1a 30%, #DC143C 100%) !important;
    padding: 80px 0 !important;
    color: white !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
}

.industry-cta-banner .container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

.industry-cta-banner h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem) !important;
    color: white !important;
    margin-bottom: 1rem !important;
}

.industry-cta-banner p {
    font-size: 1.15rem !important;
    color: rgba(255,255,255,0.9) !important;
    margin-bottom: 2rem !important;
}

.btn-quote {
    background-color: #DC143C !important;
    padding: 14px 40px !important;
    border-radius: 8px !important;
    color: white !important;
    display: inline-block !important;
    text-decoration: none !important;
}

