/* Design Load/Bracing - Modernized page styles (aligned with homepage design) */

/* ── Hero + Menu Wrapper ────────────────────────────────────── */
.dl-hero-wrap {
    position: relative;
}

/* ── Hero Banner Overlay ────────────────────────────────────── */
.dl-hero {
    position: relative;
    height: 420px;
    background: url('/_images/Main-Image-Design-Load-Bracing.png') no-repeat 50% 50%;
    background-size: cover;
    display: flex;
    align-items: center;
    box-shadow: inset 500px -200px 300px rgba(0,0,0,0.55);
}

/* ── Menu Bar (homepage transparent thumb-bar style) ─────────── */
.dl-menu-modern {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    background: none;
}
.dl-menu-modern #main-menu {
    margin: 0 !important;
    display: flex;
    justify-content: center;
}
.dl-menu-modern #main-menu-container {
    width: auto;
    float: none;
}
.dl-menu-modern #main-menu .product-menu {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 0;
}
.dl-menu-modern #main-menu .product-menu h2 {
    display: none;
}
.dl-menu-modern ul.product_details_left_panel_navigation {
    display: flex;
    margin: 0;
    padding: 0;
    float: none;
    align-items: stretch;
}
.dl-menu-modern ul.product_details_left_panel_navigation li {
    float: none;
    width: auto;
    margin: 0;
    display: flex;
}
/* Each menu item: transparent, with a top indicator bar */
.dl-menu-modern ul.product_details_left_panel_navigation li a {
    float: none;
    width: auto;
    padding: 22px 30px 18px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.3px;
    background: none;
    background-image: none !important;
    border: none;
    border-top: 4px solid rgba(216,232,247,0.4);
    transition: all 0.25s ease;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
    display: flex;
    align-items: center;
}
.dl-menu-modern ul.product_details_left_panel_navigation li a:hover {
    color: #fff;
    background: rgba(255,255,255,0.08) !important;
    background-image: none !important;
    border-top-color: #B5BDC5;
}
.dl-menu-modern ul.product_details_left_panel_navigation li a.productleftmenuchange {
    color: #000 !important;
    background: rgba(217,217,217,0.85) !important;
    background-image: none !important;
    border-top-color: #ffcb08;
}
/* CTA buttons area */
.dl-menu-modern .order_now_holder {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    margin: 0;
    float: none;
    width: auto;
    background: none;
}
.dl-menu-modern .quickship_button,
.dl-menu-modern .request_a_quote_button {
    float: none;
    width: auto;
    margin: 0;
}
.dl-menu-modern .quickship_button a {
    float: none;
    width: auto;
    padding: 9px 18px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #ffcb08;
    color: #111;
    border-radius: 4px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s;
}
.dl-menu-modern .quickship_button a:hover {
    background: #ffe04a;
}
.dl-menu-modern .quickship_button a img {
    display: none;
}
.dl-menu-modern .request_a_quote_button a {
    float: none;
    width: auto;
    padding: 9px 18px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #0085c3;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s;
}
.dl-menu-modern .request_a_quote_button a:hover {
    background: #006da3;
}
.dl-hero__content {
    position: absolute;
    top: 40%;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    background: rgba(0,0,0,0.65);
    padding: 2rem 5rem 2rem 2.5rem;
    max-width: 50%;
}
.dl-hero__icon {
    width: 70px;
    height: 70px;
    margin-right: 1.5rem;
    flex-shrink: 0;
}
.dl-hero__title {
    color: #fff;
    font-size: 2.2rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
    line-height: 1.2;
}
.dl-hero__subtitle {
    color: #ffcb08;
    font-size: 1.2rem;
    font-weight: 500;
    margin: 0;
}

/* ── Modern Breadcrumb ──────────────────────────────────────── */
.dl-breadcrumb {
    padding: 15px 0;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #e8ecf0;
}
.dl-breadcrumb a {
    color: #0085c3;
    text-decoration: none;
    transition: color 0.2s;
}
.dl-breadcrumb a:hover {
    color: #005fa7;
}
.dl-breadcrumb .separator {
    color: #b0b8c0;
    margin: 0 8px;
}
.dl-breadcrumb .current {
    color: #333;
    font-weight: 500;
}

/* ── Content Tab Navigation ─────────────────────────────────── */
.dl-tabs {
    display: inline-flex;
    gap: 0;
    margin-bottom: 2.5rem;
    background: #f0f2f5;
    border-radius: 8px;
    padding: 4px;
}
.dl-tabs a {
    display: block;
    padding: 12px 32px;
    font-size: 15px;
    font-weight: 600;
    color: #6c757d;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.25s ease;
    position: relative;
}
.dl-tabs a:hover {
    color: #333;
}
.dl-tabs a.current {
    color: #fff;
    background: #0085c3;
    box-shadow: 0 2px 8px rgba(0,133,195,0.3);
}

/* ── Content Section ────────────────────────────────────────── */
.dl-content-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 20px;
}
.dl-content-wrap .product_heading_sub_txt p {
    font-size: 15px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 1rem;
}

/* ── Modern Product Cards ───────────────────────────────────── */
.dl-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-top: 2.5rem;
}
.dl-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    text-decoration: none;
    color: inherit;
}
.dl-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    text-decoration: none;
    color: inherit;
}
.dl-card img {
    width: 100%;
    height: 150px;
    object-fit: contain;
    background: #f0f2f5;
    padding: 10px;
}
.dl-card-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.dl-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: #222;
    margin: 0 0 8px;
}
.dl-card p {
    font-size: 13px;
    color: #666;
    margin: 0 0 12px;
    flex: 1;
}
.dl-card .card-link {
    font-size: 14px;
    font-weight: 600;
    color: #0085c3;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s ease;
}
.dl-card:hover .card-link {
    gap: 10px;
}
.dl-card .card-link::after {
    content: '\2192';
}

/* ── Our Expertise (modernized) ─────────────────────────────── */
.dl-expertise {
    background: #f8f9fa;
    padding: 4rem 0;
}
.dl-expertise .main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.dl-expertise h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #222;
}
.dl-expertise .how-we-work h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}
.dl-expertise .how-we-work_subtitle {
    color: #0085c3;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 1.5rem;
}
.dl-expertise .how-we-work p {
    font-size: 15px;
    line-height: 1.8;
    color: #444;
}
.dl-expertise .blue-button {
    display: inline-block;
    background: #0085c3;
    color: #fff;
    padding: 12px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.2s;
    margin-top: 1rem;
}
.dl-expertise .blue-button:hover {
    background: #005fa7;
    color: #fff;
}

/* ── Advantages Grid ────────────────────────────────────────── */
.dl-advantages {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 3rem;
}
.dl-advantage-card {
    background: #fff;
    border-radius: 10px;
    padding: 30px 24px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}
.dl-advantage-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    text-decoration: none;
    color: inherit;
}
.dl-advantage-card .icon {
    display: block;
    margin: 0 auto 15px;
    font-size: 48px;
}
.dl-advantage-card .advantages_title {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #222;
    margin-bottom: 6px;
}
.dl-advantage-card .advantages_text {
    display: block;
    font-size: 13px;
    color: #666;
}

/* ── Resources Section (modernized) ─────────────────────────── */
.dl-resources {
    padding: 4rem 0;
    max-width: 1200px;
    margin: 0 auto;
}
.dl-resources h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #222;
}
.dl-resources-subtitle {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}
.dl-resources-desc {
    font-size: 14px;
    color: #666;
    margin-bottom: 1.5rem;
}
.dl-resources .red-note {
    color: #e53e3e;
    font-size: 13px;
    margin-bottom: 1rem;
}

/* Download list */
.dl-download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 12px;
    margin-bottom: 2.5rem;
}
.dl-download-item {
    display: flex;
    align-items: center;
    padding: 14px 18px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e8ecf0;
    transition: background 0.2s, border-color 0.2s;
    text-decoration: none;
    color: inherit;
}
.dl-download-item:hover {
    background: #eef4f9;
    border-color: #0085c3;
    text-decoration: none;
    color: inherit;
}
.dl-download-item .pdf-icon {
    width: 32px;
    height: 32px;
    background: #e53e3e;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
    margin-right: 14px;
}
.dl-download-item .dl-file-name {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    flex: 1;
}
.dl-download-item .dl-file-action {
    font-size: 12px;
    color: #0085c3;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
    margin-left: 12px;
}

/* ── Videos Section (modernized) ────────────────────────────── */
.dl-videos {
    background: #f8f9fa;
    padding: 4rem 0;
}
.dl-videos .main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.dl-videos h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #222;
}
.dl-videos-desc {
    font-size: 14px;
    color: #666;
    margin-bottom: 2rem;
}
.dl-video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}
.dl-video-card {
    display: block;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}
.dl-video-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    text-decoration: none;
    color: inherit;
}
.dl-video-thumb {
    position: relative;
    overflow: hidden;
}
.dl-video-thumb img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}
.dl-video-card:hover .dl-video-thumb img {
    transform: scale(1.05);
}
/* Play button overlay */
.dl-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    transition: background 0.2s;
}
.dl-video-card:hover .dl-play-btn {
    background: rgba(0, 133, 195, 0.9);
}
.dl-play-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 54%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 0 10px 18px;
    border-color: transparent transparent transparent #fff;
}
.dl-video-card .video-title {
    padding: 14px 18px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 991px) {
    .dl-hero { height: 300px; }
    .dl-hero__content {
        max-width: 70%;
        padding: 1.5rem 3rem 1.5rem 2rem;
    }
    .dl-hero__title { font-size: 1.6rem; }
    .dl-hero__subtitle { font-size: 1rem; }
    .dl-advantages { grid-template-columns: repeat(3, 1fr); }
    /* Menu bar: hide CTA buttons on tablet */
    .dl-menu-modern .order_now_holder { display: none; }
    .dl-menu-modern ul.product_details_left_panel_navigation li a {
        padding: 16px 18px;
        font-size: 13px;
    }
}
@media (max-width: 767px) {
    .dl-hero { height: 240px; }
    .dl-hero__content {
        max-width: 85%;
        padding: 1rem 2rem 1rem 1.5rem;
    }
    .dl-hero__icon { width: 45px; height: 45px; }
    .dl-hero__title { font-size: 1.3rem; }
    .dl-hero__subtitle { font-size: 0.9rem; }
    .dl-tabs a {
        padding: 14px 20px;
        font-size: 14px;
    }
    .dl-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .dl-advantages {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .dl-download-grid {
        grid-template-columns: 1fr;
    }
    .dl-video-grid {
        grid-template-columns: 1fr;
    }
    .dl-content-wrap { padding: 2rem 15px; }
    /* Menu bar: scroll horizontally on mobile */
    .dl-menu-modern {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .dl-menu-modern ul.product_details_left_panel_navigation {
        flex-wrap: nowrap;
    }
    .dl-menu-modern ul.product_details_left_panel_navigation li a {
        padding: 14px 16px;
        font-size: 12px;
    }
    /* Tabs: smaller on mobile */
    .dl-tabs a {
        padding: 10px 22px;
        font-size: 14px;
    }
}
@media (max-width: 480px) {
    .dl-hero { height: 200px; }
    .dl-hero__content {
        max-width: 90%;
        padding: 0.8rem 1.5rem 0.8rem 1rem;
    }
    .dl-hero__icon { width: 35px; height: 35px; margin-right: 1rem; }
    .dl-hero__title { font-size: 1.1rem; }
    .dl-cards {
        grid-template-columns: 1fr;
    }
}
