:root {
    --primary-color: #000c40;
    /* Dark blue from Regent FC */
    --accent-red: #FA4318;
    --accent-green: #00c885;
    /* Cyan/green from Regent FC banner */
    --accent-yellow: #ffc107;
    --accent-bright: #0d6efd;
    /* Bright blue from buttons */
    --text-dark: #212529;
    /* Darker grey text */
    --text-light: #64748b;
    /* Lighter grey text */
    --bg-light: #f8f9fa;
    /* Offwhite background */
    --bg-gray: #f5f6f8;
    /* Soft gray for sections */
    --white: #ffffff;
}

body {
    font-family: 'Instrument Sans', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: var(--white);
    /* Removed the global background image to avoid blank spaces */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
    color: var(--primary-color);
    margin-bottom: 20px;
}

h3 {
    font-weight: 500;
}

h2 {
    font-weight: 500;
}

h1 {
    font-weight: 500;
}

th {
    font-weight: 500;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: #ffffff;
    /* Darker shade of #000254 */
}

ul {
    list-style: none;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 60px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--accent-red);
    /* Changed to Red from logo */
    color: var(--white);
}

.btn-primary:hover {
    background-color: #b02a37;
    transform: translateY(-2px);
}

/* ensure product buttons stretch */
.product-info .btn, .product-info .view-variants {
    display: block;
    width: 10rem;
    text-align: center;
    border-radius: 10px;
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

/* Header Two-Tier Design */
.header {
    background-color: transparent;
    box-shadow: none;
    position: relative;
    top: 0;
    z-index: 1000;
    padding: 0;
}

/* Top Tier: Logo and Info */
.header-top {
    background-color: var(--white);
    padding: 15px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo a {
    display: flex;
    align-items: center;
}

.logo img {
    height: 70px;
    /* Slightly larger logo */
    width: auto;
}

.header-info {
    display: flex;
    gap: 30px;
    align-items: center;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.info-icon {
    width: 45px;
    height: 45px;
    background-color: rgba(0, 200, 133, 0.1);
    color: var(--accent-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.info-text h4 {
    margin: 0;
    font-size: 0.95rem;
    color: var(--primary-color);
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

.info-text p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Bottom Tier: Navigation */
.header-bottom {
    background-color: var(--primary-color);
    padding: 0;
}

.header-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-list li {
    margin: 0;
}

.nav-list a {
    display: block;
    color: var(--white);
    font-weight: 500;
    padding: 20px 25px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.nav-list a:hover,
.nav-list a.active {
    color: var(--white);
    background-color: rgba(255, 255, 255, 0.1);
}

/* Dropdown Menu Styles */
.nav-list li.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 320px;
    background-color: #0d6efd; /* Blue from screenshot */
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 1000;
    margin: 0;
    padding: 0;
    border: none;
}

.nav-list li.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    margin: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu a {
    display: block;
    color: #ffffff;
    padding: 15px 20px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}

.dropdown-menu a:hover {
    background-color: #0b5ed7; /* Darker blue on hover */
}

.cta-container {
    display: flex;
    height: 100%;
}

.cta-container .btn {
    border-radius: 0;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    background-color: var(--accent-bright);
    color: var(--white);
    border: none;
    margin: 0;
    font-weight: 600;
}

.cta-container .btn i {
    margin-left: 8px;
    background: rgba(255, 255, 255, 0.2);
    padding: 3px 6px;
    border-radius: 4px;
}

.cta-container .btn:hover {
    background-color: #0b5ed7;
    /* Darker bright blue */
    transform: none;
    /* remove hover transform from global btn */
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section & Video Background */
.hero {
    position: relative;
    text-align: center;
    padding: 150px 0;
    color: #fff;
    overflow: hidden;
    /* Fallback background if video fails */
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/her_banner.png');
    background-size: cover;
    background-position: center;
}

.video-hero {
    /* Reset background when video class is present, let overlay handle darkening */
    background: #000;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    pointer-events: none;
    /* Prevents interacting with the youtube player */
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    /* Dark overlay to make text readable */
    z-index: 1;
}

.hero h1 {
    font-size: clamp(3rem, 6vw, 4.5rem);
    margin-bottom: 20px;
    color: #fff;
    font-weight: 700;
    line-height: 1.2;
}

.hero h1 .text-accent-green {
    color: var(--accent-green);
}

.sub-headline {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #e2e8f0;
    font-weight: 400;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Immersive Background Utility Classes */
.bg-dark-industrial {
    background: linear-gradient(rgba(0, 12, 64, 0.85), rgba(0, 12, 64, 0.95)), url('../images/backgroud/bg_black_2.jpg') center/cover no-repeat fixed !important;
    color: var(--white);
}

.bg-dark-industrial h2,
.bg-dark-industrial h3,
.bg-dark-industrial h4,
.bg-dark-industrial p {
    color: var(--white) !important;
}

.bg-dark-industrial .title-underline {
    background: var(--accent-green) !important;
}

/* Fixes for elements inside dark-industrial sections */
.bg-dark-industrial .mf-node h4 {
    color: var(--text-dark) !important;
    /* Node text remains dark since nodes are white */
}

.bg-dark-industrial .mf-center-hub {
    background: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.bg-dark-industrial .mf-pulse-ring {
    border-color: rgba(0, 200, 133, 0.5);
}

.bg-dark-industrial .mf-connections line {
    stroke: rgba(255, 255, 255, 0.25) !important;
}

.bg-dark-industrial .mf-connections polygon {
    fill: rgba(255, 255, 255, 0.25) !important;
}

.bg-dark-industrial .card-title-bar {
    background: var(--white);
}

.bg-dark-industrial .card-title-bar h4 {
    color: var(--primary-color) !important;
}

.bg-blue-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-bright) 100%) !important;
    color: var(--white);
}

.bg-blue-gradient h2,
.bg-blue-gradient h3,
.bg-blue-gradient h4,
.bg-blue-gradient p {
    color: var(--white) !important;
}

.bg-blue-gradient .title-underline {
    background: var(--white) !important;
}

/* Premium Achievements & Stats Section (Dark Theme) */
.premium-achievements-section {
    background: #000C40;
    /* Deep teal/slate */
    padding: 100px 0;
    position: relative;
}

.premium-achievements-section-yellow {
    background: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
    /* Warm sunset/yellow */
    padding: 100px 0;
    position: relative;
}

.premium-achievements-section-orange {
    background: linear-gradient(135deg, #f12711 0%, #f5af19 100%);
    /* Vibrant orange */
    padding: 100px 0;
    position: relative;
}

.premium-achievements-section-teal {
    background: linear-gradient(135deg, #00B4DB 0%, #0083B0 100%);
    /* Vibrant cyan/blue */
    padding: 100px 0;
    position: relative;
}

.dark-cinema-section {
    background-color: #0b0f19;
    background-image: radial-gradient(circle top, rgba(13, 110, 253, 0.15) 0%, transparent 70%);
    padding: 100px 0;
    position: relative;
}

.dark-cinema-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('assets/images/pattern-overlay.png') repeat;
    opacity: 0.03;
    pointer-events: none;
}



.premium-achievements-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Add a very subtle noise or mesh pattern if desired, or just solid */
    background: radial-gradient(circle at center, rgba(13, 110, 253, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.premium-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.premium-stat-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 35px 30px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.premium-stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(13, 110, 253, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.stat-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.stat-icon {
    font-size: 2.2rem;
}

.stat-icon.text-cyan {
    color: var(--accent-bright);
}

.stat-icon.text-green {
    color: var(--accent-green);
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--white);
    margin: 0;
    line-height: 1;
}

.stat-label {
    color: #94a3b8;
    /* Slate-400 */
    font-size: 1.05rem;
    font-weight: 500;
    margin: 0;
}

/* Premium Vision & Mission Blocks */
.premium-vm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

@media (max-width: 991px) {
    .premium-vm-grid {
        grid-template-columns: 1fr;
    }
}

.premium-vm-box {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    background: rgba(0, 0, 0, 0.2);
    padding: 40px;
    border-radius: 12px;
    border-left: 4px solid var(--accent-bright);
}

.premium-vm-box.border-green {
    border-left-color: var(--accent-green);
}

.premium-vm-box .vm-icon-wrapper {
    font-size: 2.5rem;
    flex-shrink: 0;
    margin-top: 5px;
}

.premium-vm-box .vm-title {
    font-size: 1.8rem;
    color: var(--white);
    font-weight: 600;
    margin-bottom: 15px;
}

.premium-vm-box .vm-text {
    color: #cbd5e1;
    /* Slate-300 */
    font-size: 1.1rem;
    line-height: 1.7;
    margin: 0;
}

.premium-vm-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.premium-vm-list li {
    color: #cbd5e1;
    font-size: 1.1rem;
    position: relative;
    padding-left: 30px;
}

.premium-vm-list li::before {
    content: '\f058';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--accent-green);
    font-size: 1.1rem;
}

.corporate-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Left: Image & Badge */
.corporate-image-wrapper {
    position: relative;
    padding-right: 30px;
    padding-bottom: 30px;
}

.corporate-main-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(0, 12, 64, 0.15);
    display: block;
}

.corporate-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    background: var(--primary-color);
    color: var(--white);
    padding: 30px 40px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(13, 110, 253, 0.3);
    border-bottom: 4px solid var(--accent-bright);
    z-index: 2;
}

.corporate-badge .badge-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.corporate-badge .badge-num {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
    color: var(--white);
}

.corporate-badge .badge-text {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.3;
}

/* Right: Content & Features */
.corporate-label {
    display: inline-block;
    color: var(--accent-bright);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    position: relative;
    padding-left: 50px;
}

.corporate-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 35px;
    height: 2px;
    background: var(--accent-bright);
}

.corporate-headline {
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.2;
}

.corporate-subtext {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 40px;
}

/* Value Blocks */
.corporate-features {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 40px;
}

.corporate-value-block {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: var(--bg-light);
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid var(--accent-bright);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.corporate-value-block.border-green {
    border-left-color: var(--accent-green);
}

.corporate-value-block:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.corporate-value-block .value-icon {
    font-size: 2rem;
    color: var(--accent-bright);
    min-width: 40px;
}

.corporate-value-block .value-icon.text-green {
    color: var(--accent-green);
}

.corporate-value-block .value-text h3 {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-weight: 700;
}

.corporate-value-block .value-text p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.5;
}

.btn-corporate {
    padding: 18px 35px;
    font-size: 1rem;
}

.btn-corporate i {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.btn-corporate:hover i {
    transform: translateX(5px);
}

@media (max-width: 992px) {
    .corporate-about-grid {
        grid-template-columns: 1fr;
    }

    .corporate-image-wrapper {
        padding-right: 0;
        margin-bottom: 20px;
    }
}

.page-header {
    background-color: var(--primary-color);
    color: #fff;
    padding: 40px 0;
    text-align: center;
}

.page-header h1 {
    color: #fff;
    margin: 0;
}

/* Infrastructure Tables */
.table-container {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    background: #fff;
}

.data-table th,
.data-table td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}

.data-table th {
    background-color: var(--primary-color);
    color: white;
}

.data-table tr:nth-child(even) {
    background-color: #f2f2f2;
}

/* Product Cards */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Quality Assurance Overivew (Homepage) */
.quality-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    border-color: rgba(250, 67, 24, 0.1) !important;
}

.quality-card a:hover {
    text-decoration: underline !important;
}

/* Clean & Modern Product Showcase Section */
.clean-showcase-section {
    background: rgba(255, 255, 255, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    /* Very light, clean gray */
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.clean-showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    min-width: 0; /* prevent grid from overflowing its container */
}

/* Redesigned Minimalist Slider */
.clean-slider-container {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    background: transparent;
    padding: 0;
}

.slider-track {
    position: relative;
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.slider-track img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    object-fit: contain;
    background: #fff;
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.slider-track img.active {
    opacity: 1;
    z-index: 2;
}

.clean-slider-controls {
    position: absolute;
    top: 50%;
    left: -24px;
    right: -24px;
    width: auto;
    display: flex;
    justify-content: space-between;
    padding: 0;
    transform: translateY(-50%);
    z-index: 10;
    pointer-events: none;
}

/* On smaller viewports, keep controls inside the slider */
@media (max-width: 1100px) {
    .clean-slider-controls {
        left: 10px;
        right: 10px;
    }
}

.clean-slider-btn {
    pointer-events: auto;
    background: #ffffff;
    color: #000254;
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.3rem;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.clean-slider-btn:hover {
    background: var(--primary-color);
    color: #ffffff;
    transform: scale(1.05);
}

/* Clean, Floating Form Container */
.clean-form-container {
    padding: 0;
    overflow: hidden; /* prevent child inputs from escaping */
    min-width: 0;     /* allow grid child to shrink properly */
}

/* Modern Form Elements */
.clean-form .form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.clean-form .form-row-merged {
    display: flex;
    gap: 0;
    margin-bottom: 20px;
}

.clean-form .form-row-merged .form-group {
    margin-bottom: 0;
}

.clean-form .form-group {
    flex: 1;
    margin-bottom: 20px;
}

.clean-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #4a5568;
    font-size: 0.95rem;
}

.clean-input {
    width: 100%;
    padding: 16px 20px;
    font-size: 1.05rem;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    color: #718096;
    transition: all 0.3s ease;
    font-family: inherit;
    box-shadow: none;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
}

.clean-input.input-left {
    border-radius: 12px 0 0 12px;
}

.clean-input.input-right {
    border-radius: 0 12px 12px 0;
    margin-left: -1px;
}

.clean-input::placeholder {
    color: #a0aec0;
    font-weight: 400;
}

.clean-input:focus {
    outline: none;
    border-color: #000254;
    box-shadow: 0 0 0 2px rgba(255, 60, 0, 0.1);
    background: #fff;
    z-index: 2;
}

.clean-submit-btn {
    background: #e02a00;
    color: #fff;
    padding: 18px 40px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-top: 10px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: none;
    display: inline-block;
}

.clean-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(250, 67, 24, 0.25);
    background: #e02a00;
    /* slightly darker primary on hover */
}

/* Systematic Inventory Planning Pipeline */
.inventory-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .inventory-grid {
        grid-template-columns: 1fr;
    }
}

.inventory-step-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.inventory-step-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.inventory-step-card .step-num {
    background: rgba(250, 67, 24, 0.1);
    color: #ff3c00;
    font-size: 1.5rem;
    font-weight: 700;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.inventory-step-card .step-details h3 {
    margin: 0 0 5px 0;
    font-size: 1.25rem;
    color: #111;
}

.inventory-step-card .step-details p {
    margin: 0;
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.5;
}

.inventory-step-arrow {
    text-align: center;
    color: #cbd5e1;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* ==========================================
   Material Flow Dashboard Layout
   ========================================== */

.mf-dashboard-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
}

/* Side Panels */
.mf-side-panel {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Glassmorphic Info Cards (Dark Theme) */
.mf-info-card {
    background: rgba(255, 255, 255, 0.05); /* Match other dark sections */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 4px solid var(--accent-bright);
    padding: 30px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.mf-info-card.border-green {
    border-left-color: var(--accent-green);
}

.mf-info-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08); /* slight brighten on hover over dark bg */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.mf-card-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1); /* Subtle light hub */
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--accent-bright);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    flex-shrink: 0;
    box-shadow: inset 0 2px 5px rgba(255, 255, 255, 0.05);
}

/* Specifically style right side card icons with green accent */
.right-panel .mf-card-icon {
    color: var(--accent-green);
}

.mf-card-content h4 {
    color: #ffffff;
    font-size: 1.2rem;
    margin: 0 0 10px 0;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.mf-card-content p {
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Responsive Dashboard Grid */
@media (max-width: 1200px) {
    .mf-dashboard-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .mf-side-panel {
        flex-direction: row;
    }

    .mf-info-card {
        flex: 1;
    }
}

@media (max-width: 768px) {
    .mf-side-panel {
        flex-direction: column;
    }
}


/* Material Flow Circular Diagram */
.mf-circle-column {
    display: flex;
    justify-content: center;
}

.material-flow-circle-wrapper {
    position: relative;
    width: 600px;
    height: 600px;
    margin: 0 auto;
    border-radius: 50%;
}

.mf-center-hub {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 160px;
    height: 160px;
    background: #0f172a;
    color: #fff;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 10;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.3);
}

.mf-center-hub h3 {
    margin: 0;
    font-size: 1.3rem;
    line-height: 1.2;
    z-index: 2;
}

.mf-pulse-ring {
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    border: 2px solid rgba(250, 67, 24, 0.5);
    border-radius: 50%;
    animation: pulse 2.5s infinite;
    z-index: 1;
}

@keyframes pulse {
    0% {
        transform: scale(0.9);
        opacity: 1;
    }

    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

.mf-node {
    position: absolute;
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 5;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.mf-node:hover {
    transform: scale(1.1) !important;
    border-color: var(--primary-color);
    box-shadow: 0 10px 25px rgba(250, 67, 24, 0.2);
    cursor: default;
}

.mf-node-icon {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.mf-node h4 {
    margin: 0;
    font-size: 0.85rem;
    color: #334155;
    line-height: 1.2;
}

/* Precise Node Positioning (Radius ~220px) */
.mf-node-1 {
    top: 0%;
    left: 50%;
    margin-left: -60px;
}

/* 12:00 */
.mf-node-2 {
    top: 15%;
    left: 85%;
    margin-left: -60px;
    margin-top: -15px;
}

/* 1:30 */
.mf-node-3 {
    top: 50%;
    left: 100%;
    margin-top: -60px;
    margin-left: -120px;
}

/* 3:00 */
.mf-node-4 {
    top: 85%;
    left: 85%;
    margin-left: -60px;
    margin-top: -105px;
}

/* 4:30 */
.mf-node-5 {
    top: 100%;
    left: 50%;
    margin-left: -60px;
    margin-top: -120px;
}

/* 6:00 */
.mf-node-6 {
    top: 85%;
    left: 15%;
    margin-top: -105px;
}

/* 7:30 */
.mf-node-7 {
    top: 50%;
    left: 0%;
    margin-top: -60px;
}

/* 9:00 */
.mf-node-8 {
    top: 15%;
    left: 15%;
    margin-top: -15px;
}

/* 10:30 */

/* ---- Mobile Flow Steps (alternative to circle diagram) ---- */
.mf-mobile-steps {
    display: none; /* hidden on desktop, shown via media query */
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    width: 100%;
    padding: 0;
}

.mf-mobile-step {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 22px 14px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    position: relative;
    transition: background 0.3s ease;
}

.mf-mobile-step:hover {
    background: rgba(255, 255, 255, 0.1);
}

.mf-ms-num {
    position: absolute;
    top: 8px;
    left: 10px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--accent-bright);
    background: rgba(13, 110, 253, 0.18);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.mf-ms-icon {
    font-size: 1.6rem;
    color: var(--accent-bright);
    margin-top: 8px;
}

.mf-ms-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #e2e8f0;
    line-height: 1.3;
}

/* Glimpses of our Plant Gallery */
.plant-gallery-grid {
    column-count: 3;
    column-gap: 30px;
    margin-top: 30px;
}

@media (max-width: 992px) {
    .plant-gallery-grid {
        column-count: 2;
    }
}

@media (max-width: 768px) {
    .plant-gallery-grid {
        column-count: 1;
    }
}

.plant-gallery-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    margin-bottom: 30px;
    break-inside: avoid;
    transform: translateZ(0);
    /* Safari fix */
}

.plant-gallery-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.card-img-wrapper {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-img-wrapper img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.6s ease;
}

.plant-gallery-card:hover .card-img-wrapper img {
    transform: scale(1.04);
}

.card-title-bar {
    padding: 15px;
    text-align: center;
    background: rgba(255, 255, 255, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.4);
}

.card-title-bar h4 {
    margin: 0;
    font-size: 1.1rem;
    color: #1e293b;
    font-weight: 600;
}

@media (max-width: 992px) {
    .clean-showcase-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        max-width: 640px;
        margin: 0 auto;
    }

    .clean-slider-container {
        aspect-ratio: 4/3;
        max-width: 520px;
        margin: 0 auto;
    }

    .clean-form .form-row {
        flex-direction: column;
        gap: 0;
    }
}

/* Clients Grid */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    align-items: center;
    justify-items: center;
}

/* Contact Info */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info-block {
    margin-bottom: 30px;
}

/* Main Product Layout */
.main-product {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
}

.product-image {
    flex: 1;
}

.product-details {
    flex: 2;
}

/* Footer */
.footer {
    background-color: #222;
    color: #aaa;
    text-align: center;
    padding: 20px 0;
    margin-top: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav {
        width: 100%;
        display: none;
    }

    .nav.active {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        width: 100%;
    }

    .nav-list li {
        margin: 10px 0;
        text-align: center;
    }

    .cta-container {
        width: 100%;
        text-align: center;
        margin-top: 15px;
        display: none;
    }

    .cta-container.active {
        display: block;
    }

    .mobile-menu-toggle {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
    }

    .main-product {
        flex-direction: column;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Sales Chart Section */
.sales-chart-wrapper {
    background: #fff;
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    border: 1px solid #f1f5f9;
    max-width: 900px;
    margin: 0 auto;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sales-chart-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08);
}

@media (max-width: 768px) {
    .sales-chart-wrapper {
        min-height: 450px;
        height: auto;
        padding: 20px;
    }
}

/* Infinite Marquee Slider */
.marquee-section {
    background-color: #ffffff;
    padding: 60px 0;
    overflow: hidden;
    border-top: 1px solid #f1f5f9;
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
}

/* Gradient masks for smooth fade effect on the edges */
.marquee-container::before,
.marquee-container::after {
    content: "";
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.marquee-container::before {
    left: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
}

.marquee-container::after {
    right: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: scroll-marquee 30s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.marquee-item {
    flex-shrink: 0;
    width: 250px;
    height: 180px;
    margin-right: 40px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #eee;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.marquee-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(250, 67, 24, 0.1);
    border-color: rgba(250, 67, 24, 0.2);
}

.marquee-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

@keyframes scroll-marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .marquee-item {
        width: 200px;
        height: 150px;
        margin-right: 20px;
    }

    .marquee-container::before,
    .marquee-container::after {
        width: 60px;
    }
}

/* About Us Page Modernization */
.about-intro-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    align-items: center;
}

@media (max-width: 992px) {
    .about-intro-grid {
        grid-template-columns: 1fr;
    }
}

.modern-heading {
    font-size: 2.5rem;
    color: #0f172a;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.lead-text {
    font-size: 1.2rem;
    color: #334155;
    line-height: 1.8;
    margin-bottom: 20px;
}

.highlight-badge {
    background: rgba(250, 67, 24, 0.1);
    color: var(--primary-color);
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9em;
}

/* about page layout enhancements */
.about-intro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    align-items: center;
}

.about-intro-img {
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.vision-mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.vm-box {
    background: #fff;
    border-radius: 16px;
    padding: 30px 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
}
.vm-box h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.vm-box i {
    color: var(--primary-color);
    font-size: 1.5rem;
}
.vm-box p, .vm-box ul {
    color: #334155;
    text-align: left;
}

.history-timeline {
    position: relative;
    margin-top: 20px;
}
.history-timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--primary-color);
}
.timeline-item {
    position: relative;
    margin-bottom: 30px;
    padding-left: 50px;
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 3px;
    width: 16px;
    height: 16px;
    background: var(--primary-color);
    border-radius: 50%;
}

.intro-stats-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.stat-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.stat-item:last-child {
    margin-bottom: 0;
}

.stat-icon {
    font-size: 2rem;
    color: var(--primary-color);
    background: rgba(250, 67, 24, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.stat-info h3 {
    margin: 0 0 5px 0;
    font-size: 1.25rem;
    color: #1e293b;
}

.stat-info p {
    margin: 0;
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.5;
}

.history-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.history-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.history-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(250, 67, 24, 0.1);
    border-color: rgba(250, 67, 24, 0.2);
}

.hc-icon {
    width: 80px;
    height: 80px;
    background: #f8fafc;
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.history-card:hover .hc-icon {
    background: var(--primary-color);
    color: #fff;
    transform: scale(1.1);
}

.history-card h4 {
    font-size: 1.25rem;
    color: #1e293b;
    margin-bottom: 15px;
}

.history-card p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Vision & Mission Modern Cards */
.vm-modern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .vm-modern-grid {
        grid-template-columns: 1fr;
    }
}

.vm-modern-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 50px 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    border-left: 5px solid var(--primary-color);
    position: relative;
    transition: transform 0.3s ease;
}

.vm-modern-card:hover {
    transform: translateY(-5px);
}

.vm-modern-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 700;
}

.vm-modern-text {
    font-size: 1.1rem;
    color: #475569;
    line-height: 1.8;
    margin: 0;
}

.vm-modern-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.vm-modern-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: #475569;
}

.vm-modern-list li:last-child {
    margin-bottom: 0;
}

.vm-modern-list li i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Infrastructure Modernization */
.infra-hero {
    background-image: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.9)), url('../images/bg_black_2.jpg');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    text-align: center;
    border-bottom: 5px solid var(--primary-color);
}

.infra-hero h1 {
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: -1px;
}

.infra-hero p {
    color: #cbd5e1;
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Quality Hero */
.quality-hero {
    background-image: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.9)), url('../images/bg_black_2.jpg');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    text-align: center;
    border-bottom: 5px solid var(--primary-color);
}

.quality-hero h1 {
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: -1px;
}

.quality-hero p {
    color: #cbd5e1;
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Contact Hero */
.contact-hero {
    background-image: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.9)), url('../images/bg_black_2.jpg');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    text-align: center;
    border-bottom: 5px solid var(--primary-color);
}

.contact-hero h1 {
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: -1px;
}

.contact-hero p {
    color: #cbd5e1;
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Modern Contact Info Blocks */
.modern-contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.modern-contact-block {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: transform 0.3s ease;
}

.modern-contact-block:hover {
    transform: translateY(-5px);
}

.modern-contact-icon {
    width: 50px;
    height: 50px;
    background: #eef2ff;
    color: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.modern-contact-content h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #0f172a;
    font-size: 1.2rem;
}

.modern-contact-content p {
    color: #475569;
    margin-bottom: 5px;
    line-height: 1.6;
}

.modern-contact-content a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.modern-contact-content a:hover {
    color: #0f172a;
    text-decoration: underline;
}

.modern-table-wrapper {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 10px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.4);
    overflow-x: auto;
}

.table-modern {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.table-modern th {
    background: #f8fafc;
    color: #0f172a;
    font-weight: 700;
    padding: 20px;
    text-align: left;
    border-bottom: 2px solid #e2e8f0;
}

.table-modern td {
    padding: 20px;
    border-bottom: 1px solid #f1f5f9;
    color: #475569;
    font-size: 1.05rem;
}

.table-modern tbody tr:last-child td {
    border-bottom: none;
}

.table-modern tbody tr:hover td {
    background-color: #f8fafc;
}

.machine-code-badge {
    background: #e0f2fe;
    color: #0284c7;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: monospace;
}

.modern-card-basic {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.4);
    height: 100%;
}

.workflow-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
}

.workflow-step {
    background: #fff;
    padding: 15px 25px;
    border-radius: 50px;
    font-weight: 600;
    color: #0f172a;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.workflow-arrow {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* WhatsApp Widget */
.whatsapp-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.8rem;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    z-index: 999;
    text-decoration: none;
}

.whatsapp-widget:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.4);
}

.whatsapp-widget:active {
    transform: scale(0.95);
}

@media (max-width: 768px) {
    .whatsapp-widget {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 1.6rem;
    }
}

/* Unified Premium Infrastructure Section */
.infra-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

/* Manpower & Inventory Cards */
.manpower-inventory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.mi-stat-card {
    /* softer, modern base instead of plain white */
    background: var(--bg-gray);
    padding: 35px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
}

/* add a colored left accent bar */
.mi-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: var(--accent-red);
}

.mi-stat-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.mi-stat-icon {
    font-size: 2.2rem;
}

.mi-stat-title {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin: 0;
    font-weight: 600;
}

.mi-stat-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mi-stat-list li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #e2e8f0;
}

.mi-stat-list li:last-child {
    border-bottom: none;
}

.mi-stat-value {
    font-weight: 700;
    color: var(--text-dark);
}


.infra-gallery-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    height: 300px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease;
    cursor: pointer;
}

.infra-gallery-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(13, 110, 253, 0.2);
    border-color: rgba(13, 110, 253, 0.4);
}

.infra-gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.85);
    /* Slightly off-white background for images to pop */
    padding: 15px;
    transition: transform 0.6s ease;
}

.infra-gallery-card:hover img {
    transform: scale(1.08);
}

.infra-gallery-card .card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 20px 20px;
    background: linear-gradient(to top, rgba(0, 12, 64, 0.95), transparent);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    display: flex;
    align-items: flex-end;
}

.infra-gallery-card:hover .card-overlay {
    opacity: 1;
    transform: translateY(0);
}

.infra-gallery-card .card-overlay h4 {
    margin: 0;
    color: #fff !important;
    font-size: 1.15rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Infinite Scroll Marquee for Products */
.product-marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

/* Fading edges block for aesthetic feel */
.product-marquee-container::before,
.product-marquee-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.product-marquee-container::before {
    left: 0;
    background: linear-gradient(to right, var(--white), transparent);
}

.product-marquee-container::after {
    right: 0;
    background: linear-gradient(to left, var(--white), transparent);
}

.product-marquee-track {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: scroll-marquee 25s linear infinite;
    padding-left: 30px;
    /* Offset the first gap */
}

/* Pause animation on hover for better UX */
.product-marquee-container:hover .product-marquee-track {
    animation-play-state: paused;
}

@keyframes scroll-marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        /* Translate left by half the width of the track (the width of the original set plus its gaps) */
        transform: translateX(calc(-50% - 15px));
    }
}

/* Plant Video Grid */
.plant-video-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    width: 100%;
    align-items: start;
}

.plant-video-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.plant-video-card:hover {
    transform: translateY(-5px) scale(1.015);
    box-shadow: 0 16px 40px rgba(13, 110, 253, 0.25);
    border-color: rgba(13, 110, 253, 0.45);
}

.plant-video-card video {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 1024px) {
    .plant-video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .plant-video-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
}

/* About page intro grid responsive */
@media (max-width: 900px) {
    .about-page-intro-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Client Logos Marquee */
.client-marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 10px 0;
}

.client-marquee-container::before,
.client-marquee-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.client-marquee-container::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-light), transparent);
}

.client-marquee-container::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-light), transparent);
}

.client-marquee-track {
    display: flex;
    align-items: center;
    gap: 50px;
    width: max-content;
    animation: scroll-clients 20s linear infinite;
    padding-left: 50px;
}

.client-marquee-container:hover .client-marquee-track {
    animation-play-state: paused;
}

.client-logo-item {
    flex-shrink: 0;
    width: 150px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.client-logo-item:hover {
    transform: scale(1.1);
}

.client-logo-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

@keyframes scroll-clients {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 25px));
    }
}

/* =================================================
   RESPONSIVE – TABLET (max-width: 992px)
   ================================================= */
@media (max-width: 992px) {

    /* Hero */
    .hero {
        padding: 100px 0 !important;
    }

    /* Corporate about */
    .corporate-about-section {
        padding: 70px 0 !important;
    }

    .corporate-headline {
        font-size: 2rem;
    }

    /* Achievements headings */
    .premium-achievements-section h2 {
        font-size: 2.2rem !important;
    }

    /* Inventory section */
    .inventory-planning-section h2 {
        font-size: 2rem !important;
    }

    /* Quality overview */
    .quality-overview-section {
        padding: 100px 0 !important;
    }

    /* Plant section heading */
    .plant-section h2 {
        font-size: 2.2rem !important;
    }

    .plant-section {
        padding: 70px 0 !important;
    }

    /* Footer clean grid */
    .mega-footer .clean-showcase-grid {
        gap: 40px;
    }
}

/* =================================================
   RESPONSIVE – MOBILE (max-width: 768px)
   ================================================= */
@media (max-width: 768px) {

    /* ---- Header top tier ---- */
    .header-top .container {
        display: flex;
        flex-wrap: nowrap;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .header-top .logo {
        flex-shrink: 0;
    }

    .header-info {
        display: flex;
        align-items: center;
        flex-shrink: 0;
        gap: 0;
    }

    /* Hide the "Qualified / Expert Professional" item on mobile, keep ISO image */
    .header-info .info-item:not(:first-child) {
        display: none;
    }

    .header-info .info-item img {
        height: 40px;
        width: auto;
        display: block;
    }

    /* ---- Header bottom tier (nav bar) ---- */
    .header-bottom .container {
        flex-wrap: wrap;
        justify-content: flex-end;
        min-height: 56px;
        padding: 8px 20px;
        position: relative;
    }

    /* Hamburger button */
    .mobile-menu-toggle {
        position: static !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
        background: none;
        border: none;
        color: var(--white);
        font-size: 1.5rem;
        cursor: pointer;
        padding: 8px;
        margin-left: auto;
        order: 1;
        z-index: 10;
    }

    /* Nav hidden by default, full width when open */
    .nav {
        display: none;
        width: 100%;
        order: 2;
    }

    .nav.active {
        display: block;
    }

    .nav-list {
        flex-direction: column;
    }

    .nav-list li {
        margin: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-list li:last-child {
        border-bottom: none;
    }

    .nav-list a {
        padding: 14px 20px;
    }

    /* Mobile dropdown reveals on .open class */
    .nav-list li.dropdown .dropdown-menu {
        display: none;
        position: static;
        box-shadow: none;
        min-width: 100%;
        background-color: rgba(0, 0, 0, 0.25);
        border-radius: 0;
    }

    .nav-list li.dropdown.open .dropdown-menu {
        display: block;
    }

    .dropdown-menu a {
        padding: 12px 30px;
        font-size: 0.85rem;
    }

    /* CTA block */
    .cta-container {
        display: none;
        width: 100%;
        order: 3;
        margin-top: 0;
    }

    .cta-container.active {
        display: flex;
    }

    .cta-container .btn {
        width: 100%;
        justify-content: center;
        border-radius: 0;
    }

    /* ---- Hero ---- */
    .hero {
        padding: 70px 0 !important;
    }

    .hero h1 {
        font-size: clamp(1.8rem, 7vw, 2.8rem);
    }

    .sub-headline {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }

    .hero-content .btn-secondary {
        padding: 12px 28px !important;
    }

    /* ---- Corporate about ---- */
    .corporate-about-section {
        padding: 60px 0 !important;
    }

    .corporate-headline {
        font-size: 1.7rem;
    }

    .corporate-main-img {
        height: 280px;
    }

    .corporate-badge {
        padding: 18px 24px;
    }

    .corporate-badge .badge-num {
        font-size: 2.5rem;
    }

    /* ---- Premium achievements ---- */
    .premium-achievements-section {
        padding: 60px 0;
    }

    .premium-achievements-section h2 {
        font-size: 1.9rem !important;
    }

    .premium-achievements-section h4 {
        font-size: 0.85rem !important;
    }

    .premium-vm-box {
        flex-direction: column;
        padding: 25px;
        gap: 15px;
    }

    .premium-vm-box .vm-title {
        font-size: 1.4rem;
    }

    /* ---- Inventory planning ---- */
    .inventory-planning-section {
        padding: 60px 0 !important;
    }

    .inventory-planning-section h2 {
        font-size: 1.7rem !important;
    }

    .inventory-planning-section p {
        font-size: 1rem !important;
    }

    .inventory-step-card {
        padding: 16px 20px;
    }

    /* ---- Quality overview (bg-attachment fix for iOS) ---- */
    .quality-overview-section {
        padding: 70px 0 !important;
        background-attachment: scroll !important;
    }

    .quality-overview-section h2 {
        font-size: 1.9rem !important;
    }

    /* ---- Material flow ---- */
    .material-flow-section {
        padding: 60px 0 !important;
    }

    .material-flow-section h2 {
        font-size: 1.9rem !important;
    }

    /* Hide circular diagram, show step grid instead */
    .mf-circle-column {
        height: auto;
        overflow: visible;
    }

    .material-flow-circle-wrapper {
        display: none;
    }

    .mf-mobile-steps {
        display: grid;
    }

    /* ---- Plant / Glimpses section ---- */
    .plant-section {
        padding: 60px 0 !important;
    }

    .plant-section h4 {
        font-size: 0.8rem !important;
    }

    .plant-section h2 {
        font-size: 1.9rem !important;
        letter-spacing: 0 !important;
    }

    .plant-section p {
        font-size: 1rem !important;
    }

    /* ---- Products showcase ---- */
    .products-showcase {
        padding: 60px 0 !important;
    }

    .products-showcase .section-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 10px;
    }

    .products-showcase .section-header h2 {
        font-size: 1.9rem !important;
    }

    /* ---- Footer / Contact form ---- */
    .mega-footer {
        padding: 50px 0 !important;
    }

    .mega-footer .clean-section-header h2 {
        font-size: 1.75rem !important;
    }

    .mega-footer .clean-section-header p {
        font-size: 0.95rem !important;
    }

    .clean-showcase-grid {
        max-width: 100%;
    }

    .clean-slider-container {
        aspect-ratio: 4/3;
    }

    /* Reset merged input borders on mobile — stack them as full cards */
    .clean-input.input-left {
        border-radius: 12px !important;
        border-bottom-left-radius: 0 !important;
        border-bottom-right-radius: 0 !important;
    }

    .clean-input.input-right {
        border-radius: 12px !important;
        border-top-left-radius: 0 !important;
        border-top-right-radius: 0 !important;
        margin-left: 0 !important;
        border-top: none !important;
        margin-top: -1px;
    }

    /* Wrap Name + Mobile into a single visible card group */
    .mega-footer .clean-form .form-group:nth-child(1) {
        margin-bottom: 0;
    }

    .mega-footer .clean-form .form-group:nth-child(2) {
        margin-bottom: 20px;
    }

    .clean-submit-btn {
        width: 100%;
        text-align: center;
        padding: 16px;
    }

    /* ---- General section padding reduction ---- */
    .section {
        padding: 50px 0;
    }

    /* General heading size guard */
    h2 {
        word-break: break-word;
    }
}

/* =================================================
   RESPONSIVE – SMALL MOBILE (max-width: 480px)
   ================================================= */
@media (max-width: 480px) {

    .logo img {
        height: 52px;
    }

    .premium-stat-card {
        padding: 25px 20px;
    }

    .stat-number {
        font-size: 2.2rem;
    }

    .corporate-badge .badge-num {
        font-size: 2rem;
    }

    .hero h1 {
        font-size: clamp(1.5rem, 8vw, 2.2rem);
    }
}