/* Nav link base color (underline handled via ::after on li.active) */
.corporate-nav .nav-link { color: #2c3e50; }

/* CORPORATE PHARMACEUTICAL EQUIPMENT WEBSITE - EXECUTIVE DESIGN */

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #1a252f;
    background-color: #f8f9fa;
    padding-top: 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a252f;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a252f;
    margin-bottom: 1rem;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #2c5aa0, #4a90e2);
}

.section-subtitle {
    font-size: 1.2rem;
    color: #6c757d;
    margin-bottom: 3rem;
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* CORPORATE EXECUTIVE HEADER */
.corporate-header {
    background: linear-gradient(135deg, #1a252f 0%, #2c3e50 100%);
    box-shadow: 0 4px 30px rgba(0,0,0,0.2);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 3px solid #2c5aa0;
    height: 140px;
}

.corporate-top-bar {
    background: linear-gradient(90deg, #2c5aa0 0%, #1e3d6f 100%);
    color: #ffffff;
    padding: 0.8rem 0;
    font-size: 0.9rem;
    border-bottom: 2px solid #4a90e2;
}

.corporate-info {
    display: flex;
    gap: 2rem;
}

.corporate-info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.corporate-info-item i {
    color: #4a90e2;
    font-size: 0.9rem;
}

.corporate-social {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.corporate-social-label {
    font-size: 0.9rem;
    color: #bdc3c7;
}

.corporate-social-link {
    color: #bdc3c7;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.corporate-social-link:hover {
    color: #4a90e2;
}

/* Corporate Navigation */
.corporate-nav {
    padding: 1rem 0;
    background: #ffffff;
}

.corporate-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

.logo-link:hover {
    text-decoration: none;
    color: inherit;
    opacity: 0.8;
}

.logo-img {
    height: 50px;
    width: auto;
}

.logo-text .company-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a252f;
    margin: 0;
    line-height: 1.2;
}

.logo-text .company-tagline {
    font-size: 0.9rem;
    color: #6c757d;
    margin: 0;
    font-weight: 400;
}

.corporate-navigation {
    display: flex;
    justify-content: flex-end;
}

.corporate-nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

.corporate-nav-menu .nav-item {
    position: relative;
}

.corporate-nav-menu .nav-link {
    color: #2c3e50;
    font-weight: 500;
    text-decoration: none;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
    position: relative;
}

.corporate-nav-menu .nav-item.active .nav-link {
    color: #2c5aa0;
}

/* Disable hover effects for dropdown toggle */
.corporate-nav-menu .nav-item.dropdown .nav-link:hover {
    color: inherit;
    background-color: transparent;
}

.corporate-nav-menu .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2c5aa0;
    transition: width 0.3s ease;
}

.corporate-nav-menu .nav-item.active .nav-link::after {
    width: 100%;
}

/* CORPORATE DROPDOWN - CLEAN START */
.corporate-dropdown {
    position: fixed;
    top: 140px;
    left: 0;
    right: 0;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-radius: 0 0 8px 8px;
    padding: 2rem;
    width: 100vw;
    display: none;
    z-index: 1000;
}

/* ONLY show when JavaScript adds this class - HIGH SPECIFICITY */
.corporate-nav-menu .nav-item.dropdown.show-dropdown .corporate-dropdown {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* COMPLETELY DISABLE HOVER FOR DROPDOWN */
.corporate-nav-menu .nav-item.dropdown:hover .corporate-dropdown {
    display: none !important;
}

/* DESKTOP-SPECIFIC: Force disable all hover effects */
@media (min-width: 769px) {
    .corporate-nav-menu .nav-item.dropdown:hover .corporate-dropdown,
    .corporate-nav-menu .nav-item:hover .corporate-dropdown {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
    
    .corporate-nav-menu .nav-item.dropdown:hover,
    .corporate-nav-menu .nav-item:hover {
        background: none !important;
    }
    
    .corporate-nav-menu .nav-item.dropdown .nav-link:hover,
    .corporate-nav-menu .nav-link:hover {
        background: none !important;
        color: inherit !important;
        transform: none !important;
        transition: none !important;
    }
}


/* Active dropdown styling */
.corporate-nav-menu .nav-item.dropdown.active .nav-link {
    color: #4a90e2;
    background-color: rgba(74, 144, 226, 0.1);
    border-radius: 4px;
}

.dropdown-section {
    margin-bottom: 1.5rem;
    padding: 0 1rem;
    min-height: 200px;
    display: flex;
    flex-direction: column;
}

.dropdown-section:last-child {
    margin-bottom: 0;
}

.dropdown-section h6 {
    color: #2c5aa0;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 0.5rem;
    white-space: nowrap;
    overflow: visible;
}

.dropdown-section a {
    display: block;
    color: #2c3e50;
    text-decoration: none;
    padding: 0.4rem 0;
    font-size: 0.8rem;
    transition: color 0.3s ease;
    line-height: 1.4;
    text-align: left;
    border-bottom: 1px solid transparent;
    white-space: nowrap;
    overflow: visible;
}

.dropdown-section a:hover {
    color: #2c5aa0;
    text-decoration: none;
    border-bottom: 1px solid #2c5aa0;
}


/* CORPORATE EXECUTIVE HERO SECTION */
.corporate-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 140px;
    background: linear-gradient(135deg, #1a252f 0%, #2c3e50 50%, #34495e 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 37, 47, 0.9), rgba(44, 90, 160, 0.8), rgba(52, 73, 94, 0.7));
    z-index: 2;
}

.corporate-hero-content {
    position: relative;
    z-index: 3;
    color: #ffffff;
}


.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    /* Option 1: High contrast white with text shadow */
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    
    /* Option 2: Bright blue for better contrast */
    /* color: #4a90e2; */
    
    /* Option 3: Dark blue for strong contrast */
    /* color: #1a252f; */
    
    /* Option 4: Gradient text effect */
    /* background: linear-gradient(135deg, #4a90e2, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text; */
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
}

.hero-features {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}

.feature-item i {
    color: #4a90e2;
    font-size: 1.2rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.btn-primary {
    background: #2c5aa0;
    border-color: #2c5aa0;
    padding: 0.75rem 2rem;
    font-weight: 500;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #1e3d6f;
    border-color: #1e3d6f;
    transform: translateY(-2px);
}

.btn-outline-light {
    border-color: #ffffff;
    color: #ffffff;
    padding: 0.75rem 2rem;
    font-weight: 500;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: #ffffff;
    color: #2c5aa0;
    transform: translateY(-2px);
}


/* Corporate Products Section */
.corporate-products {
    padding: 5rem 0;
    background: #f8f9fa;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.products-grid {
    margin-bottom: 4rem;
}

.product-category {
    margin-bottom: 3rem;
}

.category-title {
    font-size: 2rem;
    color: #1a252f;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: #2c5aa0;
}

.corporate-product-card {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.corporate-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.product-image {
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.corporate-product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-content {
    padding: 1.5rem;
}

.product-content h4 {
    color: #1a252f;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.product-content p {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.btn-outline-primary {
    border-color: #2c5aa0;
    color: #2c5aa0;
    border-radius: 5px;
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: #2c5aa0;
    border-color: #2c5aa0;
    transform: translateY(-2px);
}

/* Equipment Categories */
.equipment-categories {
    margin-top: 3rem;
}

.equipment-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    height: 100%;
    transition: transform 0.3s ease;
}

.equipment-card:hover {
    transform: translateY(-5px);
}

.equipment-icon {
    margin-bottom: 1.5rem;
}

.equipment-icon img {
    max-height: 80px;
    width: auto;
}

.equipment-card h4 {
    color: #1a252f;
    margin-bottom: 1rem;
}

.equipment-card p {
    color: #6c757d;
    margin-bottom: 1.5rem;
}

/* Corporate About Section */
.corporate-about {
    padding: 5rem 0;
    background: #ffffff;
}

.about-content .lead {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 2rem;
}

.corporate-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

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

.stat-item h3 {
    font-size: 2.5rem;
    color: #2c5aa0;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: #6c757d;
    font-size: 0.9rem;
    margin: 0;
}

.partners-section {
    background: transparent;
    padding: 2rem;
    border-radius: 10px;
}

.partners-section h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: #1a252f;
}

.partners-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

.partner-item {
    transition: transform 0.3s ease;
}

.partner-item:hover {
    transform: scale(1.05);
}

.partner-item img {
    max-height: 80px;
    width: auto;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
    object-fit: contain;
}

.partner-item:hover img {
    filter: grayscale(0%);
}

.partner-item img[src$=".svg"] {
    height: 60px;
    width: auto;
    max-width: 120px;
}

/* Specific styling for new partners */
.partner-item img[alt="Ceia"],
.partner-item img[alt="Mettler Toledo"] {
    max-height: 70px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
}


/* Product Portfolio - Mobile-First Design */
.product-portfolio {
    padding: 4rem 0;
}

.product-section {
    margin-bottom: 3rem;
}

.product-section:last-child {
    margin-bottom: 0;
}

.section-title {
    color: #1a252f;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
}

.section-description {
    color: #6c757d;
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.product-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.product-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-image img[src*="ceia_standalone"] {
    transform: scale(1.8);
    object-position: center center;
}

.product-image img[src*="capsule_polisher_100_window"] {
    transform: scale(1.1);
    object-position: center center;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-card:hover .product-image img[src*="ceia_standalone"] {
    transform: scale(2.0);
}

.product-card:hover .product-image img[src*="capsule_polisher_100_window"] {
    transform: scale(1.2);
}

.product-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-info h4 {
    color: #1a252f;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.product-info p {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.product-info .btn {
    margin-top: auto;
    width: 100%;
    padding: 0.75rem 1rem;
    font-weight: 500;
    border-radius: 8px;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    /* Ensure first section under fixed nav has no gap on mobile */
    header.corporate-header + section.product-hero {
        margin-top: -3rem !important;
        padding-top: 7rem !important;
    }
    .product-portfolio {
        padding: 2rem 0;
    }
    
    .product-section {
        margin-bottom: 2rem;
    }
    
    .product-card {
        margin-bottom: 1.5rem;
    }
    
    .product-image {
        height: 180px;
    }
    
    .product-info {
        padding: 1.25rem;
    }
    
    .product-info h4 {
        font-size: 1.1rem;
    }
    
    .product-info p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .product-info .btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }
    
    .section-description {
        font-size: 1rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }
}

/* Corporate Services Section */
.corporate-services {
    padding: 5rem 0;
    background: #f8f9fa;
}

.service-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    height: 100%;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2c5aa0, #4a90e2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-icon i {
    color: #ffffff;
    font-size: 2rem;
}

.service-card h4 {
    color: #1a252f;
    margin-bottom: 1rem;
}

.service-card p {
    color: #6c757d;
    margin: 0;
}

/* Corporate Contact Section */
.corporate-contact {
    padding: 5rem 0;
    background: #ffffff;
}

.contact-info .lead {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 2rem;
}

.contact-details {
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2c5aa0, #4a90e2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.contact-icon i {
    color: #ffffff;
    font-size: 1.2rem;
}

.contact-content h5 {
    color: #1a252f;
    margin-bottom: 0.5rem;
}

.contact-content p {
    color: #6c757d;
    margin: 0;
}

.contact-form-container {
    background: transparent;
    padding: 2rem;
    border-radius: 10px;
}

.corporate-form .form-control {
    border: 1px solid #dee2e6;
    border-radius: 5px;
    padding: 0.75rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.corporate-form .form-control:focus {
    border-color: #2c5aa0;
    box-shadow: 0 0 0 0.2rem rgba(44, 90, 160, 0.25);
}

.btn-block {
    width: 100%;
}

/* Corporate Map Section */
.corporate-map {
    background: #f8f9fa;
    padding: 2rem 0;
}

.map-container {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.map-wrapper {
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

.map-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #e9ecef;
    border-top: 4px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.map-loading p {
    color: #6c757d;
    font-size: 0.9rem;
    margin: 0;
}

.map-error {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    color: #dc3545;
}

.map-error i {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.map-error p {
    margin: 0;
    text-align: center;
    max-width: 300px;
}

.map-info-window {
    padding: 0.5rem;
}

.map-info-window h5 {
    color: #007bff;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.info-content p {
    margin-bottom: 0.25rem;
    font-size: 0.85rem;
    color: #6c757d;
}

.info-content i {
    color: #007bff;
    margin-right: 0.5rem;
    width: 12px;
}

/* Tablet Deduster Section */
.tablet-deduster-section {
    background: #ffffff;
    padding: 3rem 0;
    margin: 2rem 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

/* Tablet Deduster Gallery */
.tablet-deduster-gallery {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0;
    padding: 1rem 0;
}

.deduster-item {
    flex: 1;
    text-align: center;
}

.deduster-image {
    width: 100%;
    max-width: 200px;
    height: 350px;
    object-fit: cover;
    border-radius: 4px;
}

.deduster-model {
    margin-top: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0;
}

/* Mobile Responsive for Tablet Deduster Gallery */
@media (max-width: 768px) {
    .tablet-deduster-section {
        padding: 2rem 0;
        margin: 1rem 0;
        width: 100vw;
        margin-left: calc(-50vw + 50%);
        margin-right: calc(-50vw + 50%);
    }
    
    .tablet-deduster-gallery {
        flex-wrap: wrap;
        gap: 1.5rem;
        justify-content: center;
    }
    
    .deduster-item {
        flex: 0 0 calc(50% - 0.75rem);
        max-width: calc(50% - 0.75rem);
    }
    
    .deduster-image {
        max-width: 100%;
        height: 300px;
    }
    
    .deduster-model {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .tablet-deduster-section {
        padding: 1.5rem 0;
        margin: 0.5rem 0;
        width: 100vw;
        margin-left: calc(-50vw + 50%);
        margin-right: calc(-50vw + 50%);
    }
    
    .tablet-deduster-gallery {
        flex-direction: column;
        gap: 2rem;
    }
    
    .deduster-item {
        flex: none;
        max-width: 100%;
    }
    
    .deduster-image {
        max-width: 250px;
        height: 320px;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .map-container {
        height: 300px;
        margin: 0 -15px;
        border-radius: 0;
    }
    
    .corporate-map {
        padding: 1rem 0;
    }
}

@media (max-width: 576px) {
    /* Extra small: also fix product hero spacing */
    header.corporate-header + section.product-hero {
        margin-top: -3rem !important;
        padding-top: 7rem !important;
    }
    .map-container {
        height: 250px;
    }
    
    .map-loading p,
    .map-error p {
        font-size: 0.8rem;
        padding: 0 1rem;
    }
}

/* Corporate Footer */
.corporate-footer {
    background: #1a252f;
    color: #ffffff;
    padding: 3rem 0 1rem;
}

.footer-section h5 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-logo-img {
    height: 40px;
    width: auto;
}

.footer-logo-text h5 {
    color: #ffffff;
    margin: 0;
    font-size: 1.2rem;
}

.footer-logo-text p {
    color: #bdc3c7;
    margin: 0;
    font-size: 0.9rem;
}

.footer-usa-logo {
    margin-top: 1rem;
    text-align: left;
}

.usa-logo {
    height: 112px;
    width: auto;
    opacity: 1;
    background: transparent;
    border-radius: 4px;
    max-width: 100%;
}



.footer-section p {
    color: #bdc3c7;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #4a90e2;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.footer-contact i {
    color: #4a90e2;
    width: 20px;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    color: #bdc3c7;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #4a90e2;
}

.footer-divider {
    border-color: #34495e;
    margin: 2rem 0 1rem;
}

.copyright {
    color: #bdc3c7;
    margin: 0;
}

.footer-links-inline {
    display: flex;
    gap: 1rem;
}

.footer-links-inline a {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links-inline a:hover {
    color: #4a90e2;
}

/* Product Pages */
.product-hero {
    background: linear-gradient(135deg, #1a252f 0%, #2c3e50 100%);
    color: #ffffff;
    padding: 8rem 0 4rem;
    margin-top: 140px;
}

.product-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.product-subtitle {
    font-size: 1.2rem;
    color: #bdc3c7;
    margin-bottom: 0;
}

.product-details {
    padding: 5rem 0;
    background: #ffffff;
}

.product-content h2 {
    color: #1a252f;
    margin-bottom: 1.5rem;
}

.product-content .lead {
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 2rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.8rem;
    color: #2c3e50;
}

.feature-list i {
    color: #2c5aa0;
    margin-right: 0.8rem;
    font-size: 1.1rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.feature-list strong {
    white-space: nowrap;
    margin-right: 1rem;
    min-width: 200px;
    flex-shrink: 0;
}

.product-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.accessory-images {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.accessory-image {
    text-align: center;
    background: transparent;
    padding: 0.5rem;
    border-radius: 8px;
    border: none;
    flex: 1;
}

.accessory-image img {
    max-height: 120px;
    width: auto;
    margin-bottom: 0.5rem;
}

.accessory-image h4 {
    font-size: 0.8rem;
    color: #1a252f;
    margin: 0;
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.lightbox-content {
    position: relative;
    margin: auto;
    padding: 0;
    width: 85%;
    height: 85%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close,
.accessory-lightbox-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    background: rgba(0, 0, 0, 0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.lightbox-close:hover,
.lightbox-close:focus,
.accessory-lightbox-close:hover,
.accessory-lightbox-close:focus {
    color: #bbb;
    background: rgba(0, 0, 0, 0.8);
    text-decoration: none;
}

.lightbox-image-container {
    position: relative;
    max-width: 70vw;
    max-height: 60vh;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#lightbox-image,
#accessory-lightbox-image {
    max-width: 60vw;
    max-height: 50vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.lightbox-title {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 1rem;
    text-align: center;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100vw;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 50px;
    pointer-events: none;
    z-index: 10000;
}

.lightbox-prev,
.lightbox-next {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    padding: 10px 14px;
    font-size: 15px;
    cursor: pointer;
    border-radius: 50%;
    pointer-events: all;
    transition: background-color 0.3s ease;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 5px;
}

/* Further scale down on small screens */
@media (max-width: 768px) {
  .lightbox-content { width: 90%; height: 80%; }
  .lightbox-image-container { max-width: 90vw; max-height: 60vh; }
  #lightbox-image, #accessory-lightbox-image { max-width: 85vw; max-height: 55vh; }
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(0, 0, 0, 0.8);
}

.lightbox-prev {
    margin-left: 0;
}

.lightbox-next {
    margin-right: 0;
}

.product-image {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.accessory-image {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.accessory-image:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    background: #2c5aa0;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(44, 90, 160, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-to-top:hover {
    background: #1e3d6f;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(44, 90, 160, 0.4);
}

.scroll-to-top.show {
    display: flex;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 36px;
        height: 36px;
        font-size: 13px;
    }
}

.product-image {
    text-align: center;
    background: transparent;
    padding: 1rem;
    border-radius: 8px;
    border: none;
}

.product-image img {
    max-height: 150px;
    width: auto;
    margin-bottom: 0.5rem;
}

.product-image h4 {
    font-size: 0.9rem;
    color: #1a252f;
    margin: 0;
}

.contact-cta {
    background: #f8f9fa;
    padding: 4rem 0;
    text-align: center;
}

.contact-cta h2 {
    color: #1a252f;
    margin-bottom: 1rem;
}

.contact-cta p {
    color: #6c757d;
    margin-bottom: 2rem;
}

/* News Page */
.news-article {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e9ecef;
}

.news-article:last-child {
    border-bottom: none;
}

.article-meta {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.news-sidebar {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.news-sidebar h3 {
    color: #1a252f;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.news-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.news-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.news-item h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.news-item h4 a {
    color: #2c5aa0;
    text-decoration: none;
}

.news-item h4 a:hover {
    color: #1e3d6f;
}

.news-item p {
    color: #6c757d;
    font-size: 0.9rem;
    margin: 0;
}

/* Mobile Navigation Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #2c5aa0;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle:hover {
    color: #1e3d6f;
    background: #f8f9fa;
    border-color: #2c5aa0;
}

.mobile-menu-toggle:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(44, 90, 160, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Mobile Header Optimization */
    .corporate-header {
        height: auto;
        min-height: auto;
        position: relative;
        overflow: visible;
    }
    
    .corporate-top-bar {
        display: none;
    }
    
    /* Add padding to body to account for fixed navigation */
    body {
        padding-top: 3rem;
    }
    
    
    .corporate-info {
        flex-direction: row;
        gap: 0.5rem;
        text-align: left;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .corporate-info-item {
        font-size: 0.6rem;
        display: inline-block;
        margin-bottom: 0;
        white-space: nowrap;
    }
    
    .corporate-info-item i {
        font-size: 0.5rem;
        margin-right: 0.2rem;
    }
    
    .corporate-social {
        justify-content: center;
        margin-top: 0.3rem;
    }
    
    .corporate-social-label {
        display: none;
    }
    
    .corporate-nav {
        padding: 0.5rem 0;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background: #ffffff;
        min-height: 3rem;
        display: flex;
        align-items: center;
        border-bottom: 1px solid #e9ecef;
        margin-bottom: 0;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }
    
    .corporate-logo {
        flex-direction: row;
        text-align: left;
        margin-bottom: 0;
        align-items: center;
        height: 2rem;
        display: flex;
    }
    
    .col-lg-3 {
        display: flex;
        align-items: center;
        height: 2rem;
    }
    
    .col-lg-9 {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        height: 2rem;
    }
    
    /* Mobile-specific alignment for logo and hamburger */
    @media (max-width: 768px) {
        .corporate-nav .row {
            display: flex;
            align-items: center;
            height: 2rem;
        }
        
        .col-lg-3,
        .col-lg-9 {
            display: flex;
            align-items: center;
            height: 2rem;
        }
        
        .col-lg-9 {
            justify-content: flex-end;
        }
    }
    
    
    .logo-img {
        height: 30px;
    }
    
    .logo-text .company-tagline {
        font-size: 0.7rem;
    }
    
    /* Mobile Menu Toggle */
    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        background: #ffffff;
        border: 1px solid #e9ecef;
        border-radius: 4px;
        padding: 0.2rem 0.4rem;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        font-size: 1rem;
        height: 2rem;
        width: 2rem;
        flex-shrink: 0;
    }
    
    .corporate-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        z-index: 1002;
        padding: 1rem 0;
    }
    
    .corporate-navigation.active {
        display: block;
    }
    
    .corporate-nav-menu {
        flex-direction: column;
        gap: 0;
        text-align: left;
        padding: 0 1rem;
    }
    
    .corporate-nav-menu .nav-item {
        border-bottom: 1px solid #e9ecef;
    }
    
    .corporate-nav-menu .nav-item:last-child {
        border-bottom: none;
    }
    
    .corporate-nav-menu .nav-link {
        padding: 0.8rem 0;
        font-size: 0.9rem;
        display: block;
        width: 100%;
    }
    
    .corporate-dropdown {
        position: static;
        display: none;
        box-shadow: none;
        padding: 0;
        background: #f8f9fa;
        border-radius: 0;
        width: 100%;
        margin-top: 0.5rem;
        top: auto;
        left: auto;
        right: auto;
    }
    
    .corporate-dropdown .container {
        padding: 0;
    }
    
    .corporate-dropdown .row {
        margin: 0;
    }
    
    .corporate-dropdown .col-lg-3,
    .corporate-dropdown .col-md-6 {
        padding: 0;
        margin-bottom: 1rem;
    }
    
    .corporate-nav-menu .nav-item.dropdown.show-dropdown .corporate-dropdown {
        display: block !important;
    }
    
    /* Mobile Hero Section */
    .corporate-hero {
        margin-top: 0;
        min-height: 70vh;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 0.5rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .hero-actions .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    /* Ensure hero content is visible */
    .corporate-hero-content {
        padding-top: 1rem;
        padding-bottom: 2rem;
    }
    
    /* Mobile Content Sections */
    .corporate-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .partners-grid {
        flex-direction: column;
        align-items: center;
    }
    
    /* Mobile Dropdown Optimization */
    .corporate-dropdown {
        position: static;
        display: block;
        box-shadow: none;
        padding: 1rem;
        background: #f8f9fa;
        border-radius: 0;
        min-width: auto;
    }
    
    .dropdown-section {
        margin-bottom: 1rem;
    }
    
    .dropdown-section h6 {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .dropdown-section a {
        font-size: 0.85rem;
        padding: 0.2rem 0;
    }
    
    .footer-links-inline {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    /* Mobile Product Cards */
    .corporate-product-card {
        margin-bottom: 1.5rem;
        min-height: 300px;
        display: flex;
        flex-direction: column;
    }
    
    .product-image {
        height: 180px;
        flex-shrink: 0;
    }
    
    .product-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .product-content {
        padding: 1rem;
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    
    .product-content h4 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .product-content p {
        font-size: 0.9rem;
        line-height: 1.4;
        margin-bottom: 1rem;
    }
    
    .product-content .btn {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
        margin-top: auto;
    }
    
    .products-grid .row {
        margin: 0;
    }
    
    /* Remove all overrides that interfere with Bootstrap grid */
    
    /* Make tablet deduster cards smaller on desktop for 4-column layout - desktop only */
    @media (min-width: 992px) {
        .products-grid .corporate-product-card {
            min-height: 280px;
        }
        
        .products-grid .product-image {
            height: 150px;
        }
        
        .products-grid .product-content {
            padding: 1rem;
        }
        
        .products-grid .product-content h4 {
            font-size: 1rem;
            margin-bottom: 0.5rem;
        }
        
        .products-grid .product-content p {
            font-size: 0.85rem;
            line-height: 1.3;
            margin-bottom: 1rem;
        }
        
        .products-grid .product-content .btn {
            font-size: 0.8rem;
            padding: 0.4rem 0.8rem;
        }
    }
}

@media (max-width: 576px) {
    /* Extra Small Mobile Optimizations */
    .corporate-header {
        height: auto;
    }
    
    .corporate-top-bar {
        padding: 0.3rem 0;
        font-size: 0.7rem;
    }
    
    .corporate-info-item {
        font-size: 0.6rem;
    }
    
    .corporate-nav {
        padding: 0.3rem 0;
    }
    
    .logo-img {
        height: 30px;
    }
    
    .logo-text .company-tagline {
        font-size: 0.7rem;
    }
    
    .corporate-nav-menu .nav-link {
        font-size: 0.8rem;
        padding: 0.2rem 0;
    }
    
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .corporate-dropdown {
        padding: 0.8rem;
    }
    
    .dropdown-section h6 {
        font-size: 0.8rem;
    }
    
    .dropdown-section a {
        font-size: 0.8rem;
    }
    
    .equipment-card,
    .service-card {
        margin-bottom: 3rem;
        margin-top: 1rem;
        padding: 2rem 1.5rem;
        margin-left: 0.5rem;
        margin-right: 0.5rem;
    }
    
    .corporate-services .row {
        margin-left: -0.5rem;
        margin-right: -0.5rem;
        margin-top: 1rem;
        margin-bottom: 1rem;
    }
    
    .corporate-services .col-lg-4,
    .equipment-categories .col-lg-4 {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }
    
    .equipment-categories .row {
        margin-left: -0.5rem;
        margin-right: -0.5rem;
        margin-top: 1rem;
        margin-bottom: 1rem;
    }
    
    /* Disable hover animations on mobile */
    .service-card:hover,
    .equipment-card:hover,
    .corporate-product-card:hover {
        transform: none !important;
    }
    
    .corporate-product-card:hover .product-image img {
        transform: none !important;
    }
    
    .hero-actions .btn {
        font-size: 0.9rem;
        padding: 0.6rem 1rem;
    }
    
    /* Extra Small Mobile Product Cards */
    .corporate-product-card {
        margin-bottom: 1rem;
        min-height: 280px;
    }
    
    .product-image {
        height: 150px;
    }
    
    .product-content {
        padding: 0.8rem;
    }
    
    .product-content h4 {
        font-size: 1rem;
        margin-bottom: 0.4rem;
    }
    
    .product-content p {
        font-size: 0.85rem;
        line-height: 1.3;
        margin-bottom: 0.8rem;
    }
    
    .product-content .btn {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
        margin-top: auto;
    }
    
    /* Remove all overrides that interfere with Bootstrap grid on small mobile too */
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Utility Classes */
.text-primary {
    color: #2c5aa0 !important;
}

.bg-primary {
    background-color: #2c5aa0 !important;
}

.shadow {
    box-shadow: 0 5px 20px rgba(0,0,0,0.1) !important;
}

.rounded {
    border-radius: 10px !important;
}

/* Download Section */
.download-section {
    background: #f8f9fa;
    padding: 3rem 0;
    margin-top: 2rem;
}

.download-section h3 {
    color: #1a252f;
    margin-bottom: 2rem;
    text-align: center;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.download-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.download-card:hover {
    transform: translateY(-5px);
}

.download-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2c5aa0, #4a90e2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.download-icon i {
    color: #ffffff;
    font-size: 2rem;
}

.download-card h4 {
    color: #1a252f;
    margin-bottom: 1rem;
}

.download-card p {
    color: #6c757d;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.download-btn {
    background: #2c5aa0;
    color: #ffffff;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    font-weight: 500;
}

.download-btn:hover {
    background: #1e3d6f;
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-2px);
}

.download-btn i {
    margin-right: 0.5rem;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* FINAL OVERRIDE - NUCLEAR OPTION FOR DROPDOWN */
.corporate-nav-menu .nav-item.dropdown:hover .corporate-dropdown,
.corporate-nav-menu .nav-item:hover .corporate-dropdown,
.corporate-nav-menu .nav-item.dropdown .corporate-dropdown:hover {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
}

.corporate-nav-menu .nav-item.dropdown:hover,
.corporate-nav-menu .nav-item:hover {
    background: none !important;
    color: inherit !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
}

.corporate-nav-menu .nav-item.dropdown .nav-link:hover,
.corporate-nav-menu .nav-link:hover {
    background: none !important;
    color: inherit !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
}

/* FORCE SHOW ONLY WHEN JAVASCRIPT CLASS IS PRESENT */
.corporate-nav-menu .nav-item.dropdown.show-dropdown .corporate-dropdown {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

/* NEW CLASS - PRODUCTS MEGA MENU */
.products-mega-menu {
    position: fixed;
    top: 140px;
    left: 0;
    right: 0;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-radius: 0 0 8px 8px;
    padding: 2rem;
    width: 100vw;
    display: none;
    z-index: 1000;
}

/* IMPROVED DROPDOWN FORMATTING */
.products-mega-menu .row {
    align-items: flex-start;
}

.products-mega-menu .col-lg-3 {
    display: flex;
    flex-direction: column;
    height: 100%;
    flex: 1;
    min-width: fit-content;
}

.products-mega-menu .dropdown-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: fit-content;
    min-width: fit-content;
}

/* DISABLE ALL HOVER FOR NEW CLASS */
.corporate-nav-menu .nav-item.dropdown:hover .products-mega-menu,
.corporate-nav-menu .nav-item:hover .products-mega-menu,
.products-mega-menu:hover {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* DISABLE HOVER FOR REGULAR NAV ITEM TOO */
.corporate-nav-menu .nav-item:hover .products-mega-menu {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* FORCE DISABLE ALL HOVER EFFECTS */
.corporate-nav-menu .nav-item:hover,
.corporate-nav-menu .nav-item .nav-link:hover {
    background: none !important;
    color: inherit !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
}

/* DISABLE ALL TRANSITIONS AND ANIMATIONS */
.products-mega-menu,
.products-mega-menu *,
.corporate-nav-menu .nav-item,
.corporate-nav-menu .nav-item * {
    transition: none !important;
    animation: none !important;
    transform: none !important;
}

/* FORCE SHOW WHEN JAVASCRIPT ADDS CLASS */
.corporate-nav-menu .nav-item.show-dropdown .products-mega-menu {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

/* MOBILE STYLES FOR PRODUCTS MEGA MENU */
@media (max-width: 768px) {
    /* Mobile-friendly products dropdown: full-width, scrollable, large touch targets */
    .products-mega-menu {
        position: fixed !important;
        top: 3rem !important; /* below fixed mobile nav */
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-width: none !important;
        height: calc(100vh - 3rem) !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        box-shadow: 0 12px 24px rgba(0,0,0,0.12) !important;
        border-radius: 0 !important;
        padding: 1rem 1rem 2rem !important;
        background: #ffffff !important;
        margin-top: 0 !important;
        z-index: 2000 !important;
    }

    .products-mega-menu .container {
        padding: 0 .5rem !important;
    }

    .products-mega-menu .row {
        margin: 0 !important;
        display: block !important;
        gap: 0 !important;
    }

    .products-mega-menu .col-lg-3,
    .products-mega-menu .col-md-6 {
        float: none !important;
        padding: 0 !important;
        margin: 0 0 1rem 0 !important;
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .products-mega-menu .dropdown-section {
        margin-bottom: 1.25rem !important;
        padding: 0 !important;
        display: block !important;
    }

    .products-mega-menu .dropdown-section h6 {
        display: block !important;
        font-size: 1.05rem !important;
        margin: 0 0 0.5rem !important;
        color: #2c5aa0 !important;
        font-weight: 600 !important;
        border-bottom: 1px solid #e9ecef !important;
        padding: 0.5rem 0 !important;
        line-height: 1.3 !important;
        clear: both !important;
        float: none !important;
        z-index: 1 !important;
    }

    .products-mega-menu .dropdown-section a {
        display: block !important;
        position: relative !important;
        width: 100% !important;
        color: #1a252f !important;
        text-decoration: none !important;
        padding: 0.9rem 0.5rem !important; /* larger touch target */
        transition: background-color 0.2s ease, color 0.2s ease !important;
        font-size: 1rem !important;
        line-height: 1.4 !important;
        border-bottom: 1px solid #e9ecef !important;
        white-space: normal !important;
        overflow: visible !important;
        clear: both !important;
        float: none !important;
    }

    /* Ensure spacing between the header and the first link in a section */
    .products-mega-menu .dropdown-section h6 + a {
        margin-top: 0.25rem !important;
    }

    .products-mega-menu .dropdown-section a:hover {
        color: #2c5aa0 !important;
        text-decoration: none !important;
        background: #f8f9fa !important;
    }

    .products-mega-menu .dropdown-section a:last-child {
        border-bottom: none !important;
    }

    /* Prevent any legacy floats/positions from causing overlap */
    .products-mega-menu *,
    .products-mega-menu .dropdown-section *,
    .products-mega-menu .row *,
    .products-mega-menu [class*="col-"] * {
        position: relative !important;
    }
}

/* Flat mobile products list */
@media (max-width: 768px) {
    .products-list {
        display: block !important;
    }
    .products-list-item {
        display: block !important;
        width: 100% !important;
        padding: 0.9rem 0.5rem !important;
        font-size: 1rem !important;
        line-height: 1.4 !important;
        color: #1a252f !important;
        text-decoration: none !important;
        border-bottom: 1px solid #e9ecef !important;
    }
    .products-list-item:hover {
        background: #f8f9fa !important;
        color: #2c5aa0 !important;
        text-decoration: none !important;
    }
}

/* 404 ERROR PAGE STYLES */
.error-404-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.error-content {
    text-align: center;
    padding: 3rem 2rem;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
}

.error-icon {
    font-size: 4rem;
    color: #2c5aa0;
    margin-bottom: 2rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.error-title {
    font-size: 6rem;
    font-weight: 700;
    color: #2c5aa0;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.error-subtitle {
    font-size: 2rem;
    font-weight: 600;
    color: #1a252f;
    margin-bottom: 1.5rem;
}

.error-description {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.error-actions {
    margin-bottom: 3rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.error-actions .btn {
    min-width: 150px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.error-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.error-suggestions {
    border-top: 2px solid #e9ecef;
    padding-top: 2rem;
}

.error-suggestions h4 {
    color: #2c5aa0;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.suggestion-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.suggestion-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    text-decoration: none;
    color: #1a252f;
    font-weight: 500;
    transition: all 0.3s ease;
}

.suggestion-link:hover {
    background: #2c5aa0;
    color: #ffffff;
    border-color: #2c5aa0;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(44, 90, 160, 0.3);
    text-decoration: none;
}

.suggestion-link i {
    font-size: 1.2rem;
    color: #2c5aa0;
    transition: color 0.3s ease;
}

.suggestion-link:hover i {
    color: #ffffff;
}

/* Mobile Responsive for 404 Page */
@media (max-width: 768px) {
    .error-404-section {
        padding-top: 150px;
        padding-bottom: 50px;
    }
    
    .error-content {
        padding: 2rem 1rem;
        margin: 0 1rem;
    }
    
    .error-title {
        font-size: 4rem;
    }
    
    .error-subtitle {
        font-size: 1.5rem;
    }
    
    .error-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .error-actions .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .suggestion-links {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .error-title {
        font-size: 3rem;
    }
    
    .error-subtitle {
        font-size: 1.25rem;
    }
    
    .error-description {
        font-size: 1rem;
    }
}
.product-image--contain {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    overflow: visible;
}
.product-image--contain img {
    max-width: 100%;
    max-height: 100%;
    height: auto;
    object-fit: contain;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
}
.feature-list li .feature-content {
  display: flex;
  flex-direction: column;
}
.feature-sublist {
  list-style: disc;
  margin: 0.5rem 0 0 1.8rem;
  padding: 0;
}
.feature-sublist li {
  display: list-item;
  margin-bottom: 0.4rem;
}
