/* Global Reset & Design Tokens */
:root {
    --header-blue: #2f74d0;
    --nav-blue: #407ad8;
    --nav-active: #000000;
    --text-dark: #333333;
    --text-blue: #2f74d0;
    --bg-black: #000000;
    --bg-white: #ffffff;
    --font-primary: 'Open Sans', 'Roboto', sans-serif;
}

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

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

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

/* Site Header */
.site-header {
    background: var(--bg-white);
    width: 100%;
}

.top-header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 20px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Brand Logo */
.brand-box {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.logo-link {
    display: block;
    cursor: pointer;
    text-decoration: none;
}

.site-logo {
    height: 105px;
    max-height: 110px;
    width: auto;
    display: block;
    cursor: pointer;
}

/* Header Center Tagline */
.header-center-title {
    flex: 0 0 auto;
    text-align: center;
    color: #346ad4;
}

.header-center-title h2 {
    font-size: 26px;
    font-weight: 600;
    letter-spacing: -0.3px;
    line-height: 1.25;
}

.header-center-title h3 {
    font-size: 26px;
    font-weight: 600;
    letter-spacing: -0.3px;
    line-height: 1.25;
}

/* Header Right Contact */
.header-phone-box {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}


.phone-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-phone-icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.phone-numbers {
    display: flex;
    flex-direction: column;
}

.phone-numbers a {
    font-size: 15px;
    font-weight: 700;
    color: #346ad4;
    line-height: 1.3;
}

.phone-numbers a:hover {
    text-decoration: underline;
}

/* Navigation Bar */
.main-nav-bar {
    background-color: #3d79df;
    width: 100%;
    min-height: 48px;
}

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

.nav-list {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 0;
}


.nav-list li {
    position: relative;
}

.nav-list li a {
    display: block;
    padding: 13px 38px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    transition: background 0.2s ease;
}



.nav-list li.active > a {
    background-color: #000000;
    color: #ffffff;
}

.nav-list li:not(.active) > a:hover {
    background-color: #2b61bd;
    color: #ffffff;
}

/* Dropdown Menu */
.nav-list li.has-dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    min-width: 100%;
    background-color: #cccccc;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    padding: 0;
    margin: 0;
    list-style: none;
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 14px;
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 600;
    text-align: left;
    background-color: #2b62c2;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    line-height: 1.35;
    transition: background 0.2s ease, color 0.2s ease;
}

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

.dropdown-menu li a:hover {
    background-color: #000000 !important;
    color: #ffffff !important;
}






/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: #ffffff;
}

/* Hero Banner Section & Slider Carousel */
.hero-banner-section {
    width: 100%;
    background-color: #ffffff;
    overflow: hidden;
    position: relative;
}

.hero-slider-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.slider-wrapper {
    position: relative;
    width: 100%;
}


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

.slide.active {
    position: relative;
    opacity: 1;
    visibility: visible;
}

.slide img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Slider Controls */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    color: #ffffff;
    border: none;
    font-size: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.slider-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

/* Slider Pagination Dots */
.slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.dot.active,
.dot:hover {
    background: #ffffff;
    transform: scale(1.2);
}


/* Black Info Section */
.black-info-section {
    background-color: var(--bg-black);
    color: #ffffff;
    padding: 35px 20px;
}

.black-section-title {
    font-size: 21px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-family: 'Open Sans', 'Roboto', sans-serif;
}

.black-section-content {
    max-width: 780px;
    margin: 0 auto;
}

.black-section-content p {
    font-size: 13px;
    font-weight: 400;
    color: #ffffff;
    line-height: 1.6;
    margin-bottom: 4px;
    font-family: 'Open Sans', 'Roboto', sans-serif;
}



/* Product Cards Section */
.product-cards-section {
    padding: 50px 0;
    background-color: #f8fafc;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.product-card {
    background: #ffffff;
    border-bottom: 3px solid var(--nav-blue);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.card-image-box {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    padding: 0;
    overflow: hidden;
}

.card-image-box img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}


.card-content {
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: center;
}

.card-title {
    font-size: 18px;
    font-weight: 700;
    color: #222222;
    margin-bottom: 15px;
}

.card-text {
    font-size: 12px;
    color: #444444;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

.card-btn-box {
    margin-top: auto;
}

.btn-read-more {
    display: inline-block;
    background-color: var(--nav-blue);
    color: #ffffff;
    padding: 8px 30px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 2px;
    transition: background 0.2s ease;
}

.btn-read-more:hover {
    background-color: #2c63c2;
}

@media (max-width: 900px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }
}


/* Contact Page Styles */
.page-banner {
    background: var(--nav-blue);
    color: white;
    padding: 40px 0;
    text-align: center;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 50px 0;
}

.contact-form-card,
.contact-info-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
}

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

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 14px;
}

.form-control {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    font-family: inherit;
    font-size: 14px;
}

.form-control:focus {
    outline: none;
    border-color: var(--header-blue);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.btn-primary {
    display: inline-block;
    padding: 10px 24px;
    background: var(--header-blue);
    color: #ffffff;
    border-radius: 4px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease;
}

.btn-primary:hover {
    background: var(--nav-blue);
}

.alert {
    padding: 12px 16px;
    border-radius: 4px;
    margin-bottom: 20px;
    display: none;
    font-size: 14px;
}

.alert-success {
    background: #dcfce7;
    color: #166534;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
}

/* Blue Pre-Footer Section */
.blue-pre-footer-section {
    background-color: var(--nav-blue);
    color: #ffffff;
    padding: 40px 20px;
}

.pre-footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 50px;
    align-items: start;
}

.pre-footer-container.single-col-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.pre-footer-container.single-col-center .register-col {
    max-width: 420px;
    width: 100%;
}



.pre-footer-title {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 15px;
}

.about-text {
    font-size: 12px;
    line-height: 1.6;
    color: #ffffff;
}

/* Register Form Grid */
.register-form {
    display: flex;
    flex-direction: column;
}

.form-row-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr;
    gap: 12px;
    margin-bottom: 20px;
}

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

.reg-input {
    width: 100%;
    padding: 8px 12px;
    border: none;
    border-radius: 2px;
    font-family: inherit;
    font-size: 13px;
    color: #333333;
    background: #ffffff;
}

.reg-input::placeholder {
    color: #888888;
}

.reg-textarea {
    width: 100%;
    height: 100%;
    min-height: 82px;
    padding: 8px 12px;
    border: none;
    border-radius: 2px;
    font-family: inherit;
    font-size: 13px;
    color: #333333;
    background: #ffffff;
    resize: none;
}

.reg-textarea::placeholder {
    color: #888888;
}

.register-btn-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

.btn-enquire-now {
    background-color: #2356ab;
    color: #ffffff;
    border: none;
    padding: 10px 40px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    border-radius: 2px;
    transition: background 0.2s ease;
}

.btn-enquire-now:hover {
    background-color: #1a448c;
}

.privacy-link-wrap {
    text-align: center;
}

.privacy-link {
    font-size: 11px;
    color: #ffffff;
    text-decoration: underline;
    opacity: 0.9;
}

.privacy-link:hover {
    opacity: 1;
}

/* Brand Logos Banner Section - Continuous Infinite Marquee */
.brand-logos-section {
    background-color: #ffffff;
    padding: 10px 0;
    border-bottom: 1px solid #e2e8f0;
    overflow: hidden;
    position: relative;
    width: 100%;
}


.brand-slider-track {
    display: flex;
    align-items: center;
    width: calc(280px * 12);
    animation: marqueeScroll 22s linear infinite;
}

.brand-slider-track:hover {
    animation-play-state: paused;
}

.brand-logo-item {
    width: 280px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 30px;
}

.brand-logo-item img {
    max-height: 115px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.brand-logo-item img:hover {
    transform: scale(1.08);
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-280px * 6));
    }
}




/* Black Main Footer */
.site-footer {
    background-color: #000000;
    color: #ffffff;
    padding-top: 40px;
}

.main-footer-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px 40px;
    display: grid;
    grid-template-columns: 1fr 1.5fr 1.5fr;
    gap: 40px;
}

.footer-col-title {
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    padding-bottom: 8px;
    margin-bottom: 15px;
    border-bottom: 1px solid #333333;
}

.footer-quick-links li {
    margin-bottom: 8px;
}

.footer-quick-links a {
    font-size: 13px;
    color: #ffffff;
    transition: color 0.2s ease;
}

.footer-quick-links a:hover {
    color: var(--nav-blue);
    text-decoration: underline;
}

/* Contact List */
.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.contact-icon {
    color: #ffffff;
    margin-top: 2px;
}

.contact-text p {
    font-size: 12px;
    color: #ffffff;
    line-height: 1.5;
}

.contact-text a {
    color: #ffffff;
}

.contact-text a:hover {
    text-decoration: underline;
}

/* Map Box */
.footer-map-box {
    width: 100%;
}

.footer-map-img {
    max-width: 100%;
    height: auto;
    display: block;
    border: 1px solid #333333;
    border-radius: 2px;
}

/* Footer Bottom Bar */
.footer-bottom-bar {
    border-top: 1px solid #1a1a1a;
    padding: 25px 20px;
    font-size: 11px;
    color: #ffffff;
    line-height: 1.6;
    background-color: #000000;
}

.footer-bottom-bar p {
    margin-bottom: 4px;
}

.sitemap-link {
    color: #ffffff;
    text-decoration: underline;
}

@media (max-width: 900px) {
    .main-footer-container {
        grid-template-columns: 1fr;
    }
}



/* Responsive Rules */
@media (max-width: 900px) {
    .top-header-container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .nav-list {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-list li a {
        padding: 10px 18px;
        font-size: 13px;
    }

    .black-section-title {
        font-size: 16px;
    }

    .black-section-desc {
        font-size: 12px;
    }
}

/* Product Detail Page Layout */
.product-detail-page {
    padding: 40px 0 60px;
    background-color: #ffffff;
}

.product-detail-layout {
    display: flex;
    gap: 35px;
    align-items: flex-start;
}

.product-detail-main {
    flex: 1;
    min-width: 0;
}

.product-detail-title {
    font-size: 22px;
    font-weight: 700;
    color: #222222;
    margin-bottom: 20px;
    line-height: 1.35;
    font-family: 'Open Sans', 'Roboto', sans-serif;
}

.product-banner-box {
    width: 100%;
    margin-bottom: 25px;
    border-radius: 4px;
    overflow: hidden;
}

.image-filler-banner {
    width: 100%;
    background-color: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
}

.banner-filler-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}


.product-detail-desc p {
    font-size: 14px;
    color: #333333;
    line-height: 1.6;
    margin-bottom: 25px;
    font-family: 'Open Sans', 'Roboto', sans-serif;
}

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

.product-gallery-centered {
    display: flex;
    justify-content: flex-start;
    margin-top: 20px;
}

.gallery-item-box {
    aspect-ratio: 1 / 1;
    width: 100%;
    border: 1px solid #d1d5db;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 2px;
}


.image-filler-square {
    width: 100%;
    height: 100%;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #6b7280;
    font-weight: 600;
}

.image-filler-square span {
    width: 100%;
    height: 100%;
    background: #e5e7eb;
    border: 1px dashed #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-filler-square img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* Product Detail Right Sidebar */
.product-detail-sidebar {
    width: 280px;
    flex-shrink: 0;
}

.sidebar-register-box {
    background-color: #4f4f4f;
    padding: 25px 20px;
    border-radius: 2px;
    color: #ffffff;
}

.sidebar-register-title {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.sidebar-input,
.sidebar-textarea {
    width: 100%;
    padding: 9px 12px;
    font-size: 13px;
    border: 1px solid #cccccc;
    border-radius: 2px;
    background: #ffffff;
    color: #333333;
    margin-bottom: 12px;
    outline: none;
    font-family: inherit;
}

.sidebar-textarea {
    resize: vertical;
}

.btn-sidebar-enquire {
    width: 100%;
    background-color: #3d79df;
    color: #ffffff;
    border: none;
    padding: 11px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 2px;
    transition: background 0.2s ease;
    margin-top: 5px;
    margin-bottom: 12px;
}

.btn-sidebar-enquire:hover {
    background-color: #2b61bd;
}

.sidebar-privacy-link {
    text-align: center;
}

.sidebar-privacy-link a {
    color: #cccccc;
    font-size: 11px;
    text-decoration: underline;
}

@media (max-width: 900px) {
    .product-detail-layout {
        flex-direction: column;
    }
    .product-detail-sidebar {
        width: 100%;
    }
    .product-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.product-bullet-list {
    margin: 15px 0 25px 35px;
    padding-left: 0;
    list-style-type: disc;
}

.product-bullet-list li {
    font-size: 14px;
    color: #222222;
    line-height: 1.6;
    margin-bottom: 4px;
    font-family: 'Open Sans', 'Roboto', sans-serif;
}

/* Non Hanger Products Spec Grid */
.non-hanger-spec-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 25px;
    margin-top: 30px;
    margin-bottom: 40px;
}

.spec-card-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.spec-img-box {
    width: 140px;
    height: 170px;
    flex-shrink: 0;
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.spec-info-box {
    flex: 1;
    font-family: 'Open Sans', 'Roboto', sans-serif;
}

.spec-info-box p {
    font-size: 13px;
    color: #222222;
    line-height: 1.4;
    margin-bottom: 6px;
}

.spec-info-box p strong {
    font-weight: 700;
}

/* Bicycle Assembly Section */
.bicycle-assembly-section {
    margin-top: 40px;
    text-align: center;
}

.bicycle-img-box {
    max-width: 480px;
    margin: 0 auto 15px;
}

.bicycle-title {
    font-size: 16px;
    font-weight: 700;
    color: #222222;
    margin-top: 12px;
    font-family: 'Open Sans', 'Roboto', sans-serif;
}

@media (max-width: 768px) {
    .non-hanger-spec-grid {
        grid-template-columns: 1fr;
    }
    .spec-card-item {
        flex-direction: column;
    }
}

/* Custom Enquiry Page Form Styles */
.enquiry-input,
.enquiry-textarea {
    width: 100%;
    padding: 12px 15px;
    font-size: 14px;
    border: 1px solid #d1d5db;
    border-radius: 2px;
    background-color: #ffffff;
    color: #333333;
    outline: none;
    font-family: inherit;
}

.enquiry-input::placeholder,
.enquiry-textarea::placeholder {
    color: #9ca3af;
}

.enquiry-input:focus,
.enquiry-textarea:focus {
    border-color: #3b82f6;
}

.btn-enquiry-send {
    background-color: #3b82f6;
    color: #ffffff;
    border: none;
    padding: 12px 55px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 2px;
    transition: background 0.2s ease;
    display: inline-block;
    margin-bottom: 20px;
}

.btn-enquiry-send:hover {
    background-color: #2563eb;
}

.enquiry-privacy-link {
    color: #111111;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
}

.enquiry-privacy-link:hover {
    text-decoration: underline;
}

/* Foam & Mattress Page Styles */
.foam-mattress-page {
    font-family: 'Open Sans', 'Roboto', sans-serif;
    color: #1e293b;
    background-color: #ffffff;
}

/* Hero Section */
.fm-hero-section {
    background-color: #060e1a;
    padding: 80px 0 90px;
    text-align: center;
    color: #ffffff;
}

.fm-hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #ffffff;
    letter-spacing: -1px;
}

.fm-blue-text {
    color: #2563eb;
    display: block;
}

.fm-hero-subtitle {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
}

.fm-hero-desc {
    font-size: 14.5px;
    line-height: 1.75;
    color: #94a3b8;
    margin-bottom: 45px;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

/* Badges Row */
.fm-badges-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
    margin-bottom: 45px;
    max-width: 950px;
    margin-left: auto;
    margin-right: auto;
}

.fm-badge-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13.5px;
    font-weight: 600;
    color: #ffffff;
    padding: 0 24px;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    text-align: left;
}

.fm-badge-item:last-child {
    border-right: none;
}

.fm-badge-icon {
    width: 24px;
    height: 24px;
    stroke: #2563eb;
    flex-shrink: 0;
}

/* Blue Buttons */
.fm-btn-blue {
    display: inline-block;
    background-color: #2563eb;
    color: #ffffff;
    padding: 14px 34px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
    letter-spacing: 0.5px;
}

.fm-btn-blue:hover {
    background-color: #1d4ed8;
    color: #ffffff;
}


/* Global Markets Section */
.fm-global-section {
    padding: 75px 0;
    text-align: center;
    background-color: #ffffff;
}

.fm-section-title {
    font-size: 38px;
    font-weight: 800;
    color: #091224;
    margin-bottom: 24px;
    font-family: 'Open Sans', 'Roboto', sans-serif;
    letter-spacing: -0.5px;
}

.fm-global-text {
    max-width: 760px;
    margin: 0 auto;
    font-size: 15px;
    line-height: 1.75;
    color: #475569;
}

.fm-global-text p {
    margin-bottom: 20px;
}


/* Capabilities Section */
.fm-capabilities-section {
    padding: 60px 0 70px;
    text-align: center;
    background-color: #ffffff;
}

.fm-cat-tag {
    font-size: 12px;
    font-weight: 700;
    color: #3b82f6;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}

.fm-section-subtitle {
    font-size: 14.5px;
    color: #64748b;
    max-width: 650px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

/* Stats Blue Card */
.fm-stats-card {
    background: linear-gradient(135deg, #0d3b9e 0%, #0c3188 100%);
    border-radius: 16px;
    padding: 38px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #ffffff;
    max-width: 960px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(13, 59, 158, 0.15);
}

.fm-stat-item {
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: left;
    flex: 1;
    padding: 0 30px;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.fm-stat-item:last-child {
    border-right: none;
}

.fm-stat-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.fm-stat-icon {
    width: 38px;
    height: 38px;
    stroke: #ffffff;
}

.fm-stat-content h3 {
    font-size: 30px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 3px;
    line-height: 1.1;
    font-family: 'Open Sans', 'Roboto', sans-serif;
}

.fm-stat-content p {
    font-size: 13px;
    color: #cbd5e1;
    margin: 0;
    font-weight: 500;
    line-height: 1.35;
}


.fm-stat-divider {
    width: 1px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.2);
}

/* Products Section */
.fm-products-section {
    padding: 60px 0 80px;
    text-align: center;
    background-color: #ffffff;
}

.fm-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.fm-product-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px 22px;
    text-align: left;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.fm-product-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.fm-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.fm-card-icon-box {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #0b3188;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.fm-card-icon-box svg {
    width: 20px;
    height: 20px;
    stroke: #ffffff;
}

.fm-card-title {
    font-size: 17px;
    font-weight: 700;
    color: #091224;
    margin: 0;
    font-family: 'Open Sans', 'Roboto', sans-serif;
}

.fm-card-blue-line {
    width: 28px;
    height: 3px;
    background-color: #2563eb;
    border-radius: 2px;
    margin: 12px 0 14px;
}

.fm-card-desc {
    font-size: 13px;
    color: #475569;
    line-height: 1.5;
    margin-bottom: 16px;
    min-height: 38px;
}

.fm-card-divider {
    height: 1px;
    background-color: #f1f5f9;
    margin-bottom: 16px;
}

.fm-card-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fm-card-checklist li {
    font-size: 13px;
    color: #1e293b;
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.fm-check-circle {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: #1d4ed8;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.fm-check-circle svg {
    width: 11px;
    height: 11px;
    stroke: #ffffff;
}

/* Foam & Mattress Video Container */
.fm-video-container {
    max-width: 850px;
    margin: 35px auto 45px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    background-color: #000000;
}


.fm-video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.fm-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Bottom CTA Banner Card */
.fm-cta-banner-card {

    background-color: #f0f7ff;
    border: 1px solid #dbeafe;
    border-radius: 12px;
    padding: 28px 35px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    max-width: 1140px;
    margin: 0 auto;
}

.fm-cta-left {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
    margin-right: 30px;
}

.fm-cta-badge-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: #0b3188;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.fm-cta-badge-icon svg {
    width: 26px;
    height: 26px;
    stroke: #ffffff;
}

.fm-cta-text h4 {
    font-size: 18px;
    font-weight: 700;
    color: #091224;
    margin-bottom: 4px;
    font-family: 'Open Sans', 'Roboto', sans-serif;
}

.fm-cta-text p {
    font-size: 13px;
    color: #475569;
    margin: 0;
    line-height: 1.5;
}


/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (TABLET & MOBILE)
   ========================================================================== */

@media (max-width: 992px) {
    /* Header & Navigation */
    .top-header-container {
        flex-direction: column;
        gap: 10px;
        padding: 12px 15px;
        text-align: center;
    }

    .site-logo {
        height: 75px;
        max-height: 80px;
    }

    .header-center-title h2,
    .header-center-title h3 {
        font-size: 20px;
        line-height: 1.2;
    }

    .header-phone-box {
        justify-content: center;
        gap: 8px;
    }

    .header-phone-icon {
        width: 36px;
        height: 36px;
    }

    .phone-numbers a {
        font-size: 13.5px;
    }

    .main-nav-bar {
        min-height: 44px;
    }

    .nav-container {
        position: relative;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        min-height: 44px;
    }

    .mobile-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        padding: 8px 12px;
    }

    .mobile-toggle span {
        width: 24px;
        height: 3px;
        background-color: #ffffff;
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    .nav-list {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #0b172a;
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 999;
        padding: 10px 0;
        box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    }

    .main-nav-bar.active .nav-list {
        display: flex;
    }

    .nav-list li {
        width: 100%;
        text-align: left;
    }

    .nav-list li a {
        padding: 12px 20px;
        display: block;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .has-dropdown .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        display: none;
        background-color: #0b182d;
        padding: 0;
        box-shadow: none;
        width: 100%;
    }

    .has-dropdown .dropdown-menu li a {
        background-color: #081224 !important;
        color: #ffffff !important;
        padding: 12px 30px !important;
        font-size: 13.5px;
        font-weight: 600;
        text-align: left !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    }

    .has-dropdown .dropdown-menu li a:hover {
        background-color: #2563eb !important;
        color: #ffffff !important;
    }

    .has-dropdown:hover .dropdown-menu,
    .has-dropdown.active .dropdown-menu {
        display: block;
    }


    /* Product Detail Layout */
    .product-detail-layout {
        flex-direction: column;
        gap: 35px;
    }

    .product-detail-main,
    .product-detail-sidebar {
        width: 100%;
        max-width: 100%;
    }

    .product-gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    /* Foam & Mattress Page */
    .fm-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .fm-stats-card {
        flex-direction: column;
        gap: 25px;
        padding: 30px 20px;
    }

    .fm-stat-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
        padding: 0 0 20px 0;
        width: 100%;
    }

    .fm-stat-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .fm-cta-banner-card {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .fm-cta-left {
        flex-direction: column;
        margin-right: 0;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .site-logo {
        height: 60px;
        max-height: 65px;
    }

    .header-center-title h2,
    .header-center-title h3 {
        font-size: 16px;
        line-height: 1.25;
    }

    /* About & Company Profile 2-Column Grids */
    .about-top-grid {
        flex-direction: column;
        gap: 25px;
    }

    .about-img-box {
        max-width: 100% !important;
        width: 100%;
    }

    .non-hanger-spec-grid {
        grid-template-columns: 1fr;
    }

    /* Pre-Footer Grid */
    .pre-footer-container {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    .form-row-grid {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .reg-input,
    .reg-textarea {
        width: 100%;
        box-sizing: border-box;
    }

    .reg-textarea {
        min-height: 90px;
    }


    /* Footer Main Grid */
    .main-footer-container {
        flex-direction: column;
        gap: 30px;
    }

    /* Hero Badges Row */
    .fm-badges-row {
        flex-direction: column;
        gap: 15px;
    }

    .fm-badge-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
        padding: 0 0 12px 0;
        width: 100%;
        justify-content: center;
    }

    .fm-badge-item:last-child {
        border-bottom: none;
    }
}

@media (max-width: 576px) {
    .top-header-container {
        padding: 10px;
        gap: 6px;
    }

    .site-logo {
        height: 52px;
        max-height: 55px;
    }

    .header-center-title h2,
    .header-center-title h3 {
        font-size: 14.5px;
    }

    .header-phone-icon {
        width: 26px;
        height: 26px;
    }

    .phone-numbers a {
        font-size: 12.5px;
    }

    .fm-hero-title {
        font-size: 32px;
    }

    .fm-hero-subtitle {
        font-size: 14.5px;
    }

    .product-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .fm-cards-grid {
        grid-template-columns: 1fr;
    }

    .product-detail-title {
        font-size: 17px;
    }
}




