/* ==========================================================================
   Archidply Frontend Stylesheet
   Author: Archidply Industries Ltd
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Variables & Root
   -------------------------------------------------------------------------- */
:root {
    /* === Logo-matched Brand Colors === */
    --brand-yellow:   #FFDE2D;
    --brand-yellow-lt:#ffe966;
    --brand-dark:     #00ADF1;
    --brand-dark-alt: #008cc4;
    --brand-mid:      #5ccfff;
    --brand-white:    #FFFFFF;
    --brand-light:    #f7f8fc;
    --brand-grey:     #6b7280;
    --brand-grey-lt:  #e5e7eb;
    --brand-text:     #1D1C25;

    --font-heading: 'Outfit', sans-serif;
    --font-body:    'Inter', sans-serif;

    --transition: all 0.3s ease;
    --shadow-sm:  0 2px 8px rgba(0,0,0,.08);
    --shadow-md:  0 8px 24px rgba(0,0,0,.12);
    --shadow-lg:  0 16px 48px rgba(0,0,0,.16);
    --radius-sm:  6px;
    --radius-md:  12px;
    --radius-lg:  20px;

    --header-top-height: 40px;
    --header-nav-height: 80px;
}

/* --------------------------------------------------------------------------
   2. Reset & Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-body);
    color: var(--brand-text);
    background: var(--brand-white);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
address { font-style: normal; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--brand-dark);
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-pad { padding: 80px 0; }
.section-pad-sm { padding: 60px 0; }

/* --------------------------------------------------------------------------
   3. Utility Classes
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    white-space: nowrap;
}
.btn-primary {
    background: var(--brand-yellow);
    color: var(--brand-dark);
    border-color: var(--brand-yellow);
}
.btn-primary:hover {
    background: var(--brand-yellow-lt);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245,165,0,.4);
}
.btn-outline {
    background: rgba(255,255,255,.12);
    color: var(--brand-white);
    border-color: rgba(255,255,255,.5);
    backdrop-filter: blur(4px);
}
.btn-outline:hover {
    background: var(--brand-white);
    color: var(--brand-dark);
    border-color: var(--brand-white);
}
.btn-dark {
    background: var(--brand-dark);
    color: var(--brand-white);
}
.btn-dark:hover {
    background: var(--brand-mid);
    transform: translateY(-2px);
}

.tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(245,165,0,.15);
    color: var(--brand-yellow);
    font-size: 0.78rem;
    font-weight: 600;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--brand-yellow);
    margin-bottom: 8px;
    display: block;
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    color: var(--brand-dark);
    margin-bottom: 16px;
}
.section-title span { color: var(--brand-yellow); }

.section-subtitle {
    font-size: 1rem;
    color: var(--brand-grey);
    max-width: 560px;
    line-height: 1.7;
}

.view-all-link {
    font-weight: 600;
    color: var(--brand-dark);
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-bottom: 2px solid var(--brand-yellow);
    padding-bottom: 2px;
}
.view-all-link:hover { color: var(--brand-yellow); }

/* --------------------------------------------------------------------------
   4. Header — Top Bar
   -------------------------------------------------------------------------- */
.header-top-bar {
    background: var(--brand-dark-alt);
    height: var(--header-top-height);
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1001;
    transition: height 0.4s ease, opacity 0.4s ease;
    overflow: hidden;
}
#site-header.scrolled .header-top-bar {
    /* height: 0 and opacity: 0 removed to prevent scroll jitter */
}
.header-top-badge {
    flex-shrink: 0;
    background: var(--brand-yellow);
    color: var(--brand-dark);
    font-size: 0.82rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    padding: 0 20px;
    letter-spacing: 0.5px;
    white-space: nowrap;
    align-self: stretch;
}
.header-top-badge i { margin-right: 8px; font-size: 1rem; }
.header-top-inner {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
}
.header-top-right {
    display: flex;
    align-items: center;
    gap: 16px;
}
.header-top-right a {
    font-size: 0.8rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}
.header-top-right a:hover { color: var(--brand-yellow); }
.header-top-right .divider { color: #fff; font-size: 0.8rem; }
.topbar-label { font-size: 0.8rem; color: #fff; margin-right: 5px; }
.topbar-label-ml { margin-left: 5px; }
.topbar-btn-ml { margin-left: 15px; }
.btn-enquire {
    padding: 4px 14px;
    border-radius: 30px;
    background: transparent;
    border: 1px solid rgba(255,255,255,.3);
}
.btn-enquire--primary {
    background: var(--brand-yellow) !important;
    color: var(--brand-dark) !important;
    border-color: var(--brand-yellow) !important;
    font-weight: 700 !important;
    border-radius: 4px;
    padding: 4px 18px;
}
.btn-enquire--primary:hover { background: var(--brand-yellow-lt) !important; }

/* --------------------------------------------------------------------------
   5. Header — Main Navigation
   -------------------------------------------------------------------------- */
.main-nav {
    background: var(--brand-white);
    height: var(--header-nav-height);
    display: flex;
    align-items: center;
    transition: box-shadow 0.25s ease, background 0.25s ease, backdrop-filter 0.25s ease;
    box-shadow: var(--shadow-sm);
    will-change: transform;
    transform: translateZ(0);
}
.main-nav.scrolled {
    box-shadow: var(--shadow-lg);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
}
#site-header {
    position: sticky;
    top: calc(var(--header-top-height) * -1);
    z-index: 1000;
    width: 100%;
    will-change: transform;
    transform: translateZ(0);
}



.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
}
.nav-logo img { height: 56px; width: auto; object-fit: contain; }

.nav-menu {
    display: flex;
    align-items: center;
    gap: 6px;
}
.nav-item { position: relative; }
.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1E293B;
    border-radius: 6px;
    white-space: nowrap;
    transition: var(--transition);
}
.nav-link:hover, .nav-item.active > .nav-link, .nav-link.active {
    color: var(--brand-dark-alt);
    background: rgba(0, 173, 241, 0.08);
}
.nav-link i.nav-arrow { font-size: 0.75rem; transition: transform 0.25s ease; opacity: 0.7; }
.has-dropdown:hover > .nav-link i.nav-arrow { transform: rotate(180deg); opacity: 1; color: var(--brand-dark-alt); }

/* Dropdown Menu - Modern & High-Contrast */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #FFFFFF;
    min-width: 230px;
    border-radius: var(--radius-md);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-top: 3px solid var(--brand-yellow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    padding: 8px 0;
}
.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 20px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #334155;
    border-bottom: 1px solid #F1F5F9;
    transition: all 0.2s ease;
}
.dropdown-menu li:last-child a { border-bottom: none; }
.dropdown-menu li a i {
    font-size: 0.95rem;
    color: #00ADF1;
    width: 20px;
    text-align: center;
    transition: all 0.2s ease;
}
.dropdown-menu li a:hover {
    color: #0F172A;
    background: #F8FAFC;
    padding-left: 24px;
}
.dropdown-menu li a:hover i {
    color: #D97706;
    transform: scale(1.15);
}
.dropdown-menu li a.active {
    color: #00ADF1;
    font-weight: 700;
    background: #F0F9FF;
}

/* --------------------------------------------------------------------------
   Mega Menu — Two-Panel Design
   -------------------------------------------------------------------------- */
.has-mega { position: relative; }

.mega-menu {
    position: absolute;
    left: -20px;
    top: 100%;
    width: 880px;
    max-width: 92vw;
    background: var(--brand-white);
    border-top: 3px solid var(--brand-dark);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9999;
}
.has-mega:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu-inner {
    display: flex;
    width: 100%;
    min-height: 320px;
    max-height: 460px;
}

/* Left: category tabs */
.mega-cats {
    flex: 0 0 210px;
    background: #f8fafc;
    padding: 10px 0;
    border-right: 1px solid var(--brand-grey-lt);
    overflow-y: auto;
    max-height: 460px;
}

/* Custom Scrollbars for Mega Menu */
.mega-cats::-webkit-scrollbar,
.mega-products-area::-webkit-scrollbar {
    width: 5px;
}
.mega-cats::-webkit-scrollbar-track,
.mega-products-area::-webkit-scrollbar-track {
    background: transparent;
}
.mega-cats::-webkit-scrollbar-thumb,
.mega-products-area::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}
.mega-cats::-webkit-scrollbar-thumb:hover,
.mega-products-area::-webkit-scrollbar-thumb:hover {
    background: var(--brand-dark);
}

.mega-cat-tab {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 18px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    transition: var(--transition);
    border-left: 4px solid transparent;
    gap: 8px;
    line-height: 1.3;
}
.mega-cat-tab i { font-size: 0.7rem; opacity: 0.4; transition: var(--transition); }

.mega-cat-tab:hover {
    color: var(--brand-dark);
    background: #f0fbff;
    border-left-color: var(--brand-dark);
}
.mega-cat-tab.active {
    color: #ffffff;
    background: var(--brand-dark);
    border-left-color: var(--brand-dark-alt);
}
.mega-cat-tab.active i { opacity: 1; color: #ffffff; }

/* Right: product panels */
.mega-products-area {
    flex: 1;
    padding: 18px 20px;
    min-height: 320px;
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 460px;
}
.mega-products-panel {
    display: none;
    animation: megaFadeIn 0.2s ease;
    width: 100%;
}
.mega-products-panel.active { display: block; }

@keyframes megaFadeIn {
    from { opacity: 0; transform: translateX(6px); }
    to   { opacity: 1; transform: translateX(0); }
}

.mega-products-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 14px;
    width: 100%;
}
.mega-product-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 10px;
    font-size: 0.825rem;
    font-weight: 600;
    color: #1e293b;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    text-decoration: none;
    line-height: 1.35;
    border: 1px solid #f1f5f9;
    background: #ffffff;
    min-width: 0;
    max-width: 100%;
}
.mega-product-item:hover,
.mega-product-item.active {
    background: #f0fbff;
    border-color: rgba(0, 173, 241, 0.5);
    color: var(--brand-dark);
    box-shadow: 0 4px 12px rgba(0, 173, 241, 0.12);
}
.mega-product-item:hover {
    transform: translateX(2px);
}
.mega-product-item.active {
    border-left: 4px solid var(--brand-dark);
    font-weight: 700;
}
.mega-product-item.active .mega-product-name {
    color: var(--brand-dark);
    font-weight: 700;
}
.mega-product-thumb {
    width: 52px;
    height: 40px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
    background: var(--brand-light);
    border: 1px solid #e2e8f0;
}
.mega-product-thumb-placeholder {
    width: 52px;
    height: 40px;
    border-radius: 6px;
    flex-shrink: 0;
    background: var(--brand-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-dark);
    font-size: 1.1rem;
    border: 1px solid #e2e8f0;
}
.mega-product-name {
    flex: 1;
    min-width: 0;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.825rem;
    line-height: 1.3;
}

/* Default / hint panel */
.mega-products-default {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 240px;
}
.mega-hint {
    color: var(--brand-grey);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.mega-hint i { color: var(--brand-yellow); }

/* Nav arrow & chevron */
.nav-arrow { font-size: 0.7rem; transition: transform 0.3s ease; }
.has-dropdown:hover .nav-arrow,
.has-dropdown.open .nav-arrow,
.has-mega:hover .nav-arrow { transform: rotate(180deg); }

/* --------------------------------------------------------------------------
   Applications Mega Menu
   -------------------------------------------------------------------------- */
.mega-menu-apps {
    width: 380px;
    max-width: 90vw;
}
.mega-apps-inner {
    padding: 16px 20px 20px;
}
.mega-apps-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--brand-grey-lt);
}
.mega-apps-header span {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--brand-yellow);
}
.mega-apps-viewall {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--brand-dark);
    display: flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}
.mega-apps-viewall:hover { color: var(--brand-yellow); }
.mega-apps-viewall i { font-size: 0.65rem; }

.mega-apps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}
.mega-app-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 10px 6px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: var(--transition);
    text-align: center;
    border: 1px solid transparent;
}
.mega-app-item:hover {
    background: rgba(245,165,0,.07);
    border-color: rgba(245,165,0,.2);
}
.mega-app-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    filter: invert(10%) sepia(40%) saturate(800%) hue-rotate(195deg) brightness(60%);
    transition: var(--transition);
}
.mega-app-item:hover .mega-app-icon {
    filter: invert(65%) sepia(80%) saturate(700%) hue-rotate(5deg) brightness(100%);
}
.mega-app-icon-fa {
    font-size: 1.4rem;
    color: var(--brand-dark);
    transition: var(--transition);
}
.mega-app-item:hover .mega-app-icon-fa { color: var(--brand-yellow); }
.mega-app-item span {
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--brand-dark);
    line-height: 1.2;
    transition: var(--transition);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 80px;
}
.mega-app-item:hover span { color: var(--brand-yellow); }


/* Search & Hamburger */
.btn-search {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--brand-dark);
    font-size: 1.1rem;
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.btn-search:hover { color: var(--brand-yellow); background: rgba(245,165,0,.08); }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}
.hamburger span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--brand-dark);
    border-radius: 2px;
    transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --------------------------------------------------------------------------
   6. Fixed Edge Action Buttons
   -------------------------------------------------------------------------- */
.fixed-edge-actions {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    z-index: 999;
}
.edge-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    color: var(--brand-white);
    font-size: 0.75rem;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,.2);
    border-right: none;
    border-radius: 8px 0 0 8px;
    margin-bottom: 2px;
}
.edge-btn:hover { transform: translateX(-10px); color: var(--brand-white); }
.edge-whatsapp { background: #1ebe5d; }
.edge-whatsapp:hover { background: #169b4b; }
.edge-call { background: var(--brand-yellow); color: var(--brand-dark) !important; border-color: rgba(0,0,0,.1); }
.edge-call:hover { background: var(--brand-yellow-lt); }
.edge-catalog { background: var(--brand-dark); }
.edge-catalog:hover { background: var(--brand-dark-alt); }
.edge-btn i { font-size: 1.5rem; margin-bottom: 4px; }

/* --------------------------------------------------------------------------
   7. Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
    min-height: 640px;
    background: var(--brand-text);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('/images/home_new.png');
    background-size: cover;
    background-position: center center;
    opacity: 1;
    z-index: 0;
}
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(10, 14, 35, 0.70) 0%,
        rgba(10, 14, 35, 0.45) 40%,
        rgba(10, 14, 35, 0.15) 70%,
        rgba(10, 14, 35, 0.0) 100%
    );
}
.hero-section .container { position: relative; z-index: 1; }
.hero-inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 100px 0 130px;
    max-width: 800px;
}
.hero-content { color: var(--brand-white); text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245,165,0,.2);
    border: 1px solid rgba(245,165,0,.4);
    color: var(--brand-yellow);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.hero-badge i { font-size: 0.9rem; }

.hero-title {
    font-size: clamp(2rem, 5vw, 3.8rem);
    font-weight: 700;
    color: var(--brand-white);
    line-height: 1.15;
    margin-bottom: 16px;
    text-shadow: 0 4px 15px rgba(0,0,0,0.8);
}
.hero-title span { color: var(--brand-yellow); text-shadow: 0 4px 15px rgba(0,0,0,0.8); }

.hero-sub {
    font-size: 1.1rem;
    color: rgba(255,255,255,.95);
    margin-bottom: 30px;
    max-width: 650px;
    line-height: 1.65;
    font-weight: 500;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.hero-contact-info {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    align-items: center;
    flex-wrap: wrap;
}
.hero-contact-info a {
    color: var(--brand-white);
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}
.hero-contact-info a i {
    color: var(--brand-yellow);
    font-size: 1.3rem;
}
.hero-contact-info a:hover {
    color: var(--brand-yellow);
}

.hero-usps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 32px;
}
.hero-usp-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.78rem;
    color: rgba(255,255,255,.9);
    font-weight: 600;
    line-height: 1.3;
}
.hero-usp-item i {
    color: var(--brand-yellow);
    font-size: 1rem;
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border: 1.5px solid rgba(245,165,0,.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}
.hero-usp-item span { padding-top: 2px; }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 4px; }

/* Hero Enquiry Card */
.hero-form-card {
    background: var(--brand-white);
    border-radius: 12px;
    padding: 24px 22px;
    box-shadow: 0 8px 40px rgba(0,0,0,.5);
}
.hero-form-card h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--brand-dark);
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--brand-grey-lt);
}
.form-group { margin-bottom: 10px; }
.form-group label {
    display: block;
    font-size: 0.78rem;
    font-weight: 500;
    color: #444;
    margin-bottom: 3px;
}
.form-control {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--brand-grey-lt);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--brand-text);
    transition: var(--transition);
    background: var(--brand-white);
}
.form-control:focus {
    outline: none;
    border-color: var(--brand-yellow);
    background: var(--brand-white);
    box-shadow: 0 0 0 2px rgba(245,165,0,.15);
}
.form-control::placeholder { color: #aaa; }
.btn-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 13px 20px;
    background: var(--brand-yellow);
    color: var(--brand-dark);
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 6px;
    letter-spacing: 0.3px;
}
.btn-submit:hover {
    background: var(--brand-yellow-lt);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245,165,0,.4);
}

/* --------------------------------------------------------------------------
   8. Stats Counter Bar
   -------------------------------------------------------------------------- */
.stats-bar {
    background: transparent;
    padding: 0 0 20px;
    border-bottom: none;
    box-shadow: none;
    position: relative;
    z-index: 10;
    margin-top: -44px;
}
.stats-card {
    background: var(--brand-white);
    border-radius: 16px;
    box-shadow: 0 10px 50px rgba(0,0,0,.15);
    padding: 16px 0;
    max-width: 1140px;
    margin: 0 auto;
    overflow: hidden;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
}
.stat-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-align: left;
    padding: 24px 20px;
    border-right: 1px solid var(--brand-grey-lt);
    gap: 16px;
    position: relative;
}
.stat-item:last-child { border-right: none; }
.stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-yellow);
    font-size: 2.2rem;
    flex-shrink: 0;
    transition: var(--transition);
}
.stat-item:hover .stat-icon {
    transform: scale(1.08);
}
.stat-text {
    display: flex;
    flex-direction: column;
}
.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--brand-dark);
    line-height: 1;
    margin-bottom: 4px;
    letter-spacing: -0.5px;
}
.stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--brand-grey);
    font-weight: 500;
}

/* --------------------------------------------------------------------------
   9. Products Section (5-item grid)
   -------------------------------------------------------------------------- */
.products-section { background: var(--brand-light); }
.products-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 40px;
    gap: 20px;
}
.products-header-left { max-width: 500px; }
.products-header-right { 
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.products-header-right p {
    font-size: 0.95rem;
    color: var(--brand-grey);
    margin-bottom: 16px;
    max-width: 320px;
    text-align: right;
}

.home-categories-section {
    position: relative;
    z-index: 1;
    padding-top: 30px;
}
.home-categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.home-category-card {
    display: flex;
    flex-direction: column;
    background: var(--brand-white);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: var(--brand-dark);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
}
.home-category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.cat-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 75%; /* 4:3 aspect ratio */
    overflow: hidden;
    background: #f4f4f4;
}
.cat-image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.home-category-card:hover .cat-image-wrapper img {
    transform: scale(1.05);
}
.cat-content {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.cat-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
}
.cat-explore {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--brand-dark);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    transition: var(--transition);
}

.cat-explore i {
    color: var(--brand-yellow);
}

.home-category-card:hover .cat-explore {
    color: var(--brand-text);
}

.products-section .products-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}
@media (max-width: 1300px) {
    .products-section .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }
}
@media (max-width: 768px) {
    .products-section .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}
@media (max-width: 576px) {
    .products-section .products-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}
.product-card {
    background: var(--brand-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,.05);
    border: 1px solid rgba(0,0,0,.04);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    min-width: 0;
    position: relative;
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}
.product-card-img {
    position: relative;
    overflow: hidden;
    height: 180px;
}
.product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.product-card:hover .product-card-img img { transform: scale(1.06); }
.product-card-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
    word-wrap: break-word;
}
.product-card-body .tag { margin-bottom: 8px; }
.product-card-body h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--brand-dark);
    margin-bottom: 8px;
    line-height: 1.3;
    overflow-wrap: anywhere;
    word-break: break-word;
    word-wrap: break-word;
}
.product-card-body p {
    font-size: 0.82rem;
    color: var(--brand-grey);
    flex: 1;
    margin-bottom: 14px;
    line-height: 1.5;
    overflow-wrap: anywhere;
    word-break: break-word;
    word-wrap: break-word;
}
.product-explore {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--brand-dark);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
}
.product-explore i {
    color: var(--brand-yellow);
    transition: transform 0.3s ease;
}
.product-explore:hover i { transform: translateX(4px); }

.no-data-msg {
    text-align: center;
    padding: 48px;
    color: var(--brand-grey);
    font-size: 1rem;
    grid-column: 1 / -1;
}
.no-data-msg i { font-size: 2.5rem; margin-bottom: 12px; display: block; color: var(--brand-grey-lt); }

/* --------------------------------------------------------------------------
   9.5. Legacy / Stats Section
   -------------------------------------------------------------------------- */
.legacy-section {
    background-color: var(--brand-text);
    background-image: url('../images/legacy_bg.webp');
    background-size: cover;
    background-position: left center;
    background-attachment: fixed;
    padding: 80px 0;
    position: relative;
    color: var(--brand-white);
}
.legacy-section .container {
    position: relative;
    z-index: 1;
}
.legacy-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: center;
    background: rgba(5, 10, 20, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.12);
}
.legacy-header {
    text-align: left;
}
.legacy-label {
    color: var(--brand-yellow);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 15px;
}
.legacy-title {
    color: var(--brand-white);
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}
.legacy-title span {
    color: var(--brand-yellow);
}
.legacy-subtitle {
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
    line-height: 1.6;
}

.legacy-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}
.legacy-stat-item {
    border-right: 1px solid rgba(255,255,255,0.1);
    padding: 0 15px;
}
.legacy-stat-item:last-child {
    border-right: none;
}
.legacy-stat-icon {
    width: 50px;
    height: 50px;
    background: transparent;
    color: var(--brand-yellow);
    border: 1.5px solid var(--brand-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin: 0 auto 15px;
}
.legacy-stat-item h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--brand-white);
    margin-bottom: 5px;
}
.legacy-stat-item h4 {
    font-size: 0.85rem;
    color: var(--brand-white);
    font-weight: 600;
    margin-bottom: 10px;
}
.legacy-stat-item p {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.4;
    border-top: 1px solid rgba(255, 222, 45, 0.4);
    padding-top: 10px;
}
@media (max-width: 768px) {
    .legacy-stats { grid-template-columns: 1fr 1fr; gap: 30px 15px; }
    .legacy-stat-item:nth-child(2) { border-right: none; }
}

/* --------------------------------------------------------------------------
   9.8. Digital Film Section
   -------------------------------------------------------------------------- */
.digital-film-section {
    background-color: #fcfaf7;
    background-image: url('../images/video bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    color: var(--brand-text);
}
.digital-film-layout {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 60px;
    align-items: center;
}
.digital-film-content {
    padding-right: 20px;
}
.film-subtitle {
    color: #b38600; /* Darker gold for better visibility on light bg */
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 15px;
}
.film-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    line-height: 1.1;
    color: var(--brand-text);
    margin-bottom: 20px;
    text-transform: uppercase;
}
.film-title span {
    color: var(--brand-yellow);
}
.film-desc {
    font-size: 1.05rem;
    line-height: 1.6;
    color: rgba(13,17,26,0.75);
    margin-bottom: 30px;
}
.film-features {
    list-style: none;
    padding: 0;
    margin: 40px 0 0;
    display: flex;
    gap: 25px;
    align-items: center;
}
.film-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--brand-text);
    padding-right: 25px;
    border-right: 1px solid rgba(0,0,0,0.15);
}
.film-features li:last-child {
    padding-right: 0;
    border-right: none;
}
.film-features i {
    font-size: 1.3rem;
    color: var(--brand-text);
}
.digital-film-video {
    position: relative;
}
.film-video-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    display: block;
}
.film-video-wrapper::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.3);
    transition: var(--transition);
}
.film-video-wrapper:hover::after {
    background: rgba(0,0,0,0.15);
}
.film-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}
.film-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}
.film-play-btn {
    width: 70px;
    height: 70px;
    background: rgba(255,255,255,0.2);
    border: 2px solid #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    backdrop-filter: blur(5px);
    transition: var(--transition);
}
.film-video-wrapper:hover .film-play-btn {
    transform: scale(1.1);
    background: var(--brand-yellow);
    border-color: var(--brand-yellow);
    color: var(--brand-text);
}
.film-signature {
    position: absolute;
    right: -25px;
    bottom: -15px;
    font-family: 'Brush Script MT', 'Great Vibes', 'Dancing Script', cursive;
    font-size: 2.2rem;
    color: var(--brand-text);
    line-height: 1.2;
    text-align: right;
    transform: rotate(-3deg);
    z-index: 3;
    opacity: 0.85;
}

/* --------------------------------------------------------------------------
   10. Solutions / Applications Section
   -------------------------------------------------------------------------- */
.solutions-section {
    background-color: var(--brand-text);
    background-image: url('../images/solutions_bg.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 60px 0;
    color: var(--brand-white);
    position: relative;
    overflow: hidden;
}
.solutions-layout {
    display: grid;
    grid-template-columns: 1fr 2.5fr;
    gap: 40px;
    align-items: end;
}
.solutions-header {
    text-align: left;
}
.solutions-label {
    color: var(--brand-yellow);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 15px;
}
.solutions-title {
    color: var(--brand-white);
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}
.solutions-title span {
    color: var(--brand-yellow);
}
.solutions-subtitle {
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 30px;
}
.solutions-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--brand-white);
    border: 1px solid rgba(255,255,255,0.4);
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
}
.solutions-btn-outline:hover {
    background: var(--brand-white);
    color: var(--brand-text);
    border-color: var(--brand-white);
}

.solutions-cards {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}
.sol-card {
    background: var(--brand-text);
    border-radius: 12px;
    overflow: hidden;
    width: 200px;
    height: 320px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
    display: block;
    text-decoration: none;
}
.sol-card:hover {
    transform: translateY(-10px);
}
.sol-card-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}
.sol-card-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.sol-card:hover .sol-card-bg img {
    transform: scale(1.08);
}
.sol-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(15,15,15,0.95) 0%, rgba(15,15,15,0) 100%);
    z-index: 1;
}
.sol-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    text-align: center;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.sol-card-icon {
    width: 44px;
    height: 44px;
    background: var(--brand-white);
    color: var(--brand-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: var(--transition);
}
.sol-card:hover .sol-card-icon {
    background: var(--brand-yellow);
    color: var(--brand-text);
}
.sol-card-content h3 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--brand-white);
    margin: 0;
    line-height: 1.2;
}

/* Default icons for categories */
.cat-icon-residential::before { content: '\f015'; font-family: 'Font Awesome 6 Free'; font-weight: 900; }

/* --------------------------------------------------------------------------
   11. Why Choose Us Section
   -------------------------------------------------------------------------- */
.whychoose-section {
    background-color: var(--brand-text);
    background-image: url('../images/why_bg.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 60px 0 40px;
    position: relative;
    color: var(--brand-white);
}
.whychoose-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(15,15,15,0.85) 0%, rgba(15,15,15,0.5) 40%, rgba(15,15,15,0.1) 100%);
    z-index: 0;
}
.whychoose-section .container {
    position: relative;
    z-index: 1;
}
.whychoose-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: center;
}
.whychoose-header {
    text-align: left;
}
.whychoose-label {
    color: var(--brand-yellow);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 15px;
}
.whychoose-title {
    color: var(--brand-white);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}
.whychoose-title span {
    color: var(--brand-yellow);
}
.whychoose-subtitle {
    color: rgba(255,255,255,0.8);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 30px;
    max-width: 90%;
}

.whychoose-cards {
    display: flex;
    flex-wrap: nowrap;
    gap: 15px;
    justify-content: flex-start;
    max-width: 100%;
    margin-left: 0;
}
.why-card {
    background: var(--brand-white);
    border-radius: 12px;
    overflow: hidden;
    flex: 1 1 0;
    max-width: 200px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}
.why-card:hover {
    transform: translateY(-10px);
}
.why-card-img {
    height: 130px;
    width: 100%;
    overflow: hidden;
}
.why-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.why-card-icon {
    width: 44px;
    height: 44px;
    background: var(--brand-text);
    color: var(--brand-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    position: absolute;
    top: 130px;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 3px solid var(--brand-white);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.why-card-content {
    padding: 35px 15px 25px;
    text-align: center;
}
.why-card-content h3 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--brand-text);
    margin-bottom: 10px;
    line-height: 1.2;
}
.why-card-content p {
    font-size: 0.75rem;
    color: var(--brand-grey);
    line-height: 1.5;
}

.whychoose-ticker {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 15px 0;
}
.ticker-item {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--brand-white);
    display: flex;
    align-items: center;
    gap: 10px;
}
.ticker-item i {
    color: var(--brand-yellow);
}
.ticker-sep {
    color: var(--brand-yellow);
    opacity: 0.5;
}

/* --------------------------------------------------------------------------
   12. About Section
   -------------------------------------------------------------------------- */
.about-section { 
    background: url('../images/aboutbg.png') center/cover no-repeat, #fdf8f2;
    padding: 60px 0;
}
.about-new-container {
    background: transparent;
    border-radius: 0;
    position: relative;
    overflow: hidden;
    box-shadow: none;
}
.about-plant-bg {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 300px;
    height: auto;
    z-index: 0;
}
.about-new-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 2.5fr;
    position: relative;
    z-index: 1;
}
.about-col-item {
    padding: 40px 30px;
    border-right: 1px solid rgba(0,0,0,0.06);
}
.about-col-item:last-child {
    border-right: none;
}
.about-col-title {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--brand-dark);
    margin-bottom: 24px;
    letter-spacing: 1px;
}
.about-col-icon {
    font-size: 1.8rem;
    color: var(--brand-dark);
    margin-bottom: 20px;
}
.about-col-desc {
    font-size: 0.85rem;
    color: var(--brand-grey);
    line-height: 1.8;
}
.about-btn {
    margin-top: 24px;
    border-color: rgba(0,0,0,0.15);
    color: var(--brand-dark);
    padding: 8px 20px;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.about-btn:hover {
    background: var(--brand-dark);
    color: var(--brand-white);
}
.about-values-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 24px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.about-values-list li {
    font-size: 0.85rem;
    color: var(--brand-dark);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}
.about-values-list li i {
    color: var(--brand-dark);
    font-size: 1rem;
    opacity: 0.8;
}

/* --------------------------------------------------------------------------
   13. Process Section
   -------------------------------------------------------------------------- */
.process-section { background: var(--brand-light); padding: 40px 0 70px; }
.process-new-header {
    text-align: left;
    margin-bottom: 50px;
}
.process-new-header .inline-section-label { justify-content: flex-start; margin-bottom: 12px; display: flex; color: var(--brand-dark); }
.process-new-header .inline-section-title { font-size: 2.4rem; color: var(--brand-dark); }
.process-new-header .inline-section-subtitle { max-width: 500px; margin: 0; color: var(--brand-grey); }

/* --------------------------------------------------------------------------
   13. Process Timeline Section
   -------------------------------------------------------------------------- */
.process-section {
    background: var(--brand-light) url('../images/stepprocess.png') center center / cover no-repeat;
    padding: 40px 0 70px;
}

.process-timeline-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    z-index: 1;
    margin-top: 20px;
}

.process-step-item {
    flex: 1;
    text-align: center;
    position: relative;
    padding: 0 10px;
    max-width: 180px;
}

.ps-image-wrapper {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: #fff;
    padding: 6px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

.ps-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid rgba(220, 220, 220, 0.5);
}

.ps-num-badge {
    position: absolute;
    top: 0;
    left: 0;
    width: 32px;
    height: 32px;
    background: var(--brand-yellow);
    color: var(--brand-dark);
    font-weight: 800;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 3px solid #fff;
    z-index: 2;
}

.ps-icon-badge {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 36px;
    background: #fff;
    color: var(--brand-dark);
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--brand-dark);
    z-index: 2;
}

.ps-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--brand-dark);
    margin-bottom: 8px;
    line-height: 1.3;
}

.ps-desc {
    font-size: 0.85rem;
    color: var(--brand-grey);
    line-height: 1.4;
}

.ps-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-yellow);
    font-size: 20px;
    margin-top: 60px; /* Align with middle of circles */
    flex-shrink: 0;
}

/* Connecting dashed line behind the images */
.process-timeline-container::before {
    content: '';
    position: absolute;
    top: 70px;
    left: 70px;
    right: 70px;
    height: 1px;
    border-top: 2px dashed rgba(0, 173, 241, 0.2);
    z-index: 0;
}

.process-tagline {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 50px auto 0;
    font-size: 14px;
    font-weight: 700;
    color: var(--brand-grey);
    letter-spacing: 4px;
    text-transform: uppercase;
    position: relative;
}

.process-tagline::before,
.process-tagline::after {
    content: '';
    display: block;
    width: 60px;
    height: 1px;
    background: rgba(0,0,0,0.2);
    margin: 0 20px;
}

.process-tagline span {
    color: #d99500;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.8), 0 1px 2px rgba(0, 0, 0, 0.1);
}


/* --------------------------------------------------------------------------
   14. Portfolio / Projects Section
   -------------------------------------------------------------------------- */
.portfolio-section {
    background: var(--brand-light);
    padding: 70px 0 50px;
    position: relative;
}
.portfolio-section .container {
    position: relative;
    z-index: 1;
}
.portfolio-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 40px;
}
.portfolio-header .section-label { color: var(--brand-yellow); }
.portfolio-header .section-title { color: var(--brand-dark); margin-bottom: 0; }
.portfolio-header .view-all-link {
    color: var(--brand-dark);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1.5px solid var(--brand-dark);
    padding-bottom: 2px;
    transition: var(--transition);
    white-space: nowrap;
}
.portfolio-header .view-all-link:hover { color: var(--brand-yellow); border-color: var(--brand-yellow); }
.portfolio-scroll-container {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
}
.portfolio-scroll-container::-webkit-scrollbar { display: none; }
.portfolio-scroll-container:active { cursor: grabbing; }

.portfolio-scroll-track {
    display: flex;
    gap: 24px;
    padding-bottom: 12px;
}

.portfolio-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin-top: 20px;
}

.portfolio-new-card {
    flex: 0 0 calc(33.333% - 16px);
    max-width: calc(33.333% - 16px);
    background: var(--brand-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.35s ease;
    position: relative;
}
.portfolio-new-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.1);
}
.p-img-wrap {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    position: relative;
    background: var(--brand-grey-lt);
}
.p-img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0) 60%);
    z-index: 1;
}
.p-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.portfolio-new-card:hover .p-img-wrap img {
    transform: scale(1.06);
}
.p-card-info {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: flex-end;
    padding: 0;
    z-index: 2;
    pointer-events: none;
}
.portfolio-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(0,0,0,0.2);
    font-size: 2.5rem;
    background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
}
.p-info-inner {
    padding: 16px 20px;
    background: var(--brand-white);
    width: 100%;
}
.portfolio-new-card .p-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--brand-dark);
    margin-bottom: 4px;
    line-height: 1.3;
}
.portfolio-new-card .p-location {
    font-size: 0.78rem;
    color: var(--brand-grey);
    display: flex;
    align-items: center;
    gap: 5px;
}
.portfolio-new-card .p-location i {
    color: var(--brand-yellow);
    font-size: 0.7rem;
}



/* --------------------------------------------------------------------------
   15. Video Testimonials Section
   -------------------------------------------------------------------------- */
.video-testimonials-section { 
    background: var(--brand-text); 
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}

/* Background Design Patterns */
.video-testimonials-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(0, 173, 241, 0.12) 1px, transparent 1px);
    background-size: 30px 30px;
    animation: dotsShift 15s linear infinite reverse;
    z-index: 0;
    pointer-events: none;
}
.video-testimonials-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 173, 241, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    animation: glowPulse 7s ease-in-out infinite alternate;
    z-index: 0;
    pointer-events: none;
}
.video-testimonials-section .container,
.video-scroll-container {
    position: relative;
    z-index: 1;
}
.video-testimonials-header {
    margin-bottom: 40px;
}
.video-testimonials-header .inline-section-label { color: rgba(255,255,255,0.6); }
.video-testimonials-header .inline-section-title { color: var(--brand-white); }
.video-testimonials-header .inline-section-title span { color: var(--brand-yellow); }

.video-scroll-container {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
}
.video-scroll-container::-webkit-scrollbar { display: none; }
.video-scroll-container:active { cursor: grabbing; }

.video-scroll-track {
    display: flex;
    gap: 20px;
    padding-bottom: 20px;
}

.video-new-card {
    flex: 0 0 500px;
    background: var(--brand-white);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
}
.video-card-left {
    flex: 0 0 45%;
    position: relative;
}
.video-thumbnail-wrap {
    width: 100%;
    height: 100%;
    position: relative;
    background: var(--brand-mid);
}
.video-thumbnail-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: var(--brand-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-dark);
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    cursor: pointer;
    transition: var(--transition);
}
.video-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
    color: var(--brand-yellow);
}
.video-card-right {
    flex: 1;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.video-card-right .v-text {
    font-size: 0.85rem;
    color: var(--brand-dark);
    margin-bottom: 20px;
    line-height: 1.5;
}
.video-card-right .v-name {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--brand-dark);
    margin-bottom: 2px;
}
.video-card-right .v-role {
    font-size: 0.75rem;
    color: var(--brand-grey);
}

/* --------------------------------------------------------------------------
   16. Text Testimonials Section
   -------------------------------------------------------------------------- */
.text-testimonials-section { background: var(--brand-white); padding: 60px 0 80px; }
.text-testimonials-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 40px;
}
.text-testimonials-header .view-all-link { 
    color: var(--brand-dark); 
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.text-scroll-container {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
}
.text-scroll-container::-webkit-scrollbar { display: none; }
.text-scroll-container:active { cursor: grabbing; }

.text-scroll-track {
    display: flex;
    gap: 20px;
    padding-bottom: 20px;
}

.text-new-card {
    flex: 0 0 350px;
    background: var(--brand-white);
    border: 1px solid var(--brand-grey-lt);
    border-radius: 8px;
    padding: 30px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}
.t-card-top {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 20px;
}
.t-quote {
    font-size: 1.5rem;
    color: var(--brand-dark);
}
.t-text {
    font-size: 0.9rem;
    color: var(--brand-grey);
    line-height: 1.5;
}
.t-stars {
    margin-bottom: 20px;
}
.t-stars i {
    color: var(--brand-yellow);
    font-size: 0.85rem;
    margin-right: 2px;
}
.t-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
}
.t-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--brand-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
}
.t-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.t-initial {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--brand-dark);
}
.t-name {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--brand-dark);
    margin-bottom: 2px;
}
.t-role {
    font-size: 0.75rem;
    color: var(--brand-grey);
}

/* Drag-to-Scroll Helper Utilities */
.video-scroll-container,
.text-scroll-container,
.portfolio-scroll-container,
.solutions-category-grid {
    user-select: none;
}
.video-scroll-container img,
.text-scroll-container img,
.portfolio-scroll-container img,
.solutions-category-grid img {
    -webkit-user-drag: none;
    pointer-events: none;
}

/* --------------------------------------------------------------------------
   16. Certifications Section
   -------------------------------------------------------------------------- */
.certifications-section {
    background: var(--brand-white);
    padding: 70px 0;
    position: relative;
    overflow: hidden;
}
/* Subtle diagonal stripe background */
.certifications-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        -45deg,
        rgba(245,165,0,0.03) 0px,
        rgba(245,165,0,0.03) 1px,
        transparent 1px,
        transparent 24px
    );
    pointer-events: none;
    z-index: 0;
}
.certifications-section .container {
    position: relative;
    z-index: 1;
}
.certifications-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 50px;
}
.certifications-header .view-all-link {
    color: var(--brand-dark);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1.5px solid var(--brand-dark);
    padding-bottom: 2px;
    transition: var(--transition);
}
.certifications-header .view-all-link:hover { color: var(--brand-yellow); border-color: var(--brand-yellow); }

.certifications-static-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.cert-static-card {
    flex: 0 0 calc(20% - 20px);
    max-width: 200px;
    background: var(--brand-white);
    border: 1.5px solid rgba(0,0,0,0.07);
    border-radius: 16px;
    padding: 30px 20px 24px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.cert-static-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--brand-yellow);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}
.cert-static-card:hover::before { transform: scaleX(1); }
.cert-static-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    border-color: rgba(245,165,0,0.3);
}
.cert-static-card .cert-img-wrap {
    height: 90px;
    width: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    background: rgba(245,165,0,0.06);
    border-radius: 50%;
    padding: 12px;
}
.cert-static-card .cert-img-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: var(--transition);
}
.cert-static-card:hover .cert-img-wrap img {
    transform: scale(1.08);
}
.cert-static-card .cert-name-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--brand-dark);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.4;
}


/* --------------------------------------------------------------------------
   17. Latest Blogs Section
   -------------------------------------------------------------------------- */
.blogs-section { background: var(--brand-light); }
.blogs-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 40px;
}
.blogs-section .blogs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
@media (max-width: 1024px) {
    .blogs-section .blogs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}
@media (max-width: 576px) {
    .blogs-section .blogs-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}
.blog-card {
    background: var(--brand-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    min-width: 0;
    position: relative;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.blog-card-img {
    height: 170px;
    overflow: hidden;
    background: var(--brand-grey-lt);
}
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.blog-card:hover .blog-card-img img { transform: scale(1.06); }
.blog-img-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2c3e50 0%, var(--brand-text) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.3);
    font-size: 2rem;
}
.blog-card-body {
    padding: 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
    word-wrap: break-word;
}
.blog-date {
    font-size: 0.75rem;
    color: var(--brand-grey);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.blog-date i { color: var(--brand-yellow); }
.blog-card-body h3 {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--brand-text);
    margin-bottom: 12px;
    line-height: 1.4;
    flex: 1;
    overflow-wrap: anywhere;
    word-break: break-word;
    word-wrap: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-read-more {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--brand-yellow);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: auto;
}
.blog-read-more:hover { gap: 8px; color: var(--brand-dark); }

/* --------------------------------------------------------------------------
   18. CTA Banner Section
   -------------------------------------------------------------------------- */
.cta-section {
    padding: 60px 0;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('../images/cta_bg.jpg') center/cover no-repeat;
}
.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    background: rgba(0, 0, 0, 0.4); /* Extra darkening if needed over the background image */
    padding: 20px 40px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.cta-icon {
    font-size: 3rem;
    color: var(--brand-yellow);
    flex-shrink: 0;
}
.cta-content {
    flex-grow: 1;
}
.cta-content h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--brand-white);
    margin: 0;
    line-height: 1.2;
}
.cta-content h2 span { color: var(--brand-yellow); }
.cta-text {
    flex-shrink: 0;
    max-width: 300px;
}
.cta-text p {
    font-size: 0.9rem;
    color: rgba(255,255,255,.8);
    margin: 0;
    line-height: 1.5;
}
.cta-action {
    flex-shrink: 0;
}
.cta-action .btn {
    padding: 14px 28px;
    font-size: 1rem;
    border-radius: 8px;
    font-weight: 700;
}
.cta-btn i { margin-left: 8px; transition: transform 0.3s ease; }
.cta-btn:hover i { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   19. Footer
   -------------------------------------------------------------------------- */
#site-footer { background: var(--brand-text); }
.footer-main { padding: 60px 0 40px; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
    gap: 40px;
}
.footer-logo { display: block; margin-bottom: 20px; }
.footer-logo img { height: 52px; width: auto; }
.footer-address {
    font-size: 0.85rem;
    color: rgba(255,255,255,.6);
    line-height: 1.7;
    margin-bottom: 16px;
}
.footer-address p:first-child { font-weight: 600; color: rgba(255,255,255,.9); }
.footer-contact-list { margin-bottom: 20px; }
.footer-contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: rgba(255,255,255,.7);
    margin-bottom: 8px;
}
.footer-contact-list li i { color: var(--brand-yellow); width: 16px; }
.footer-contact-list li a { color: rgba(255,255,255,.7); }
.footer-contact-list li a:hover { color: var(--brand-yellow); }

.address-link { transition: var(--transition); }
.address-link:hover { color: var(--brand-yellow) !important; text-decoration: none !important; }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.7);
    font-size: 0.9rem;
    transition: var(--transition);
}
.footer-socials a:hover { background: var(--brand-yellow); color: var(--brand-dark); transform: translateY(-2px); }

.footer-heading {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--brand-white);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--brand-yellow);
    display: inline-block;
}
.footer-links { padding: 0; margin: 0; list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a {
    font-size: 0.85rem;
    color: rgba(255,255,255,.6);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}
.footer-links a::before { content: '→'; font-size: 0.75rem; opacity: 0; transition: var(--transition); }
.footer-links a:hover { color: var(--brand-yellow); padding-left: 4px; }
.footer-links a:hover::before { opacity: 1; }

.footer-bottom {
    background: rgba(0,0,0,.3);
    padding: 18px 0;
}
.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,.5); margin: 0; }
.footer-copyright { display: flex; flex-direction: column; gap: 4px; }
.footer-copyright a { color: rgba(255,255,255,.7); text-decoration: underline; transition: var(--transition); font-weight: 500; }
.footer-copyright a:hover { color: var(--brand-yellow); text-decoration: none; }

.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 0.82rem; color: rgba(255,255,255,.5); transition: var(--transition); }
.footer-bottom-links a:hover { color: var(--brand-yellow); }

/* --------------------------------------------------------------------------
   20. Alert / Flash Messages
   -------------------------------------------------------------------------- */
.alert-success {
    background: rgba(16,185,129,.12);
    border: 1px solid #10b981;
    color: #065f46;
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* --------------------------------------------------------------------------
   21. Responsive
   -------------------------------------------------------------------------- */

/* 1200px */
@media (max-width: 1200px) {
    .home-categories-grid { grid-template-columns: repeat(3, 1fr); }
    .products-grid { grid-template-columns: repeat(3, 1fr); }
    .features-grid { grid-template-columns: repeat(3, 1fr); }
    .process-steps { grid-template-columns: repeat(3, 1fr); gap: 24px; }
    .process-steps::before { display: none; }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
    .footer-grid .footer-col:nth-child(4),
    .footer-grid .footer-col:nth-child(5) { grid-column: auto; }
    .stats-grid { grid-template-columns: repeat(3, 1fr); }
    .hero-inner { grid-template-columns: 1fr 340px; gap: 40px; }
}

/* 1199px */
@media (max-width: 1199px) {
    #site-header { top: 0; }
    .header-top-badge { display: none; }
    .hero-usps { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .hero-actions { justify-content: flex-start; }
    .header-top-bar { display: none; }
    .header-top-inner { display: none; }
    .header-top-right { display: none; }

    body { padding-bottom: 63px; }

    /* Sticky Bottom Mobile Bar */
    .fixed-edge-actions {
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        transform: none;
        flex-direction: row;
        width: 100%;
        background: var(--brand-dark-alt);
        border-top: 3px solid var(--brand-yellow);
        padding: 0;
    }
    .edge-btn {
        flex: 1;
        width: auto;
        height: 60px;
        border: none;
        border-right: 1px solid rgba(255,255,255,.1);
        border-radius: 0;
        margin-bottom: 0;
        background: transparent !important;
        color: var(--brand-white) !important;
    }
    .edge-btn:last-child {
        border-right: none;
    }
    .edge-btn:hover {
        padding-right: 0;
        width: auto;
        background: rgba(255,255,255,.05) !important;
    }
    .edge-btn i {
        font-size: 1.2rem;
        margin-bottom: 4px;
        color: var(--brand-yellow);
    }
    .edge-btn span {
        font-size: 0.65rem;
    }
    .hamburger { display: flex; }
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--brand-white);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 20px 0;
        box-shadow: var(--shadow-lg);
        transform: translateY(-20px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        max-height: calc(100vh - 120px);
        overflow-y: auto;
    }
    .nav-menu.open { 
        transform: translateY(0); 
        opacity: 1; 
        visibility: visible; 
        pointer-events: auto; 
    }
    .nav-link { padding: 14px 24px; border-radius: 0; }
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        border-top: none;
        background: var(--brand-light);
        display: none;
        padding: 0;
        margin-top: 4px;
    }
    .has-dropdown.open .dropdown-menu { display: block; animation: slideDownMobile 0.3s ease-out; }
    
    @keyframes slideDownMobile {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }

    /* Mega menu mobile: vertical stack */
    .mega-menu {
        position: static;
        width: 100%;
        max-width: 100%;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: var(--brand-light);
        display: none;
        padding: 0;
    }
    .has-mega.open .mega-menu { display: block; }
    .mega-menu-inner {
        flex-direction: column;
        min-height: unset;
        max-height: none;
    }
    .mega-cats {
        flex: none;
        max-height: none;
        border-right: none;
        border-bottom: 1px solid var(--brand-grey-lt);
    }
    .mega-cat-tab { padding: 12px 24px; }
    .mega-products-area {
        flex: none;
        max-height: none;
        overflow-y: visible;
        padding: 12px 16px;
        min-height: unset;
    }
    .mega-products-panel.active { display: block; }
    .mega-products-grid { grid-template-columns: 1fr; gap: 8px; }
    .mega-product-item { font-size: 0.85rem; padding: 10px 14px; }
    .mega-products-default { display: none; }
    /* Apps mega menu mobile */
    .mega-menu-apps { width: 100%; max-width: 100%; }
    .mega-apps-grid { grid-template-columns: repeat(3, 1fr); gap: 6px; }
    .mega-app-item { padding: 8px 4px; }
    .mega-app-item span { font-size: 0.62rem; max-width: 64px; }
    .mega-app-icon { width: 26px; height: 26px; }

    .hero-inner { grid-template-columns: 1fr; gap: 40px; }
    .hero-form-card { max-width: 480px; margin: 0 auto; }
    .legacy-layout { grid-template-columns: 1fr; gap: 40px; text-align: center; padding: 25px; }
    .legacy-header { text-align: center; }
    .digital-film-layout { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .digital-film-content { padding-right: 0; }
    .film-features { flex-direction: column; align-items: center; gap: 15px; }
    .film-features li { 
        justify-content: center; 
        text-align: center; 
        border-right: none; 
        padding-right: 0; 
        border-bottom: 1px solid rgba(0,0,0,0.15); 
        padding-bottom: 15px; 
        width: 100%;
    }
    .film-features li:last-child { border-bottom: none; padding-bottom: 0; }
    .film-signature { position: relative; right: auto; bottom: auto; text-align: center; margin-top: 20px; transform: none; }
    .solutions-layout { grid-template-columns: 1fr; gap: 40px; }
    .solutions-cards { flex-wrap: wrap; justify-content: center; }
    .sol-card { width: calc(50% - 10px); }
    .solutions-header { text-align: center; }
    .about-grid { grid-template-columns: 1fr; }
    .about-new-grid { grid-template-columns: 1fr; }
    .about-col-item { border-right: none; border-bottom: 1px solid rgba(0,0,0,0.06); padding: 30px 20px; }
    .about-col-item:last-child { border-bottom: none; }
    .whychoose-layout { grid-template-columns: 1fr; gap: 40px; }
    .whychoose-cards { flex-wrap: wrap; justify-content: center; }
    .why-card { flex: 0 0 calc(33.333% - 15px); max-width: calc(33.333% - 15px); }
    .process-timeline-container { flex-direction: column; gap: 40px; align-items: center; }
    .process-timeline-container::before { display: none; }
    .ps-arrow { transform: rotate(90deg); margin: -10px 0; }
    .process-diamond { display: none; }
    .home-categories-grid { grid-template-columns: repeat(2, 1fr); }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .portfolio-grid .portfolio-new-card { flex: 0 0 calc(50% - 12px); max-width: calc(50% - 12px); }
    .cta-inner { flex-direction: column; text-align: center; gap: 20px; padding: 30px 20px; }
    .cta-text { max-width: 100%; }
    .cta-content h2 { font-size: 1.5rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* 768px */
@media (max-width: 768px) {
    .section-pad { padding: 60px 0; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-item { border-right: none; border-bottom: 1px solid var(--brand-grey-lt); }
    .category-card { flex: 0 0 calc(33.333% - 11px); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: 1fr; }
    .blogs-grid { grid-template-columns: 1fr; }
    .certifications-logos { gap: 20px; }
    .cert-static-card { flex: 0 0 calc(33.333% - 15px); max-width: none; padding: 20px 10px; }

    .products-header { flex-direction: column; align-items: flex-start; }
    .products-header-left { max-width: 100%; }
    .products-header-right { align-items: flex-start; max-width: 100%; }
    .products-header-right p { text-align: left; max-width: 100%; }
    .portfolio-header { flex-direction: column; align-items: flex-start; gap: 12px; }
    .blogs-header { flex-direction: column; align-items: flex-start; gap: 12px; }
    .testimonials-header { flex-direction: column; align-items: flex-start; gap: 12px; }
    .certifications-header { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* 576px */
@media (max-width: 576px) {
    .container { padding: 0 16px; }
    .hero-section { overflow: visible; min-height: 0; } /* let hero grow naturally so stacked form is not clipped */
    .hero-title { font-size: 2rem; }
    .hero-usps { grid-template-columns: 1fr; }
    .hero-actions { flex-direction: column; }
    .hero-inner { padding: 50px 0 60px; } /* reduce large top/bottom padding so form fits */
    .process-steps { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: 1fr; }
    .home-categories-grid { grid-template-columns: 1fr; }
    .products-grid { grid-template-columns: 1fr; }
    .portfolio-grid .portfolio-new-card { flex: 0 0 100%; max-width: 100%; }
    .sol-card { width: 100%; }
    .why-card { flex: 0 0 calc(50% - 10px); max-width: calc(50% - 10px); }
    .whychoose-ticker { flex-direction: column; gap: 10px; }
    .ticker-sep { display: none; }

    .cert-static-card { flex: 0 0 calc(50% - 10px); padding: 16px 12px; }
    .floating-actions { right: 12px; bottom: 20px; }
    .fab-btn span { display: none; }
    .fab-btn { padding: 12px; border-radius: 50%; width: 48px; height: 48px; justify-content: center; }

    .footer-grid { grid-template-columns: 1fr; gap: 20px; padding: 40px 0 30px; }
    .footer-col h4 { margin-bottom: 12px; padding-bottom: 8px; }
    .footer-links li { margin-bottom: 4px; }
    .footer-bottom-inner { flex-direction: column; text-align: center; }
}

/* --------------------------------------------------------------------------
   22. About Page
   -------------------------------------------------------------------------- */
.about-page { background-color: var(--brand-white); }

.page-hero {
    background-color: var(--brand-dark);
    padding: 80px 0 60px;
    position: relative;
    border-bottom: 3px solid var(--brand-yellow);
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(45deg, rgba(255,255,255,0.02) 0px, rgba(255,255,255,0.02) 2px, transparent 2px, transparent 15px);
    pointer-events: none;
}
.page-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}
.page-hero-title {
    color: var(--brand-white);
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
}
.page-hero-subtitle {
    color: rgba(255,255,255,0.7);
    font-size: 1.1rem;
    margin-bottom: 24px;
}
.page-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.1);
    padding: 8px 20px;
    border-radius: 30px;
    backdrop-filter: blur(5px);
}
.page-breadcrumb li {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    display: flex;
    align-items: center;
}
.page-breadcrumb li a {
    color: var(--brand-white);
    text-decoration: none;
    transition: var(--transition);
}
.page-breadcrumb li a:hover { color: var(--brand-yellow); }
.page-breadcrumb li .separator { font-size: 0.7rem; color: rgba(255,255,255,0.4); }
.page-breadcrumb li.active { color: var(--brand-yellow); font-weight: 500; }

.overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.overview-desc {
    color: var(--brand-text);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 20px;
}
.image-placeholder-large {
    background: var(--brand-light);
    border: 2px dashed rgba(0,0,0,0.1);
    border-radius: 20px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: rgba(0,0,0,0.05);
}

.mvv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.mvv-card {
    background: var(--brand-white);
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.04);
    border-bottom: 4px solid var(--brand-yellow);
    transition: var(--transition);
}
.mvv-card:hover { transform: translateY(-5px); box-shadow: 0 15px 50px rgba(0,0,0,0.08); }
.mvv-icon {
    width: 60px;
    height: 60px;
    background: rgba(245, 165, 0, 0.1);
    color: var(--brand-yellow);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 24px;
}
.mvv-title {
    font-size: 1.4rem;
    color: var(--brand-dark);
    margin-bottom: 15px;
}
.mvv-desc {
    color: var(--brand-text);
    line-height: 1.7;
    margin-bottom: 0;
}
.values-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: var(--brand-text);
    font-weight: 500;
}
.values-list li i { color: var(--brand-yellow); font-size: 1.1rem; }

.about-manufacturing {
    background: var(--brand-dark);
    position: relative;
    padding: 80px 0;
}
.manufacturing-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.manufacturing-label { color: var(--brand-yellow); }
.manufacturing-label-line { background: var(--brand-yellow); }
.manufacturing-subtitle { opacity: 0.8; margin-bottom: 0; line-height: 1.8; }
.manufacturing-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.m-stat-item {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 30px 20px;
    border-radius: 16px;
    text-align: center;
    backdrop-filter: blur(10px);
}
.m-stat-num {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--brand-yellow);
    margin-bottom: 8px;
    font-family: var(--font-heading);
}
.m-stat-text {
    color: var(--brand-white);
    font-size: 0.95rem;
    opacity: 0.9;
}

/* Expanded Sections */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.about-features .features-grid,
.why-join-us .features-grid {
    grid-template-columns: repeat(3, 1fr);
}
.feature-card {
    background: var(--brand-white);
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.04);
    text-align: center;
    transition: var(--transition);
}
.feature-card:hover { transform: translateY(-5px); box-shadow: 0 15px 50px rgba(0,0,0,0.08); }
.feature-icon {
    width: 70px;
    height: 70px;
    background: rgba(245, 165, 0, 0.1);
    color: var(--brand-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
}
.feature-title { font-size: 1.3rem; margin-bottom: 15px; color: var(--brand-dark); }
.feature-desc { color: var(--brand-text); margin-bottom: 0; }

.split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-global {
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}
.global-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.global-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.85));
    z-index: 0;
}
.global-content { padding: 80px 20px; position: relative; z-index: 1; }
.feature-label { justify-content: center; }
.global-title { font-size: 2.5rem; font-weight: 800; color: var(--brand-white) !important; }
.global-desc { font-size: 1.1rem; max-width: 800px; margin: 0 auto; line-height: 1.8; color: rgba(255, 255, 255, 0.8) !important; }

/* About Page CTA */
.about-cta-inner {
    background: var(--brand-yellow);
    padding: 60px 40px;
    border-radius: 20px;
}
.about-cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--brand-dark);
    margin-bottom: 15px;
}
.about-cta-desc {
    font-size: 1.1rem;
    color: var(--brand-dark);
    max-width: 600px;
    margin: 0 auto 30px;
    opacity: 0.9;
}
.about-cta-btn {
    background: var(--brand-dark);
    color: var(--brand-white);
    border: none;
    padding: 15px 30px;
    font-weight: 600;
    border-radius: 30px;
    font-size: 1.1rem;
    transition: var(--transition);
}
.about-cta-btn:hover {
    background: #000;
    color: var(--brand-yellow);
    transform: translateY(-2px);
}

/* Contact Page Styles */
.contact-info-section { padding-bottom: 30px; }
.contact-split-section { padding-top: 30px; }

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* Careers Page Styles */
.why-join-us { padding-bottom: 30px; }
.jobs-section { padding-top: 30px; padding-bottom: 30px; min-height: 50vh; }
.application-section { padding-top: 30px; }

.job-card {
    background: var(--brand-white);
    border: 1px solid #eaeaea;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.02);
    transition: var(--transition);
}
.job-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
    border-color: #ddd;
}
.job-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 20px;
    margin-bottom: 20px;
}
.job-title {
    font-size: 1.4rem;
    color: var(--brand-dark);
    margin-bottom: 10px;
    font-weight: 700;
}
.job-meta .badge {
    margin-right: 10px;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.85rem;
}
.job-meta .badge i { margin-right: 5px; }
.job-meta .badge-outline {
    background: transparent;
    border: 1px solid #dcdcdc;
    color: var(--brand-text);
}
.job-summary p { margin-bottom: 5px; font-size: 0.95rem; }
.view-details-btn {
    background: none;
    border: none;
    color: var(--brand-yellow);
    font-weight: 600;
    padding: 0;
    cursor: pointer;
    margin-top: 10px;
    transition: color 0.2s;
}
.view-details-btn:hover { color: var(--brand-dark); text-decoration: none; }
.empty-state-icon {
    font-size: 4rem;
    color: #e0e0e0;
    margin-bottom: 20px;
}
.jobs-section { min-height: 50vh; }
.contact-card {
    background: var(--brand-white);
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.04);
    text-align: center;
    transition: var(--transition);
}
.contact-card:hover { transform: translateY(-5px); box-shadow: 0 15px 50px rgba(0,0,0,0.08); }
.contact-icon {
    width: 60px;
    height: 60px;
    background: rgba(245, 165, 0, 0.1);
    color: var(--brand-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 20px;
}
.contact-card-title { font-size: 1.2rem; margin-bottom: 15px; color: var(--brand-dark); }
.contact-address, .contact-details p { color: var(--brand-text); margin-bottom: 5px; font-size: 0.95rem; }
.contact-details a { color: var(--brand-text); }
.contact-details a:hover { color: var(--brand-yellow); }
.text-brand { color: var(--brand-yellow); }

.contact-split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}
.contact-form-wrapper {
    background: var(--brand-white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
}
.form-header { color: var(--brand-dark); font-weight: 700; margin-bottom: 5px; }
.form-header-wrap p { font-size: 0.95rem; }
.contact-form .form-group { margin-bottom: 20px; }
.contact-form label { font-weight: 500; color: var(--brand-dark); margin-bottom: 8px; display: block; font-size: 0.9rem; }
.contact-form .form-control {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px 15px;
    width: 100%;
    font-family: inherit;
    transition: var(--transition);
    background: #fdfdfd;
}
.contact-form .form-control:focus {
    border-color: var(--brand-yellow);
    outline: none;
    box-shadow: 0 0 0 3px rgba(245, 165, 0, 0.1);
    background: #fff;
}
.contact-submit-btn { width: 100%; padding: 14px; font-weight: 600; font-size: 1.1rem; border-radius: 8px; margin-top: 10px; }

.contact-map-wrapper { width: 100%; }
.map-card-inner {
    background: var(--brand-white);
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
}
.map-container {
    position: relative;
    overflow: hidden;
    padding-top: 75%; /* 4:3 Aspect Ratio */
    border-radius: 12px;
}
.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.map-action h4 { font-weight: 700; color: var(--brand-dark); font-size: 1.3rem; }
.map-action p { font-size: 0.95rem; }
.map-dir-btn { border-color: var(--brand-yellow); color: var(--brand-yellow); border-radius: 8px; padding: 10px 24px; font-weight: 600; display: inline-block; }
.map-dir-btn:hover { background: var(--brand-yellow); color: var(--brand-dark); }



/* Responsive updates for About */
@media (max-width: 992px) {
    .overview-grid, .manufacturing-inner, .split-grid, .contact-split-grid { grid-template-columns: 1fr; gap: 40px; }
    .mvv-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .reverse-grid .split-image { order: -1; }
    .contact-info-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 768px) {
    .page-hero-title { font-size: 2.2rem; }
    .mvv-grid, .manufacturing-stats, .features-grid, .contact-info-grid { grid-template-columns: 1fr; }
    .global-title { font-size: 2rem; }
    .contact-form-wrapper { padding: 25px 20px; }
    .job-card-header { flex-direction: column; gap: 15px; }
    .job-meta .badge { margin-bottom: 5px; display: inline-block; }
}

/* --------------------------------------------------------------------------
   23. Animations
   -------------------------------------------------------------------------- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
.animate-fade-in-up { animation: fadeInUp 0.6s ease forwards; }
.animate-fade-in    { animation: fadeIn 0.6s ease forwards; }

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --------------------------------------------------------------------------
   Application Pages - Complete High-End Luxury & Responsive UI System
-------------------------------------------------------------------------- */
.application-page {
    overflow-x: hidden;
}

/* 1. Hero Section */
.app-hero-luxury {
    position: relative;
    padding: 80px 0 60px;
    color: #FFFFFF;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    min-height: 320px;
    display: flex;
    align-items: center;
}
.app-hero-luxury::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(165deg, rgba(10, 15, 30, 0.75) 0%, rgba(10, 15, 30, 0.55) 50%, rgba(10, 15, 30, 0.72) 100%);
    z-index: 1;
}
.app-hero-luxury .container {
    position: relative;
    z-index: 2;
    background: rgba(5, 10, 20, 0.42);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 16px;
    padding: 48px 48px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.45);
}

.app-breadcrumb {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    list-style: none;
    margin-top: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
    box-sizing: border-box;
}
.app-breadcrumb li {
    display: inline-flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.8);
    word-break: break-word;
    overflow-wrap: anywhere;
    max-width: 100%;
}
.app-breadcrumb li span, .app-breadcrumb a {
    color: #FFFFFF;
    text-decoration: none;
    word-break: break-word;
    overflow-wrap: anywhere;
    max-width: 100%;
}
.app-breadcrumb a:hover { color: var(--brand-yellow); text-decoration: none; }
.app-breadcrumb i.separator { font-size: 0.7rem; opacity: 0.7; margin: 0 4px; flex-shrink: 0; }
.app-breadcrumb span.active, .app-breadcrumb li.active { color: var(--brand-yellow); font-weight: 700; text-transform: uppercase; }

.app-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--brand-yellow);
    margin-bottom: 12px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9), 0 0 30px rgba(0,0,0,0.6);
}
.app-hero-title {
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 900;
    margin-bottom: 18px;
    color: #FFFFFF;
    letter-spacing: -0.5px;
    line-height: 1.15;
    text-shadow: 0 2px 4px rgba(0,0,0,0.9), 0 6px 24px rgba(0,0,0,0.75), 0 12px 48px rgba(0,0,0,0.5);
}
.app-hero-title span {
    color: var(--brand-yellow);
    text-shadow: 0 2px 4px rgba(0,0,0,0.9), 0 6px 24px rgba(0,0,0,0.75);
}
.app-hero-title {
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
}
.app-hero-subtitle {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    max-width: 760px;
    margin: 0 auto 32px auto;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
    font-weight: 500;
    text-shadow: 0 2px 8px rgba(0,0,0,0.95), 0 4px 20px rgba(0,0,0,0.8);
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
}
.app-hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* 2. Overview Section */
.app-overview-section {
    padding: 90px 0;
    background: #FFFFFF;
}
.app-overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.app-overview-text .inline-section-label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #00ADF1;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.app-overview-text .inline-section-label .label-dot {
    width: 8px;
    height: 8px;
    background: var(--brand-yellow);
    border-radius: 50%;
    display: inline-block;
}
.app-overview-text .inline-section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 20px;
    line-height: 1.25;
}
.app-overview-desc {
    font-size: 1rem;
    color: #475569;
    line-height: 1.75;
    margin-bottom: 16px;
}

.overview-highlights-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}
.highlight-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #F0F9FF;
    color: #0284C7;
    border: 1px solid #BAE6FD;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
}
.highlight-pill i {
    color: #00ADF1;
}

.app-overview-image-wrap {
    position: relative;
}
.app-overview-image {
    width: 100%;
    height: 440px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.15);
    border: 4px solid #FFFFFF;
}
.image-floating-badge {
    position: absolute;
    bottom: -25px;
    left: -25px;
    background: #FFFFFF;
    padding: 16px 24px;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 14px;
    border-left: 4px solid var(--brand-yellow);
    z-index: 5;
}
.image-floating-badge .badge-icon {
    width: 44px;
    height: 44px;
    background: rgba(245, 165, 0, 0.15);
    color: #D97706;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}
.image-floating-badge strong {
    display: block;
    font-size: 1rem;
    color: #0F172A;
}
.image-floating-badge span {
    font-size: 0.8rem;
    color: #64748B;
}

/* 3. Areas / Subcategories Grid Section */
.app-areas-section {
    padding: 90px 0;
    background: #F8FAFC;
}
.app-section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 50px auto;
}
.app-section-header .section-tag {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #00ADF1;
    display: block;
    margin-bottom: 8px;
}
.app-section-header h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 14px;
}
.app-section-header p {
    font-size: 0.98rem;
    color: #64748B;
    line-height: 1.65;
}

.app-areas-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.app-area-card {
    background: #FFFFFF;
    padding: 32px 24px;
    border-radius: 16px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}
.app-area-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 173, 241, 0.12);
    border-color: #00ADF1;
}
.app-area-icon {
    width: 56px;
    height: 56px;
    background: #F0F9FF;
    color: #00ADF1;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}
.app-area-card:hover .app-area-icon {
    background: var(--brand-yellow);
    color: #0F172A;
    transform: scale(1.08);
}
.app-area-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 10px;
}
.app-area-card p {
    font-size: 0.88rem;
    color: #64748B;
    line-height: 1.6;
    margin-bottom: 16px;
    flex-grow: 1;
}
.app-area-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.app-area-tag {
    font-size: 0.75rem;
    font-weight: 600;
    background: #F1F5F9;
    color: #475569;
    padding: 3px 10px;
    border-radius: 12px;
}

/* 4. Products Section */
.app-products-section {
    padding: 90px 0;
    background: #FFFFFF;
}
.app-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.app-product-card {
    background: #FFFFFF;
    border-radius: 18px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05);
    padding: 36px 30px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}
.app-product-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--brand-yellow);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.app-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.1);
    border-color: #CBD5E1;
}
.app-product-card:hover::before {
    opacity: 1;
}
.app-product-badge {
    width: 60px;
    height: 60px;
    background: #F0F9FF;
    color: #0284C7;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 22px;
    transition: all 0.3s ease;
}
.app-product-card:hover .app-product-badge {
    background: #00ADF1;
    color: #FFFFFF;
}
.app-product-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 12px;
}
.app-product-card p {
    font-size: 0.92rem;
    color: #64748B;
    line-height: 1.65;
    margin-bottom: 20px;
    flex-grow: 1;
}
.app-product-features {
    list-style: none;
    margin-bottom: 24px;
    padding: 0;
}
.app-product-features li {
    font-size: 0.85rem;
    color: #334155;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}
.app-product-features li i {
    color: #10B981;
    font-size: 0.8rem;
}

/* 5. Specs / Why Archidply Section (Light Theme) */
.app-specs-section {
    padding: 85px 0;
    background: #F8FAFC;
    border-top: 1px solid #E2E8F0;
    border-bottom: 1px solid #E2E8F0;
}
.app-specs-section .app-section-header .section-tag {
    color: #00ADF1 !important;
}
.app-specs-section .app-section-header h2 {
    color: #0F172A !important;
}
.app-specs-section .app-section-header p {
    color: #64748B !important;
}

.app-specs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.spec-box {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    padding: 32px 24px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}
.spec-box:hover {
    background: #FFFFFF;
    transform: translateY(-6px);
    border-color: #00ADF1;
    box-shadow: 0 16px 36px rgba(0, 173, 241, 0.12);
}
.spec-icon {
    width: 60px;
    height: 60px;
    background: #F0F9FF;
    color: #00ADF1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 18px auto;
    transition: all 0.3s ease;
}
.spec-box:hover .spec-icon {
    background: var(--brand-yellow);
    color: #0F172A;
    transform: scale(1.1);
}
.spec-box h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 8px;
}
.spec-box p {
    font-size: 0.88rem;
    color: #64748B;
    line-height: 1.6;
}

/* 6. Luxury CTA Section */
.app-cta-luxury {
    position: relative;
    padding: 90px 0;
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 50%, #0F172A 100%);
    color: #FFFFFF;
    text-align: center;
    overflow: hidden;
    border-top: 4px solid var(--brand-yellow);
}
.app-cta-luxury::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0, 173, 241, 0.15) 0%, transparent 70%);
    pointer-events: none;
}
.app-cta-luxury .container {
    position: relative;
    z-index: 2;
    max-width: 800px;
}
.app-cta-luxury h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 16px;
}
.app-cta-luxury h2 span {
    color: var(--brand-yellow);
}
.app-cta-luxury p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    line-height: 1.7;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .app-areas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .app-specs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 868px) {
    .app-overview-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .app-overview-image {
        height: 340px;
    }
    .image-floating-badge {
        bottom: 15px;
        left: 15px;
        padding: 12px 18px;
    }
    .app-products-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 640px) {
    .app-hero-luxury {
        padding: 120px 0 70px;
        min-height: 380px;
    }
    .app-areas-grid {
        grid-template-columns: 1fr;
    }
    .app-specs-grid {
        grid-template-columns: 1fr;
    }
    .app-overview-section, .app-areas-section, .app-products-section, .app-specs-section, .app-cta-luxury {
        padding: 60px 0;
    }
}

/* ========================================================================
   PRODUCT 3-TIER SYSTEM — frontend.css
   Tier 1: Category Index | Tier 2: Product Listing | Tier 3: Product Detail
   NO inline or internal CSS — all classes defined here.
   ======================================================================== */

/* ─────────────────────────────────────────────────────
   SHARED: Page Wrappers & Section Spacing
───────────────────────────────────────────────────── */
.product-categories-page,
.product-listing-page,
.product-detail-page {
    background: #F8FAFC;
    min-height: 60vh;
}

/* ─────────────────────────────────────────────────────
   TIER 1 — CATEGORY INDEX
───────────────────────────────────────────────────── */
.products-hero-section {
    position: relative;
    padding: 80px 0 60px;
    background-color: var(--brand-dark);
    color: #fff;
    text-align: center;
    border-bottom: 3px solid var(--brand-yellow);
    overflow: hidden;
}
.products-hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(45deg, rgba(255,255,255,0.02) 0px, rgba(255,255,255,0.02) 2px, transparent 2px, transparent 15px);
    pointer-events: none;
    z-index: 0;
}
.products-hero-overlay {
    display: none;
}
.products-hero-container {
    position: relative;
    z-index: 2;
    padding: 20px;
}

/* ── Categories Grid Section ── */
.categories-grid-section {
    padding: 80px 0;
}
.section-intro {
    text-align: center;
    margin-bottom: 52px;
}
.section-heading-main {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    color: #0A0F1E;
    margin-bottom: 14px;
    letter-spacing: -0.3px;
}
.section-subtext {
    font-size: 1.05rem;
    color: #5A6A7A;
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.7;
}

.category-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
@media (max-width: 1024px) { .category-cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .category-cards-grid { grid-template-columns: 1fr; } }

.product-category-card {
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    border: 1px solid #E8EDF5;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
    color: inherit;
    text-decoration: none;
}
.product-category-card-image-wrap {
    position: relative;
    height: 200px;
    overflow: hidden;
}
.product-category-card-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.product-category-card:hover .product-category-card-image-wrap img { transform: scale(1.05); }
.product-category-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.03);
}
.product-category-card-body {
    padding: 20px 22px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.product-category-card-meta {
    margin-bottom: 8px;
}
.product-category-product-count {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--brand-dark, #00ADF1);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.product-category-product-count i { margin-right: 4px; }
.product-category-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0A0F1E;
    margin-bottom: 8px;
    line-height: 1.3;
}
.product-category-card-desc {
    font-size: 0.9rem;
    color: #6B7280;
    line-height: 1.6;
    margin-bottom: 12px;
    flex: 1;
}
.product-category-sub-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}
.product-category-sub-tag {
    font-size: 0.75rem;
    background: #F1F5FB;
    color: #4A5568;
    border-radius: 20px;
    padding: 3px 10px;
    font-weight: 500;
    border: 1px solid #DDE3EE;
}
.product-category-card-cta {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--brand-dark, #00ADF1);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    transition: gap 0.2s;
}
.product-category-card:hover .product-category-card-cta { gap: 10px; }

/* ── CTA Strip ── */
.product-cta-strip {
    background: linear-gradient(135deg, #0A0F1E 0%, #1A2540 100%);
    padding: 60px 0;
}
.product-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}
.product-cta-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}
.product-cta-text p {
    color: rgba(255,255,255,0.7);
    margin: 0;
}

/* Empty State */
.empty-state-box {
    text-align: center;
    padding: 80px 24px;
    color: #9CA3AF;
}
.empty-state-box i { font-size: 3rem; margin-bottom: 16px; display: block; }
.empty-state-box h3 { font-size: 1.3rem; font-weight: 600; color: #4B5563; margin-bottom: 8px; }
.empty-state-box p { font-size: 0.95rem; }

/* ─────────────────────────────────────────────────────
   TIER 2 — PRODUCT LISTING
───────────────────────────────────────────────────── */
.listing-hero-section {
    position: relative;
    padding: 80px 0 60px;
    background-color: var(--brand-dark);
    border-bottom: 3px solid var(--brand-yellow);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 300px;
    display: flex;
    align-items: center;
    background-blend-mode: multiply;
}
.listing-hero-overlay {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(45deg, rgba(255,255,255,0.02) 0px, rgba(255,255,255,0.02) 2px, transparent 2px, transparent 15px);
    z-index: 1;
}
.listing-hero-container {
    position: relative;
    z-index: 2;
    background: rgba(5,10,20,0.40);
    backdrop-filter: blur(5px);
    border-radius: 14px;
    padding: 36px 40px;
    border: 1px solid rgba(255,255,255,0.10);
}

/* ── Listing Layout ── */
.product-listing-section {
    padding: 60px 0;
}
.product-listing-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 36px;
    align-items: start;
}
@media (max-width: 900px) { .product-listing-layout { grid-template-columns: 1fr; } }

/* ── Sidebar ── */
.product-listing-sidebar {
    min-width: 0;
}
.cf-turnstile-wrap {
    overflow: visible;
    max-width: 100%;
}

.sidebar-widget .cf-turnstile-wrap {
    width: 100%;
    overflow: visible;
    height: 45px;
    display: flex;
    justify-content: center;
}

.sidebar-widget .cf-turnstile {
    transform: scale(0.62);
    transform-origin: center center;
}

@media (max-width: 400px) {
    .cf-turnstile-wrap {
        width: 100%;
        overflow: visible;
        height: 45px;
        display: flex;
        justify-content: center;
    }
    .cf-turnstile-wrap .cf-turnstile {
        transform: scale(0.65);
        transform-origin: center center;
    }
    .why-card { flex: 0 0 100%; max-width: 100%; }
}

@media (min-width: 901px) {
    .sticky-sidebar {
        position: sticky;
        top: 100px;
        z-index: 10;
        align-self: start;
    }
}
.sidebar-widget {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #E8EDF5;
    padding: 20px;
    margin-bottom: 20px;
}
.sidebar-widget-title {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #374151;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 7px;
}
.sidebar-cat-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sidebar-cat-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 0.88rem;
    color: #374151;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.sidebar-cat-link:hover, .sidebar-cat-link.active {
    background: #F5A500;
    color: #fff;
    text-decoration: none;
}
.sidebar-cat-count {
    font-size: 0.78rem;
    background: rgba(0,0,0,0.06);
    border-radius: 12px;
    padding: 2px 7px;
    font-weight: 600;
}
.sidebar-cat-link.active .sidebar-cat-count { background: rgba(255,255,255,0.25); color: #fff; }
.sidebar-enquiry-widget p { font-size: 0.85rem; color: #6B7280; margin-bottom: 12px; }
.sidebar-enquiry-btn { width: 100%; text-align: center; }

/* ── Listing Top Bar ── */
.listing-top-bar {
    margin-bottom: 24px;
}
.listing-count { font-size: 0.9rem; color: #6B7280; }
.listing-count strong { color: #111; }
.listing-count em { font-style: normal; font-weight: 600; color: var(--brand-yellow, #F5A500); }

/* ── Products Grid ── */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
@media (max-width: 1100px) { .products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .products-grid { grid-template-columns: 1fr; } }

.product-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 14px;
    border: 1px solid #E8EDF5;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 32px rgba(0,0,0,0.10);
    text-decoration: none;
    color: inherit;
}
.product-card-image-wrap {
    position: relative;
    height: 190px;
    overflow: hidden;
    background: #F1F5FB;
}
.product-card-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.product-card:hover .product-card-image-wrap img { transform: scale(1.05); }
.product-featured-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--brand-yellow, #F5A500);
    color: #000;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.product-grade-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(10,15,30,0.80);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 20px;
    text-transform: uppercase;
}
.product-card-body {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
    word-wrap: break-word;
}
.product-sku { font-size: 0.72rem; color: #9CA3AF; font-weight: 600; margin-bottom: 4px; text-transform: uppercase; }
.product-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 5px;
    line-height: 1.35;
    overflow-wrap: anywhere;
    word-break: break-word;
    word-wrap: break-word;
}
.product-card-tagline {
    font-size: 0.82rem;
    color: var(--brand-yellow, #F5A500);
    font-weight: 600;
    margin-bottom: 6px;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.product-card-desc {
    font-size: 0.84rem;
    color: #6B7280;
    line-height: 1.55;
    margin-bottom: 12px;
    flex: 1;
    overflow-wrap: anywhere;
    word-break: break-word;
    word-wrap: break-word;
}
.product-card-footer { margin-top: auto; }
.product-view-link {
    font-size: 0.88rem;
    font-weight: 700;
    color: #0284C7;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: #E0F2FE;
    border-radius: 20px;
    transition: background 0.25s, color 0.25s, gap 0.2s;
}
.product-card:hover .product-view-link {
    gap: 10px;
    background: #0284C7;
    color: #fff;
}

/* Pagination */
.product-pagination { margin-top: 40px; text-align: center; }
.product-pagination .pagination { justify-content: center; }

/* ─────────────────────────────────────────────────────
   TIER 3 — PRODUCT DETAIL & WORD WRAPPING PROTECTION
───────────────────────────────────────────────────── */
/* Removed overflow-x: hidden to allow position: sticky to work */
.product-detail-page {
    /* Removed overflow-x: hidden; */
}

/* ══════════════════════════════════════════════════════════
   PDP HERO — Brand Dark Colour (same as Contact page)
══════════════════════════════════════════════════════════ */
.pdp-hero {
    background-color: #00ADF1;
    background-image: repeating-linear-gradient(
        45deg,
        rgba(255,255,255,0.05) 0px,
        rgba(255,255,255,0.05) 2px,
        transparent 2px,
        transparent 15px
    );
    border-bottom: 3px solid #FFDE2D;
    padding: 70px 0 60px;
    text-align: left;
    min-height: 340px;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.pdp-hero-inner {
    position: relative;
    z-index: 1;
}
.pdp-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0 0 28px 0;
    font-size: 0.82rem;
    word-break: break-word;
    overflow-wrap: break-word;
}
.pdp-breadcrumb a { color: rgba(255,255,255,0.8); text-decoration: none; transition: color 0.2s; }
.pdp-breadcrumb a:hover { color: var(--brand-yellow, #FFDE2D); }
.pdp-breadcrumb i { color: rgba(255,255,255,0.5); font-size: 0.65rem; }
.pdp-breadcrumb-active { color: #fff; font-weight: 600; }
.pdp-hero-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: center;
}
.pdp-grade-badge {
    display: inline-block;
    background: var(--brand-yellow, #F5A500);
    color: #000;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 14px;
}
.pdp-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    margin: 0 0 12px 0;
    text-shadow: 0 2px 10px rgba(0,0,0,0.15);
    word-break: break-word;
    overflow-wrap: break-word;
}
.pdp-hero-tagline {
    font-size: 1.1rem;
    color: var(--brand-yellow, #FFDE2D);
    margin: 0 0 10px 0;
    font-weight: 600;
    word-break: break-word;
    overflow-wrap: break-word;
}
.pdp-hero-desc {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.9);
    margin: 0 0 24px 0;
    line-height: 1.7;
    max-width: 560px;
    word-break: break-word;
    overflow-wrap: break-word;
}
.pdp-hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}
.pdp-btn-quote { background: var(--brand-yellow, #FFDE2D); color: #000; font-weight: 700; border: none; }
.pdp-btn-quote:hover { background: #fff; color: #000; }
.pdp-btn-brochure { border-color: rgba(255,255,255,0.4); color: #fff; background: rgba(255,255,255,0.15); }
.pdp-btn-brochure:hover { background: rgba(255,255,255,0.3); color: #fff; }
.pdp-hero-badges {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-shrink: 0;
}
.pdp-hero-badge-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 10px;
    padding: 10px 16px;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
    backdrop-filter: blur(4px);
}
.pdp-hero-badge-item i { color: var(--brand-yellow, #FFDE2D); font-size: 1rem; flex-shrink: 0; }
.pdp-hero-badge-brand { background: rgba(0,0,0,0.1); border-color: rgba(0,0,0,0.1); }
.pdp-brand-script {
    font-style: italic;
    font-weight: 700;
    color: var(--brand-yellow, #FFDE2D);
    font-family: Georgia, serif;
    font-size: 0.9rem;
}
@media (max-width: 768px) {
    .pdp-hero { padding: 40px 0 36px; }
    .pdp-hero-content { grid-template-columns: 1fr; }
    .pdp-hero-badges { flex-direction: row; flex-wrap: wrap; }
    .pdp-hero-badge-item { flex: 1 1 auto; justify-content: center; }
    .pdp-hero-title { font-size: 2rem; }
}

/* ══════════════════════════════════════════════════════════
   PDP SHOWCASE — Product Image + Key Info
══════════════════════════════════════════════════════════ */
.pdp-showcase {
    background: #F8FAFD;
    border-bottom: 1px solid #E8EDF5;
    padding: 60px 0;
}
.pdp-showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    min-width: 0;
}
.pdp-showcase-image-col, .pdp-showcase-info-col {
    min-width: 0;
}
.pdp-showcase-image-wrap {
    background: #fff;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.08);
    border: 1px solid #E8EDF5;
}
.pdp-showcase-main-img {
    width: 100%;
    border-radius: 12px;
    display: block;
    object-fit: contain;
    max-height: 400px;
    transition: transform 0.4s;
}
.pdp-showcase-main-img:hover { transform: scale(1.02); }
.pdp-showcase-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}
.pdp-thumb {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #E8EDF5;
    cursor: pointer;
    transition: border-color 0.2s, transform 0.2s;
}
.pdp-thumb:hover { border-color: var(--brand-yellow, #F5A500); transform: scale(1.05); }
.pdp-section-label {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #D97706;
    margin-bottom: 10px;
    word-break: break-word;
    overflow-wrap: break-word;
}
.pdp-showcase-product-name {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 900;
    color: #0A0F1E;
    margin: 0 0 8px 0;
    line-height: 1.2;
    word-break: break-word;
    overflow-wrap: break-word;
}
.pdp-showcase-tagline {
    font-size: 1rem;
    color: #6B7280;
    margin: 0 0 24px 0;
}
.pdp-key-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
}
.pdp-key-spec-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #fff;
    border: 1px solid #E8EDF5;
    border-radius: 10px;
    padding: 12px 14px;
}
.pdp-key-spec-item i {
    color: var(--brand-yellow, #F5A500);
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
}
.pdp-key-spec-item small {
    display: block;
    font-size: 0.72rem;
    color: #9CA3AF;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 600;
}
.pdp-key-spec-item strong {
    display: block;
    font-size: 0.88rem;
    color: #111827;
    font-weight: 700;
    margin-top: 2px;
}
.pdp-quick-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
}
.pdp-quick-nav-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: #9CA3AF;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}
.pdp-quick-nav-link {
    font-size: 0.8rem;
    font-weight: 600;
    color: #374151;
    text-decoration: none;
    background: #fff;
    border: 1px solid #E8EDF5;
    padding: 4px 12px;
    border-radius: 20px;
    transition: all 0.2s;
}
.pdp-quick-nav-link:hover {
    background: var(--brand-yellow, #F5A500);
    border-color: var(--brand-yellow, #F5A500);
    color: #000;
    text-decoration: none;
}
.pdp-showcase-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.pdp-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25D366;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 22px;
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
}
.pdp-whatsapp-btn:hover { background: #1ebe5c; color: #fff; text-decoration: none; transform: translateY(-1px); }
@media (max-width: 900px) {
    .pdp-showcase-grid { grid-template-columns: 1fr; gap: 32px; }
    .pdp-showcase { padding: 36px 0; }
}
@media (max-width: 600px) {
    .pdp-key-specs { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════
   PDP BODY LAYOUT (Main + Sidebar)
══════════════════════════════════════════════════════════ */
.pdp-body { padding: 50px 0 60px; }
.pdp-body-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 36px;
    align-items: start;
}
.pdp-main { min-width: 0; }
@media (max-width: 960px) {
    .pdp-body-layout { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════
   PDP SECTIONS — Universal Card Style
══════════════════════════════════════════════════════════ */
.pdp-section {
    background: #fff;
    border: 1px solid #E8EDF5;
    border-radius: 16px;
    padding: 28px 30px 32px;
    margin-bottom: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.pdp-section-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid #F1F5FB;
}
.pdp-section-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--brand-yellow, #F5A500), #E09400);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
}
.pdp-section-title {
    font-size: 1.18rem;
    font-weight: 800;
    color: #111827;
    margin: 0;
    font-family: var(--font-heading);
}
@media (max-width: 768px) {
    .pdp-section { padding: 20px 16px 22px; }
}

/* ══════════════════════════════════════════════════════════
   PDP OVERVIEW — Accordion
══════════════════════════════════════════════════════════ */
.pdp-overview-accordion {
    border: 1px solid #E8EDF5;
    border-radius: 12px;
    overflow: hidden;
}
.pdp-acc-item {
    border-bottom: 1px solid #E8EDF5;
}
.pdp-acc-item:last-child { border-bottom: none; }
.pdp-acc-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 15px 20px;
    background: #F8FAFC;
    border: none;
    font-size: 0.95rem;
    font-weight: 700;
    color: #374151;
    cursor: pointer;
    text-align: left;
    gap: 12px;
    transition: background 0.2s, color 0.2s;
}
.pdp-acc-trigger span { display: flex; align-items: center; gap: 10px; }
.pdp-acc-trigger span i { color: var(--brand-yellow, #F5A500); }
.pdp-acc-trigger:hover { background: #EFF3FA; }
.pdp-acc-trigger.active { background: #0A0F1E; color: #fff; }
.pdp-acc-trigger.active span i { color: var(--brand-yellow, #F5A500); }
.pdp-acc-arrow { font-size: 0.75rem; flex-shrink: 0; transition: transform 0.3s; }
.pdp-acc-trigger.active .pdp-acc-arrow { transform: rotate(180deg); }
.pdp-acc-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.38s ease;
}
.pdp-acc-panel.open { max-height: 25000px; }
.pdp-rich-content {
    padding: 20px 22px;
    line-height: 1.8;
    color: #374151;
    font-size: 0.96rem;
    overflow-wrap: break-word;
    word-break: break-word;
}
.pdp-rich-content * { max-width: 100%; }
.pdp-rich-content h2, .pdp-rich-content h3 { margin-bottom: 12px; margin-top: 24px; color: #1e3a5f; }
.pdp-rich-content h2:first-child, .pdp-rich-content h3:first-child { margin-top: 0; }
.pdp-rich-content p { margin-bottom: 16px; }
.pdp-rich-content ul { margin-bottom: 16px; padding-left: 20px; }
.pdp-rich-content li { margin-bottom: 8px; }

/* ══════════════════════════════════════════════════════════
   PDP FEATURES GRID
══════════════════════════════════════════════════════════ */
.pdp-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}
@media (max-width: 600px) { .pdp-features-grid { grid-template-columns: 1fr; } }
.pdp-feature-card {
    display: flex;
    gap: 14px;
    align-items: center;
    background: #F8FAFC;
    border: 1px solid #E8EDF5;
    border-radius: 12px;
    padding: 16px;
    transition: box-shadow 0.2s, border-color 0.2s;
}
.pdp-feature-card:hover { border-color: var(--brand-yellow, #F5A500); box-shadow: 0 4px 16px rgba(245,165,0,0.1); }
.pdp-feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(245,165,0,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.pdp-feature-icon i { color: var(--brand-yellow, #F5A500); }
.pdp-feature-title { font-size: 0.9rem; font-weight: 700; color: #111827; margin: 0 0 4px 0; word-break: break-word; overflow-wrap: break-word; }
.pdp-feature-desc { font-size: 0.82rem; color: #6B7280; margin: 0; line-height: 1.5; word-break: break-word; overflow-wrap: break-word; }
.pdp-feature-body { min-width: 0; }

/* ══════════════════════════════════════════════════════════
   PDP TECHNICAL SPECS — Image Left + Table Right
══════════════════════════════════════════════════════════ */
.pdp-specs-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: start;
}
.pdp-specs-image-col {
    position: sticky;
    top: 100px;
    z-index: 10;
    min-width: 0;
}
.pdp-specs-image-wrap {
    background: #F8FAFC;
    border: 1px solid #E8EDF5;
    border-radius: 14px;
    padding: 20px;
    text-align: center;
}
.pdp-specs-image-wrap img {
    max-width: 100%;
    border-radius: 8px;
    display: block;
    margin: 0 auto;
}
.pdp-specs-table-col {
    min-width: 0;
}
.pdp-spec-group-title {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #374151;
    background: #F1F5FB;
    padding: 8px 14px;
    border-radius: 6px;
    margin-bottom: 10px;
}
.pdp-spec-table-wrap {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid #E8EDF5;
}
.pdp-spec-table {
    width: 100%;
    border-collapse: collapse;
}
.pdp-spec-table thead th {
    background: #0A0F1E;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 11px 14px;
    text-align: left;
}
.pdp-spec-table thead th:first-child { border-radius: 0; }
.pdp-spec-table tbody tr { border-bottom: 1px solid #F1F5FB; transition: background 0.15s; }
.pdp-spec-table tbody tr:last-child { border-bottom: none; }
.pdp-spec-table tbody tr:hover { background: #FFFBF0; }
.pdp-spec-name {
    padding: 11px 14px;
    font-size: 0.86rem;
    font-weight: 600;
    color: #374151;
    width: 42%;
}
.pdp-spec-val {
    padding: 11px 14px;
    font-size: 0.88rem;
    color: #111827;
}
.pdp-spec-val strong { font-weight: 700; }
.pdp-spec-unit { font-size: 0.76rem; color: #9CA3AF; margin-left: 4px; }
.pdp-spec-std { padding: 11px 14px; }
.pdp-std-badge {
    display: inline-block;
    font-size: 0.72rem;
    background: #EFF3FA;
    color: #374151;
    border-radius: 4px;
    padding: 2px 8px;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.pdp-standards-note {
    margin-top: 14px;
    font-size: 0.84rem;
    color: #6B7280;
    background: #F8FAFC;
    border: 1px solid #E8EDF5;
    border-radius: 8px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.pdp-standards-note i { color: var(--brand-yellow, #F5A500); }

/* Spec Accordion (no image layout) */
.pdp-spec-accordion { border: 1px solid #E8EDF5; border-radius: 12px; overflow: hidden; }
.pdp-spec-acc-item { border-bottom: 1px solid #E8EDF5; }
.pdp-spec-acc-item:last-child { border-bottom: none; }
.pdp-spec-acc-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 14px 20px;
    background: #F8FAFC;
    border: none;
    font-size: 0.93rem;
    font-weight: 700;
    color: #111827;
    cursor: pointer;
    text-align: left;
    gap: 12px;
    transition: background 0.2s, color 0.2s;
}
.pdp-spec-acc-trigger:hover { background: #EFF3FA; }
.pdp-spec-acc-trigger.active { background: #0A0F1E; color: #fff; }
.pdp-spec-acc-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}
.pdp-spec-acc-panel.open { max-height: 800px; }

@media (max-width: 768px) {
    .pdp-specs-split { grid-template-columns: 1fr; }
    .pdp-specs-image-col {
        position: relative;
        top: auto;
        z-index: 1;
    }
}

/* ══════════════════════════════════════════════════════════
   PDP SIZES TABLE
══════════════════════════════════════════════════════════ */
.pdp-sizes-table-wrap {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid #E8EDF5;
}
.pdp-sizes-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 400px;
}
.pdp-sizes-table thead th {
    background: linear-gradient(135deg, #0A0F1E, #122346);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 13px 16px;
    text-align: left;
}
.pdp-sizes-table tbody tr { border-bottom: 1px solid #F1F5FB; transition: background 0.15s; }
.pdp-sizes-table tbody tr:last-child { border-bottom: none; }
.pdp-sizes-table tbody tr:nth-child(even) { background: #FAFBFD; }
.pdp-sizes-table tbody tr:hover { background: #FFFBF0; }
.pdp-sizes-table tbody td {
    padding: 12px 16px;
    font-size: 0.88rem;
    color: #374151;
}
.pdp-sizes-table tbody td:first-child {
    font-size: 0.78rem;
    color: #9CA3AF;
    font-weight: 600;
    width: 40px;
}
.pdp-size-val {
    font-weight: 700;
    color: #111827;
}

/* ══════════════════════════════════════════════════════════
   PDP FAQ — Premium Accordion
══════════════════════════════════════════════════════════ */
.pdp-faq-section {
    background: linear-gradient(135deg, #F8FAFD 0%, #fff 100%);
}
.pdp-faq-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid #E8EDF5;
    border-radius: 14px;
}
.pdp-faq-item {
    border-bottom: 1px solid #E8EDF5;
    transition: box-shadow 0.2s;
}
.pdp-faq-item:last-child { border-bottom: none; }
.pdp-faq-item.pdp-faq-active { box-shadow: inset 4px 0 0 var(--brand-yellow, #F5A500); }
.pdp-faq-trigger {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 18px 24px;
    background: #F8FAFC;
    border: none;
    cursor: pointer;
    text-align: left;
    gap: 16px;
    transition: background 0.2s;
}
.pdp-faq-trigger:hover { background: #EFF3FA; }
.pdp-faq-item.pdp-faq-active .pdp-faq-trigger { background: #fff; }
.pdp-faq-num {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--brand-yellow, #F5A500);
    flex-shrink: 0;
    font-family: var(--font-heading);
    min-width: 36px;
    text-align: left;
}
.pdp-faq-q {
    flex: 1;
    font-size: 0.97rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.45;
    word-break: break-word;
    overflow-wrap: break-word;
}
.pdp-faq-icon {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #E8EDF5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: #374151;
    transition: background 0.2s, color 0.2s, transform 0.3s;
}
.pdp-faq-item.pdp-faq-active .pdp-faq-icon {
    background: var(--brand-yellow, #F5A500);
    color: #000;
    transform: rotate(45deg);
}
.pdp-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}
.pdp-faq-answer.open { max-height: 800px; }
.pdp-faq-answer-inner {
    padding: 4px 22px 22px 66px;
    font-size: 0.93rem;
    color: #4B5563;
    line-height: 1.8;
    word-break: break-word;
    overflow-wrap: break-word;
}
.pdp-faq-answer-inner * { max-width: 100%; }
@media (max-width: 600px) {
    .pdp-faq-answer-inner { padding: 4px 16px 18px 16px; }
    .pdp-faq-trigger { padding: 16px; gap: 10px; }
}

/* ── Existing styles kept (gallery, downloads, related, sidebar) ── */
.product-detail-body { padding: 60px 0; }
.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    align-items: start;
    min-width: 0;
}
.product-detail-main { min-width: 0; max-width: 100%; }
@media (max-width: 960px) { .product-detail-layout { grid-template-columns: 1fr; } }
.detail-section {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #E8EDF5;
    padding: 28px 30px 30px;
    margin-bottom: 24px;
    box-shadow: 0 1px 8px rgba(0,0,0,0.04);
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.detail-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
    padding-bottom: 14px;
    border-bottom: 2px solid #F1F5FB;
}
.detail-section-tag {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--brand-yellow, #F5A500), #E09400);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}
.detail-section-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
    word-break: break-word;
    overflow-wrap: anywhere;
}
.product-rich-content {
    line-height: 1.75;
    color: #374151;
    font-size: 0.97rem;
    word-break: break-word;
    overflow-wrap: anywhere;
    max-width: 100%;
}
.product-rich-content * { max-width: 100%; word-break: break-word; overflow-wrap: anywhere; }
.product-rich-content + .product-long-desc { margin-top: 20px; padding-top: 20px; border-top: 1px dashed #E5E7EB; }
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}
@media (max-width: 640px) { .features-grid { grid-template-columns: 1fr; } }
.feature-item {
    display: flex;
    gap: 12px;
    background: #F8FAFC;
    border: 1px solid #E8EDF5;
    border-radius: 10px;
    padding: 14px 16px;
    align-items: flex-start;
}
.feature-icon-wrap {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(245,165,0,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.feature-icon-emoji { font-size: 1.1rem; line-height: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; display: inline-block; }
.feature-icon-default { color: var(--brand-yellow, #F5A500); font-size: 1rem; }
.feature-content { min-width: 0; }
.feature-title { font-size: 0.9rem; font-weight: 700; color: #111827; margin-bottom: 3px; word-wrap: break-word; overflow-wrap: anywhere; }
.feature-desc { font-size: 0.82rem; color: #6B7280; margin: 0; line-height: 1.5; word-wrap: break-word; overflow-wrap: anywhere; }
.spec-accordion { border: 1px solid #E8EDF5; border-radius: 12px; overflow: hidden; }
.spec-accordion-item { border-bottom: 1px solid #E8EDF5; }
.spec-accordion-item:last-child { border-bottom: none; }
.spec-accordion-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 14px 18px;
    background: #F8FAFC;
    border: none;
    font-size: 0.93rem;
    font-weight: 600;
    color: #111827;
    cursor: pointer;
    text-align: left;
    transition: background 0.2s;
}
.spec-accordion-trigger:hover { background: #EFF3FA; }
.spec-accordion-trigger.active { background: #0A0F1E; color: #fff; }
.spec-accordion-arrow { font-size: 0.75rem; transition: transform 0.3s; }
.spec-accordion-trigger.active .spec-accordion-arrow { transform: rotate(180deg); }
.spec-accordion-panel { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.spec-accordion-panel.open { max-height: 600px; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table tr { border-bottom: 1px solid #F1F5FB; }
.spec-table tr:last-child { border-bottom: none; }
.spec-name { padding: 10px 18px; font-size: 0.87rem; font-weight: 600; color: #374151; width: 40%; background: #fff; }
.spec-value { padding: 10px 14px; font-size: 0.87rem; color: #111827; }
.spec-unit { font-size: 0.78rem; color: #9CA3AF; margin-left: 4px; }
.spec-standard { padding: 10px 14px; }
.spec-std-badge { font-size: 0.72rem; background: #EFF3FA; color: #374151; border-radius: 4px; padding: 2px 8px; font-weight: 600; }
.spec-standards-note {
    margin-top: 12px;
    font-size: 0.85rem;
    color: #6B7280;
    background: #F8FAFC;
    border-radius: 8px;
    padding: 10px 14px;
    border: 1px solid #E8EDF5;
}
.spec-standards-note i { margin-right: 6px; color: var(--brand-yellow, #F5A500); }
.sizes-table-wrap { overflow-x: auto; }
.sizes-table { width: 100%; border-collapse: collapse; border: 1px solid #E8EDF5; border-radius: 10px; overflow: hidden; }
.sizes-table thead th { background: #0A0F1E; color: #fff; font-size: 0.82rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.8px; padding: 10px 14px; }
.sizes-table tbody td { padding: 10px 14px; font-size: 0.88rem; color: #374151; border-bottom: 1px solid #F1F5FB; }
.sizes-table tbody tr:last-child td { border-bottom: none; }
.sizes-table tbody tr:hover td { background: #F8FAFC; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
@media (max-width: 768px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
.gallery-item { display: block; border-radius: 8px; overflow: hidden; position: relative; aspect-ratio: 1; background: #F1F5FB; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.45); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.25s; color: #fff; font-size: 1.3rem; }
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.downloads-grid { display: flex; flex-direction: column; gap: 12px; }
.download-card { display: flex; align-items: center; gap: 16px; background: #F8FAFC; border: 1px solid #E8EDF5; border-radius: 12px; padding: 16px 20px; text-decoration: none; color: inherit; transition: background 0.2s, transform 0.2s; }
.download-card:hover { background: #EFF3FA; transform: translateX(4px); text-decoration: none; color: inherit; }
.download-icon { width: 44px; height: 44px; border-radius: 10px; background: linear-gradient(135deg, #F5A500, #E09400); color: #000; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.download-info strong { display: block; font-size: 0.93rem; color: #111827; font-weight: 600; }
.download-info span { font-size: 0.78rem; color: #9CA3AF; }
.download-arrow { margin-left: auto; color: #9CA3AF; font-size: 1rem; }
.faq-accordion { border: 1px solid #E8EDF5; border-radius: 12px; overflow: hidden; }
.faq-item { border-bottom: 1px solid #E8EDF5; }
.faq-item:last-child { border-bottom: none; }
.faq-trigger { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 15px 20px; background: #F8FAFC; border: none; font-size: 0.93rem; font-weight: 600; color: #111827; cursor: pointer; text-align: left; transition: background 0.2s; gap: 12px; }
.faq-trigger:hover { background: #EFF3FA; }
.faq-trigger.active { background: #0A0F1E; color: #fff; }
.faq-arrow { font-size: 0.75rem; flex-shrink: 0; transition: transform 0.3s; }
.faq-trigger.active .faq-arrow { transform: rotate(180deg); }
.faq-panel { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-panel.open { max-height: 600px; }
.faq-answer { padding: 16px 20px; font-size: 0.92rem; color: #374151; line-height: 1.75; }
.related-products-scroll { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: thin; }
.related-product-card { flex-shrink: 0; width: 200px; border-radius: 12px; background: #F8FAFC; border: 1px solid #E8EDF5; overflow: hidden; text-decoration: none; color: inherit; transition: transform 0.25s, box-shadow 0.25s; }
.related-product-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); text-decoration: none; color: inherit; }
.related-product-img-wrap { height: 130px; overflow: hidden; background: #E8EDF5; }
.related-product-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.related-product-card:hover .related-product-img-wrap img { transform: scale(1.05); }
.related-product-info { padding: 12px 14px; }
.related-product-info h4 { font-size: 0.85rem; font-weight: 700; color: #111827; margin-bottom: 4px; line-height: 1.3; }
.related-product-info p { font-size: 0.78rem; color: #6B7280; margin: 0; line-height: 1.4; }
.product-detail-sidebar { position: sticky; top: 90px; min-width: 0; max-width: 100%; height: fit-content; max-height: calc(100vh - 110px); overflow-y: auto; scrollbar-width: none; }
.product-detail-sidebar::-webkit-scrollbar { display: none; }
.detail-sidebar-card { background: #fff; border-radius: 14px; border: 1px solid #E8EDF5; padding: 20px 22px; margin-bottom: 20px; box-shadow: 0 1px 8px rgba(0,0,0,0.04); min-width: 0; max-width: 100%; overflow-wrap: anywhere; word-break: break-word; overflow: hidden; }
.detail-sidebar-card-title { font-size: 0.88rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #374151; margin-bottom: 14px; display: flex; align-items: center; gap: 7px; }
.detail-sidebar-card-title i { color: var(--brand-yellow, #F5A500); }
.product-info-dl { margin: 0; }
.product-info-dl dt { font-size: 0.77rem; font-weight: 700; color: #9CA3AF; text-transform: uppercase; letter-spacing: 0.8px; margin-top: 10px; }
.product-info-dl dt:first-child { margin-top: 0; }
.product-info-dl dd { font-size: 0.9rem; color: #111827; margin: 2px 0 0 0; font-weight: 500; }
.detail-enquiry-card p { font-size: 0.87rem; color: #6B7280; margin-bottom: 14px; }
.btn-block-sidebar { display: block; width: 100%; text-align: center; }
.btn-block-sidebar.mt-2 { margin-top: 10px; }
    word-break: break-word;
    overflow-wrap: anywhere;
    max-width: 100%;
    white-space: normal;
}

.detail-page-nav { list-style: none; padding: 0; margin: 0; }
.detail-page-nav li + li { margin-top: 6px; }
.detail-page-nav a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: #374151;
    text-decoration: none;
    padding: 6px 8px;
    border-radius: 7px;
    transition: background 0.2s, color 0.2s;
}
.detail-page-nav a:hover { background: #F5A50015; color: var(--brand-yellow, #F5A500); text-decoration: none; }
.detail-page-nav a i { color: var(--brand-yellow, #F5A500); font-size: 0.8rem; }

/* ─────────────────────────────────────────────────────
   RESPONSIVE TWEAKS
───────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .products-hero-container,
    .listing-hero-container,
    .product-detail-hero-container {
        padding: 24px 20px;
    }
    .detail-section { padding: 20px 16px; }
    .product-detail-hero { min-height: 260px; }
    .product-cta-inner { flex-direction: column; text-align: center; }
}

/* ── Mega Menu Footer — View All Products ── */
.mega-footer {
    padding: 12px 20px;
    border-top: 1px solid #E8EDF5;
    background: #F8FAFC;
}
.mega-view-all {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--brand-yellow, #F5A500);
    text-decoration: none;
    transition: gap 0.2s;
}
.mega-view-all:hover { gap: 11px; text-decoration: none; }

/* ── Graphic Layout for Technical Specs ── */
.graphic-spec-layout {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
    margin: 40px 0;
    padding: 0 40px;
}
.graphic-spec-center {
    flex: 0 0 200px;
    text-align: center;
    position: relative;
    z-index: 2;
    mix-blend-mode: multiply;
}
.graphic-spec-center img {
    max-width: 100%;
    height: auto;
}
.graphic-spec-items {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}
.graphic-spec-item {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    padding: 8px 14px;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    border: 1px solid #E8EDF5;
    pointer-events: auto;
    transition: transform 0.3s, box-shadow 0.3s;
    width: max-content;
    max-width: 260px;
}
.graphic-spec-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}
.graphic-spec-item-left {
    right: calc(50% + 115px);
    flex-direction: row-reverse;
    text-align: right;
}
.graphic-spec-item-right {
    left: calc(50% + 115px);
}

/* Connecting lines */
.graphic-spec-item::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 115px;
    height: 2px;
    background: #E8EDF5;
    z-index: -1;
}
.graphic-spec-item-left::before { right: -115px; }
.graphic-spec-item-right::before { left: -115px; }

.graphic-spec-item-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(245,165,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-yellow, #F5A500);
    font-size: 1rem;
    flex-shrink: 0;
    border: 2px solid rgba(245,165,0,0.2);
}
.graphic-spec-item-content {
    display: flex;
    flex-direction: column;
}
.graphic-spec-item-content strong {
    font-size: 0.75rem;
    color: #111827;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.graphic-spec-item-content span {
    font-size: 0.8rem;
    color: #6B7280;
}

@media (max-width: 991px) {
    .graphic-spec-layout {
        flex-direction: column;
        padding: 0;
        min-height: auto;
    }
    .graphic-spec-items { position: static; display: flex; flex-direction: column; gap: 15px; margin-top: 30px; width: 100%; pointer-events: auto; }
    .graphic-spec-item {
        position: static;
        width: 100%;
        max-width: 100%;
        flex-direction: row;
        text-align: left;
    }
    .graphic-spec-item::before { display: none; }
}

/* -----------------------------------------------------------
   Blogs & Blog Cards (High-Contrast, Safe Overflow, Modern)
----------------------------------------------------------- */
.blog-grid, .blogs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 991px) {
    .blog-grid, .blogs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .blog-grid, .blogs-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.blog-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    min-width: 0;
    position: relative;
    word-break: break-word;
    overflow-wrap: break-word;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    border-color: #cbd5e1;
}

.blog-card-image, .blog-card-img {
    position: relative;
    display: block;
    width: 100%;
    height: 220px;
    min-height: 220px;
    overflow: hidden;
    background: #f1f5f9;
}

.blog-card-image img, .blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s ease;
}

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

.blog-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    color: #94a3b8;
    font-size: 2.5rem;
}

.blog-category-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    max-width: calc(100% - 28px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background: var(--brand-yellow, #FFDE2D);
    color: #1D1C25;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 2;
    word-break: break-all;
}

.blog-card-content, .blog-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    min-width: 0;
    word-break: break-word;
    overflow-wrap: break-word;
}








.blog-meta, .blog-date {
    font-size: 0.82rem;
    font-weight: 500;
    color: #64748b;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-meta i, .blog-date i {
    color: var(--brand-dark, #00ADF1);
}

.blog-title, .blog-card-body h3 {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.4;
    color: #0f172a;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
    overflow-wrap: break-word;
}

.blog-title a, .blog-card-body h3 a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-title a:hover, .blog-card-body h3 a:hover {
    color: var(--brand-dark, #00ADF1);
}

.blog-excerpt, .blog-card-body p {
    font-size: 0.92rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
    overflow-wrap: break-word;
    flex-grow: 1;
}

.blog-read-more {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--brand-dark, #00ADF1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    transition: all 0.2s ease;
}

.blog-read-more i {
    transition: transform 0.2s ease;
}

.blog-read-more:hover {
    color: var(--brand-dark-alt, #008cc4);
    text-decoration: none;
}

.blog-read-more:hover i {
    transform: translateX(4px);
}
.custom-pagination { margin-top: 50px; }
.custom-pagination ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.custom-pagination .page-item { margin: 0; }
.custom-pagination .page-item.active .page-link { background-color: var(--brand-blue, #0056A4); border-color: var(--brand-blue, #0056A4); color: #fff; }
.custom-pagination .page-link { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; color: #374151; font-weight: 500; border-radius: 6px; border: 1px solid #E5E7EB; text-decoration: none; padding: 0 12px; transition: all 0.2s; }
.custom-pagination .page-link:hover { background-color: #F3F4F6; color: var(--brand-blue, #0056A4); border-color: #D1D5DB; }

/* -----------------------------------------------------------
   Page Hero & Header Overflow Safety
----------------------------------------------------------- */
.page-hero {
    overflow: hidden;
    max-width: 100%;
    width: 100%;
}
.page-hero-content {
    max-width: 100%;
    overflow: hidden;
    word-break: break-word;
    overflow-wrap: break-word;
}
.page-hero-title {
    max-width: 100%;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}
.page-breadcrumb {
    max-width: 100%;
    overflow: hidden;
    flex-wrap: wrap;
    word-break: break-word;
    overflow-wrap: break-word;
}
.page-breadcrumb li {
    max-width: 100%;
    word-break: break-word;
    overflow-wrap: break-word;
}

/* -----------------------------------------------------------
   Blog Detail — Premium UI Redesign (Left Content Area)
----------------------------------------------------------- */
.blog-detail-page,
.blog-detail-content-section,
.blog-detail-layout,
.blog-main-content,
.blog-detail-wrapper {
    max-width: 100%;
    min-width: 0;
    word-break: break-word;
    overflow-wrap: break-word;
}

.blog-detail-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    align-items: start;
}

.blog-main-content {
    width: 100%;
    min-width: 0;
}

/* Main content wrapper card */
.blog-detail-wrapper {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 24px rgba(0,0,0,.07);
    word-break: break-word;
    overflow-wrap: break-word;
}

/* Featured image */
.blog-featured-image-wrap {
    margin-bottom: 0 !important;
    border-radius: 0;
    overflow: hidden;
    background: #f1f5f9;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.blog-featured-image-wrap img {
    max-height: 520px;
    object-fit: cover;
    width: 100%;
    display: block;
    transition: transform 0.4s ease;
}

.blog-featured-image-wrap:hover img { transform: scale(1.02); }

/* Meta strip — pill style */
.blog-meta-strip {
    font-size: 0.9rem;
    padding: 18px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    background: linear-gradient(135deg, #f8fafc 0%, #f0f4ff 100%);
    border-bottom: 1px solid #e8ecf0;
}

.blog-meta-left {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 100%;
}

.blog-meta-left span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 30px;
    padding: 5px 14px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #374151;
    white-space: nowrap;
}

.blog-meta-left span i {
    color: var(--brand-yellow, #F5A500);
    font-size: 0.85rem;
}

/* Share buttons */
.blog-share {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.blog-share .share-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: #6b7280;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-right: 4px;
}

.blog-share .share-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    font-size: 0.8rem;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,.15);
}

.blog-share .share-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,.25);
    color: #fff;
}

.blog-share .facebook { background: linear-gradient(135deg,#3b5998,#2d4373); }
.blog-share .twitter  { background: linear-gradient(135deg,#1DA1F2,#0d8fd9); }
.blog-share .linkedin { background: linear-gradient(135deg,#0077b5,#005e8c); }

/* Content body area */
.blog-detail-header {
    padding: 0;
    margin-bottom: 0;
}

.blog-detail-content {
    font-size: 1.05rem;
    line-height: 1.85;
    color: #374151;
    padding: 30px 28px 32px;
    word-break: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    min-width: 0;
}

.blog-detail-content * {
    max-width: 100%;
    word-break: break-word;
    overflow-wrap: break-word;
}

/* Headings */
.blog-detail-content h1,
.blog-detail-content h2,
.blog-detail-content h3,
.blog-detail-content h4,
.blog-detail-content h5 {
    color: #111827;
    margin-top: 2rem;
    margin-bottom: 0.8rem;
    font-weight: 800;
    line-height: 1.3;
    word-break: break-word;
}

.blog-detail-content h2 {
    font-size: 1.5rem;
    padding-left: 14px;
    border-left: 4px solid var(--brand-yellow, #F5A500);
    background: linear-gradient(90deg, rgba(245,165,0,.06) 0%, transparent 100%);
    padding-top: 6px;
    padding-bottom: 6px;
    border-radius: 0 6px 6px 0;
}

.blog-detail-content h3 {
    font-size: 1.25rem;
    color: #1e293b;
    padding-left: 12px;
    border-left: 3px solid #cbd5e1;
}

.blog-detail-content h4 { font-size: 1.1rem; color: var(--brand-dark, #00ADF1); }
.blog-detail-content h5 { font-size: 1rem;  color: var(--brand-dark, #00ADF1); }
.blog-detail-content h1 { font-size: 1.8rem; }

/* Paragraphs */
.blog-detail-content p {
    margin-bottom: 1.1rem;
    word-break: break-word;
    overflow-wrap: break-word;
}

/* Images */
.blog-detail-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 1rem 0 1.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,.1);
}

.blog-detail-content img.lazyload { display: none !important; }
.blog-detail-content p:empty,
.blog-detail-content p:has(> br:only-child) { display: none !important; }

/* Lists */
.blog-detail-content ul,
.blog-detail-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.2rem;
}

.blog-detail-content ul { list-style: none; padding-left: 0; }

.blog-detail-content ul li {
    margin-bottom: 0.6rem;
    padding-left: 1.6rem;
    position: relative;
    word-break: break-word;
}

.blog-detail-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 8px;
    height: 8px;
    background: var(--brand-yellow, #F5A500);
    border-radius: 50%;
}

.blog-detail-content ol li { margin-bottom: 0.6rem; word-break: break-word; }

/* Blockquote */
.blog-detail-content blockquote {
    border-left: 4px solid var(--brand-yellow, #F5A500);
    padding: 1.2rem 1.5rem;
    margin: 2rem 0;
    background: linear-gradient(135deg, #fffdf0 0%, #fafafa 100%);
    border-radius: 0 10px 10px 0;
    font-style: italic;
    font-size: 1.1rem;
    color: #4B5563;
    box-shadow: 0 2px 12px rgba(245,165,0,.1);
    word-break: break-word;
}

/* Links */
.blog-detail-content a { color: var(--brand-dark,#00ADF1); font-weight: 600; text-decoration: underline; word-break: break-all; }
.blog-detail-content a:hover { color: #111827; }
.blog-detail-content strong { color: #111827; }

/* Code blocks */
.blog-detail-content pre,
.blog-detail-content code {
    background: #f1f5f9;
    border-radius: 6px;
    font-size: 0.9rem;
    padding: 2px 6px;
}
.blog-detail-content pre { padding: 16px; overflow-x: auto; }

/* Tags section */
.blog-tags {
    padding: 20px 28px 24px;
    border-top: 1px solid #f1f5f9;
    margin-top: 0;
}

/* Sidebar */
.blog-sidebar { position: sticky; top: 100px; min-width: 0; }
.related-posts-list { display: flex; flex-direction: column; gap: 15px; }
.related-post-item { display: flex !important; flex-direction: row !important; align-items: center; text-decoration: none; padding: 10px; margin: -10px; border-radius: 8px; transition: background-color 0.2s, transform 0.2s; min-width: 0; word-break: break-word; }
.related-post-item:hover { background-color: #F8FAFC; transform: translateX(4px); text-decoration: none; }
.related-post-img { width: 80px !important; height: 80px !important; min-width: 80px !important; border-radius: 8px; overflow: hidden; margin-right: 15px; background: #eee; }
.related-post-img img { width: 100% !important; height: 100% !important; object-fit: cover !important; }
.related-post-info { flex: 1; min-width: 0; word-break: break-word; }
.related-post-title { font-size: 0.95rem; line-height: 1.3; font-weight: 700; color: #111827; margin: 0 0 5px 0; transition: color 0.2s; word-break: break-word; }
.related-post-item:hover .related-post-title { color: var(--brand-dark,#00ADF1) !important; }
.related-post-date { font-size: 0.8rem; color: #6B7280; }
.related-post-date i { margin-right: 4px; }

/* Responsive */
@media (max-width: 992px) {
    .blog-detail-layout { grid-template-columns: 1fr; gap: 30px; }
    .blog-sidebar { position: static; }
}

@media (max-width: 768px) {
    .blog-detail-content { padding: 22px 18px 24px; font-size: 1rem; }
    .blog-meta-strip { padding: 14px 18px; }
    .blog-tags { padding: 16px 18px 20px; }
    .blog-featured-image-wrap { min-height: 200px; }
    .blog-detail-content h2 { font-size: 1.25rem; }
    .blog-detail-content h3 { font-size: 1.1rem; }
}

@media (max-width: 576px) {
    .blog-detail-content { padding: 16px 14px 20px; font-size: 0.97rem; line-height: 1.75; }
    .blog-meta-strip { padding: 12px 14px; gap: 10px; flex-direction: column; align-items: flex-start; }
    .blog-share { align-self: flex-start; }
    .blog-tags { padding: 12px 14px 16px; }
    .blog-featured-image-wrap { min-height: 160px; }
    .blog-detail-content h2 { font-size: 1.15rem; padding-left: 10px; }
    .blog-detail-content h3 { font-size: 1.05rem; }
    .blog-detail-content blockquote { font-size: 1rem; padding: 1rem 1.1rem; }
    .blog-detail-wrapper { border-radius: 12px; }
    .blog-meta-left span { font-size: 0.8rem; padding: 4px 10px; }
}



.blog-detail-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    align-items: start;
}

.blog-main-content {
    width: 100%;
    min-width: 0;
    overflow: hidden;
}

.blog-main-content h1,
.blog-main-content h2,
.blog-main-content h3,
.blog-main-content h4,
.blog-main-content h5,
.blog-main-content h6 {
    margin-top: 1.5em;
    margin-bottom: 1em;
}

.blog-main-content p {
    margin-bottom: 1.2em;
    line-height: 1.7;
}

.blog-detail-wrapper {
    background: #fff;
    border-radius: 12px;
    word-break: break-word;
    overflow-wrap: break-word;
    overflow: hidden;
}

.blog-featured-image-wrap {
    margin-bottom: 30px !important;
    border-radius: 10px;
    overflow: hidden;
    background: #f1f5f9;
    min-height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-featured-image-wrap img {
    max-height: 500px;
    object-fit: cover;
    width: 100%;
    display: block;
}

.blog-meta-strip {
    font-size: 0.95rem;
    margin-top: 25px;
    padding-top: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.blog-meta-left {
    background: #F3F4F6;
    padding: 10px 20px;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    color: #374151 !important;
    font-weight: 500;
    gap: 20px;
    max-width: 100%;
    word-break: break-word;
}

.blog-share {
    display: inline-flex;
    align-items: center;
    margin-left: auto;
}

.blog-share .share-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: transform 0.2s;
    margin: 0 6px;
}

.blog-share .share-icon:hover {
    transform: translateY(-2px);
    color: #fff;
}

.blog-share .facebook { background: #3b5998; }
.blog-share .twitter { background: #1DA1F2; }
.blog-share .linkedin { background: #0077b5; }

.blog-detail-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #374151;
    margin-top: 35px;
    word-break: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    min-width: 0;
    overflow-x: hidden;
}

.blog-detail-content * {
    max-width: 100%;
    word-break: break-word;
    overflow-wrap: break-word;
}

.blog-detail-content h1,
.blog-detail-content h2,
.blog-detail-content h3,
.blog-detail-content h4,
.blog-detail-content h5 {
    color: #111827;
    margin-top: 1.8rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
    line-height: 1.3;
    word-break: break-word;
    overflow-wrap: break-word;
}

.blog-detail-content h1 { font-size: 2rem; }
.blog-detail-content h2 { font-size: 1.75rem; border-bottom: 1px solid #E5E7EB; padding-bottom: 0.5rem; }
.blog-detail-content h3 { font-size: 1.5rem; }
.blog-detail-content h4 { font-size: 1.25rem; color: var(--brand-dark, #00ADF1); }
.blog-detail-content h5 { font-size: 1.1rem; color: var(--brand-dark, #00ADF1); }
.blog-detail-content p { margin-bottom: 1rem; word-break: break-word; overflow-wrap: break-word; }
.blog-detail-content img { max-width: 100%; height: auto; border-radius: 8px; margin-bottom: 1.5rem; }
.blog-detail-content img.lazyload { display: none !important; }
.blog-detail-content p:empty, .blog-detail-content p:has(> br:only-child) { display: none !important; }
.blog-detail-content ul, .blog-detail-content ol { margin-bottom: 1.5rem; padding-left: 1.5rem; }
.blog-detail-content li { margin-bottom: 0.5rem; word-break: break-word; }
.blog-detail-content blockquote { border-left: 4px solid var(--brand-yellow, #FFDE2D); padding: 1rem 1.5rem; margin: 2rem 0; background: #F9FAFB; font-style: italic; font-size: 1.15rem; color: #4B5563; word-break: break-word; }
.blog-detail-content a { color: var(--brand-dark, #00ADF1); font-weight: 600; text-decoration: underline; word-break: break-all; }
.blog-detail-content a:hover { color: #111827; }
.blog-detail-content strong { color: #111827; }

.blog-sidebar { position: sticky; top: 100px; min-width: 0; }
.related-posts-list { display: flex; flex-direction: column; gap: 15px; }
.related-post-item { display: flex !important; flex-direction: row !important; align-items: center; text-decoration: none; padding: 10px; margin: -10px; border-radius: 8px; transition: background-color 0.2s, transform 0.2s; min-width: 0; word-break: break-word; }
.related-post-item:hover { background-color: #F8FAFC; transform: translateX(4px); text-decoration: none; }
.related-post-img { width: 80px !important; height: 80px !important; min-width: 80px !important; border-radius: 8px; overflow: hidden; margin-right: 15px; background: #eee; }
.related-post-img img { width: 100% !important; height: 100% !important; object-fit: cover !important; }
.related-post-info { flex: 1; min-width: 0; word-break: break-word; }
.related-post-title { font-size: 0.95rem; line-height: 1.3; font-weight: 700; color: #111827; margin: 0 0 5px 0; transition: color 0.2s; word-break: break-word; }
.related-post-item:hover .related-post-title { color: var(--brand-dark, #00ADF1) !important; }
.related-post-date { font-size: 0.8rem; color: #6B7280; }
.related-post-date i { margin-right: 4px; }

@media (max-width: 992px) { 
    .blog-detail-layout { grid-template-columns: 1fr; gap: 30px; } 
    .blog-sidebar { position: static; }
}

/* Global Form Fixes */
textarea, textarea.form-control {
    resize: vertical;
    max-width: 100%;
}

/* ==========================================================================
   MEDIA CENTER — Listing & Detail
   ========================================================================== */

/* ── Type colour tokens ─────────────────────────────────────────────────── */
:root {
    --mc-video:         #e53e3e;
    --mc-video-bg:      rgba(229,62,62,.12);
    --mc-radio:         #805ad5;
    --mc-radio-bg:      rgba(128,90,213,.12);
    --mc-news:          #2b6cb0;
    --mc-news-bg:       rgba(43,108,176,.12);
    --mc-event:         #d69e2e;
    --mc-event-bg:      rgba(214,158,46,.12);
    --mc-press_release: #2f855a;
    --mc-press_release-bg: rgba(47,133,90,.12);
    --mc-award:         #c05621;
    --mc-award-bg:      rgba(192,86,33,.12);
}

/* ── Hero Overrides ───────────────────────────────────────────────────────── */
.page-hero .section-label {
    display: inline-block;
    color: var(--brand-yellow);
    text-transform: uppercase;
    font-size: .85rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

/* ── Filter Bar ─────────────────────────────────────────────────────────── */
.mc-filter-bar {
    background: #fff;
    border-bottom: 2px solid var(--brand-grey-lt);
    position: sticky;
    top: 0;
    z-index: 90;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.mc-tabs {
    display: flex;
    align-items: stretch;
    gap: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.mc-tabs::-webkit-scrollbar { display: none; }

.mc-tab {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 16px 22px;
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--brand-grey);
    border-bottom: 3px solid transparent;
    transition: var(--transition);
    white-space: nowrap;
    text-decoration: none;
    flex-shrink: 0;
}
.mc-tab:hover { color: var(--brand-dark); background: var(--brand-light); }
.mc-tab--active { color: var(--brand-dark); border-bottom-color: var(--brand-dark); }
.mc-tab-icon { font-size: .9rem; opacity: .8; }
.mc-tab-count {
    background: var(--brand-grey-lt);
    color: var(--brand-grey);
    font-size: .72rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 30px;
    line-height: 1.4;
}
.mc-tab--active .mc-tab-count {
    background: var(--brand-dark);
    color: #fff;
}

/* ── Grid ───────────────────────────────────────────────────────────────── */
.mc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
}

/* ── Card ───────────────────────────────────────────────────────────────── */
.mc-card {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: box-shadow .3s ease, transform .3s ease;
}
.mc-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.mc-card-thumb {
    position: relative;
    display: block;
    overflow: hidden;
    background: var(--brand-grey-lt);
    aspect-ratio: 16/9;
}
.mc-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .45s ease;
}
.mc-card:hover .mc-card-img { transform: scale(1.06); }

.mc-card-video-wrap {
    position: relative;
    width: 100%;
    height: 100%;
}
.mc-card-video-wrap .mc-card-img { width: 100%; height: 100%; object-fit: cover; }
.mc-play-btn {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,.3);
    color: #fff;
    font-size: 1.8rem;
    transition: var(--transition);
}
.mc-card:hover .mc-play-btn { background: rgba(229,62,62,.7); }

.mc-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: rgba(0,0,0,.15);
    background: var(--brand-grey-lt);
}

/* Type badge on thumb */
.mc-type-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 30px;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    backdrop-filter: blur(6px);
}
.mc-type-badge--video         { background: var(--mc-video-bg);         color: var(--mc-video); }
.mc-type-badge--radio         { background: var(--mc-radio-bg);         color: var(--mc-radio); }
.mc-type-badge--news          { background: var(--mc-news-bg);          color: var(--mc-news); }
.mc-type-badge--event         { background: var(--mc-event-bg);         color: var(--mc-event); }
.mc-type-badge--press_release { background: var(--mc-press_release-bg); color: var(--mc-press_release); }
.mc-type-badge--award         { background: var(--mc-award-bg);         color: var(--mc-award); }

.mc-card-body {
    padding: 20px 22px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 10px;
}
.mc-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.mc-card-date,
.mc-card-source {
    font-size: .78rem;
    color: var(--brand-grey);
    display: flex;
    align-items: center;
    gap: 5px;
}
.mc-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--brand-text);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.mc-card-title a:hover { color: var(--brand-dark); }
.mc-card-excerpt {
    font-size: .88rem;
    color: var(--brand-grey);
    line-height: 1.6;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.mc-card-link {
    font-size: .85rem;
    font-weight: 700;
    color: var(--brand-dark);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    border-bottom: 2px solid var(--brand-yellow);
    padding-bottom: 2px;
    width: fit-content;
    transition: var(--transition);
}
.mc-card-link:hover { color: var(--brand-yellow); }

/* ── Empty State ─────────────────────────────────────────────────────────── */
.mc-empty {
    text-align: center;
    padding: 80px 20px;
}
.mc-empty-icon {
    font-size: 4rem;
    color: var(--brand-grey-lt);
    margin-bottom: 20px;
    display: block;
}
.mc-empty-title { font-size: 1.5rem; color: var(--brand-text); margin-bottom: 10px; }
.mc-empty-sub { color: var(--brand-grey); margin-bottom: 28px; }
.mc-empty-btn { margin: 0 auto; }

/* ── Pagination ─────────────────────────────────────────────────────────── */
.mc-pagination { margin-top: 48px; }

/* Custom pager component */
.mc-pager {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}
.mc-pager-list {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    justify-content: center;
}
.mc-pager-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-size: .88rem;
    font-weight: 600;
    color: var(--brand-text);
    background: #fff;
    border: 1px solid var(--brand-grey-lt);
    transition: var(--transition);
    text-decoration: none;
    cursor: pointer;
}
.mc-pager-item a.mc-pager-link:hover {
    background: var(--brand-dark);
    color: #fff;
    border-color: var(--brand-dark);
}
.mc-pager-active .mc-pager-link {
    background: var(--brand-dark);
    color: #fff;
    border-color: var(--brand-dark);
    cursor: default;
}
.mc-pager-disabled .mc-pager-link {
    background: var(--brand-light);
    color: var(--brand-grey-lt);
    border-color: var(--brand-grey-lt);
    cursor: not-allowed;
    pointer-events: none;
}
.mc-pager-info {
    font-size: .82rem;
    color: var(--brand-grey);
    margin: 0;
}

/* ── Detail Page ─────────────────────────────────────────────────────────── */
.mc-detail-page { }

.mc-detail-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    align-items: start;
}

/* Main column */
.mc-detail-main { min-width: 0; }

.mc-detail-badge {
    position: static;
    display: inline-flex;
    margin-bottom: 16px;
    font-size: .8rem;
}

.mc-detail-title {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    line-height: 1.25;
    color: var(--brand-text);
    margin-bottom: 16px;
    word-break: break-word;
}

.mc-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: .85rem;
    color: var(--brand-grey);
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--brand-grey-lt);
}
.mc-detail-meta span { display: flex; align-items: center; gap: 6px; }

/* Video embed */
.mc-detail-video-wrap {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-md);
    margin-bottom: 32px;
    background: #000;
}
.mc-detail-iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Featured image */
.mc-detail-figure { margin-bottom: 0; }
.mc-detail-featured-img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    display: block;
}

/* Radio banner */
.mc-detail-radio-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 32px;
    background: var(--mc-radio-bg);
    border-radius: var(--radius-md);
    color: var(--mc-radio);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 32px;
}
.mc-detail-radio-banner i { font-size: 2.5rem; }

/* SoundCloud embedded player wrapper */
.mc-detail-soundcloud-wrap {
    width: 100%;
    margin-bottom: 32px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.10);
}
.mc-detail-soundcloud-wrap iframe {
    display: block;
    width: 100%;
    height: 166px;
    border: none;
}

.mc-detail-excerpt {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--brand-grey);
    line-height: 1.7;
    margin-bottom: 24px;
    padding: 20px 24px;
    border-left: 4px solid var(--brand-yellow);
    background: var(--brand-light);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.mc-detail-body { margin-bottom: 0; }
.mc-detail-body:empty,
.mc-detail-body p:empty,
.mc-detail-body p:has(br):empty { display: none !important; margin: 0 !important; }

/* Gallery */
.mc-gallery { margin: 16px 0 36px; }

.mc-gallery-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--brand-grey-lt);
}
.mc-gallery-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--brand-dark);
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    border: none;
    padding: 0;
}
.mc-gallery-title i { color: var(--brand-dark); opacity: .7; }
.mc-gallery-count {
    font-size: .8rem;
    font-weight: 700;
    color: var(--brand-grey);
    background: var(--brand-grey-lt);
    padding: 4px 12px;
    border-radius: 30px;
}

/* Masonry-style auto grid */
.mc-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    grid-auto-rows: 200px;
    gap: 10px;
}

/* Gallery item — button reset */
.mc-gallery-item {
    all: unset;
    position: relative;
    display: block;
    border-radius: 10px;
    overflow: hidden;
    background: var(--brand-grey-lt);
    cursor: pointer;
    transition: transform .3s ease, box-shadow .3s ease;
}
.mc-gallery-item:hover {
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 12px 40px rgba(0,0,0,.22);
    z-index: 2;
}
.mc-gallery-item:focus-visible {
    outline: 3px solid var(--brand-yellow);
    outline-offset: 3px;
}

/* First item — featured, spans 2 cols × 2 rows */
.mc-gallery-item--featured {
    grid-column: span 2;
    grid-row: span 2;
}

.mc-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}
.mc-gallery-item:hover img { transform: scale(1.06); }

/* Hover overlay */
.mc-gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,44,82,.6) 0%, rgba(0,44,82,.3) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .3s ease;
    color: #fff;
    font-size: 1.6rem;
}
.mc-gallery-item:hover .mc-gallery-overlay { opacity: 1; }

/* Featured badge */
.mc-gallery-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--brand-yellow);
    color: var(--brand-dark);
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
    padding: 3px 10px;
    border-radius: 30px;
    pointer-events: none;
}

/* ── Lightbox ────────────────────────────────────────────────────────────── */
.mc-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: lbFadeIn .2s ease;
}
.mc-lightbox[hidden] { display: none; }
@keyframes lbFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
body.lb-open { overflow: hidden; }

.mc-lb-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 90vw;
    max-height: 90vh;
}
.mc-lb-img {
    max-width: 90vw;
    max-height: 82vh;
    width: auto;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 30px 80px rgba(0,0,0,.5);
    display: block;
    object-fit: contain;
    animation: lbImgIn .25s ease;
}
@keyframes lbImgIn {
    from { opacity: 0; transform: scale(.96); }
    to   { opacity: 1; transform: scale(1); }
}
.mc-lb-counter {
    color: rgba(255,255,255,.6);
    font-size: .85rem;
    margin: 12px 0 0;
    font-family: var(--font-heading);
}

/* Close / Prev / Next buttons */
.mc-lb-close,
.mc-lb-prev,
.mc-lb-next {
    position: fixed;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.2);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s, transform .2s;
    backdrop-filter: blur(6px);
}
.mc-lb-close { top: 20px; right: 20px; width: 44px; height: 44px; font-size: 1.1rem; }
.mc-lb-prev  { left: 16px;  top: 50%; transform: translateY(-50%); width: 50px; height: 50px; font-size: 1.2rem; }
.mc-lb-next  { right: 16px; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; font-size: 1.2rem; }

.mc-lb-close:hover { background: rgba(255,255,255,.25); }
.mc-lb-prev:hover  { background: rgba(255,255,255,.25); transform: translateY(-50%) translateX(-2px); }
.mc-lb-next:hover  { background: rgba(255,255,255,.25); transform: translateY(-50%) translateX(2px); }

@media (max-width: 640px) {
    .mc-gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
    .mc-gallery-item--featured { grid-column: span 2; grid-row: span 1; }
    .mc-lb-prev { left: 6px; }
    .mc-lb-next { right: 6px; }
}

.mc-detail-back { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--brand-grey-lt); }

/* ── Sidebar ─────────────────────────────────────────────────────────────── */
.mc-detail-sidebar { position: sticky; top: 110px; }

.mc-sidebar-block {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
}

.mc-sidebar-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--brand-dark);
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--brand-grey-lt);
    display: flex;
    align-items: center;
    gap: 8px;
}

.mc-sidebar-list { display: flex; flex-direction: column; gap: 14px; }

.mc-sidebar-item { }
.mc-sidebar-link {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    transition: var(--transition);
    text-decoration: none;
}
.mc-sidebar-link:hover .mc-sidebar-item-title { color: var(--brand-dark); }

.mc-sidebar-thumb {
    width: 80px;
    height: 60px;
    min-width: 80px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--brand-grey-lt);
    position: relative;
}
.mc-sidebar-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.mc-sidebar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: rgba(0,0,0,.2);
}
.mc-sidebar-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,.3);
    color: #fff;
    font-size: .9rem;
}

.mc-sidebar-info { flex: 1; min-width: 0; }
.mc-sidebar-item-title {
    font-size: .88rem;
    font-weight: 600;
    color: var(--brand-text);
    line-height: 1.35;
    margin-bottom: 5px;
    word-break: break-word;
    transition: color .2s;
}
.mc-sidebar-date { font-size: .75rem; color: var(--brand-grey); }
.mc-sidebar-date i { margin-right: 4px; }

/* Category links sidebar */
.mc-cat-list { display: flex; flex-direction: column; gap: 4px; }
.mc-cat-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: .9rem;
    font-weight: 600;
    color: var(--brand-grey);
    transition: var(--transition);
    text-decoration: none;
}
.mc-cat-link:hover { background: var(--brand-light); color: var(--brand-dark); }
.mc-cat-link--active { background: var(--brand-dark); color: #fff; }
.mc-cat-link i { width: 18px; text-align: center; }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .mc-detail-layout { grid-template-columns: 1fr; }
    .mc-detail-sidebar { position: static; }
}

@media (max-width: 768px) {
    .mc-grid { grid-template-columns: 1fr 1fr; }
    .mc-tab { padding: 14px 16px; font-size: .82rem; }
    .mc-tab-label { display: none; }
    .mc-tab-icon { font-size: 1.1rem; opacity: 1; }
    .mc-tab--active .mc-tab-label { display: inline; }
    .mc-detail-title { font-size: 1.6rem; }
}

@media (max-width: 520px) {
    .mc-grid { grid-template-columns: 1fr; }
    .mc-gallery-grid { grid-template-columns: repeat(2, 1fr); }
}


/* ==========================================================================
   INVESTOR RELATIONS PAGE
   ========================================================================== */

/* ── Hero ───────────────────────────────────────────────────────────────── */
.ir-hero { position: relative; overflow: hidden; }
.ir-hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #003f6b 0%, var(--brand-dark-alt) 60%, #006090 100%);
    z-index: 0;
}
.ir-hero .container { position: relative; z-index: 1; }
.ir-hero .page-hero-content { padding: 70px 0 50px; }
.ir-hero .page-hero-title { color: #fff; font-size: clamp(2rem, 4vw, 3rem); }
.ir-hero .page-hero-subtitle { color: rgba(255,255,255,.8); margin-top: 8px; }
.ir-hero .section-label { color: var(--brand-yellow); }
.ir-hero .page-breadcrumb li,
.ir-hero .page-breadcrumb a { color: rgba(255,255,255,.7); }
.ir-hero .page-breadcrumb .active,
.ir-hero .page-breadcrumb a:hover { color: #fff; }
.ir-hero .separator { color: rgba(255,255,255,.4); margin: 0 8px; font-size: .7rem; }

/* ── Quick Nav Tabs ──────────────────────────────────────────────────────── */
.ir-quick-nav {
    background: #fff;
    border-bottom: 2px solid var(--brand-grey-lt);
    position: sticky;
    top: 0;
    z-index: 90;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.ir-quick-tabs {
    display: flex;
    gap: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.ir-quick-tabs::-webkit-scrollbar { display: none; }
.ir-quick-tab {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 14px 20px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--brand-grey);
    border-bottom: 3px solid transparent;
    white-space: nowrap;
    transition: var(--transition);
    text-decoration: none;
    flex-shrink: 0;
}
.ir-quick-tab:hover { color: var(--brand-dark); background: var(--brand-light); border-bottom-color: var(--brand-dark); }
.ir-quick-count {
    background: var(--brand-grey-lt);
    color: var(--brand-grey);
    font-size: .7rem;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 30px;
}

/* ── Section Block ───────────────────────────────────────────────────────── */
.ir-section {
    margin-bottom: 56px;
    scroll-margin-top: 110px;
}
.ir-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--brand-grey-lt);
}
.ir-section-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--brand-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}
.ir-section-title i { font-size: 1.1rem; opacity: .8; }
.ir-section-count {
    font-size: .8rem;
    font-weight: 600;
    color: var(--brand-grey);
    background: var(--brand-grey-lt);
    padding: 3px 10px;
    border-radius: 30px;
}
.ir-section-desc {
    font-size: .9rem;
    color: var(--brand-grey);
    margin-bottom: 18px;
    line-height: 1.6;
}

/* ── Document Grid ───────────────────────────────────────────────────────── */
.ir-doc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 14px;
}
.ir-doc-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border: 1px solid var(--brand-grey-lt);
    border-radius: var(--radius-md);
    padding: 16px 18px;
    transition: box-shadow .25s ease, border-color .25s ease;
}
.ir-doc-card:hover {
    box-shadow: var(--shadow-sm);
    border-color: var(--brand-dark);
}
.ir-doc-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(229,62,62,.1);
    color: #e53e3e;
    border-radius: var(--radius-sm);
    font-size: 1.3rem;
}
.ir-doc-info {
    flex: 1;
    min-width: 0;
}
.ir-doc-title {
    font-size: .92rem;
    font-weight: 700;
    color: var(--brand-text);
    line-height: 1.35;
    word-break: break-word;
    margin-bottom: 5px;
}
.ir-doc-date {
    font-size: .75rem;
    color: var(--brand-grey);
    display: flex;
    align-items: center;
    gap: 5px;
}
.ir-doc-download {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--brand-dark);
    color: #fff;
    border-radius: var(--radius-sm);
    font-size: .82rem;
    font-weight: 700;
    white-space: nowrap;
    transition: var(--transition);
    text-decoration: none;
    flex-shrink: 0;
}
.ir-doc-download:hover {
    background: var(--brand-dark-alt);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
}

/* ── Empty State ─────────────────────────────────────────────────────────── */
.ir-empty {
    text-align: center;
    padding: 80px 20px;
}
.ir-empty-icon {
    font-size: 4rem;
    color: var(--brand-grey-lt);
    margin-bottom: 20px;
    display: block;
}
.ir-empty-title { font-size: 1.5rem; color: var(--brand-text); margin-bottom: 10px; }
.ir-empty-sub { color: var(--brand-grey); }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .ir-doc-grid { grid-template-columns: 1fr; }
    .ir-quick-tab { padding: 12px 14px; font-size: .8rem; }
    .ir-section-title { font-size: 1.15rem; }
    .ir-doc-download span { display: none; }
    .ir-doc-download { padding: 8px 12px; }
}

@media (max-width: 480px) {
    .ir-doc-card { flex-wrap: wrap; }
    .ir-doc-download { width: 100%; justify-content: center; }
    .ir-doc-download span { display: inline; }
}



/* On mobile: reduce card horizontal padding so the Turnstile widget (which uses
   data-size="flexible") gets enough inner width to display fully without needing
   any negative margins. At 12px card padding: inner = 288 - 24 = 264px, which is
   wide enough for the Cloudflare checkbox + text + logo + Privacy/Help links.
   The widget naturally aligns with form fields (same left/right margin). */

    
}


/* ===================================================================
   SECTION 8.5: EVENTS & EXHIBITIONS
   =================================================================== */
.events-exhibitions-section {
    background-color: var(--brand-light);
    position: relative;
    overflow: hidden;
}



.events-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.events-left-content {
    flex: 1 1 300px;
    max-width: 400px;
}

.events-subtitle {
    background-color: var(--brand-yellow);
    color: var(--brand-text);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 13px;
    display: inline-block;
    padding: 6px 12px;
    border-radius: 4px;
    margin-bottom: 15px;
}

.events-title {
    font-size: 42px;
    font-weight: 800;
    color: var(--brand-text);
    line-height: 1.2;
    margin-bottom: 20px;
}

.events-title span {
    color: var(--brand-yellow);
}

.events-desc {
    color: var(--brand-grey);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.events-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    display: flex;
    gap: 20px;
}

.events-features li {
    text-align: center;
    flex: 1;
}

.events-features .icon-wrap {
    width: 60px;
    height: 60px;
    background-color: var(--brand-yellow);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 10px;
    transition: transform 0.3s ease;
}

.events-features li:hover .icon-wrap {
    transform: translateY(-5px);
}

.events-features span {
    font-size: 13px;
    font-weight: 600;
    color: var(--brand-text);
    display: block;
    line-height: 1.3;
}

.events-btn {
    padding: 12px 30px;
    font-weight: 600;
    background-color: var(--brand-yellow);
    color: #fff;
    border: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.events-btn:hover {
    background-color: var(--brand-yellow-lt);
}

/* Right Content: Filter & Grid */
.events-right-content {
    flex: 2 1 600px;
}

.events-filter-tabs {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.events-filter-tabs li {
    padding: 8px 16px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--brand-grey);
    cursor: pointer;
    transition: all 0.3s ease;
}

.events-filter-tabs li:hover,
.events-filter-tabs li.active {
    background-color: var(--brand-yellow);
    color: var(--brand-text);
    border-color: var(--brand-yellow);
}

/* CSS Grid for Events */
.events-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
    gap: 20px;
}

.event-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.event-card.hidden {
    display: none;
}

.event-large {
    grid-row: span 2;
}

.event-card-img {
    width: 100%;
    height: 100%;
}

.event-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: transform 0.5s ease, opacity 0.3s ease;
}

.event-card:hover .event-card-img img {
    transform: scale(1.05);
    opacity: 0.6;
}

.event-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.9);
    color: var(--brand-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    text-decoration: none;
    z-index: 2;
    transition: transform 0.3s ease, background 0.3s ease;
}

.event-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: #fff;
}

.event-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: #fff;
    z-index: 2;
}

.event-card-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #fff;
}

.event-card-meta {
    font-size: 13px;
    color: #ccc;
}

/* Stats Banner */
.events-stats-banner {
    background-color: var(--brand-text);
    color: #fff;
    padding: 40px;
    border-radius: 8px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.stats-quote {
    flex: 1 1 300px;
    position: relative;
    padding-left: 50px;
}

.stats-quote .quote-icon {
    position: absolute;
    top: -10px;
    left: 0;
    font-size: 40px;
    color: var(--brand-yellow);
    opacity: 0.5;
}

.stats-quote blockquote {
    font-size: 18px;
    font-style: italic;
    line-height: 1.5;
    margin: 0;
    padding: 0;
    border: none;
}

.stats-quote cite {
    display: block;
    margin-top: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--brand-yellow);
    font-style: normal;
}

.stats-items {
    flex: 2 1 400px;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

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

.event-stat-item .event-stat-icon {
    font-size: 32px;
    color: var(--brand-yellow);
    margin-bottom: 15px;
}

.event-stat-item .event-stat-val {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 5px;
}

.event-stat-item .event-stat-lbl {
    font-size: 13px;
    color: #ccc;
}

/* Responsive Adjustments */
@media(max-width: 991px) {
    .events-layout { flex-direction: column; }
    .events-left-content { max-width: 100%; }

    .events-stats-banner {
        flex-direction: column;
        text-align: center;
    }
    .stats-quote {
        padding-left: 0;
    }
    .stats-quote .quote-icon {
        position: static;
        display: block;
        margin: 0 auto 15px;
    }
}

@media(max-width: 767px) {
    .events-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 250px;
    }
    .event-large {
        grid-row: span 1;
    }
    
    .events-features {
        flex-direction: column;
        align-items: flex-start;
    }
    .events-features li {
        display: flex;
        align-items: center;
        text-align: left;
        gap: 15px;
    }
    .events-features .icon-wrap {
        margin: 0;
    }
}


.event-card-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}



/* ===================================================================
/* ===================================================================
   CLOUDFLARE TURNSTILE RESPONSIVE FIX
   =================================================================== */
.cf-turnstile-wrap {
    width: 100%;
    overflow: visible; /* Prevent clipping */
    display: flex;
    justify-content: center; /* Center the captcha */
}

/* Force Cloudflare to always render the full widget un-clipped */
.cf-turnstile {
    transform-origin: center center;
    transition: transform 0.2s ease;
}

/* On desktop sidebars, the available width is often < 300px due to padding. Scale it down by default. */
.pdp-sidebar .cf-turnstile,
.product-listing-sidebar .cf-turnstile {
    transform: scale(0.62);
}

/* Scale down the widget to fit narrower sidebar columns on medium screens */
@media (max-width: 1199px) {
    .cf-turnstile {
        transform: scale(0.62);
    }
}

/* Scale down further for tablets and smaller screens */
@media (max-width: 991px) {
    .cf-turnstile {
        transform: scale(0.62);
    }
}

@media (max-width: 767px) {
    .cf-turnstile {
        transform: scale(0.62);
    }
}

/* Aggressive scale down for very small mobile screens (e.g. iPhone SE) */
@media (max-width: 380px) {
    .cf-turnstile {
        transform: scale(0.60);
    }
}

/* ===================================================================
   iOS SAFARI FORM AUTO-ZOOM FIX
   =================================================================== */
@media screen and (max-width: 767px) {
    input, select, textarea, .form-control, .ct-form-control, .form-select {
        font-size: 16px !important;
    }
}



/* ============================================================
   SITEMAP PAGE
   ============================================================ */

.sitemap-page {
    background: #f0f2f7;
    min-height: 60vh;
}

.sitemap-container {
    padding-top: 56px;
    padding-bottom: 72px;
}

/* ── Grid ── */
.sitemap-grid {
    display: grid;
    gap: 24px;
}

.sitemap-grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

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

/* ── Cards ── */
.sitemap-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.2s ease;
}

.sitemap-card:hover {
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.10);
}

/* ── Card Titles ── */
.sitemap-card-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--brand-dark, #1e293b);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--brand-yellow, #f4c118);
    display: flex;
    align-items: center;
    gap: 8px;
}

.sitemap-card-title i {
    color: var(--brand-yellow, #f4c118);
    font-size: 1rem;
}

/* ── Sub-section Headers ── */
.sitemap-sub-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--brand-dark, #1e293b);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin: 18px 0 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0.75;
}

.sitemap-sub-title i {
    font-size: 0.75rem;
}

/* ── Link Lists ── */
.sitemap-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sitemap-links li {
    border-bottom: 1px dashed rgba(0, 0, 0, 0.06);
}

.sitemap-links li:last-child {
    border-bottom: none;
}

.sitemap-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 2px;
    font-size: 0.875rem;
    color: #475569;
    text-decoration: none;
    transition: color 0.15s ease, padding-left 0.15s ease;
    overflow-wrap: break-word;
    word-break: break-word;
}

.sitemap-links a i {
    color: var(--brand-yellow, #f4c118);
    font-size: 0.75rem;
    flex-shrink: 0;
}

.sitemap-links a:hover {
    color: var(--brand-dark, #1e293b);
    padding-left: 6px;
    font-weight: 600;
}

/* Sub-level indented */
.sitemap-links--sub a {
    padding-left: 8px;
    font-size: 0.83rem;
    color: #64748b;
}

.sitemap-links--sub a:hover {
    color: var(--brand-dark, #1e293b);
    padding-left: 14px;
}

/* ── Full-width Blog Section ── */
.sitemap-section-full {
    margin-top: 24px;
}

.sitemap-blog-link {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    font-size: 0.83rem;
    color: #475569;
    text-decoration: none;
    line-height: 1.4;
    padding: 4px 0;
    transition: color 0.15s ease;
    overflow-wrap: break-word;
    word-break: break-word;
}

.sitemap-blog-link i {
    color: var(--brand-yellow, #f4c118);
    flex-shrink: 0;
    margin-top: 2px;
    font-size: 0.75rem;
}

.sitemap-blog-link span {
    overflow-wrap: break-word;
    word-break: break-word;
}

.sitemap-blog-link:hover {
    color: var(--brand-dark, #1e293b);
    font-weight: 600;
}

.sitemap-blog-date {
    display: block;
    font-size: 0.72rem;
    color: #94a3b8;
    padding-left: 14px;
    margin-bottom: 6px;
}

/* ── Meta Bar ── */
.sitemap-meta {
    text-align: center;
    margin-top: 36px;
    font-size: 0.85rem;
    color: #64748b;
}

.sitemap-meta a {
    color: var(--brand-dark, #1e293b);
    text-decoration: none;
    font-weight: 600;
}

.sitemap-meta a:hover {
    text-decoration: underline;
}

/* ─────────────────────────────────────
   RESPONSIVE
───────────────────────────────────── */
@media (max-width: 1199px) {
    .sitemap-grid--4 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .sitemap-grid--3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .sitemap-grid--4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .sitemap-grid--3,
    .sitemap-grid--4 {
        grid-template-columns: 1fr;
    }

    .sitemap-container {
        padding-top: 32px;
        padding-bottom: 48px;
    }

    .sitemap-card {
        padding: 20px 16px;
    }
}


@media (max-width: 1199px) {
    .scroll-to-top {
        display: none !important;
    }
}

/* ============================================================
   SCROLL TO TOP BUTTON
   ============================================================ */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background-color: var(--brand-yellow, #f4c118);
    color: var(--brand-dark, #1e293b);
    border: none;
    border-radius: 50%;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background-color: var(--brand-dark, #1e293b);
    color: var(--brand-yellow, #f4c118);
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* ============================================================
   UTILITIES
   ============================================================ */
.stretched-link::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    content: "";
}
