:root {
    --primary-blue: #004a99;    /* Matches the dark blue in BK logo */
    --secondary-blue: #1e88e5;  /* Matches the lighter blue accent */
    --accent-orange: #ff6a00;   /* Matches the orange swoosh accent */
    --slate-blue: #1b2a32;      /* Original slate, kept for dark backgrounds */
    --text-dark: #2d3748;
    --text-muted: #718096;
    --bg-light: #f7fafc;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

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

/* --- LOGO STYLING --- */
.logo-img {
    height: 60px; /* Adjust as needed */
    width: auto;
}

/* --- PREMIUM HEADER COMPONENT --- */
.top-bar {
    background-color: var(--white);
    padding: 15px 20px;
    border-bottom: 2px solid #edf2f7;
}
.top-bar-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.top-logo h2 {
    color: var(--primary-blue);
    font-weight: 800;
    letter-spacing: -0.5px;
    font-size: 26px;
}
.top-logo span {
    color: var(--accent-orange);
    font-weight: 300;
}
.top-contact-info {
    display: flex;
    gap: 30px;
}
.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
}
/* Link CTAs for phone and email */
.contact-link {
    text-decoration: none;
    color: inherit; /* Maintain original text colors */
    transition: color 0.3s ease;
}
.contact-link:hover {
    color: var(--secondary-blue); /* Lighter blue on hover */
}
.contact-item .icon-box {
    background-color: #e6f7ff; /* Updated to light blue background */
    color: var(--primary-blue);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}
.contact-item span {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
}
.contact-item strong {
    color: var(--slate-blue);
    font-size: 14px;
}

/* --- NAVIGATION COMPONENT --- */
nav {
    background-color: #0261b7;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    list-style: none;
}
.nav-container li a {
    display: block;
    padding: 18px 24px;
    color: #e2e8f0;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
}
/* Navigation highlights use new light blue */
.nav-container li a:hover, .nav-container li a.active {
    background-color: var(--primary-blue);
    color: var(--white);
}

/* --- KEYFRAME SCHEMES --- */
@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-60px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
    from { opacity: 0; transform: translateX(60px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeIn {
    from { opacity: 0; } to { opacity: 1; }
}

.animate-left {
    animation: slideInLeft 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.animate-right {
    animation: slideInRight 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* --- HERO SECTION --- */
.hero-section {
    background: linear-gradient(135deg, rgba(0,74,153,0.35) 0%, rgba(27,42,50,0.85) 100%), url('https://bksystemsworldtrade.com/demo/uploads/bb1.jpeg') no-repeat center center/cover;
    padding: 80px 20px;
}
.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
}
.hero-text h2 {
    color: var(--white);
    font-size: 46px;
    font-weight: 700;
    line-height: 1.15;
}
.hero-text h2 span {
    color: var(--accent-orange);
    display: block;
    margin-top: 5px;
}
.floating-form {
    background-color: var(--white);
    padding: 35px;
    border-radius: 8px;
    color: var(--text-dark);
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
    border-top: 4px solid var(--primary-blue);
}
.floating-form h3 {
    color: var(--slate-blue);
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 700;
}
.form-control {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #e2e8f0;
    border-radius: 5px;
    background-color: #f8fafc;
    font-size: 14px;
    transition: all 0.3s;
}
.form-control:focus {
    outline: none;
    border-color: var(--primary-blue);
    background-color: var(--white);
}
.form-submit-btn {
    width: 100%;
    background-color: var(--primary-blue);
    color: var(--white);
    border: none;
    padding: 14px;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}
.form-submit-btn:hover {
    background-color: var(--accent-orange);
}

/* --- INFOBAR --- */
.info-ribbon {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 18px 20px;
    text-align: center;
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 0.5px;
    box-shadow: inset 0 -3px 0 rgba(0,0,0,0.2);
}

/* --- ABOUT SPLIT SECTION --- */
.split-section {
    max-width: 1200px;
    margin: 70px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}
.section-heading {
    font-size: 26px;
    color: var(--slate-blue);
    margin-bottom: 25px;
    font-weight: 700;
}
.section-heading span {
    color: var(--primary-blue);
}
.about-block img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    margin-bottom: 20px;
}
.about-block p {
    color: var(--text-muted);
    margin-bottom: 15px;
    font-size: 15px;
}
.feature-item {
    display: flex;
    gap: 20px;
    background: #f8fafc;
    padding: 20px;
    border-radius: 6px;
    margin-bottom: 15px;
    border-left: 4px solid var(--primary-blue);
}
.feature-icon {
    color: var(--accent-orange);
    font-size: 22px;
}
.feature-text h4 {
    color: var(--slate-blue);
    font-size: 16px;
    margin-bottom: 4px;
}
.feature-text p {
    color: var(--text-muted);
    font-size: 13px;
}

/* --- ABOUT VIEW SPECIFICS --- */
.about-banner {
    background: linear-gradient(90deg, var(--slate-blue) 0%, var(--primary-blue) 100%);
    padding: 50px 20px;
    text-align: center;
    color: var(--white);
}
.about-banner h1 {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 1px;
}
.metric-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 35px;
}
.metric-card {
    background: var(--bg-light);
    padding: 25px;
    text-align: center;
    border-radius: 6px;
    border-bottom: 3px solid var(--accent-orange);
}
.metric-card h4 {
    font-size: 32px;
    color: var(--primary-blue);
    margin-bottom: 5px;
}
.metric-card p {
    font-size: 13px;
    color: var(--text-dark);
    font-weight: 600;
    text-transform: uppercase;
}

/* --- GRID GENERATION PATTERNS --- */
.showcase-bg {
    background-color: var(--bg-light);
    padding: 70px 20px;
}
.center-heading {
    text-align: center;
    font-size: 30px;
    color: var(--slate-blue);
    margin-bottom: 45px;
    font-weight: 700;
}
.grid-layout {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 30px;
}
.card-item {
    background-color: var(--white);
    border: 1px solid #e2e8f0;
    padding: 25px;
    text-align: center;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}
.card-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,74,153,0.1);
    border-color: var(--primary-blue);
}
.card-img-wrapper {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.card-img-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.card-title {
    font-size: 16px;
    color: var(--slate-blue);
    font-weight: 700;
    margin-bottom: 10px;
}
.card-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
}
.action-btn {
    background-color: var(--slate-blue);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    font-size: 13px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: 0.3s;
}
.action-btn:hover {
    background-color: var(--accent-orange);
    color: var(--white);
}

/* --- PRICE TABLES --- */
.table-responsive {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.price-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}
.price-table th {
    background-color: var(--slate-blue);
    color: white;
    padding: 15px;
    font-size: 15px;
}
.price-table td {
    padding: 15px;
    border-bottom: 1px solid #e2e8f0;
    font-size: 14px;
}

.newsletter-section {
    max-width: 850px;
    margin: 80px auto;
    padding: 40px;
    background: linear-gradient(to right, #f7fafc, #edf2f7);
    border-radius: 8px;
    text-align: center;
    border: 1px solid #e2e8f0;
}
.newsletter-section h3 {
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-size: 22px;
}

.detail-window {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
}
.detail-flex {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* --- GLOBAL FOOTER COMPONENT --- */
footer {
    background-color: #033e8f;
    color: #a0aec0;
    padding: 60px 20px 30px 20px;
    font-size: 14px;
}
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.3fr 0.7fr 1fr;
    gap: 50px;
    border-bottom: 1px solid #2d3748;
    padding-bottom: 40px;
}
.footer-col h4 {
    color: var(--white);
    font-size: 16px;
    margin-bottom: 20px;
    font-weight: bold;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links li a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-links li a:hover { color: var(--accent-orange); }
.footer-bottom {
    text-align: center;
    padding-top: 30px;
    font-size: 12.5px;
    color: #718096;
}

/* Responsive Overrides */
@media(max-width: 768px) {
    .hero-container, .split-section, .footer-container, .detail-flex, .metric-row {
        grid-template-columns: 1fr !important;
    }
    .animate-left, .animate-right {
        animation: fadeIn 0.6s ease forwards !important;
    }
    .top-bar-container {
        justify-content: center;
    }
    .top-contact-info {
        gap: 15px;
        margin-top: 10px;
    }
}

/* --- WHATSAPP BUTTON UTILITIES --- */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366; /* Official WhatsApp Green */
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: fadeIn 1s;
}
.whatsapp-float:hover {
    background-color: #128c7e; /* Darker green on hover */
    transform: scale(1.1);
}

/* ========================================================================= */
/* --- FIXED MOBILE ACTION CTA BAR STYLING ---                               */
/* ========================================================================= */

/* Hidden by default on Desktop & Tablet screens */
.mobile-action-cta-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    z-index: 99999; /* Keeps it on top of all other page elements */
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.12);
}

.cta-tab-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    gap: 4px;
    transition: background 0.2s ease;
}

.cta-tab-item i {
    font-size: 18px;
}

/* Verbatim Color Profile Assignments from Reference Image */
.enquiry-tab {
    background-color: #1a365d; /* Dark Navy Blue */
}
.enquiry-tab:hover {
    background-color: #122540;
}

.whatsapp-tab {
    background-color: #22c55e; /* Vibrant WhatsApp Green */
}
.whatsapp-tab:hover {
    background-color: #16a34a;
}

.call-tab {
    background-color: #dc2626; /* Warning/Call Crimson Red */
}
.call-tab:hover {
    background-color: #b91c1c;
}

/* --- RESPONSIVE ACTIVATION ENGINE --- */
@media (max-width: 768px) {
    /* Displays bar explicitly on smartphone screen widths */
    .mobile-action-cta-bar {
        display: flex;
    }

    /* Padding adjustment to prevent the main content or footer 
       from getting hidden behind the fixed bar */
    body {
        padding-bottom: 60px !important;
    }

    /* Optional: Hides the floating round WhatsApp icon if it conflicts with the bar */
    .whatsapp-float {
        display: none !important;
    }
}

/* ========================================================================= */
/* --- 10 ASSOCIATED TOP BRANDS SINGLE RAW GRID DISPLAY ---                  */
/* ========================================================================= */
.top-brands-single-raw-grid {
    display: grid;
    /* Spreads all 10 logos into 1 single even row on broad desktop viewports */
    grid-template-columns: repeat(10, 1fr);
    gap: 12px;
    align-items: center;
    justify-content: center;
}

.brand-row-card {
    background: #ffffff;
    border: 1px solid #edf2f7;
    border-radius: 4px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    transition: all 0.2s ease-in-out;
}

.brand-row-card:hover {
    border-color: #ff6a00;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 106, 0, 0.08);
}

.brand-row-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Responsive engines for flexible viewing layout models across tabs or screens */
@media (max-width: 1200px) {
    .top-brands-single-raw-grid {
        grid-template-columns: repeat(5, 1fr); /* Forms 2 rows of 5 on laptops */
        gap: 15px;
    }
}

@media (max-width: 600px) {
    .top-brands-single-raw-grid {
        grid-template-columns: repeat(2, 1fr); /* Forms 5 rows of 2 on small mobiles */
        gap: 10px;
    }
}

/* ========================================================================= */
/* --- INFINITE SCROLLING RUNNING WORK GALLERY BLOCK ---                    */
/* ========================================================================= */

.work-gallery-wrapper {
    max-width: 100%;
    margin: 60px 0;
    background-color: #ffffff;
    padding: 20px 0;
    overflow: hidden;
}

.gallery-title-box {
    max-width: 1200px;
    margin: 0 auto 35px auto;
    padding: 0 20px;
    text-align: center;
    font-family: sans-serif;
}

.gallery-title-box h3 {
    font-size: 26px;
    color: #1b2a32; /* Fits your Slate-Blue primary context color token */
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.gallery-title-box h3 span {
    color: #ff6a00; /* Fits your primary accent-orange identity branding */
}

.gallery-title-box p {
    font-size: 14px;
    color: #718096;
    margin: 0;
}

/* Viewport structure box defining frame boundaries */
.infinite-scroll-viewport {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 10px 0;
    background: #f8fafc;
    border-top: 1px solid #edf2f7;
    border-bottom: 1px solid #edf2f7;
}

/* Endless running conveyor animation track strip line */
.scroll-conveyor-track {
    display: flex;
    width: max-content; /* Dynamically calculates the full width of all image items combined */
    gap: 20px;
    animation: runningGalleryLoop 25s linear infinite; /* Loop runs infinitely at a silky smooth speed */
}

/* Gracefully slows down and pauses the track movement when a user hovers over it */
.infinite-scroll-viewport:hover .scroll-conveyor-track {
    animation-play-state: paused;
}

/* Individual Picture Card Component Wrappers */
.gallery-slide-item {
    width: 320px; /* Uniform width across all slider images */
    height: 220px; /* Uniform height across all slider images */
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #edf2f7;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    background-color: #ffffff;
    transition: transform 0.3s ease;
}

/* Simple hover effect to gently lift the image being inspected */
.gallery-slide-item:hover {
    transform: scale(1.03);
    border-color: #ff6a00;
}

.gallery-slide-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Prevents stretching and forces high-resolution resizing crispness */
    display: block;
}

/* ========================================================================= */
/* --- THE PURE CSS ANIMATION LOOP ENGINE ---                               */
/* ========================================================================= */
@keyframes runningGalleryLoop {
    0% {
        transform: translateX(0);
    }
    100% {
        /* Loops left across exactly 50% of the container width (the total size of the first set) */
        transform: translateX(calc(-50% - 10px)); 
    }
}

/* Responsive screen layout calculations optimization */
@media (max-width: 768px) {
    .gallery-title-box h3 { font-size: 20px; }
    .gallery-slide-item {
        width: 250px;
        height: 170px;
    }
}