/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Theme Colors */
:root {
    --primary-blue: #28489A;
    --primary-orange: #DB6627;
    --white: #ffffff;
    --light-gray: #f4f4f4;
    --dark-gray: #333;
}

/* Navigation Styles */
.n/* Add white space to top of product overview section on pulser page */
.pulser-page .hero-dual:first-of-type {
    margin-top: 4rem;
}

/* Force Technical Specifications to display horizontally on pulser page */
.pulser-page .specs-container {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 4rem;
}

/* Push down Physical and Electrical specifications by one line */
.pulser-page .spec-category:first-child h3,
.pulser-page .spec-category:last-child h3 {
    margin-top: 3rem;
}

/* Download PDF Button */
.download-pdf-btn {
    position: fixed;
    top: 6rem;
    right: 2rem;
    background: linear-gradient(135deg, var(--primary-orange), #e67e35);
    color: white;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(219, 102, 39, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(-100px);
    pointer-events: none;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.download-pdf-btn.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.download-pdf-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(219, 102, 39, 0.4);
    background: linear-gradient(135deg, #e67e35, var(--primary-orange));
}

.navbar {
    background-color: #ffffff;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1100;
    padding: 0 20px;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 0;
}

.nav-logo .logo {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    margin-left: 2rem;
    position: relative; /* For submenu positioning */
}

.nav-link {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-blue);
}

/* Submenu Styles - Apple-style Horizontal Design */
.submenu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background-color: #ffffff;
    background: #ffffff;
    width: 100vw;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.1);
    border-radius: 0 0 12px 12px;
    list-style: none;
    margin: 0;
    padding: 2rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1000;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

/* Only apply hover effects on devices that support hover (not touch devices) */
@media (hover: hover) and (pointer: fine) {
    .has-submenu:hover .submenu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
    }
}

.submenu-item {
    margin: 0;
    position: relative;
    overflow: hidden;
    flex: 0 1 auto;
}

.submenu-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.5rem;
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: all 0.3s ease;
    background: transparent;
    border-radius: 8px;
    min-width: 120px;
    text-align: center;
    white-space: nowrap;
}

.submenu-link::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(45deg, var(--primary-blue), var(--primary-orange));
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.submenu-link:hover {
    color: var(--primary-blue);
    background: linear-gradient(90deg, rgba(40, 72, 154, 0.05) 0%, rgba(219, 102, 39, 0.05) 100%);
    transform: translateY(-2px);
}

.submenu-link:hover::after {
    width: 80%;
}

/* Unique hover colors for each item - Theme colors only */
.submenu-item:nth-child(1) .submenu-link:hover::after { background: linear-gradient(45deg, var(--primary-blue), var(--primary-orange)); }
.submenu-item:nth-child(2) .submenu-link:hover::after { background: linear-gradient(45deg, var(--primary-orange), var(--primary-blue)); }
.submenu-item:nth-child(3) .submenu-link:hover::after { background: linear-gradient(45deg, var(--primary-blue), var(--primary-orange)); }
.submenu-item:nth-child(4) .submenu-link:hover::after { background: linear-gradient(45deg, var(--primary-orange), var(--primary-blue)); }
.submenu-item:nth-child(5) .submenu-link:hover::after { background: linear-gradient(45deg, var(--primary-blue), var(--primary-orange)); }
.submenu-item:nth-child(6) .submenu-link:hover::after { background: linear-gradient(45deg, var(--primary-orange), var(--primary-blue)); }

/* Hamburger Menu (Mobile) */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1200;
    position: relative;
    padding: 10px;
    margin: -10px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    /* Ensure hamburger is always on top */
    background: transparent;
    border: none;
    outline: none;
}

.bar {
    width: 20px;
    height: 2px;
    background-color: var(--dark-gray);
    margin: 2px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
    pointer-events: none;
}

/* Hamburger Animation */
.hamburger.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Main Hero Section Styles */
.hero-main {
    background-color: var(--primary-blue);
    color: var(--white);
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    overflow: hidden; /* Prevent horizontal overflow */
}

.hero-main:first-of-type {
    height: 100vh; /* Exact screen height */
    max-height: 100vh; /* Prevent overflow */
    margin-top: 0; /* Remove margin for full screen effect */
    padding-top: 80px; /* Account for fixed navbar */
    overflow: hidden; /* Hide any content that exceeds screen height */
}

/* Contact Page Hero Section */
#contact-hero {
    height: 43vh;
    min-height: 43vh;
    max-height: 43vh;
    margin-top: 0;
    padding-top: 80px;
    overflow: hidden;
}

/* Desktop view for contact hero */
@media screen and (min-width: 769px) {
    #contact-hero {
        padding-top: 110px;
    }
}

/* Split Hero Layout for Product 1 */
.hero-split {
    text-align: left;
    padding: 80px 2rem 2rem 2rem;
}

.hero-split-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    height: calc(100vh - 80px); /* Full height minus navbar */
    max-height: calc(100vh - 80px);
}

/* WINC+ section - move text more to center */
#winc-section .hero-split-container {
    grid-template-columns: 1.5fr 1fr; /* Give more space to left column */
}

#winc-section .hero-text-content {
    padding-left: 4rem; /* Move text content to the right */
}

/* Products section - same text positioning as WINC+ */
#products .hero-split-container {
    grid-template-columns: 1.5fr 1fr; /* Give more space to left column */
}

#products .hero-text-content {
    padding-left: 4rem; /* Move text content to the right */
}

.hero-text-content {
    z-index: 2;
}

.hero-text-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: bold;
    text-align: left;
    white-space: nowrap; /* Prevents line breaks */
    overflow: hidden; /* Prevents text overflow */
    color: var(--primary-orange); /* Theme orange color */
}

.hero-text-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    text-align: left;
}

.hero-image-content {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.pulser-image {
    max-width: 67%; /* 2/3 the size */
    height: auto;
    padding-top: 50px;
    transform: translateX(100px);
    opacity: 0;
    animation: slideInFromRight 1.2s ease-out forwards;
    animation-play-state: paused;
}

.winc-image {
    max-width: 67%; /* 2/3 the size */
    height: auto;
    transform: translateX(100px);
    opacity: 0;
    animation: slideInFromRight 1.2s ease-out forwards;
    animation-play-state: paused;
}

@keyframes slideInFromRight {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    background-color: var(--primary-orange);
    color: var(--white);
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    text-decoration: none; /* Remove underline for link styling */
    display: inline-block; /* Maintain button-like appearance */
}

.cta-button:hover {
    background-color: #c55a20;
    transform: translateY(-2px);
}

.ctb-button {
    background-color: white;
    color: #c55a20;
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    text-decoration: none; /* Remove underline for link styling */
    display: inline-block; /* Maintain button-like appearance */
}

.ctb-button:hover {
    background-color: white;
    transform: translateY(-2px);
}

/* Button Group for Hero Section */
.button-group {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.pdf-button {
    background-color: var(--white);
    color: var(--primary-blue);
    border: 2px solid var(--white);
    padding: 15px 30px;
    font-size: 1.1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
}

.pdf-button:hover {
    background-color: var(--light-gray);
    transform: translateY(-2px);
}

/* Dual Column Hero Sections */
.hero-dual {
    min-height: auto; /* Allow content to determine height naturally */
    display: flex;
    align-items: flex-start; /* Changed from center to allow content to expand naturally */
    padding: 2rem 1rem; /* Reduced from 4rem 2rem */
    overflow: visible; /* Allow content to expand */
}

.dual-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem; /* Reduced from 4rem */
    width: 100%;
    min-height: auto; /* Let content determine height */
    align-items: stretch;
}

.dual-column {
    background-color: var(--primary-orange);
    color: var(--white);
    padding: 3rem;
    border-radius: 10px;
    text-align: left; /* Changed from center to left */
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Changed from center to flex-start for top alignment */
    min-height: auto; /* Allow natural height expansion */
    height: auto; /* Ensure height adjusts to content */
    position: relative;
    overflow: visible !important; /* Force visible overflow to show wrapped text */
}

.dual-column:hover {
    transform: translateY(-5px);
}

.product-content {
    overflow: visible !important; /* Ensure content is not clipped */
    height: auto !important; /* Allow natural height expansion */
    max-height: none !important; /* Remove any height limits */
}

.product-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    margin-top: 0; /* Ensure no top margin pushes it down */
    font-weight: bold;
}

.product-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* IsoLink specific text width */
.dual-column:first-child .product-content p {
    width: 66.67%; /* 2/3 of the card width */
    max-width: 66.67%;
}

/* IsoLink Image Animation */
.isolink-image {
    position: absolute;
    top: 4rem;
    right: 1rem;
    max-width: 240px;
    height: auto;
    opacity: 0;
    transform: translateX(100px);
    animation: slideInFromRight 1s ease-out forwards;
    animation-play-state: paused;
    z-index: 10;
}

@keyframes slideInFromRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Animation trigger class */
.animate-in {
    animation-play-state: running !important;
}

/* Pulser Page Specific Styles */
.benefit-list, .feature-list, .application-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Remove background color for dual-column on pulser page */
.pulser-page .dual-column {
    background-color: transparent;
    color: var(--dark-gray);
}

.pulser-page .dual-column h2 {
    color: var(--primary-orange);
    font-size: 1.8rem; /* Reduced from default to fit on one line */
}

.pulser-page .dual-column .benefit-list li,
.pulser-page .dual-column .feature-list li,
.pulser-page .dual-column .application-list li {
    border-bottom: 1px solid rgba(51, 51, 51, 0.1);
    color: var(--dark-gray);
    white-space: normal !important; /* Force text wrapping */
    overflow: visible !important; /* Ensure no text clipping */
    height: auto !important; /* Allow natural height */
    max-height: none !important; /* Remove any height limits */
}

.pulser-page .dual-column .benefit-list strong,
.pulser-page .dual-column .feature-list strong,
.pulser-page .dual-column .application-list strong {
    color: var(--primary-blue);
}


/* Add white space to top of product overview section on pulser page */
.pulser-page .hero-dual:first-of-type {
    margin-top: 2rem;
}

/* Remove bottom padding from product overview section on isolink page (desktop only) */
@media screen and (min-width: 769px) {
    .pulser-page .hero-dual:first-of-type {
        padding-bottom: 0;
    }
    
    /* Remove top and bottom padding from product comparison section on isolink page (desktop only) */
    .pulser-page .hero-dual:nth-of-type(2) {
        padding-top: 0;
        padding-bottom: 0;
    }
    
    /* Remove bottom margin from product-content paragraphs on isolink page (desktop only) */
    .pulser-page .product-content p {
        margin-bottom: 0;
    }
    
    /* Make pulser image 50% larger on desktop (index page) */
    .pulser-image {
        max-width: 100%;
    }
    
    /* TopLink image positioning for desktop */
    .toplink-image {
        max-width: 70% !important;
        width: 70% !important;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-95%, -50%);
        z-index: 5;
    }
    
    /* Ensure dual-column allows overflow for toplink image on desktop */
    .hero-dual:first-of-type .dual-column:last-child {
        overflow: visible !important;
    }
    
    .hero-dual:first-of-type .dual-column:last-child .product-content {
        overflow: visible !important;
    }
}

/* Allow full width text for ConversionLink page on desktop */
@media screen and (min-width: 769px) {
    body.conversionlink-page .hero-dual:first-of-type .dual-column:first-child .product-content p {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* Make first column much wider on ConversionLink page - 75/25 split */
    body.conversionlink-page .hero-dual:first-of-type .dual-container {
        grid-template-columns: 3fr 1fr !important;
    }
    
    /* ConversionLink image styling for desktop */
    .conversionlink-image {
        width: 150% !important;
        max-width: 150% !important;
        margin-top: 80px !important;
    }
}

.benefit-list li, .feature-list li, .application-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.95rem;
    line-height: 1.5;
    white-space: normal; /* Ensure text can wrap naturally */
    word-wrap: break-word; /* Allow long words to wrap */
    overflow: visible; /* Ensure text is not clipped */
}

.benefit-list li:last-child, .feature-list li:last-child, .application-list li:last-child {
    border-bottom: none;
}

.specs-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

/* Improved desktop UI for multiple specification categories */
@media (min-width: 768px) {
    .specs-container:not(:has(.spec-category:only-child)):not(.single-spec-container) {
        max-width: 1000px;
        margin: 2rem auto;
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .specs-container:not(:has(.spec-category:only-child)):not(.single-spec-container) .spec-category {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        padding: 2rem;
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    }

    .specs-container:not(:has(.spec-category:only-child)):not(.single-spec-container) .spec-item {
        background: rgba(255, 255, 255, 0.05);
        border-radius: 8px;
        padding: 1rem;
        margin-bottom: 0.75rem;
        transition: all 0.3s ease;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .specs-container:not(:has(.spec-category:only-child)):not(.single-spec-container) .spec-item:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: translateY(-2px);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    }

    .specs-container:not(:has(.spec-category:only-child)):not(.single-spec-container) .spec-label {
        font-size: 1rem;
        font-weight: 600;
        color: rgba(255, 255, 255, 0.9);
        flex: 1;
    }

    .specs-container:not(:has(.spec-category:only-child)):not(.single-spec-container) .spec-value {
        font-size: 1.1rem;
        font-weight: 700;
        color: var(--primary-orange);
        text-align: right;
        flex: 1;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    }
}

/* Improved desktop UI for single specification category (like IsoLink) */
.specs-container:has(.spec-category:only-child) {
    max-width: 600px;
    margin: 2rem auto;
    grid-template-columns: 1fr;
    justify-items: center;
}

.specs-container:has(.spec-category:only-child) .spec-category {
    width: 100%;
    max-width: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.spec-category h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    border-bottom: 2px solid var(--primary-orange);
    padding-bottom: 0.5rem;
}

.spec-grid {
    display: grid;
    gap: 1rem;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.spec-item:last-child {
    border-bottom: none;
}

/* Enhanced styling for single category specs */
.specs-container:has(.spec-category:only-child) .spec-item {
    padding: 1rem 1.5rem;
    margin: 0.5rem 0;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border-bottom: none;
    transition: all 0.3s ease;
}

.specs-container:has(.spec-category:only-child) .spec-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.spec-label {
    font-weight: 500;
    color: var(--white);
    flex: 0 0 250px;
    text-align: right;
    padding-right: 1rem;
}

.spec-value {
    font-weight: 600;
    color: var(--primary-orange);
}

/* Enhanced styling for single category specs */
.specs-container:has(.spec-category:only-child) .spec-label {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    flex: 1;
}

.specs-container:has(.spec-category:only-child) .spec-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-orange);
    text-align: right;
    flex: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Fallback styles for browsers that don't support :has() */
.single-spec-container {
    max-width: 600px;
    margin: 2rem auto;
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
}

.single-spec-container .spec-category {
    width: 100%;
    max-width: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* Fallback styles for multi-category layouts */
@media (min-width: 768px) {
    .multi-spec-container {
        max-width: 1000px;
        margin: 2rem auto;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .multi-spec-container .spec-category {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        padding: 2rem;
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    }

    .multi-spec-container .spec-item {
        background: rgba(255, 255, 255, 0.05);
        border-radius: 8px;
        padding: 1rem;
        margin-bottom: 0.75rem;
        transition: all 0.3s ease;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .multi-spec-container .spec-item:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: translateY(-2px);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    }

    .multi-spec-container .spec-label {
        font-size: 1rem;
        font-weight: 600;
        color: rgba(255, 255, 255, 0.9);
        flex: 0 0 250px;
        text-align: right;
        padding-right: 1rem;
    }

    .multi-spec-container .spec-value {
        font-size: 1.1rem;
        font-weight: 700;
        color: var(--primary-orange);
        text-align: right;
        flex: 1;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    }
}

.single-spec-container .spec-item {
    padding: 1rem 1.5rem;
    margin: 0.5rem 0;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border-bottom: none;
    transition: all 0.3s ease;
}

.single-spec-container .spec-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.single-spec-container .spec-label {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    flex: 0 0 250px;
    text-align: right;
    padding-right: 1rem;
}

.single-spec-container .spec-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-orange);
    text-align: right;
    flex: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.related-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

.related-card:hover {
    transform: translateY(-5px);
}

.related-card h3 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.related-card p {
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* TopLink specific text width */
.dual-column:last-child .product-content p {
    width: 66.67%; /* 2/3 of the card width */
    max-width: 66.67%;
}

/* TopLink Image Animation */
.toplink-image {
    position: absolute;
    top: 4rem;
    right: 1rem;
    max-width: 240px;
    height: auto;
    opacity: 0;
    transform: translateX(100px);
    animation: slideInFromRight 1s ease-out forwards;
    animation-play-state: paused;
    z-index: 10;
}

/* Second dual-container section styling */
.hero-dual:last-of-type .dual-column:first-child .product-content p {
    width: 66.67%; /* 2/3 of the card width for WINC */
    max-width: 66.67%;
}

.hero-dual:last-of-type .dual-column:last-child .product-content p {
    width: 66.67%; /* 2/3 of the card width for MUDLINK */
    max-width: 66.67%;
}

/* WINC Dual Image Animation */
.winc-dual-image {
    position: absolute;
    top: 4rem;
    right: 1rem;
    max-width: 240px;
    height: auto;
    opacity: 0;
    transform: translateX(100px);
    animation: slideInFromRight 1s ease-out forwards;
    animation-play-state: paused;
    z-index: 10;
}

/* MUDLINK Image Animation */
.mudlink-image {
    position: absolute;
    bottom: 2rem;
    right: 1rem;
    max-width: 240px;
    height: auto;
    opacity: 0;
    transform: translateX(100px);
    animation: slideInFromRight 1s ease-out forwards;
    animation-play-state: paused;
    z-index: 10;
}

.product-button {
    background-color: var(--white);
    color: var(--primary-orange);
    border: none;
    padding: 12px 25px;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    box-sizing: border-box;
}

.product-button:hover {
    background-color: var(--light-gray);
    transform: translateY(-2px);
}

/* Product Button Group for dual columns */
.product-button-group {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* MUDLINK MWD KIT buttons alignment */
.hero-dual:last-of-type .dual-column:last-child .product-button-group {
    justify-content: flex-start; /* Align buttons to the left */
}

.product-pdf-button {
    background-color: var(--primary-blue);
    color: var(--white);
    border: none;
    padding: 12px 25px;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    box-sizing: border-box;
}

.product-pdf-button:hover {
    background-color: #1e3a7a; /* Darker blue on hover */
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background-color: var(--dark-gray);
    color: var(--white);
    text-align: center;
    padding: 2rem;
}

.footer-content p {
    font-size: 0.9rem;
}

.footer-links {
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
}

.social-links a {
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-orange);
}

.social-links a i {
    font-size: 1.2rem;
}

/* ===== MOBILE MENU STYLES ===== */
@media screen and (max-width: 768px) {
    /* Show hamburger on mobile */
    .hamburger {
        display: flex;
        z-index: 1200;
        position: relative;
    }

    /* Hide desktop submenu behavior on mobile */
    .submenu-toggle {
        display: none !important;
    }

    /* Mobile nav menu: full-screen slide-in from right */
    .nav-menu {
        position: fixed;
        top: 70px;
        right: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        background: #ffffff;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 2rem;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 1200;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    /* Prevent background scrolling when menu is open */
    body.menu-open {
        /* Scroll prevention handled in JavaScript */
    }
    
    /* Ensure menu elements can receive events */
    body.menu-open .nav-menu,
    body.menu-open .nav-menu * {
        pointer-events: auto !important;
    }

    /* Nav items take full width, left-aligned */
    .nav-item {
        margin: 0;
        width: 100%;
        text-align: left;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    }
    
    .nav-item:last-child {
        border-bottom: none;
    }

    /* Nav links: large tap targets, left-aligned */
    .nav-link {
        color: var(--dark-gray);
        font-size: 1.25rem;
        font-weight: 600;
        text-decoration: none;
        display: block; /* Full width for better touch target */
        width: 100%;
        padding: 1.25rem 1.5rem;
        transition: all 0.3s ease;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
        cursor: pointer;
    }
    
    .nav-link:active {
        background-color: rgba(0, 0, 0, 0.05);
        color: var(--primary-blue);
    }

    /* Mobile Submenu: simple collapse/expand */
    .submenu {
        display: none !important;
        list-style: none;
        padding: 0.75rem 0 1rem 0;
        margin: 0;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.02) !important;
        /* Override desktop styles */
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        border: none !important;
        flex-direction: column !important;
        gap: 0 !important;
        justify-content: flex-start !important;
        align-items: flex-start !important;
    }

    .has-submenu.active .submenu {
        display: block !important;
    }

    .submenu-item {
        margin: 0;
        width: 100%;
    }

    .submenu-link {
        color: #555;
        font-size: 1.3rem;
        font-weight: 400;
        padding: 1rem 1.5rem 1rem 3rem;
        display: block;
        text-decoration: none;
        transition: all 0.3s ease;
        -webkit-tap-highlight-color: transparent;
        border-left: 3px solid transparent;
    }

    .submenu-link:active {
        color: var(--primary-blue);
        background-color: rgba(0, 0, 0, 0.05);
        border-left-color: var(--primary-blue);
    }

    /* Dropdown indicator for items with submenus */
    .has-submenu > .nav-link::after {
        content: " ▼";
        font-size: 0.65rem;
        margin-left: 0.75rem;
        display: inline-block;
        transition: transform 0.3s ease;
        pointer-events: none; /* Prevent arrow from intercepting clicks */
        opacity: 0.6;
    }

    .has-submenu.active > .nav-link::after {
        transform: rotate(180deg);
    }
    
    /* Highlight active submenu parent */
    .has-submenu.active > .nav-link {
        color: var(--primary-blue);
        background-color: rgba(0, 0, 0, 0.03);
    }

    /* Body scroll lock */
    body.menu-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
        height: 100%;
    }

    /* Pulser page mobile styles */
    .specs-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .spec-category {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        padding: 1.5rem;
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    .spec-category h3 {
        margin-bottom: 1rem;
        font-size: 1.3rem;
        text-align: left;
        border-bottom: 2px solid var(--primary-orange);
        padding-bottom: 0.75rem;
    }

    .related-products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .spec-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
        padding: 1rem;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 8px;
        border-bottom: none;
        margin-bottom: 0.75rem;
    }

    .spec-label {
        font-size: 0.9rem;
        color: rgba(255, 255, 255, 0.8);
        font-weight: 400;
        margin-bottom: 0.25rem;
        flex: none;
        text-align: left;
        padding-right: 0;
    }

    .spec-value {
        font-size: 1rem;
        font-weight: 600;
        color: var(--white);
        background: linear-gradient(45deg, var(--primary-orange), #e67e35);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    /* Override pulser page specific styles for mobile */
    .pulser-page .specs-container {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .pulser-page .spec-category:first-child h3,
    .pulser-page .spec-category:last-child h3 {
        margin-top: 0 !important;
    }

    /* Download PDF button mobile positioning */
    .download-pdf-btn {
        top: 5rem;
        right: 1rem;
        width: auto;
        text-align: center;
        justify-content: center;
        padding: 1rem 1.5rem;
        font-size: 0.9rem;
    }

    /* Mobile hero adjustments */
    .hero-dual {
        padding: 1rem;
    }

    /* Add proper spacing for pulser page mobile */
    .pulser-page .hero-dual:first-of-type {
        margin-top: 3rem;
        padding-top: 2rem;
    }

    .hero-dual .dual-container {
        grid-template-columns: 1fr;
        height: auto;
        min-height: 60vh;
    }

    .dual-column {
        padding: 2rem;
        display: flex;
        flex-direction: column;
        text-align: center;
        min-height: auto;
        background: linear-gradient(135deg, var(--primary-orange), #e67e35);
        border-radius: 12px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
        color: white;
    }

    /* Override mobile dual-column styling for pulser page */
    .pulser-page .dual-column {
        background: transparent;
        color: var(--dark-gray);
        box-shadow: none;
        border-radius: 0;
        text-align: left;
    }

    .pulser-page .dual-column h2 {
        color: var(--primary-orange);
        text-shadow: none;
    }

    .pulser-page .dual-column .benefit-list li,
    .pulser-page .dual-column .feature-list li,
    .pulser-page .dual-column .application-list li {
        color: var(--dark-gray);
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    /* Split Hero Responsive */
    .hero-split-container {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        text-align: center;
        padding: 1rem;
        min-height: auto;
    }

    .hero-text-content {
        order: 1;
        padding: 1rem;
        margin-top: 1rem;
    }

    /* Remove desktop padding for products section on mobile */
    #products .hero-text-content {
        padding-left: 1rem;
        margin-top: 1rem;
    }

    .hero-image-content {
        order: 2;
        display: flex;
        justify-content: center;
        align-items: center;
       
        min-height: 30vh;
    }

    .hero-text-content h1 {
        font-size: 2rem;
        text-align: center;
        white-space: normal;
        overflow: visible;
        color: var(--primary-orange);
        line-height: 1.2;
        margin-bottom: 1rem;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    }

    .hero-text-content h2 {
        font-size: 1.5rem;
        line-height: 1.3;
        margin-bottom: 1rem;
        color: var(--white);
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    }

    .hero-text-content p {
        text-align: center;
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 2rem;
        color: var(--white);
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    }

    .button-group {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        width: 100%;
        margin-top: 2rem;
    }

    .button-group button,
    .button-group .cta-button {
        width: 100%;
        max-width: 280px;
        padding: 15px 20px;
        font-size: 1rem;
        text-align: center;
        border-radius: 8px;
        font-weight: bold;
    }

    .cta-button {
        background: linear-gradient(135deg, var(--primary-orange), #e67e35);
        color: white;
        border: none;
        padding: 12px 25px;
        font-size: 0.9rem;
        border-radius: 8px;
        box-shadow: 0 4px 15px rgba(219, 102, 39, 0.3);
    }

    .cta-button:hover {
        background: linear-gradient(135deg, #e67e35, var(--primary-orange));
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(219, 102, 39, 0.4);
    }

    .pdf-button {
        background: transparent;
        color: var(--primary-orange);
        border: 2px solid var(--primary-orange);
    }

    .pulser-image,
    .isolink-image,
    .toplink-image,
    .conversionlink-image,
    .winc-image,
    .winc-dual-image,
    .mudlink-image {
        max-width: 85% !important;
        width: auto !important;
        height: auto;
        margin: 0 auto;
        filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
        position: static !important;
        transform: none !important;
        opacity: 1 !important;
        animation: none !important;
    }

    /* Mobile hero sections */
    .hero-main {
        min-height: 70vh;
        padding: 1rem;
        display: flex;
        align-items: center;
        padding-top: 5rem;
    }

    .hero-main:first-of-type {
        min-height: 120vh;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
    }

    .hero-split {
        padding: 1rem;
        padding-top: 5rem;
        min-height: 80vh;
    }

    /* Remove top padding for WINC section on mobile */
    #winc-section.hero-split {
        padding-top: 0;
        margin-top: 0;
    }

    /* Center WINC section text content on mobile */
    #winc-section .hero-text-content {
        padding-left: 1rem;
        padding-right: 1rem;
        text-align: center;
    }

    .dual-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        height: auto;
        align-items: stretch;
        padding: 1rem;
    }

    .dual-column {
        padding: 2rem;
        display: flex;
        flex-direction: column;
        text-align: center;
        min-height: auto;
        /* background: linear-gradient(135deg, var(--primary-orange), #e67e35); */
        border-radius: 12px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    }

    /* Override mobile dual-column styling for pulser page */
    .pulser-page .dual-column {
        background-color: transparent;
        color: #000;
        box-shadow: none;
        border-radius: 0;
        text-align: left;
    }

    .pulser-page .dual-column h2 {
        color: var(--primary-orange);
        text-shadow: none;
    }

    .pulser-page .dual-column .product-content p {
        color: #000;
    }

    /* Additional pulser page overrides for small mobile */
    .pulser-page .dual-column .product-content h2 {
        color: var(--primary-orange);
        text-shadow: none;
    }

    .pulser-page .dual-column .benefit-list li,
    .pulser-page .dual-column .feature-list li,
    .pulser-page .dual-column .application-list li {
        color: var(--dark-gray);
    }

    .dual-column .product-content {
        order: 1;
        display: flex;
        flex-direction: column;
        margin-bottom: 0;
    }

    .dual-column .product-content h2 {
        font-size: 1.8rem;
        color: var(--white);
        margin-bottom: 1.5rem;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    }

    .dual-column .product-content p {
        font-size: 1rem;
        line-height: 1.6;
        color: var(--white);
        margin-bottom: 2rem;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
        width: 100%;
        text-align: left;
        padding: 0;
    }

    .dual-column .product-content .product-button-group {
        margin-bottom: 2rem;
    }

    .dual-column img {
        order: 2;
        max-width: 70%;
        height: auto;
        margin: 0 auto;
        display: block;
    }

    .toplink-image {
        max-width: 80% !important;
        width: 80% !important;
        position: static;
        margin: 0 auto;
        display: block;
        transform: none;
        z-index: 10;
    }

    .product-content h2 {
        font-size: 1.8rem;
        color: var(--white);
        margin-bottom: 1rem;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    }

    .product-content p {
        font-size: 1rem;
        line-height: 1.6;
        color: var(--white);
        margin-bottom: 2rem;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
        width: 100%;
        text-align: left;
        padding: 0;
    }

    /* Ensure dual-column product content paragraphs are full width */
    .dual-column .product-content p {
        width: 100%;
        max-width: 100%;
    }

    .dual-column:first-child .product-content p {
        width: 100% !important;
        max-width: 100% !important;
    }

    .dual-column:last-child .product-content p {
        width: 100% !important;
        max-width: 100% !important;
    }

    .product-button-group {
        flex-direction: column;
        gap: 0.8rem;
        align-items: center;
    }

    .product-button-group button {
        width: 100%;
        max-width: 200px;
    }
}

@media screen and (max-width: 480px) {
    .nav-container {
        padding: 0.5rem 1rem;
    }

    .nav-logo .logo {
        height: 35px;
    }

    /* Hero main sections mobile */
    .hero-main {
        height: auto;
        min-height: 60vh;
        padding: 1rem 0.5rem;
        overflow: visible;
    }

    .hero-split-container {
        height: auto;
        min-height: 50vh;
        max-height: none;
    }

    /* Improve mobile spacing */
    .hero-dual {
        padding: 0.5rem;
    }

    /* Add proper spacing for pulser page small mobile */
    .pulser-page .hero-dual:first-of-type {
        margin-top: 3rem;
        padding-top: 1.5rem;
    }

    .hero-main:first-of-type {
        min-height: 110vh;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
    }

    /* Navigation improvements */
    .nav-menu {
        top: 55px;
        padding: 1rem 0;
    }

    .nav-item {
        margin: 0.5rem 0;
    }

    .submenu {
        margin-top: 0.25rem;
        padding: 0.5rem 0;
    }

    .submenu-link {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content h2 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    /* Split Hero Mobile */
    .hero-text-content h1 {
        font-size: 1.6rem;
        white-space: normal;
        overflow: visible;
        color: var(--primary-orange);
        line-height: 1.2;
        margin-bottom: 1rem;
        margin-top: 1rem;
    }

    .hero-text-content h2 {
        font-size: 1.3rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }

    .hero-text-content p {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
    }

    .hero-split {
        padding: 1rem;
        min-height: 70vh;
        padding-top: 4.5rem;
    }

    /* Remove top padding for WINC section on small mobile */
    #winc-section.hero-split {
        padding-top: 0;
        margin-top: 0;
    }

    /* Center WINC section text content on small mobile */
    #winc-section .hero-text-content {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
        text-align: center;
    }

    .hero-split-container {
        gap: 1.5rem;
        padding: 0.5rem;
    }

    /* Dual column improvements for small mobile */
    .dual-container {
        gap: 1.5rem;
        padding: 0.5rem;
    }

    .dual-column {
        padding: 1.5rem;
        min-height: auto;
        background: linear-gradient(135deg, var(--primary-orange), #e67e35);
    }

    /* Override dual-column styling specifically for pulser page */
    .pulser-page .dual-column {
        background: transparent !important;
        color: var(--dark-gray) !important;
        text-align: left !important;
    }

    .dual-column .product-content {
        order: 1;
        display: flex;
        flex-direction: column;
        margin-bottom: 0;
    }

    .dual-column .product-content h2 {
        font-size: 1.5rem;
        color: var(--white);
        margin-bottom: 1rem;
    }

    /* Override product content h2 for pulser page */
    .pulser-page .dual-column .product-content h2 {
        color: var(--primary-orange) !important;
    }

    .dual-column .product-content p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
        color: var(--white);
        width: 100%;
        text-align: left;
        padding: 0;
    }

    /* Override product content p for pulser page */
    .pulser-page .dual-column .product-content p {
        color: var(--dark-gray) !important;
    }

    .dual-column .product-content .product-button-group {
        margin-bottom: 1.5rem;
    }

    .dual-column img {
        order: 2;
        max-width: 75%;
        margin: 0 auto;
    }

    .toplink-image {
        max-width: 250% !important;
        width: 250% !important;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-75%, -50%);
        z-index: 5;
    }

    .product-content h2 {
        font-size: 1.5rem;
        color: var(--white);
    }

    /* Override general product-content h2 for pulser page */
    .pulser-page .product-content h2 {
        color: var(--primary-orange) !important;
    }

    .product-content p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
        color: var(--white);
        width: 100%;
        text-align: left;
        padding: 0;
    }

    /* Override general product-content p for pulser page */
    .pulser-page .product-content p {
        color: var(--dark-gray) !important;
    }

    /* Ensure dual-column product content paragraphs are full width */
    .dual-column .product-content p {
        width: 100%;
        max-width: 100%;
    }

    .dual-column:first-child .product-content p {
        width: 100% !important;
        max-width: 100% !important;
    }

    .dual-column:last-child .product-content p {
        width: 100% !important;
        max-width: 100% !important;
    }

    .pulser-image,
    .isolink-image,
    .toplink-image,
    .winc-image,
    .winc-dual-image,
    .mudlink-image {
        max-width: 100%;
        margin-top: 0;
        display: block;
        position: static !important;
        transform: none !important;
        opacity: 1 !important;
        animation: none !important;
    }

    /* Button improvements */
    .button-group button,
    .button-group .cta-button,
    .product-button-group button {
        font-size: 0.9rem;
        padding: 12px 20px;
        max-width: 250px;
    }

    .product-button-group {
        flex-direction: column;
        gap: 0.8rem;
        width: 100%;
        margin-top: 1rem;
    }

    .cta-button {
        padding: 12px 25px;
        font-size: 0.9rem;
    }

    /* Additional mobile fixes for pulser page */
    .pulser-page .download-pdf-btn {
        top: 4.5rem;
        right: 1rem;
        width: auto;
        padding: 0.8rem 1.2rem;
        font-size: 0.8rem;
    }

    /* Mobile navigation fixes */
    .nav-menu {
        top: 60px;
    }

    /* Mobile button groups */
    .button-group button,
    .product-button-group button {
        font-size: 0.9rem;
        padding: 12px 20px;
    }

    /* Mobile dual column layout */
    .dual-container {
        height: auto;
        min-height: 50vh;
    }

    .dual-column {
        padding: 1rem;
        min-height: 25vh;
    }

    /* Mobile specifications */
    .spec-category {
        padding: 1rem;
        margin-bottom: 1rem;
    }

    .spec-category h3 {
        font-size: 1.2rem;
        text-align: left;
        margin-bottom: 0.75rem;
        padding-bottom: 0.5rem;
    }

    .spec-item {
        padding: 0.75rem;
        margin-bottom: 0.5rem;
    }

    .spec-label {
        font-size: 0.85rem;
    }

    .spec-value {
        font-size: 0.95rem;
        font-weight: 600;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .pdf-button {
        background: linear-gradient(135deg, var(--primary-orange), #e67e35);
        color: white;
        border: 2px solid var(--primary-orange);
        padding: 12px 25px;
        font-size: 1rem;
        border-radius: 8px;
        box-shadow: 0 4px 15px rgba(219, 102, 39, 0.3);
    }

    .pdf-button:hover {
        background: linear-gradient(135deg, #e67e35, var(--primary-orange));
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(219, 102, 39, 0.4);
    }

    .button-group {
        flex-direction: column;
        gap: 0.8rem;
        width: 100%;
        max-width: 100%;
    }

    .button-group button {
        width: 100%;
        max-width: 250px;
    }

    .dual-column {
        padding: .5rem;
    }

    .product-content h2 {
        font-size: 1.8rem;
    }

    .product-content p {
        font-size: 1rem;
    }

    .product-button-group {
        flex-direction: column;
        gap: 0.6rem;
        width: 100%;
    }

    .product-button-group button {
        width: 100%;
        max-width: 180px;
        font-size: 0.9rem;
        padding: 10px 20px;
    }

    /* Ensure product images display properly on very small screens */
    .pulser-image,
    .isolink-image,
    .toplink-image,
    .conversionlink-image,
    .winc-image,
    .winc-dual-image,
    .mudlink-image {
        max-width: 95% !important;
        width: auto !important;
        height: auto;
        margin: 0 auto;
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
        position: static !important;
        transform: none !important;
        opacity: 1 !important;
        animation: none !important;
    }
}

/* Mobile footer adjustments */
@media screen and (max-width: 480px) {
    .social-links {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .footer-links {
        margin-bottom: 0.5rem;
    }
}

/* ===== CONTACT PAGE STYLES ===== */

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 80vh;
}

/* Region Selection */
.region-selection {
    text-align: center;
    margin-bottom: 60px;
    padding: 40px 20px;
    scroll-margin-top: 80px; /* Ensures proper spacing from navbar when scrolling */
}

.region-selection h2 {
    color: #28489A;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.region-selection p {
    color: #64748b;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.region-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.region-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    color: #475569;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    text-decoration: none;
    outline: none;
}

.region-btn:hover {
    border-color: #28489A;
    color: #28489A;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 72, 154, 0.15);
}

.region-btn.active {
    background: #28489A;
    border-color: #28489A;
    color: white;
    box-shadow: 0 4px 12px rgba(40, 72, 154, 0.25);
}

.region-btn img {
    width: 24px;
    height: auto;
    border-radius: 2px;
}

.region-btn i {
    font-size: 1.2rem;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Contact Form */
.contact-form-container {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.contact-form-container h2 {
    color: #28489A;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group.half-width {
    flex: 1;
    margin-bottom: 0;
}

.form-group label {
    display: block;
    color: #374151;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s ease;
    background: #fafafa;
    outline: none;
    scroll-margin-top: 100px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #28489A;
    background: white;
    box-shadow: 0 0 0 3px rgba(40, 72, 154, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #28489A 0%, #1e3a8a 100%);
    color: white;
    border: none;
    padding: 16px 24px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    outline: none;
    text-decoration: none;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(40, 72, 154, 0.25);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Office Information */
.office-info-container {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.office-info-container h2 {
    color: #28489A;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
}

.office-info {
    display: none;
}

.office-info.active {
    display: block;
}

.office-info h3 {
    color: #DB6627;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f1f5f9;
}

.office-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.office-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 4px solid #28489A;
}

.office-item i {
    color: #28489A;
    font-size: 1.2rem;
    margin-top: 2px;
    min-width: 20px;
}

.office-item strong {
    color: #374151;
    font-weight: 600;
}

.office-item div {
    line-height: 1.6;
    color: #475569;
}

/* Tablet Responsive Design (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .spec-label {
        flex: none;
        text-align: left;
        padding-right: 0.5rem;
        width: auto;
    }
    
    .spec-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .spec-value {
        text-align: left;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-section {
        padding: 60px 0;
    }

    .region-selection {
        padding: 30px 15px;
        margin-bottom: 40px;
        scroll-margin-top: 70px; /* Adjust for mobile navbar height */
    }

    .region-selection h2 {
        font-size: 2rem;
        text-align: center;
    }

    .region-buttons {
        flex-direction: column;
        align-items: center;
        max-width: 300px;
        margin: 0 auto;
    }

    .region-btn {
        width: 100%;
        justify-content: center;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 20px;
    }

    .contact-form-container,
    .office-info-container {
        padding: 30px 20px;
    }

    .contact-form-container h2,
    .office-info-container h2 {
        font-size: 1.5rem;
        text-align: center;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .form-group.half-width {
        margin-bottom: 25px;
    }

    .office-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .office-item i {
        align-self: center;
    }

    .office-item > div {
        text-align: center;
        width: 100%;
    }

    .office-info h3 {
        text-align: center;
    }
}

/* Form highlight animation */
@keyframes formHighlight {
    0% {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }
    50% {
        box-shadow: 0 10px 30px rgba(40, 72, 154, 0.3);
        transform: scale(1.02);
    }
    100% {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transform: scale(1);
    }
}

/* Region selection highlight animation */
@keyframes regionHighlight {
    0% {
        transform: scale(1);
        background: transparent;
    }
    50% {
        transform: scale(1.02);
        background: rgba(40, 72, 154, 0.05);
        border-radius: 16px;
    }
    100% {
        transform: scale(1);
        background: transparent;
    }
}

/* ===== ABOUT PAGE STYLES ===== */

/* Container for about page */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Leadership Section */
.leadership-section {
    padding: 120px 0 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 80vh;
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    color: #28489A;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.section-subtitle {
    color: #DB6627;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 25px;
}

.section-description {
    color: #64748b;
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
}

/* Leadership Grid */
.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.leader-card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    display: flex !important;
    flex-direction: column !important;
    gap: 20px;
    align-items: flex-start;
    width: 100%;
    box-sizing: border-box;
}

.leader-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(40, 72, 154, 0.15);
}

.leader-header {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    width: 100%;
    flex-shrink: 0;
    gap: 15px;
}

.leader-name-row {
    display: grid;
    grid-template-columns: auto auto;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

.leader-image {
    flex-shrink: 0;
}

.leader-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #28489A 0%, #1e3a8a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: 0 8px 20px rgba(40, 72, 154, 0.25);
    padding: 20px;
}

.leader-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.leader-info {
    text-align: center;
    width: 100%;
}

.leader-name {
    color: #28489A;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0;
    text-align: left;
}

.leader-name-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.engineering-designation {
    font-size: 0.85rem;
    font-weight: 500;
    color: #64748b;
    margin: 0;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.5px;
    background: none;
    background-color: transparent;
}

.leader-title {
    color: #DB6627;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0;
    text-align: center;
}

.leader-description {
    color: #475569;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    width: 100%;
}.leader-expertise {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.expertise-tag {
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    color: #475569;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid #e2e8f0;
}

/* Values Section */
.values-section {
    margin-top: 80px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.value-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(40, 72, 154, 0.15);
}

.value-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #28489A 0%, #1e3a8a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    color: white;
    font-size: 1.8rem;
}

.value-card h3 {
    color: #28489A;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.value-card p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Responsive Design for About Page */
@media (max-width: 768px) {
    .leadership-section {
        padding: 120px 0 60px 0;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .section-subtitle {
        font-size: 1.1rem;
    }

    .section-description {
        font-size: 1rem;
        padding: 0 20px;
    }

    .leadership-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 15px;
    }

    .leader-card {
        flex-direction: column;
        text-align: left;
        padding: 30px 25px;
        gap: 20px;
        align-items: flex-start;
    }

    .leader-header {
        display: flex;
        gap: 20px;
        align-items: flex-start;
        width: 100%;
    }

    .leader-image {
        margin-top: 8px;
    }

    .leader-avatar {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin: 0;
        flex-shrink: 0;
    }

    .leader-info {
        flex: 1;
        width: 100%;
    }

    .leader-name {
        font-size: 1.5rem;
    }

    .leader-title {
        font-size: 1rem;
        margin-bottom: 0;
    }

    .leader-description {
        width: 100%;
        margin-top: 0;
        margin-bottom: 0;
    }

    .leader-expertise {
        justify-content: flex-start;
    }

    .values-section {
        margin-top: 60px;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 15px;
    }

    .value-card {
        padding: 25px 20px;
    }

    .value-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

/* Body scroll lock for mobile menu */
body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
    -webkit-overflow-scrolling: touch;
}

/* Prevent unwanted scroll-to-top behavior on iOS */
body {
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

/* Fix iOS Safari scroll issues */
* {
    -webkit-tap-highlight-color: transparent;
}

/* Only apply tap highlight removal to interactive elements, not the whole page */
button, a, [role="button"] {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

/* Ensure normal page content allows scrolling */
main, section, article, div:not(.nav-menu):not(.hamburger) {
    touch-action: auto;
}

/* iPhone specific viewport fixes */
@supports (-webkit-touch-callout: none) {
    body.menu-open {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
    }
    
    .nav-menu {
        /* Fix for iPhone Safari viewport units */
        height: 100vh;
        height: -webkit-fill-available;
    }
    
    .nav-menu.active {
        /* Additional iPhone Safari fixes - no transform needed */
    }
}

/* Performance Chart Styling */
.comparison-graph {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 1.5rem 0;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.performance-chart {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.performance-chart:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.chart-placeholder {
    text-align: center;
    padding: 3rem 1rem;
    color: rgba(255, 255, 255, 0.8);
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
}

.chart-placeholder p {
    margin: 0.5rem 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.placeholder-text {
    font-size: 0.9rem !important;
    font-weight: 400 !important;
    color: rgba(255, 255, 255, 0.6) !important;
}

/* Pulser-specific specs styling for 3-column desktop layout */
@media (min-width: 1024px) {
    .pulser-specs-container {
        max-width: 1200px;
        margin: 2rem auto;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    .pulser-specs-container .spec-category {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        padding: 1.5rem;
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    }

    .pulser-specs-container .spec-item {
        background: rgba(255, 255, 255, 0.05);
        border-radius: 8px;
        padding: 0.75rem;
        margin-bottom: 0.5rem;
        transition: all 0.3s ease;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .pulser-specs-container .spec-item:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: translateY(-2px);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    }

    .pulser-specs-container .spec-label {
        font-size: 0.9rem;
        font-weight: 600;
        color: rgba(255, 255, 255, 0.9);
        flex: 0 0 250px;
        text-align: right;
        padding-right: 1rem;
    }

    .pulser-specs-container .spec-value {
        font-size: 1rem;
        font-weight: 700;
        color: var(--primary-orange);
        text-align: right;
        flex: 1;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    }
}

/* Tablet layout - 2 columns */
@media (min-width: 768px) and (max-width: 1023px) {
    .pulser-specs-container {
        max-width: 800px;
        margin: 2rem auto;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .pulser-specs-container .spec-category {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        padding: 1.5rem;
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    }

    .pulser-specs-container .spec-category:nth-child(3) {
        grid-column: 1 / -1;
        max-width: 400px;
        margin: 0 auto;
    }
}

/* Mobile layout - single column (default behavior) */
@media (max-width: 767px) {
    .pulser-specs-container {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 2rem;
    }
}
