/* CSS Variables */
:root {
    --white: #ffffff;
    --primary-blue: #00294F;
    --accent-orange: #F3921F;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.top-container {
    max-width: 1200px;
    margin: 0;
    padding: 0;
}

/* Header Container */
.header-container {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Top Contact Bar */
.top-contact-bar {
    background-color: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    padding: 12px 0;
    font-size: 14px;
    height: 50px;
    display: flex;
    align-items: center;
    width: 60%;
    margin-left: 435px;
}

.contact-info {
    display: flex;
    justify-content: flex-end;
    gap: 25px;
    align-items: center;
    margin-left: 0;
    height: 100%;
}

.contact-info span {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #F3921F;
    font-weight: 400;
    white-space: nowrap;
    font-size: 14px;
    height: 100%;
}

.contact-info i {
    color: #F3921F;
    font-size: 14px;
    width: 16px;
    text-align: center;
}

/* Main Header */
.main-header {
    background-color: #ffffff;
    padding: 12px 0;
    height: 60px;
    display: flex;
    align-items: center;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    width: 100%;
    overflow: visible;
}

/* Logo - Perfect height alignment */
.logo {
    display: flex;
    align-items: center;
    height: 110px;
    /* Combined height of both header sections */
    justify-content: center;
    position: relative;
    top: -10px;
    /* Adjust to center with both sections */
    overflow: visible;
    min-width: 0;
}

.logo-image {
    max-height: 250px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    overflow: visible;
}

/* Legacy logo styles (kept for footer if needed) */
.logo-main {
    background-color: #00294F;
    color: white;
    padding: 12px 20px;
    font-size: 22px;
    font-weight: bold;
    letter-spacing: 1.5px;
    text-align: center;
    min-width: 180px;
    font-family: 'Arial', sans-serif;
    text-transform: uppercase;
    border: 1px solid #00294F;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-sub {
    background-color: #F3921F;
    color: white;
    padding: 6px 20px;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.5px;
    font-family: 'Arial', sans-serif;
    text-transform: uppercase;
    border-radius: 0 0 3px 3px;
    border: 1px solid #F3921F;
    border-top: none;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Main Navigation */
.main-navigation {
    flex: 1;
    margin: 0 80px;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 15px;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    white-space: nowrap;
    height: 100%;
}

.nav-list a {
    text-decoration: none;
    color: #00294F;
    font-weight: 500;
    font-size: 13px;
    transition: color 0.3s ease;
    font-family: 'Arial', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    white-space: nowrap;
    padding: 2px 0;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-list a:hover {
    color: #F3921F;
}

.nav-list a.active {
    color: #F3921F;
    font-weight: 600;
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
}

.dropdown>a {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown>a i {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.dropdown:hover>a i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 250px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;
    padding: 10px 0;
    margin: 0;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    position: relative;
}

.dropdown-menu li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    color: #00294F;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-menu li:last-child a {
    border-bottom: none;
}

.dropdown-menu li a:hover {
    background-color: #f8f9fa;
    color: #F3921F;
    padding-left: 25px;
}

.dropdown-menu li a i {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.dropdown-submenu:hover>a i {
    transform: rotate(90deg);
}

/* Prevent clicking on parent dropdown categories */
.dropdown-submenu > a {
    pointer-events: none;
    cursor: default;
}

/* Submenu Styles */
.submenu {
    position: absolute;
    top: 0;
    left: 100%;
    background: white;
    min-width: 200px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    list-style: none;
    padding: 10px 0;
    margin: 0;
}

.dropdown-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.submenu li a {
    display: block;
    padding: 10px 20px;
    color: #00294F;
    text-decoration: none;
    font-size: 12px;
    font-weight: 400;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
}

.submenu li:last-child a {
    border-bottom: none;
}

.submenu li a:hover {
    background-color: #f8f9fa;
    color: #F3921F;
    padding-left: 25px;
}

/* Quick Quote Button - Orange as in image */
.quick-quote-btn {
    background-color: #F3921F;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 3px;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s ease;
    text-transform: none;
    letter-spacing: 0.3px;
    font-family: 'Arial', sans-serif;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    min-width: 100px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quick-quote-btn:hover {
    background-color: #e0851a;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(243, 146, 31, 0.3);
}

/* Hero Section with Carousel */
.hero-section {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(2px);
    z-index: 1;
}

/* Background images for different slides */
.slide-bg {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><defs><linearGradient id="bg1" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%234a90e2;stop-opacity:1" /><stop offset="100%" style="stop-color:%232c5aa0;stop-opacity:1" /></linearGradient></defs><rect width="1200" height="800" fill="url(%23bg1)"/><circle cx="200" cy="200" r="80" fill="rgba(255,255,255,0.1)"/><circle cx="1000" cy="600" r="120" fill="rgba(255,255,255,0.05)"/><rect x="300" y="300" width="200" height="200" fill="rgba(255,255,255,0.08)" transform="rotate(45 400 400)"/></svg>');
}

.slide-bg-2 {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><defs><linearGradient id="bg2" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%23667eea;stop-opacity:1" /><stop offset="100%" style="stop-color:%23764ba2;stop-opacity:1" /></linearGradient></defs><rect width="1200" height="800" fill="url(%23bg2)"/><polygon points="100,100 300,100 200,300" fill="rgba(255,255,255,0.1)"/><polygon points="900,500 1100,500 1000,700" fill="rgba(255,255,255,0.05)"/></svg>');
}

.slide-bg-3 {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><defs><linearGradient id="bg3" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%23f093fb;stop-opacity:1" /><stop offset="100%" style="stop-color:%23f5576c;stop-opacity:1" /></linearGradient></defs><rect width="1200" height="800" fill="url(%23bg3)"/><ellipse cx="300" cy="200" rx="100" ry="60" fill="rgba(255,255,255,0.1)"/><ellipse cx="900" cy="600" rx="150" ry="80" fill="rgba(255,255,255,0.05)"/></svg>');
}

.slide-bg-4 {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><defs><linearGradient id="bg4" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%234facfe;stop-opacity:1" /><stop offset="100%" style="stop-color:%2300f2fe;stop-opacity:1" /></linearGradient></defs><rect width="1200" height="800" fill="url(%23bg4)"/><rect x="200" y="150" width="150" height="150" fill="rgba(255,255,255,0.1)" transform="rotate(30 275 225)"/><rect x="800" y="500" width="200" height="100" fill="rgba(255,255,255,0.05)" transform="rotate(-20 900 550)"/></svg>');
}

.slide-bg-5 {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><defs><linearGradient id="bg5" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%23a8edea;stop-opacity:1" /><stop offset="100%" style="stop-color:%23fed6e3;stop-opacity:1" /></linearGradient></defs><rect width="1200" height="800" fill="url(%23bg5)"/><path d="M100,200 Q200,100 300,200 T500,200" stroke="rgba(255,255,255,0.1)" stroke-width="4" fill="none"/><path d="M700,500 Q800,400 900,500 T1100,500" stroke="rgba(255,255,255,0.05)" stroke-width="6" fill="none"/></svg>');
}

.slide-bg-6 {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><defs><linearGradient id="bg6" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%23ffecd2;stop-opacity:1" /><stop offset="100%" style="stop-color:%23fcb69f;stop-opacity:1" /></linearGradient></defs><rect width="1200" height="800" fill="url(%23bg6)"/><circle cx="250" cy="250" r="50" fill="rgba(255,255,255,0.1)"/><circle cx="950" cy="550" r="80" fill="rgba(255,255,255,0.05)"/><rect x="400" y="300" width="100" height="100" fill="rgba(255,255,255,0.08)" transform="rotate(60 450 350)"/></svg>');
}

.slide-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0 80px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Hero Title - Exact match from image */
.hero-title {
    font-size: 72px;
    font-weight: bold;
    line-height: 1.1;
    margin-bottom: 30px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.title-line1 {
    color: #ff6600;
    display: block;
}

.title-line2 {
    color: #007bff;
    display: block;
}

.hero-description {
    font-size: 20px;
    line-height: 1.6;
    color: white;
    max-width: 600px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    font-weight: 400;
}

/* Carousel Indicators - Exact match from image */
.carousel-indicators {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 3;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.indicator.active {
    background-color: #ff6600;
    border-color: white;
    transform: scale(1.2);
}

.indicator:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

/* Modal Styles */
.modal-overlay {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #ffffff;
    margin: 3% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    padding: 25px 30px;
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
}

.close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 32px;
    cursor: pointer;
    transition: opacity 0.3s ease;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn:hover {
    opacity: 0.7;
}

.quote-form {
    padding: 40px 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 15px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.submit-btn {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: #00294F;
    padding: 10px;
    transition: color 0.3s ease;
}

.mobile-menu-toggle:hover {
    color: #F3921F;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        padding: 0 15px;
    }

    .nav-list {
        gap: 20px;
    }

    .nav-list a {
        font-size: 12px;
    }
}

@media (max-width: 1024px) {
    .nav-list {
        gap: 18px;
    }

    .nav-list a {
        font-size: 11px;
    }

    .hero-title {
        font-size: 60px;
    }

    .hero-description {
        font-size: 18px;
    }

    .slide-content {
        padding: 0 40px;
    }

    .logo-main {
        font-size: 22px;
        min-width: 180px;
    }
}

@media (max-width: 900px) {
    .main-navigation {
        margin: 0 30px;
    }

    .nav-list {
        gap: 15px;
    }

    .nav-list a {
        font-size: 10px;
    }
}

@media (max-width: 768px) {
    .footer-logo-image {
        max-height: 140px;
        width: auto;
        height: auto;
    }

    .top-contact-bar {
        height: auto;
        padding: 8px 0;
        margin-left: 60px;
    }

    .contact-info {
        flex-direction: column;
        gap: 6px;
        text-align: center;
        font-size: 12px;
        justify-content: center;
        height: auto;
        margin-left: 0;
        padding: 0 15px;
    }

    .contact-info span {
        font-size: 12px;
        gap: 4px;
        height: auto;
    }

    .main-header {
        height: auto;
        padding: 8px 0;
        position: relative;
    }

    .header-content {
        flex-direction: row;
        gap: 10px;
        padding: 8px 15px;
        justify-content: space-between;
        align-items: center;
        height: auto;
        flex-wrap: nowrap;
        overflow: visible;
    }

    .logo {
        align-items: center;
        width: auto;
        margin: 0;
        height: auto;
        position: static;
        top: 0;
        flex-shrink: 0;
        overflow: visible;
        padding-right: 5px;
    }

    .logo-image {
        max-height: 140px;
        width: auto;
        height: auto;
    }

    .logo-main {
        font-size: 18px;
        min-width: 140px;
        padding: 8px 12px;
        height: 45px;
    }

    .logo-sub {
        font-size: 10px;
        padding: 4px 12px;
        height: 25px;
    }

    .main-navigation {
        margin: 0;
        width: 100%;
        order: 4;
        height: auto;
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        display: none;
        padding: 0;
    }

    .main-navigation.active {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
        justify-content: center;
        display: flex;
        background: white;
        box-shadow: none;
        padding: 15px;
        border-radius: 0;
        margin-top: 0;
        height: auto;
        width: 100%;
    }

    .nav-list a {
        font-size: 13px;
        padding: 6px 0;
        border-bottom: 1px solid #f0f0f0;
        height: auto;
    }

    .nav-list a:last-child {
        border-bottom: none;
    }

    /* Mobile Dropdown Styles */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: #f8f9fa;
        margin: 5px 0;
        border-radius: 4px;
    }

    .dropdown-menu li a {
        padding: 8px 15px;
        font-size: 12px;
        border-bottom: 1px solid #e9ecef;
    }

    .submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: #e9ecef;
        margin: 5px 0;
        border-radius: 4px;
    }

    .submenu li a {
        padding: 6px 25px;
        font-size: 11px;
    }

    .quick-quote-btn {
        order: 2;
        margin-left: auto;
        font-size: 12px;
        padding: 8px 16px;
        min-width: 90px;
        height: 35px;
        display: flex !important;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        margin-right: 10px;
    }

    .mobile-menu-toggle {
        display: flex !important;
        order: 3;
        font-size: 20px;
        padding: 8px;
        cursor: pointer;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        background: transparent;
        border: none;
        color: #00294F;
    }

    .hero-title {
        font-size: 48px;
    }

    .hero-description {
        font-size: 16px;
    }

    .slide-content {
        padding: 0 20px;
        text-align: center;
    }

    .modal-content {
        margin: 5% auto;
        width: 95%;
    }

    .quote-form {
        padding: 30px 20px;
    }
}

@media (max-width: 600px) {
    .contact-info {
        font-size: 11px;
        gap: 6px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .contact-info span {
        gap: 4px;
        font-size: 11px;
    }

    .header-content {
        gap: 8px;
        padding: 6px 0;
    }

    .logo-image {
        max-height: 120px;
    }

    .footer-logo-image {
        max-height: 120px;
    }

    .logo-main {
        font-size: 16px;
        min-width: 120px;
        padding: 6px 10px;
    }

    .logo-sub {
        font-size: 9px;
        padding: 3px 10px;
    }

    .nav-list a {
        font-size: 12px;
        padding: 4px 0;
    }

    .quick-quote-btn {
        font-size: 11px;
        padding: 8px 16px;
        min-width: 85px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-description {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-description {
        font-size: 12px;
    }

    .logo-image {
        max-height: 100px;
    }

    .footer-logo-image {
        max-height: 100px;
    }

    .logo-main {
        font-size: 16px;
        min-width: 120px;
        padding: 8px 12px;
    }

    .logo-sub {
        font-size: 9px;
        padding: 3px 12px;
    }

    .quote-form {
        padding: 20px 15px;
    }

    .contact-info {
        font-size: 10px;
    }

    .quick-quote-btn {
        font-size: 10px;
        padding: 8px 16px;
        min-width: 90px;
    }
}

@media (max-width: 360px) {
    .hero-title {
        font-size: 24px;
    }

    .hero-description {
        font-size: 11px;
    }

    .logo-main {
        font-size: 14px;
        min-width: 100px;
    }

    .logo-sub {
        font-size: 8px;
    }
}

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

/* Loading animations */
.slide-content {
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Focus styles for accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

/* Main Footer Styles */
.main-footer {
    background: #00294f;
    color: white;
    padding: 40px 0 20px;
    position: relative;
}

.footer-logo-section {
    text-align: center;
    margin-bottom: 30px;
}

.footer-logo {
    display: inline-block;
}

.footer-logo-image {
    max-height: 250px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Legacy footer logo styles (kept for backward compatibility) */
.footer-logo .logo-main {
    background: #00294F;
    color: white;
    padding: 12px 20px;
    font-size: 24px;
    font-weight: bold;
    margin: 0;
    border: 2px solid white;
}

.footer-logo .logo-sub {
    background: #F3921F;
    color: white;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: bold;
    margin: 0;
    display: block;
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-column a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #F3921F;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: #F3921F;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.social-icon:hover {
    background: #e07a00;
}

.footer-separator {
    height: 1px;
    background: #4a6b8a;
    margin: 0 0 20px 0;
    width: 100%;
}

.footer-copyright {
    text-align: center;
}

.footer-copyright p {
    color: white;
    font-size: 14px;
    margin: 0;
}

.delimp-logo {
    font-weight: bold;
    color: #F3921F;
}

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-to-top:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

/* Products Hero Section */
.products-hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    /* justify-content: center; */
    overflow: hidden;
}

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

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
    color: white;
    max-width: calc(1360px + (100% - 1330px)/ 2);
    right: 0;
    padding-left: 480px;
}

.hero-content h1 {
    font-size: clamp(40px, 5vw, 70px);
    line-height: 1.1;
    color: var(--white);
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    text-align: left;
    width: 100%;
    display: block;
    margin: 0 auto;
    padding-top: 20px;
    font-size: 24px;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    line-height: 1.4;
}

.hero-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.indicator-dot {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
    color: #00294F;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Stock Material Full Width Banner */
.stock-material-banner {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.banner-image-wrapper {
    position: relative;
    width: 100%;
    height: 60vh;
    min-height: 400px;
    max-height: 600px;
    overflow: hidden;
}

.banner-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.banner-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.5);
    padding: 40px 60px;
    border-radius: 8px;
    text-align: center;
    min-width: 300px;
    backdrop-filter: blur(2px);
}

.banner-title {
    font-size: clamp(36px, 5vw, 72px);
    font-weight: bold;
    color: #F3921F;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.1;
}

.banner-subtitle {
    font-size: clamp(18px, 2.5vw, 32px);
    color: white;
    margin: 10px 0 0 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Responsive Stock Material Banner */
@media (max-width: 768px) {
    .banner-image-wrapper {
        height: 50vh;
        min-height: 300px;
    }
    
    .banner-overlay {
        padding: 30px 40px;
        min-width: 250px;
    }
    
    .banner-title {
        font-size: 32px;
        letter-spacing: 1px;
    }
    
    .banner-subtitle {
        font-size: 16px;
        margin-top: 8px;
    }
}

@media (max-width: 480px) {
    .banner-image-wrapper {
        height: 40vh;
        min-height: 250px;
    }
    
    .banner-overlay {
        padding: 20px 30px;
        min-width: 200px;
    }
    
    .banner-title {
        font-size: 24px;
    }
    
    .banner-subtitle {
        font-size: 14px;
    }
}

/* Stock Material Section */
.stock-material-section {
    padding: 80px 0;
    background: white;
}

.stock-material-container {
    background: #ECF2F9;
    border-radius: 20px;
    padding: 60px;
    max-width: 1400px;
    margin: 0 auto;
}

.stock-material-title {
    font-size: 42px;
    color: #00294F;
    font-weight: bold;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
    width: 100%;
}

.stock-material-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: #F3921F;
    border-radius: 2px;
}

.stock-material-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.astm-section {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.astm-heading {
    font-size: 22px;
    color: #00294F;
    font-weight: bold;
    margin-bottom: 8px;
    line-height: 1.4;
}

.astm-materials {
    font-weight: normal;
    font-size: 20px;
}

.class-item {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-left: 30px;
    margin-bottom: 2px;
    line-height: 1.3;
}

.class-heading {
    font-size: 18px;
    color: #00294F;
    font-weight: bold;
    margin: 0;
    flex-shrink: 0;
    display: inline;
}

.class-materials {
    font-size: 16px;
    color: #2e58ab;
    font-weight: normal;
    margin: 0;
    line-height: 1.3;
    display: inline;
    flex: 1;
}

.additional-materials {
    margin-top: 40px;
}

.material-item {
    margin-bottom: 2px;
    line-height: 1.3;
}

.material-spec {
    font-size: 16px;
    color: #2e58ab;
    font-weight: normal;
    margin: 0;
    line-height: 1.3;
}

.en-section {
    margin-top: 40px;
}

.en-section .astm-heading {
    margin-bottom: 8px;
}

.en-section .material-item {
    margin-left: 0;
}
.for-margin {
    margin-left: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Responsive Stock Material Section */
@media (max-width: 768px) {
    .stock-material-section {
        padding: 60px 0;
    }
    
    .stock-material-container {
        padding: 40px 30px;
        border-radius: 15px;
    }
    
    .stock-material-title {
        font-size: 32px;
        margin-bottom: 40px;
    }
    
    .stock-material-content {
        gap: 25px;
    }
    
    .astm-heading {
        font-size: 20px;
        margin-bottom: 6px;
    }
    
    .astm-materials {
        font-size: 18px;
    }
    
    .class-item {
        margin-left: 20px;
        gap: 6px;
        margin-bottom: 2px;
    }
    
    .class-heading {
        font-size: 16px;
    }
    
    .class-materials {
        font-size: 14px;
    }
    
    .additional-materials {
        margin-top: 30px;
    }
    
    .en-section {
        margin-top: 30px;
    }
    
    .material-spec {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .stock-material-section {
        padding: 40px 0;
    }
    
    .stock-material-container {
        padding: 30px 20px;
        border-radius: 12px;
    }
    
    .stock-material-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    
    .stock-material-content {
        gap: 20px;
    }
    
    .astm-section {
        gap: 0;
    }
    
    .astm-heading {
        font-size: 18px;
        margin-bottom: 5px;
    }
    
    .astm-materials {
        font-size: 16px;
    }
    
    .class-item {
        margin-left: 15px;
        gap: 5px;
        margin-bottom: 2px;
    }
    
    .class-heading {
        font-size: 15px;
    }
    
    .class-materials {
        font-size: 14px;
    }
    
    .additional-materials {
        margin-top: 25px;
    }
    
    .en-section {
        margin-top: 25px;
    }
    
    .material-spec {
        font-size: 14px;
    }
}

/* Fasteners Section */
.fasteners-section {
    padding: 80px 0;
    background: white;
}

.fasteners-container {
    background: #ECF2F9;
    border-radius: 20px;
    padding: 60px;
    max-width: 1400px;
    margin: 0 auto;
}

.fasteners-header {
    margin-bottom: 60px;
}

.fasteners-header h2 {
    font-size: 42px;
    color: #00294F;
    font-weight: bold;
    position: relative;
    display: inline-block;
}

.fasteners-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: #F3921F;
    border-radius: 2px;
}

/* Heat Exchanger Gaskets Configuration - Inside Stock Material Banner */
.stock-material-banner .heat-exchanger-container {
    max-width: 1400px;
    margin: 60px auto 0;
    padding: 0 20px;
    text-align: center;
}

.stock-material-banner .heat-exchanger-container img {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.heat-exchanger-image {
    width: 100%;
}
/* Responsive Heat Exchanger */
@media (max-width: 768px) {
    .stock-material-banner .heat-exchanger-container {
        margin-top: 40px;
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .stock-material-banner .heat-exchanger-container {
        margin-top: 30px;
        padding: 0 10px;
    }
}

/* Sealing Gaskets Section */
.gaskets-section {
    padding: 80px 0;
    background: white;
}

.gaskets-container {
    background: #ECF2F9;
    border-radius: 20px;
    padding: 60px;
    max-width: 1400px;
    margin: 0 auto;
}

.gaskets-header {
    margin-bottom: 60px;
}

.gaskets-header h2 {
    font-size: 42px;
    color: #00294F;
    font-weight: bold;
    position: relative;
    display: inline-block;
}

.gaskets-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: #F3921F;
    border-radius: 2px;
}

/* Gasket Category Headers (Soft Iron Gasket, Graphite, Rubber) */
.gasket-category-header {
    margin: 60px 0 40px 0;
}

.gasket-category-header h3 {
    font-size: 32px;
    color: #00294F;
    font-weight: bold;
    position: relative;
    display: inline-block;
    margin: 0;
}

.gasket-category-header h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: #F3921F;
    border-radius: 2px;
}

.types-section {
    margin-top: 30px;
}

.types-section h5 {
    font-size: 18px;
    color: #00294F;
    font-weight: bold;
    margin-bottom: 20px;
}

.type-item {
    margin-bottom: 20px;
}

.type-item p {
    font-size: 16px;
    color: #2e58ab;
    line-height: 1.6;
    margin: 0;
}

.type-item strong {
    color: #00294F;
    font-weight: bold;
}

.product-subsection {
    margin-bottom: 80px;
    border-radius: 12px;
    overflow: hidden;
}

.subsection-content {
    display: grid;
    grid-template-columns: 520px 1fr; /* smaller image column like reference */
    column-gap: 40px;
    align-items: stretch; /* make both columns equal height */
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 360px; /* smaller image height */
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    background: #fff;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* centered title at bottom over the image */
.image-overlay {
    position: absolute;
    left: 50%;
    bottom: 8px;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 6px 14px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 18px;
    letter-spacing: 0.2px;
    white-space: nowrap;
}

.product-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-details h4 {
    font-size: 20px;
    color: #00294F;
    margin-bottom: 20px;
    font-weight: bold;
    position: relative;
    display: inline-block;
}

.product-details h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: #F3921F;
    border-radius: 2px;
}

.product-details p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
}

.view-more-btn {
    background: #F3921F;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    align-self: flex-start;
    margin-bottom: 30px;
}

.view-more-btn:hover {
    background: #e07a00;
}

.product-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.product-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px;
    border-radius: 6px;
    text-decoration: none;
    color: #0606e5e3 !important;
    text-decoration: underline;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.product-link:hover {
    background: #e9ecef;
}

.product-link i {
    color: #dc3545;
    font-size: 16px;
}

/* Products with image on right - alternating layout */
.product-subsection[data-product="Hex Bolts"] .subsection-content,
.product-subsection[data-product="Collar Bolts"] .subsection-content,
.product-subsection[data-product="Socket Cap Screw"] .subsection-content,
.product-subsection[data-product="Anchor / J / L Bolts"] .subsection-content,
.product-subsection[data-product="Hex Plugs"] .subsection-content,
.product-subsection[data-product="Ring Joint Gasket"] .subsection-content,
.product-subsection[data-product="Insulation Kit"] .subsection-content,
.product-subsection[data-product="Modified PTFE"] .subsection-content,
.product-subsection[data-product="Pure Graphite"] .subsection-content,
.product-subsection[data-product="Neoprene"] .subsection-content {
    grid-template-columns: 1fr 520px;
}

.product-subsection[data-product="Hex Bolts"] .product-image,
.product-subsection[data-product="Collar Bolts"] .product-image,
.product-subsection[data-product="Socket Cap Screw"] .product-image,
.product-subsection[data-product="Anchor / J / L Bolts"] .product-image,
.product-subsection[data-product="Hex Plugs"] .product-image,
.product-subsection[data-product="Ring Joint Gasket"] .product-image,
.product-subsection[data-product="Insulation Kit"] .product-image,
.product-subsection[data-product="Modified PTFE"] .product-image,
.product-subsection[data-product="Pure Graphite"] .product-image,
.product-subsection[data-product="Neoprene"] .product-image {
    order: 2;
}

.product-subsection[data-product="Hex Bolts"] .product-details,
.product-subsection[data-product="Collar Bolts"] .product-details,
.product-subsection[data-product="Socket Cap Screw"] .product-details,
.product-subsection[data-product="Anchor / J / L Bolts"] .product-details,
.product-subsection[data-product="Hex Plugs"] .product-details,
.product-subsection[data-product="Ring Joint Gasket"] .product-details,
.product-subsection[data-product="Insulation Kit"] .product-details,
.product-subsection[data-product="Modified PTFE"] .product-details,
.product-subsection[data-product="Pure Graphite"] .product-details,
.product-subsection[data-product="Neoprene"] .product-details {
    order: 1;
}

/* Responsive Design for Fasteners */
@media (max-width: 768px) {
    .fasteners-section {
        padding: 60px 0;
    }
    
    .fasteners-container {
        padding: 40px 20px;
        border-radius: 15px;
    }
    
    .fasteners-header h2 {
        font-size: 32px;
    }
    
    .subsection-content {
        grid-template-columns: 1fr;
        min-height: auto;
        column-gap: 0;
    }
    
    .product-image {
        height: 260px;
        order: 1;
        border-radius: 12px;
    }
    
    .product-details {
        padding: 20px 0;
        order: 2;
        height: auto;
    }
    
    .product-details h4 {
        font-size: 24px;
    }
    
    .product-details p {
        font-size: 14px;
    }
    
    /* Reset order for mobile - all images come first */
    .product-subsection[data-product="Hex Bolts"] .product-image,
    .product-subsection[data-product="Collar Bolts"] .product-image,
    .product-subsection[data-product="Socket Cap Screw"] .product-image,
    .product-subsection[data-product="Anchor / J / L Bolts"] .product-image,
    .product-subsection[data-product="Hex Plugs"] .product-image,
    .product-subsection[data-product="Ring Joint Gasket"] .product-image,
    .product-subsection[data-product="Insulation Kit"] .product-image,
    .product-subsection[data-product="Modified PTFE"] .product-image,
    .product-subsection[data-product="Pure Graphite"] .product-image,
    .product-subsection[data-product="Neoprene"] .product-image {
        order: 1;
    }
    
    .product-subsection[data-product="Hex Bolts"] .product-details,
    .product-subsection[data-product="Collar Bolts"] .product-details,
    .product-subsection[data-product="Socket Cap Screw"] .product-details,
    .product-subsection[data-product="Anchor / J / L Bolts"] .product-details,
    .product-subsection[data-product="Hex Plugs"] .product-details,
    .product-subsection[data-product="Ring Joint Gasket"] .product-details,
    .product-subsection[data-product="Insulation Kit"] .product-details,
    .product-subsection[data-product="Modified PTFE"] .product-details,
    .product-subsection[data-product="Pure Graphite"] .product-details,
    .product-subsection[data-product="Neoprene"] .product-details {
        order: 2;
    }
    
    .gaskets-section {
        padding: 60px 0;
    }
    
    .gaskets-container {
        padding: 40px 20px;
        border-radius: 15px;
    }
    
    .gaskets-header h2 {
        font-size: 32px;
    }
    
    .gasket-category-header {
        margin: 50px 0 30px 0;
    }
    
    .gasket-category-header h3 {
        font-size: 28px;
    }
    
    .product-subsection[data-product="Ring Joint Gasket"] .product-image {
        order: 1;
    }
    
    .product-subsection[data-product="Ring Joint Gasket"] .product-details {
        order: 2;
    }
    
    .types-section h5 {
        font-size: 16px;
    }
    
    .type-item {
        margin-bottom: 15px;
    }
    
    .type-item p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .fasteners-section {
        padding: 40px 0;
    }
    
    .fasteners-container {
        padding: 30px 15px;
        border-radius: 12px;
    }
    
    .fasteners-header {
        margin-bottom: 40px;
    }
    
    .fasteners-header h2 {
        font-size: 28px;
    }
    
    .product-details {
        padding: 20px;
    }
    
    .product-details h4 {
        font-size: 20px;
    }
    
    .view-more-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .product-link {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .gaskets-section {
        padding: 40px 0;
    }
    
    .gaskets-container {
        padding: 30px 15px;
        border-radius: 12px;
    }
    
    .gaskets-header {
        margin-bottom: 40px;
    }
    
    .gaskets-header h2 {
        font-size: 28px;
    }
    
    .gasket-category-header {
        margin: 40px 0 25px 0;
    }
    
    .gasket-category-header h3 {
        font-size: 24px;
    }
    
    .types-section {
        margin-top: 20px;
    }
    
    .types-section h5 {
        font-size: 15px;
        margin-bottom: 15px;
    }
    
    .type-item {
        margin-bottom: 12px;
    }
    
    .type-item p {
        font-size: 13px;
    }
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 42px;
    color: #00294F;
    margin-bottom: 15px;
    font-weight: bold;
    position: relative;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #F3921F;
    border-radius: 2px;
}

.section-header p {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.products-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
}

.product-category {
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.category-header {
    background: linear-gradient(135deg, #00294F, #1a4a7a);
    color: white;
    padding: 30px;
    text-align: center;
}

.category-header h3 {
    font-size: 28px;
    margin-bottom: 10px;
    font-weight: bold;
}

.category-header p {
    font-size: 16px;
    opacity: 0.9;
    line-height: 1.5;
}

.product-list {
    padding: 30px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.product-item {
    padding: 20px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    background: white;
}

.product-item:hover {
    border-color: #F3921F;
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(243, 146, 31, 0.2);
}

.product-item h4 {
    font-size: 18px;
    color: #00294F;
    margin-bottom: 8px;
    font-weight: 600;
}

.product-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* Fasteners Category Specific Styling */
.product-category:first-child .category-header {
    background: linear-gradient(135deg, #00294F, #1a4a7a);
}

.product-category:first-child .product-item:hover {
    border-color: #00294F;
    box-shadow: 0 5px 15px rgba(0, 41, 79, 0.2);
}

/* Sealing Gaskets Category Specific Styling */
.product-category:last-child .category-header {
    background: linear-gradient(135deg, #F3921F, #ffa726);
}

.product-category:last-child .product-item:hover {
    border-color: #F3921F;
    box-shadow: 0 5px 15px rgba(243, 146, 31, 0.2);
}

/* Responsive Design for Products Page */
@media (max-width: 1200px) {
    .products-grid {
        gap: 40px;
    }
    
    .product-list {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .products-hero {
        height: 80vh;
    }
    
    .hero-content {
        padding-left: 50px;
        max-width: calc(100% - 50px);
    }
    
    .hero-content h1 {
        font-size: clamp(32px, 4vw, 48px);
    }
    
    .hero-content p {
        font-size: 18px;
        width: 80%;
    }
    
    .products-section {
        padding: 60px 0;
    }
    
    .section-header h2 {
        font-size: 32px;
    }
    
    .section-header p {
        font-size: 16px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .category-header {
        padding: 25px;
    }
    
    .category-header h3 {
        font-size: 24px;
    }
    
    .product-list {
        padding: 20px;
        gap: 15px;
    }
    
    .product-item {
        padding: 15px;
    }
    
    .product-item h4 {
        font-size: 16px;
    }
    
    .product-item p {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .products-hero {
        height: 70vh;
    }
    
    .hero-content {
        padding-left: 30px;
        max-width: calc(100% - 30px);
    }
    
    .hero-content h1 {
        font-size: clamp(28px, 3vw, 36px);
    }
    
    .hero-content p {
        font-size: 16px;
        width: 85%;
    }
    
    .products-section {
        padding: 40px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .category-header {
        padding: 20px;
    }
    
    .category-header h3 {
        font-size: 20px;
    }
    
    .product-list {
        padding: 15px;
    }
    
    .product-item {
        padding: 12px;
    }
}

/* Product Highlight Effect */
.highlight-product {
    background: linear-gradient(135deg, #F3921F, #ffa726) !important;
    color: white !important;
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(243, 146, 31, 0.4);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.highlight-product h4 {
    color: white !important;
}

.highlight-product p {
    color: rgba(255, 255, 255, 0.9) !important;
}

.second-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: #e6e6fa;
    border-radius: 15px;
}

/* About Us Page Styles */
.about-hero-image {
    width: 100%;
    height: 50vh;
    display: block;
    overflow: hidden;
    position: relative;
}

.about-hero-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: fill;
    object-position: center;
}

.about-hero {
    text-align: center;
    padding: 60px 0 40px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* Global Solutions Section */
.global-solutions-section {
    padding: 25px 20px;
}

.section-title {
    display: inline-block;
    line-height: 1.3;
    padding: 0px;
    font-size: clamp(25px, 3vw, 40px);
    font-weight: 700;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    margin-bottom: 15px;
}

.section-title h2 {
    font-size: 36px;
    color: #002d56 !important;
    margin-bottom: 10px;
    font-weight: bold;
    border-bottom: 5px solid #F3921F;
    padding-bottom: 5px;
    display: inline-block;
    margin-left: 0;
}

.section-title h3 {
    font-size: 24px;
    color: #F3921F;
    margin-bottom: 0;
    font-weight: 600;
}

.solutions-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}

.company-story {
    margin-bottom: 20px;
}

.company-story h4 {
    font-size: 18px;
    color: #2e58ab;
    margin-bottom: 15px;
    font-weight: bold;
    text-transform: uppercase;
}

.company-story p {
    font-size: 15px;
    color: #2e58ab;
    margin-bottom: 15px;
    text-align: justify;
    line-height: 1.6;
}

.approvals h4 {
    font-size: 18px;
    color: #2e58ab;
    margin-bottom: 20px;
    font-weight: bold;
    text-transform: uppercase;
}

.approvals-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.approval-item {
    font-size: 16px;
    color: #2e58ab;
    padding: 10px 0;
    border-bottom: 1px solid #e9ecef;
}

.solutions-image {
    height: 450px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.solutions-image img {
    width: 65%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.image-overlay {
    top: 300px;
    padding: 20px;
    border-radius: 8px;
    max-width: 220px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.image-overlay h3 {
    color: white;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
    text-align: center;
}

/* Vision Mission Section */
.vision-mission-section {
    background: white;
    padding: 80px 0;
}

.about-hero h1 {
    font-size: 48px;
    font-weight: bold;
    color: #00294F;
    margin-bottom: 20px;
    line-height: 1.2;
}

.about-hero p {
    font-size: 18px;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    font-style: italic;
}

.about-main-content {
    padding: 60px 0;
}

.about-intro h2 {
    font-size: 36px;
    color: #00294F;
    margin-bottom: 10px;
    font-weight: bold;
}

.about-intro h3 {
    font-size: 24px;
    color: #F3921F;
    margin-bottom: 30px;
    font-weight: 600;
}

.about-intro p {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 20px;
    text-align: justify;
}

.vision-mission {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 25px;
    padding: 0;
}

.vision,
.mission {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.vision h3,
.mission h3 {
    font-size: 20px;
    color: #2e58ab;
    margin-bottom: 15px;
    font-weight: bold;
    border-bottom: 3px solid #F3921F;
    padding-bottom: 10px;
    display: inline-block;
}

.vision p,
.mission p {
    font-size: 14px;
    line-height: 1.6;
    color: #2e58ab;
}

/* Quality Control Page Styles */
.quality-hero-banner {
    width: 100%;
    height: 88vh;
    display: block;
    overflow: hidden;
    position: relative;
}

.quality-hero-banner img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: fill;
    object-position: center;
}

.quality-hero-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
}

.quality-hero-overlay h1 {
    font-size: 45px;
    font-weight: 900;
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    margin: 0;
}

.quality-control-section {
    padding: 80px 0;
    background: white;
}

/* Quality Categories Wrapper - White background, contains centered colored section */
.quality-categories-wrapper {
    background: white;
    padding: 60px 20px;
    display: flex;
    justify-content: center;
}

/* Quality Categories Container - Centered section with light blue background */
.quality-categories-container {
    max-width: 1400px;
    width: 100%;
    background: #ECF2F9;
    padding: 60px 40px;
    border-radius: 12px;
}

/* Quality Category Items - No separate white cards, continuous list */
.quality-category-item {
    margin-bottom: 60px;
    padding: 0;
}

.quality-category-content {
    display: grid;
    grid-template-columns: 500px 1fr;
    gap: 60px;
    align-items: start;
}

/* Reversed layout for Testing section (content left, images right) */
.quality-content-left {
    grid-template-columns: 1fr 500px;
}

.quality-content-left .quality-category-details {
    order: 1;
}

.quality-content-left .quality-images-column {
    order: 2;
}

/* Images Column - Two images stacked */
.quality-images-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.quality-image-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    width: 100%;
    height: 300px;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.quality-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.quality-category-details {
    display: flex;
    flex-direction: column;
}

.quality-category-details h4 {
    font-size: 24px;
    color: #00294F;
    font-weight: bold;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
    padding-bottom: 8px;
}

.quality-category-details h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: #F3921F;
    border-radius: 2px;
}

.quality-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.quality-list li {
    font-size: 16px;
    color: #333;
    line-height: 1.8;
    margin-bottom: 12px;
    padding-left: 30px;
    position: relative;
}

.quality-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background: #00294F;
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
    transform: rotate(45deg);
}

.quality-downloads {
    margin-top: 60px;
    padding: 0;
}

.quality-downloads h4 {
    font-size: 24px;
    color: #00294F;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.quality-downloads h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: #F3921F;
    border-radius: 2px;
}

.downloads-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.download-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px 20px;
    background: #F3921F;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    min-height: 100px;
}

.download-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(243, 146, 31, 0.3);
    background: #e8820f;
}

.download-title {
    font-size: 16px;
    font-weight: 600;
    color: white;
    margin-bottom: 8px;
    line-height: 1.3;
    display: block;
}

.download-item .download-text {
    font-size: 14px;
    color: white;
    font-weight: 500;
    display: block;
}

/* Responsive Quality Control */
@media (max-width: 768px) {
    .quality-hero-banner {
        height: 60vh;
    }

    .quality-hero-overlay h1 {
        font-size: 28px;
    }

    .quality-control-section {
        padding: 60px 0;
    }

    .quality-categories-wrapper {
        padding: 50px 0;
    }

    .quality-categories-container {
        padding: 0 15px;
    }

    .quality-category-item {
        margin-bottom: 50px;
    }

    .quality-category-content {
        grid-template-columns: 1fr !important;
        gap: 30px;
    }

    .quality-content-left .quality-category-details,
    .quality-content-left .quality-images-column {
        order: unset !important;
    }

    .quality-images-column {
        order: 1;
    }

    .quality-category-details {
        order: 2;
    }

    .quality-image-item {
        height: 250px;
    }

    .quality-category-details h4 {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .quality-list li {
        font-size: 15px;
        margin-bottom: 10px;
        padding-left: 25px;
    }

    .quality-downloads {
        margin-top: 50px;
    }

    .quality-downloads h4 {
        font-size: 20px;
        margin-bottom: 25px;
    }

    .downloads-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .download-item {
        padding: 20px 15px;
        min-height: 90px;
    }

    .download-title {
        font-size: 15px;
    }

    .download-item .download-text {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .quality-hero-banner {
        height: 50vh;
    }

    .quality-hero-overlay h1 {
        font-size: 24px;
    }

    .quality-control-section {
        padding: 40px 0;
    }

    .quality-categories-wrapper {
        padding: 40px 0;
    }

    .quality-categories-container {
        padding: 0 10px;
    }

    .quality-category-item {
        margin-bottom: 40px;
    }

    .quality-category-content {
        grid-template-columns: 1fr !important;
        gap: 25px;
    }

    .quality-images-column {
        gap: 15px;
    }

    .quality-image-item {
        height: 200px;
        border-radius: 8px;
    }

    .quality-category-details h4 {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .quality-list li {
        font-size: 14px;
        margin-bottom: 8px;
        padding-left: 22px;
        line-height: 1.6;
    }

    .quality-list li::before {
        width: 6px;
        height: 6px;
        top: 6px;
    }

    .quality-downloads {
        margin-top: 40px;
    }

    .quality-downloads h4 {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .downloads-grid {
        grid-template-columns: 1fr;
    }

    .download-item {
        padding: 20px 15px;
        min-height: 85px;
    }

    .download-title {
        font-size: 14px;
    }

    .download-item .download-text {
        font-size: 12px;
    }
}

/* Material Grades Page */
.material-grades-hero-banner {
    width: 100%;
    height: 100vh;
    display: block;
    overflow: hidden;
    position: relative;
}

.material-grades-hero-banner img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.material-grades-hero-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
}

.material-grades-hero-overlay h1 {
    font-size: 40px;
    font-weight: 900;
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    margin: 0;
}

.material-grades-section {
    padding: 80px 20px;
    background: white;
}

.material-grades-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
}

.material-categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
}

.material-category-card {
    display: flex;
    flex-direction: column;
    padding: 40px 25px;
    min-height: 800px;
    border-radius: 8px;
}

/* Category Background Colors */
.category-carbon {
    background: #A0826D; /* Light brown */
}

.category-stainless {
    background: #8B8F6B; /* Olive green */
}

.category-alloys {
    background: #1E3A5F; /* Dark blue */
}

.category-nonferrous {
    background: #B85C38; /* Reddish-brown/terracotta */
}

.material-category-image {
    width: 100%;
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.material-category-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

.material-category-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
    margin-top: 0;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: white;
    padding-bottom: 10px;
    border-bottom: 3px solid #F3921F;
    display: inline-block;
    width: 100%;
}

.material-list-vertical {
    display: flex;
    flex-direction: column;
    flex: 1;
    align-items: center;
}

.material-list-vertical span {
    font-size: 16px;
    font-weight: 400;
    color: white;
    padding: 8px 0;
    line-height: 1.4;
    text-align: left;
}

/* Coating Page */
.coating-hero-banner {
    width: 100%;
    height: 100vh;
    display: block;
    overflow: hidden;
    position: relative;
}

.coating-hero-banner img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.coating-hero-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
}

.coating-hero-overlay h1 {
    font-size: 45px;
    font-weight: 900;
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    margin: 0;
}

/* Precision CNC Hero Banner */
.precision-cnc-hero-banner {
    width: 100%;
    height: 100vh;
    display: block;
    overflow: hidden;
    position: relative;
}

.precision-cnc-hero-banner img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.precision-cnc-hero-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
}

.precision-cnc-hero-overlay h1 {
    font-size: 45px;
    font-weight: 900;
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    margin: 0 0 20px 0;
}

.precision-cnc-hero-overlay p {
    font-size: 18px;
    color: white;
    line-height: 1.8;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    margin: 0;
}

/* Thread Pitch Hero Banner */
.thread-pitch-hero-banner {
    width: 100%;
    height: 100vh;
    display: block;
    overflow: hidden;
    position: relative;
}

.thread-pitch-hero-banner img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.thread-pitch-hero-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
}

.thread-pitch-hero-overlay h1 {
    font-size: 45px;
    font-weight: 900;
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    margin: 0;
}

.coating-section,
.precision-cnc-section,
.thread-pitch-section {
    padding: 80px 0;
    background: white;
}

.work-with-us-section {
    padding: 80px 0;
    background: white;
}

.precision-cnc-section {
    padding: 0;
}

.coating-container,
.thread-pitch-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.work-with-us-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
    background: #F5F7EB !important;
    border-radius: 12px;
}

/* Work with Us Hero Banner */
.work-with-us-hero-banner {
    width: 100%;
    height: 100vh;
    display: block;
    overflow: hidden;
    position: relative;
}

.work-with-us-hero-banner img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.work-with-us-hero-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
}

.work-with-us-hero-overlay h1 {
    font-size: 45px;
    font-weight: 900;
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    margin: 0;
}

/* Work with Us Content Section */
.work-with-us-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.job-openings-section {
    padding: 40px;
    background: #F5f7EB;
    border-radius: 12px;
}

.job-openings-section h3 {
    font-size: 28px;
    font-weight: 700;
    color: #00294F;
    margin: 0 0 25px 0;
    text-align: left;
}

.hiring-alert {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding: 15px 20px;
    background: #FFF9E6;
    border-left: 4px solid #F3921F;
    border-radius: 8px;
}

.alert-icon {
    font-size: 28px;
}

.hiring-alert p {
    margin: 0;
    font-size: 18px;
    color: #00294F;
}

.hiring-alert strong {
    color: #F3921F;
    font-weight: 700;
}

.hiring-description {
    font-size: 17px;
    color: #555;
    line-height: 1.8;
    margin: 0 0 15px 0;
}

.submit-resume {
    font-size: 17px;
    color: #00294F;
    margin: 0 0 30px 0;
}

.submit-resume strong {
    color: #00294F;
    font-weight: 700;
}

/* Job Application Form */
.job-application-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.job-application-form .form-group {
    display: flex;
    flex-direction: column;
}

.job-application-form .form-group:nth-child(5),
.job-application-form .form-group:nth-child(6) {
    grid-column: 1 / -1;
}

.job-application-form label {
    font-size: 16px;
    font-weight: 600;
    color: #00294F;
    margin-bottom: 8px;
}

.job-application-form input[type="text"],
.job-application-form input[type="tel"],
.job-application-form input[type="email"],
.job-application-form input[type="file"] {
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    color: #333;
    transition: border-color 0.3s ease;
}

.job-application-form input[type="text"]:focus,
.job-application-form input[type="tel"]:focus,
.job-application-form input[type="email"]:focus {
    outline: none;
    border-color: #F3921F;
}

.job-application-form input[type="file"] {
    padding: 8px 15px;
    cursor: pointer;
}

.job-application-form .submit-btn {
    grid-column: 1 / -1;
    padding: 14px 30px;
    background: #F3921F;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s ease;
    justify-self: start;
    margin-top: 10px;
}

.job-application-form .submit-btn:hover {
    background: #e07a00;
}

/* Keep in Touch Section */
.keep-in-touch-section {
    padding: 40px;
    background: #F5F7EB;
    border-radius: 12px;
}

.keep-in-touch-section h3 {
    font-size: 28px;
    font-weight: 700;
    color: #00294F;
    margin: 0 0 25px 0;
    text-align: left;
    position: relative;
    padding-bottom: 15px;
}

.keep-in-touch-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: #F3921F;
    border-radius: 2px;
}

.job-openings-section h3 {
    position: relative;
    padding-bottom: 15px;
}

.job-openings-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: #F3921F;
    border-radius: 2px;
}

.keep-in-touch-section p {
    font-size: 17px;
    color: #555;
    line-height: 1.8;
    margin: 0 0 30px 0;
}

.keep-in-touch-section strong {
    color: #00294F;
    font-weight: 700;
}

.keep-in-touch-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.keep-in-touch-image-item {
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.keep-in-touch-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Thread Pitch Introduction */
.thread-pitch-intro {
    margin-bottom: 40px;
    padding: 0 20px;
}

.thread-pitch-intro h4 {
    font-size: 18px;
    font-weight: 600;
    color: #00294F;
    line-height: 1.6;
    margin: 0;
    text-align: left;
}

/* Thread Pitch Table Wrapper */
.thread-pitch-table-wrapper {
    overflow-x: auto;
    margin-top: 30px;
    padding: 0 20px;
}

.thread-pitch-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* First Header Row - Dark Blue */
.thread-pitch-table .table-header-row-1 {
    background: #002060;
}

.thread-pitch-table .table-header-row-1 th {
    color: white;
    font-weight: 700;
    font-size: 16px;
    padding: 15px 20px;
    text-align: center;
    border: 1px solid white;
    border-bottom: none;
}

/* Second Header Row - Orange/Gold */
.thread-pitch-table .table-header-row-2 {
    background: #FFC000;
}

.thread-pitch-table .table-header-row-2 th {
    color: #002060;
    font-weight: 700;
    font-size: 14px;
    padding: 12px 20px;
    text-align: center;
    border: 1px solid white;
}

/* Table Body - Alternating Row Colors */
.thread-pitch-table tbody tr:nth-child(odd) {
    background: #FFF0DC;
}

.thread-pitch-table tbody tr:nth-child(even) {
    background: #FFE6C8;
}

.thread-pitch-table tbody td {
    color: #002060;
    font-size: 15px;
    padding: 15px 20px;
    text-align: center;
    border: 1px solid white;
    font-weight: 400;
}

/* Precision CNC Wrapper - White background, contains centered colored section */
.precision-cnc-wrapper {
    background: white;
    padding: 60px 20px;
    display: flex;
    justify-content: center;
}

/* Precision CNC Container - Centered section with light blue background */
.precision-cnc-container {
    max-width: 1400px;
    width: 100%;
    background: #ECF2F9;
    padding: 60px 40px;
    border-radius: 12px;
}

/* Precision CNC Grid */
.precision-cnc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin: 0;
}

.precision-cnc-item {
    background: transparent;
    border-radius: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    box-shadow: none;
    transition: none;
}

.precision-cnc-item:hover {
    transform: none;
    box-shadow: none;
}

.precision-cnc-item h4 {
    font-size: 24px;
    font-weight: 700;
    color: #00294F;
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 3px solid #F3921F;
    text-align: left;
}

.precision-cnc-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 20px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.precision-cnc-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.precision-cnc-item p {
    font-size: 16px;
    color: #555;
    line-height: 1.7;
    margin: 0;
    flex: 1;
}

/* Coating Introduction */
.coating-intro {
    background: #e6e6fa;
    padding: 50px 40px;
    margin-bottom: 60px;
    border-radius: 12px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.coating-intro h3 {
    font-size: 28px;
    font-weight: 700;
    color: #00294F;
    margin-bottom: 0;
    text-transform: none;
    letter-spacing: 0.5px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 25px;
}

.coating-intro h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #F3921F;
    border-radius: 2px;
}

.coating-intro p {
    font-size: 17px;
    color: #555;
    line-height: 1.8;
    text-align: left;
    margin: 0;
    max-width: 100%;
}

/* Coating Images Grid */
.coating-images-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 30px;
    margin: 40px 0 40px 0;
    padding: 0;
}

.coating-image-item {
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    background: #f8f9fa;
}

.coating-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Coating & Plating Section */
.coating-plating-section {
    margin-top: 0;
}

.coating-plating-section h3 {
    font-size: 40px;
    font-weight: 700;
    color: #00294F;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: start;
    position: relative;
}

.coating-plating-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 17% !important;
    transform: translateX(-50%);
    width: 430px;
    height: 4px;
    background: #F3921F;
    border-radius: 3px;
}

.coating-plating-content {
    max-width: 100%;
    margin: 0;
}

.coating-plating-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.coating-plating-list li {
    font-size: 16px;
    color: #00294F;
    padding: 2px 0;
    padding-left: 0;
    position: relative;
    line-height: 1.6;
}

/* Coating Note */
.coating-note {
    margin-top: 30px;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
}

.coating-note p {
    font-size: 16px;
    color: #00294F;
    line-height: 1.7;
    margin: 0 0 10px 0;
    text-align: left;
}

.coating-note p:last-child {
    margin-bottom: 0;
}

.coating-note strong {
    color: #00294F;
    font-weight: 700;
}

/* Responsive Coating/Precision CNC/Thread Pitch Pages */
@media (max-width: 768px) {
    .coating-hero-banner {
        height: 60vh;
    }

    .coating-hero-overlay h1 {
        font-size: 32px;
    }

    .coating-section,
    .work-with-us-section {
        padding: 60px 0;
    }

    .work-with-us-hero-banner {
        height: 60vh;
    }

    .work-with-us-hero-overlay h1 {
        font-size: 32px;
    }

    .job-openings-section,
    .keep-in-touch-section {
        padding: 30px;
    }

    .job-application-form {
        grid-template-columns: 1fr;
    }

    .job-application-form .form-group:nth-child(5),
    .job-application-form .form-group:nth-child(6) {
        grid-column: 1;
    }

    .coating-intro {
        margin-bottom: 50px;
        padding: 40px 30px;
    }

    .coating-intro h3 {
        font-size: 24px;
        margin-bottom: 20px;
        padding-bottom: 12px;
    }

    .coating-intro h3::after {
        width: 60px;
        height: 3px;
    }

    .coating-intro p {
        font-size: 16px;
    }

    .coating-images-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
        gap: 25px;
        margin: 35px 0 35px 0;
        padding: 0;
    }

    .coating-image-item {
        height: 300px;
    }

    .coating-plating-section {
        margin-top: 0;
    }

    .coating-plating-section h3 {
        font-size: 22px;
        margin-bottom: 25px;
    }

    .coating-plating-list {
        gap: 0;
    }

    .coating-plating-list li {
        font-size: 15px;
        padding: 7px 0;
        padding-left: 0;
    }

    .coating-note {
        margin-top: 25px;
    }

    .coating-note p {
        font-size: 15px;
    }

    .precision-cnc-hero-banner {
        height: 60vh;
    }

    .precision-cnc-hero-overlay h1 {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .precision-cnc-hero-overlay p {
        font-size: 16px;
    }

    .precision-cnc-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        margin-top: 50px;
    }

    .precision-cnc-image {
        height: 250px;
    }

    .precision-cnc-item h4 {
        font-size: 22px;
        margin-bottom: 18px;
    }

    .precision-cnc-item p {
        font-size: 15px;
    }

    .thread-pitch-hero-banner {
        height: 60vh;
    }

    .thread-pitch-hero-overlay h1 {
        font-size: 32px;
    }

    .precision-cnc-section,
    .thread-pitch-section {
        padding: 60px 0;
    }

    .thread-pitch-intro {
        margin-bottom: 35px;
        padding: 0 15px;
    }

    .thread-pitch-intro h4 {
        font-size: 17px;
    }

    .thread-pitch-table-wrapper {
        padding: 0 15px;
    }

    .thread-pitch-table .table-header-row-1 th {
        font-size: 15px;
        padding: 13px 18px;
    }

    .thread-pitch-table .table-header-row-2 th {
        font-size: 13px;
        padding: 11px 18px;
    }

    .thread-pitch-table tbody td {
        font-size: 14px;
        padding: 13px 18px;
    }
}

@media (max-width: 480px) {
    .coating-hero-banner {
        height: 50vh;
    }

    .coating-hero-overlay h1 {
        font-size: 24px;
    }

    .coating-section {
        padding: 40px 0;
    }

    .coating-container {
        padding: 0 15px;
    }

    .coating-intro {
        margin-bottom: 40px;
        padding: 30px 20px;
    }

    .coating-intro h3 {
        font-size: 20px;
        margin-bottom: 15px;
        padding-bottom: 10px;
    }

    .coating-intro h3::after {
        width: 50px;
        height: 3px;
    }

    .coating-intro p {
        font-size: 15px;
    }

    .coating-images-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 30px 0 30px 0;
        padding: 0;
    }

    .coating-image-item {
        height: 250px;
    }

    .coating-plating-section {
        margin-top: 0;
    }

    .coating-plating-section h3 {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .coating-plating-list li {
        font-size: 14px;
        padding: 6px 0;
        padding-left: 0;
    }

    .coating-note {
        margin-top: 20px;
    }

    .coating-note p {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .precision-cnc-hero-banner {
        height: 50vh;
    }

    .precision-cnc-hero-overlay h1 {
        font-size: 24px;
        margin-bottom: 12px;
    }

    .precision-cnc-hero-overlay p {
        font-size: 14px;
    }

    .thread-pitch-hero-banner {
        height: 50vh;
    }

    .thread-pitch-hero-overlay h1 {
        font-size: 24px;
    }

    .precision-cnc-section,
    .thread-pitch-section,
    .work-with-us-section {
        padding: 40px 0;
    }

    .work-with-us-hero-banner {
        height: 50vh;
    }

    .work-with-us-hero-overlay h1 {
        font-size: 24px;
    }

    .work-with-us-content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .job-openings-section,
    .keep-in-touch-section {
        padding: 25px;
    }

    .job-openings-section h3,
    .keep-in-touch-section h3 {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .hiring-alert {
        padding: 12px 18px;
    }

    .alert-icon {
        font-size: 24px;
    }

    .hiring-alert p {
        font-size: 16px;
    }

    .hiring-description,
    .submit-resume,
    .keep-in-touch-section p {
        font-size: 15px;
    }

    .keep-in-touch-images {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .keep-in-touch-image-item {
        height: 250px;
    }

    .thread-pitch-intro {
        margin-bottom: 30px;
        padding: 0 15px;
    }

    .thread-pitch-intro h4 {
        font-size: 16px;
    }

    .thread-pitch-table-wrapper {
        padding: 0 15px;
    }

    .thread-pitch-table .table-header-row-1 th {
        font-size: 14px;
        padding: 12px 15px;
    }

    .thread-pitch-table .table-header-row-2 th {
        font-size: 13px;
        padding: 10px 15px;
    }

    .thread-pitch-table tbody td {
        font-size: 14px;
        padding: 12px 15px;
    }

    .precision-cnc-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-top: 40px;
    }

    .precision-cnc-item {
        padding: 25px;
    }

    .precision-cnc-image {
        height: 220px;
    }

    .precision-cnc-item h4 {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .precision-cnc-item p {
        font-size: 14px;
    }

    .precision-cnc-wrapper {
        padding: 50px 15px;
    }

    .precision-cnc-container {
        padding: 50px 30px;
    }

    .thread-pitch-container {
        padding: 0 15px;
    }
}

/* Responsive Material Grades */
@media (max-width: 1200px) {
    .material-grades-section {
        padding: 80px 15px;
    }

    .material-categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .material-category-card {
        min-height: 700px;
    }
}

@media (max-width: 768px) {
    .material-grades-hero-banner {
        height: 60vh;
    }

    .material-grades-hero-overlay h1 {
        font-size: 32px;
    }

    .material-grades-section {
        padding: 60px 15px;
    }

    .material-categories-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .material-category-card {
        padding: 35px 20px;
        min-height: auto;
    }

    .material-category-card h3 {
        font-size: 22px;
        margin-bottom: 25px;
    }

    .material-category-image {
        margin-bottom: 25px;
    }

    .material-list-vertical span {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .material-grades-hero-banner {
        height: 50vh;
    }

    .material-grades-hero-overlay h1 {
        font-size: 24px;
    }

    .material-grades-section {
        padding: 40px 10px;
    }

    .material-categories-grid {
        gap: 12px;
    }

    .material-category-card {
        padding: 30px 15px;
    }

    .material-category-card h3 {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .material-list-vertical span {
        font-size: 14px;
        padding: 6px 0;
    }
}

/* Responsive About Us */
@media (max-width: 768px) {
    .about-hero-image {
        height: 40vh;
    }

    .global-solutions-section {
        padding: 20px 15px;
    }

    .solutions-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .solutions-image {
        height: 250px;
    }

    .approvals-list {
        grid-template-columns: 1fr;
    }

    .about-hero h1 {
        font-size: 36px;
    }

    .about-hero p {
        font-size: 16px;
    }

    .solutions-text h2 {
        font-size: 28px;
    }

    .solutions-text h3 {
        font-size: 20px;
    }

    .vision-mission {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .vision,
    .mission {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .about-hero-image {
        height: 35vh;
    }

    .global-solutions-section {
        padding: 20px 10px;
    }

    .solutions-image {
        height: 250px;
    }

    .image-overlay {
        top: 10px;
        right: 10px;
        padding: 15px;
        max-width: 150px;
    }

    .image-overlay h3 {
        font-size: 16px;
    }
}