/* Credibug Partner Solution - Responsive Mobile-Friendly Design System */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,600;1,700&display=swap');

:root {
    --primary-red: #B21F24;
    --dark-red: #800A0D;
    --brand-dark: #111111;
    --text-main: #2D3748;
    --text-muted: #64748B;
    --bg-white: #FFFFFF;
    --bg-light: #F8FAFC;
    --border-light: #E2E8F0;
    --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --shadow-sm: 0 4px 12px rgba(0,0,0,0.05);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
    --shadow-lg: 0 15px 35px rgba(0,0,0,0.12);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    width: 100%;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    width: 100%;
    padding-top: 80px; /* Offset for fixed sticky header */
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--brand-dark);
    letter-spacing: -0.02em;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* 100% FIXED STICKY NAVBAR */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 100000;
    background-color: #FFFFFF;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    height: 80px;
    display: flex;
    align-items: center;
}
.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    position: relative;
}

/* Brand Logo Styling */
.brand-logo-wrap {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    height: 100%;
    max-height: 50px;
    overflow: hidden;
}
.main-header .brand-logo-wrap {
    z-index: 100001;
}
.logo-chevron {
    display: flex;
    align-items: center;
}
.logo-svg {
    height: 38px;
    width: auto;
}
.logo-brand-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 900;
    color: #111111;
    letter-spacing: 1.5px;
    line-height: 1.1;
    display: flex;
    flex-direction: column;
}
.logo-brand-title span {
    font-size: 0.55rem;
    letter-spacing: 1.5px;
    font-weight: 700;
    color: var(--primary-red);
}

/* Mobile Hamburger Toggle Button */
.mobile-toggle {
    display: none;
    background: #F8FAFC;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    z-index: 100001;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}
.mobile-toggle:hover, .mobile-toggle.active {
    background: #F1F5F9;
    border-color: var(--primary-red);
}
.hamburger-svg {
    width: 24px;
    height: 24px;
}

/* Desktop Navigation Menu */
.nav-links-wrap {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}
.nav-item-link {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: #222222;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    padding: 0.4rem 0;
    display: inline-block;
}
.nav-item-link:hover, .nav-item-link.active {
    color: var(--primary-red);
}
.nav-item-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--primary-red);
    transition: var(--transition);
}
.nav-item-link:hover::after, .nav-item-link.active::after {
    width: 100%;
}

/* PAGE HERO BANNERS */
.page-hero {
    position: relative;
    background: linear-gradient(135deg, rgba(17,17,17,0.85), rgba(178,31,36,0.75)), url('/images/onshore_plant.jpg');
    background-size: cover;
    background-position: center;
    color: #FFFFFF;
    padding: 5rem 0;
    text-align: center;
}
.page-hero-tag {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    letter-spacing: 3px;
    color: rgba(255,255,255,0.8);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    display: block;
}
.page-hero-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 900;
    color: #FFFFFF;
    letter-spacing: 2px;
    margin-bottom: 0.8rem;
}
.page-hero-desc {
    max-width: 650px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: rgba(255,255,255,0.85);
}

/* VISION & MISSION RESPONSIVE GRID */
.vision-mission-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-bottom: 5rem;
}
.vision-card {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 3rem 2.5rem;
    box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--primary-red);
    transition: var(--transition);
}
.vision-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

/* HOMEPAGE HERO */
.hero-exact {
    position: relative;
    height: calc(100vh - 80px);
    min-height: 500px;
    background: linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.45)), url('/images/hero_banner.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #FFFFFF;
}
.hero-heading-exact {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: 10px;
    text-transform: uppercase;
    color: #FFFFFF;
    text-shadow: 0 4px 25px rgba(0,0,0,0.7);
}

/* SECTIONS */
.section {
    padding: 5rem 0;
}
.bg-light {
    background-color: var(--bg-light);
}

/* PROJECT CARDS & TOUCH FILTERS */
.project-filters-bar {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}
.p-filter-btn {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0.65rem 1.4rem;
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: 30px;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    white-space: nowrap;
}
.p-filter-btn.active, .p-filter-btn:hover {
    background: var(--primary-red);
    color: #FFFFFF;
    border-color: var(--primary-red);
    box-shadow: 0 6px 16px rgba(178, 31, 36, 0.3);
}

.projects-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.p-card {
    background: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.p-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-red);
}
.p-card-thumb {
    height: 220px;
    position: relative;
    overflow: hidden;
}
.p-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}
.p-card-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-red);
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.35rem 0.9rem;
    border-radius: 4px;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.p-card-body {
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.p-card-year {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-red);
    letter-spacing: 1px;
    margin-bottom: 0.4rem;
}
.p-card-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--brand-dark);
    margin-bottom: 0.8rem;
    line-height: 1.4;
}
.p-card-meta {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.2rem;
    line-height: 1.5;
}
.p-card-link {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--primary-red);
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: auto;
}

/* SECTION WHO WE ARE */
.who-we-are-sec {
    padding: 5rem 0;
    background-color: var(--bg-light);
}
.who-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3.5rem;
    align-items: center;
}
.who-tag {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    letter-spacing: 3px;
    color: #888888;
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: block;
}
.who-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: #111111;
    line-height: 1.35;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
}
.who-desc {
    font-size: 1rem;
    color: #555555;
    line-height: 1.7;
    margin-bottom: 1.2rem;
}
.red-projects-card {
    background: linear-gradient(135deg, #A8181B, #800A0D);
    border-radius: 12px;
    padding: 4rem 2rem;
    color: #FFFFFF;
    text-align: center;
    box-shadow: 0 15px 35px rgba(168, 24, 27, 0.25);
    position: relative;
    overflow: hidden;
}
.red-stat-number {
    font-family: var(--font-heading);
    font-size: 5.5rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}
.red-stat-label {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 2rem;
}
.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
}
.dot.active {
    background: #FFFFFF;
    width: 24px;
    border-radius: 10px;
}

/* SERVICES OVERLAY SLIDER */
.services-overlay-sec {
    position: relative;
    background: linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)), url('/images/onshore_plant.jpg');
    background-size: cover;
    background-position: center;
    color: #FFFFFF;
    padding: 6rem 0;
}
.services-overlay-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3.5rem;
    align-items: center;
}
.vertical-service-tabs {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.v-tab-item {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: var(--transition);
}
.v-tab-item.active, .v-tab-item:hover {
    color: #FFFFFF;
    transform: translateX(10px);
}
.service-overlay-content p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 650px;
}
.learn-more-link {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #FFFFFF;
    border-bottom: 2px solid var(--primary-red);
    padding-bottom: 0.3rem;
    display: inline-block;
}

/* OPERATIONS MAP */
.operations-sec {
    padding: 5rem 0;
    text-align: center;
    background-color: #FFFFFF;
}
.ops-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-red);
    letter-spacing: 2px;
    margin-bottom: 0.6rem;
}
.ops-sub {
    color: #666;
    font-size: 1.05rem;
    margin-bottom: 3.5rem;
}
.world-map-wrap {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}
.map-bg-svg {
    width: 100%;
    height: auto;
    opacity: 0.85;
}

/* OUR CLIENTS MATRIX */
.clients-sec {
    padding: 5rem 0;
    background-color: var(--bg-light);
}
.clients-grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}
.clients-header-wrap {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
}
.red-vertical-bar {
    width: 5px;
    height: 38px;
    background-color: var(--primary-red);
}
.clients-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: #111111;
    letter-spacing: 1.5px;
}
.client-logos-matrix {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
}
.client-logo-box {
    background: #FFFFFF;
    border-radius: 8px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    border: 1px solid var(--border-light);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.85rem;
    color: #222;
    text-align: center;
}
.testimonial-card-overlay {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('/images/onshore_plant.jpg');
    background-size: cover;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    color: #FFFFFF;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}
.testimonial-card-overlay p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.85);
}

/* FOOTER */
.credibug-footer {
    background-color: #111111;
    color: #888888;
    padding: 3.5rem 0 2rem 0;
    border-top: 4px solid var(--primary-red);
    position: relative;
    z-index: 1; /* Normal z-index so footer never pops above fixed drawer */
}
.credibug-footer .brand-logo-wrap {
    z-index: 1;
}
.footer-top-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}
.footer-nav-links {
    display: flex;
    gap: 2rem;
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}
.footer-nav-links a {
    color: #AAAAAA;
}
.footer-nav-links a:hover {
    color: #FFFFFF;
}
.footer-bottom-exact {
    text-align: center;
    font-size: 0.85rem;
    border-top: 1px solid #222222;
    padding-top: 2rem;
    margin-top: 3rem;
}

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

@media (max-width: 992px) {
    body {
        padding-top: 70px;
    }
    .main-header {
        height: 70px;
        z-index: 100000 !important;
        background-color: #FFFFFF !important;
    }
    .main-header .brand-logo-wrap {
        max-height: 44px;
        overflow: hidden;
    }
    .logo-svg {
        height: 32px;
    }
    .logo-brand-title {
        font-size: 1.05rem;
        line-height: 1.1;
    }
    .logo-brand-title span {
        font-size: 0.52rem;
        letter-spacing: 1.2px;
    }
    .mobile-toggle {
        display: flex !important;
    }
    
    /* Off-canvas Fullscreen Mobile Nav Drawer */
    .nav-links-wrap {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100vw;
        height: calc(100vh - 70px);
        background: #FFFFFF !important;
        background-color: #FFFFFF !important;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 2rem 1.8rem;
        gap: 1.2rem;
        box-shadow: 0 10px 30px rgba(0,0,0,0.15);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        z-index: 99999 !important;
    }
    .nav-links-wrap.show {
        display: flex !important;
    }
    .nav-item-link {
        font-size: 1.1rem;
        padding: 0.75rem 0;
        width: 100%;
        border-bottom: 1px solid #F0F0F0;
        color: var(--brand-dark);
    }
    .nav-item-link::after {
        display: none;
    }

    /* Grids & Cards Stacking */
    .projects-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    .vision-mission-grid {
        grid-template-columns: 1fr;
        gap: 1.8rem;
        margin-bottom: 3.5rem;
    }
    .who-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .services-overlay-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .clients-grid-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .client-logos-matrix {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* Footer Mobile Stack */
    .footer-top-wrap {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    .footer-nav-links {
        flex-direction: column;
        gap: 0.8rem;
        width: 100%;
    }
    .footer-nav-links a {
        display: block;
        padding: 0.4rem 0;
        border-bottom: 1px solid #222222;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.2rem;
    }
    .hero-heading-exact {
        font-size: 2.2rem;
        letter-spacing: 5px;
    }
    .page-hero-title {
        font-size: 2.2rem;
    }
    .page-hero {
        padding: 3.5rem 0;
    }
    .section {
        padding: 3.5rem 0;
    }
    .projects-cards-grid {
        grid-template-columns: 1fr;
    }
    .vision-card {
        padding: 2rem 1.5rem;
    }
    .client-logos-matrix {
        grid-template-columns: repeat(2, 1fr);
    }
    .v-tab-item {
        font-size: 1.5rem;
    }
    .v-tab-item.active, .v-tab-item:hover {
        transform: translateX(5px);
    }
    .red-projects-card {
        padding: 3rem 1.5rem;
    }
    .red-stat-number {
        font-size: 4rem;
    }
    .red-stat-label {
        font-size: 1.2rem;
    }

    /* Horizontal Touch Scroll for Filter Buttons */
    .project-filters-bar {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 0.5rem;
        margin-bottom: 2rem;
        scrollbar-width: none;
    }
    .project-filters-bar::-webkit-scrollbar {
        display: none;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 65px;
    }
    .main-header {
        height: 65px;
    }
    .nav-links-wrap {
        top: 65px;
        height: calc(100vh - 65px);
    }
    .main-header .brand-logo-wrap {
        max-height: 40px;
    }
    .logo-svg {
        height: 28px;
    }
    .logo-brand-title {
        font-size: 0.95rem;
    }
    .logo-brand-title span {
        font-size: 0.5rem;
        letter-spacing: 1px;
    }
    .hero-heading-exact {
        font-size: 1.5rem;
        letter-spacing: 3px;
    }
    .who-title {
        font-size: 1.4rem;
    }
    .client-logos-matrix {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    .client-logo-box {
        height: 70px;
        font-size: 0.75rem;
    }
}

/* HOMEPAGE DYNAMIC COMPONENTS (MATCHING CREDIBUG DESIGN SYSTEM) */
.hero-bbpk {
    position: relative;
    height: calc(100vh - 80px);
    min-height: 520px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #FFFFFF;
    padding: 4rem 1.5rem;
}
.hero-tag {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    letter-spacing: 3px;
    color: var(--primary-red);
    background: rgba(178,31,36,0.15);
    border: 1px solid var(--primary-red);
    padding: 0.4rem 1.2rem;
    border-radius: 30px;
    display: inline-block;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
    font-weight: 800;
}
.hero-title {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #FFFFFF;
    line-height: 1.2;
    margin-bottom: 1.2rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.8);
}
.hero-subtitle {
    max-width: 750px;
    margin: 0 auto 2rem auto;
    font-size: 1.15rem;
    color: rgba(255,255,255,0.9);
    line-height: 1.7;
}
.hero-cta-wrap {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
.btn-primary-bbpk {
    background: var(--primary-red);
    color: #FFFFFF !important;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0.95rem 2.2rem;
    border-radius: 6px;
    box-shadow: 0 6px 18px rgba(178,31,36,0.35);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
}
.btn-primary-bbpk:hover {
    background: var(--dark-red);
    transform: translateY(-3px);
    color: #FFFFFF !important;
}
.btn-secondary-bbpk {
    background: rgba(255,255,255,0.12);
    color: #FFFFFF !important;
    border: 1px solid rgba(255,255,255,0.4);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0.95rem 2.2rem;
    border-radius: 6px;
    backdrop-filter: blur(5px);
    transition: var(--transition);
    text-decoration: none;
}
.btn-secondary-bbpk:hover {
    background: #FFFFFF;
    color: var(--brand-dark) !important;
    transform: translateY(-3px);
}
.stats-bar-sec {
    background: var(--brand-dark);
    color: #FFFFFF;
    padding: 2.5rem 0;
    box-shadow: var(--shadow-md);
    border-bottom: 4px solid var(--primary-red);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}
.stat-item-num {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--primary-red);
    margin-bottom: 0.3rem;
    letter-spacing: 1px;
}
.stat-item-label {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: rgba(255,255,255,0.8);
    letter-spacing: 1px;
}
.sec-tag {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    letter-spacing: 3px;
    color: var(--primary-red);
    text-transform: uppercase;
    font-weight: 800;
    display: inline-block;
    margin-bottom: 0.6rem;
}
.sec-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--brand-dark);
    line-height: 1.3;
    letter-spacing: 0.5px;
}
.process-grid-8 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.8rem;
    margin-top: 3rem;
}
.p-step-card {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 2rem 1.6rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-top: 4px solid var(--primary-red);
}
.p-step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}
.p-step-num {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 900;
    color: var(--primary-red);
    letter-spacing: 1.5px;
    margin-bottom: 0.6rem;
}
.p-step-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--brand-dark);
    margin-bottom: 0.6rem;
}
.p-step-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}
.specs-card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.8rem;
    margin: 3rem 0;
}
.spec-box {
    background: var(--brand-dark);
    color: #FFFFFF;
    border-radius: 10px;
    padding: 2rem 1.5rem;
    text-align: center;
    border-bottom: 4px solid var(--primary-red);
    box-shadow: var(--shadow-sm);
}
.spec-val {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--primary-red);
    margin-bottom: 0.3rem;
}
.spec-name {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
    letter-spacing: 1px;
}
.table-bbpk {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    margin-top: 1rem;
}
.table-bbpk th {
    background: var(--bg-light);
    padding: 1rem 1.2rem;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--brand-dark);
    border-bottom: 2px solid var(--border-light);
}
.table-bbpk td {
    padding: 1rem 1.2rem;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.95rem;
}
.flow-chain-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    background: #FFFFFF;
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}
.flow-node {
    flex: 1;
    min-width: 180px;
    text-align: center;
}
.flow-arrow {
    color: var(--primary-red);
    font-size: 1.5rem;
}
.bg-dark {
    background: var(--brand-dark);
}

/* RESPONSIVE GRID UTILITIES & MOBILE MEDIA QUERIES */
.grid-2-col {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.grid-2-equal {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.grid-3-col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.grid-4-col {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.intro-img-wrap {
    position: relative;
    width: 100%;
}

.intro-img-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--primary-red);
    color: #FFFFFF;
    padding: 1.2rem 1.8rem;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--brand-dark);
}

@media (max-width: 992px) {
    .stats-grid, .process-grid-8, .specs-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .grid-2-col, .grid-2-equal {
        grid-template-columns: 1fr !important;
        gap: 2.5rem !important;
    }
    .grid-3-col, .grid-4-col {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem !important;
    }
    .intro-img-badge {
        position: relative !important;
        bottom: 0 !important;
        right: 0 !important;
        margin-top: -30px;
        margin-left: auto;
        max-width: 260px;
        z-index: 5;
    }
    .flow-chain-wrap {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    .flow-arrow {
        transform: rotate(90deg);
    }
}

@media (max-width: 576px) {
    .stats-grid, .process-grid-8, .specs-card-grid, .grid-3-col, .grid-4-col {
        grid-template-columns: 1fr !important;
    }
    .hero-bbpk {
        min-height: 440px;
        padding: 3rem 1.2rem;
    }
    .hero-title {
        font-size: 1.75rem !important;
        letter-spacing: 1px;
        word-break: break-word;
        overflow-wrap: break-word;
    }
    .hero-subtitle {
        font-size: 0.95rem !important;
    }
    .btn-primary-bbpk, .btn-secondary-bbpk {
        width: 100%;
        justify-content: center;
        padding: 0.85rem 1.5rem;
        font-size: 0.82rem;
    }
    .sec-title {
        font-size: 1.4rem !important;
    }
    .intro-img-badge {
        margin-top: 1rem;
        max-width: 100%;
    }
    .spec-box {
        padding: 1.5rem 1rem;
    }
    .spec-val {
        font-size: 1.8rem;
    }
}

/* ==========================================================================
   Comprehensive Scroll Animation & Micro-Interactivity Suite (Fluid & Modern)
   ========================================================================== */

/* Top Scroll Reading Progress Indicator */
#scrollProgressBar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3.5px;
    width: 0%;
    background: linear-gradient(90deg, #B21F24 0%, #ff4d4f 50%, #B21F24 100%);
    z-index: 9999999;
    transition: width 0.1s ease-out;
    box-shadow: 0 0 10px rgba(178, 31, 36, 0.7);
}

/* Sticky Header Scrolled Glassmorphic State */
.main-header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    height: 72px;
    transition: height 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease, box-shadow 0.3s ease;
}

/* Safe & Modern Scroll Reveal Animation Styles (Hardware Accelerated 60fps) */
.animate-fade-ready {
    opacity: 0;
    transform: translate3d(0, 24px, 0);
    will-change: opacity, transform;
    transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1), transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-fade-ready.is-visible {
    opacity: 1 !important;
    transform: translate3d(0, 0, 0) !important;
}

/* Automatic Stagger Delays for Cascade Effects */
.stagger-1 { transition-delay: 0.06s; }
.stagger-2 { transition-delay: 0.12s; }
.stagger-3 { transition-delay: 0.18s; }
.stagger-4 { transition-delay: 0.24s; }
.stagger-5 { transition-delay: 0.30s; }
.stagger-6 { transition-delay: 0.36s; }

/* Interactive Card Hover Animations */
article, .vision-card, .spec-box, .product-card, .p-card, .p-step-card, .why-card, .infra-card, .flow-node {
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease;
}

article:hover, .vision-card:hover, .spec-box:hover, .product-card:hover, .p-card:hover, .p-step-card:hover, .why-card:hover, .infra-card:hover {
    transform: translate3d(0, -6px, 0);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
}

/* Button Shimmer & Sheen Effect */
.btn-primary-bbpk {
    position: relative;
    overflow: hidden;
}
.btn-primary-bbpk::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transform: skewX(-20deg);
    transition: left 0.75s ease;
}
.btn-primary-bbpk:hover::after {
    left: 140%;
}

/* Subtle Badge Pulse Animation */
@keyframes pulseSubtle {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}

.hero-tag, .sec-tag {
    animation: pulseSubtle 4s ease-in-out infinite;
}

/* Smooth Image Zoom Container */
.img-zoom-wrap {
    overflow: hidden;
    position: relative;
}
.img-zoom-wrap img {
    transition: transform 0.65s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}
.img-zoom-wrap:hover img {
    transform: scale(1.05);
}

/* Floating Back To Top Button */
#backToTopBtn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-red);
    color: #ffffff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 6px 18px rgba(178, 31, 36, 0.35);
    opacity: 0;
    visibility: hidden;
    transform: translate3d(0, 20px, 0) scale(0.8);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 99999;
}

#backToTopBtn.show {
    opacity: 1;
    visibility: visible;
    transform: translate3d(0, 0, 0) scale(1);
}

#backToTopBtn:hover {
    background: #800A0D;
    transform: translate3d(0, -3px, 0) scale(1.08);
    box-shadow: 0 10px 25px rgba(178, 31, 36, 0.5);
}

/* Accessibility: Disable non-essential animations if reduced motion is requested */
@media (prefers-reduced-motion: reduce) {
    .animate-fade-ready {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .hero-tag, .sec-tag {
        animation: none !important;
    }
}
