:root {
    --primary-green: #0a4d2e;
    --dark-green: #06331e;
    --accent-orange: #e65100;
    --text-dark: #222222;
    --text-muted: #555555;
    --bg-light: #f5f8f6;
    --white: #ffffff;
    --border-color: #e0e0e0;
}

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

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    color: var(--dark-green);
    font-weight: 700;
}

a {
    text-decoration: none;
    transition: 0.3s ease;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* Header & Top Bar */
.top-bar {
    background: var(--dark-green);
    color: var(--white);
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 2px solid var(--accent-orange);
}
.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.top-contacts span {
    margin-right: 20px;
}
.top-contacts i, .top-badge i {
    color: var(--accent-orange);
    margin-right: 5px;
}
.top-badge {
    background: rgba(255,255,255,0.1);
    padding: 3px 12px;
    border-radius: 20px;
    font-weight: 600;
}

.main-header {
    background: var(--white);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

/* SMC Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}
.logo-box {
    display: flex;
    gap: 3px;
}
.logo-box .box {
    display: inline-block;
    color: var(--white);
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    padding: 4px 9px;
    border-radius: 3px;
}
.logo-box .box.green { background-color: var(--primary-green); }
.logo-box .box.orange { background-color: var(--accent-orange); }

.logo-text {
    display: flex;
    flex-direction: column;
}
.brand-title {
    font-size: 19px;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: var(--dark-green);
    font-family: 'Montserrat', sans-serif;
}
.brand-title.white { color: var(--white); }
.brand-sub {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
}

.navbar {
    display: flex;
    align-items: center;
    gap: 30px;
}
.nav-links {
    display: flex;
    list-style: none;
    gap: 24px;
}
.nav-links a {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 15px;
}
.nav-links a:hover, .nav-links a.active {
    color: var(--accent-orange);
}

.btn {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 4px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    border: none;
}
.btn-primary { background: var(--primary-green); color: var(--white); }
.btn-primary:hover { background: var(--dark-green); }
.btn-quote { background: var(--accent-orange); color: var(--white); font-size: 14px; }
.btn-quote:hover { background: #cf4300; }
.btn-outline { border: 2px solid var(--white); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--dark-green); }

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(rgba(6, 51, 30, 0.85), rgba(6, 51, 30, 0.85)), url('https://images.unsplash.com/photo-1581092160607-ee22621dd758?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
    color: var(--white);
    padding: 110px 0;
}
.hero-content {
    max-width: 700px;
}
.hero-badge {
    background: var(--accent-orange);
    display: inline-block;
    padding: 4px 14px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 15px;
    letter-spacing: 1px;
}
.hero h1 {
    font-size: 44px;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
}
.hero p {
    font-size: 17px;
    margin-bottom: 30px;
    opacity: 0.95;
}
.hero-cta { display: flex; gap: 15px; }

/* Compatible Brand Marquee */
.brands-strip {
    background: #eef5f1;
    padding: 24px 0;
    border-bottom: 1px solid var(--border-color);
}
.brands-header {
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 1px;
    margin-bottom: 15px;
    text-transform: uppercase;
}
.brands-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}
.brand-pill {
    background: var(--primary-green);
    color: var(--white);
    font-weight: 700;
    padding: 8px 18px;
    border-radius: 4px;
    font-size: 13px;
    letter-spacing: 0.5px;
}

/* Sections */
.section { padding: 70px 0; }
.section-title {
    text-align: center;
    margin-bottom: 45px;
}
.section-title h2 { font-size: 32px; margin-bottom: 10px; }
.section-title p { color: var(--text-muted); font-size: 16px; }

/* Product Cards */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}
.product-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}
.product-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
}
.product-card .card-body {
    padding: 20px;
}
.product-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

/* Services Grid - 4 Columns in One Line */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.service-box {
    background: var(--white);
    border-left: 4px solid var(--accent-orange);
    padding: 25px 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    border-radius: 0 6px 6px 0;
    display: flex;
    flex-direction: column;
}

.service-box i {
    font-size: 32px;
    color: var(--primary-green);
    margin-bottom: 15px;
}

.service-box h3 {
    font-size: 17px;
    margin-bottom: 12px;
    line-height: 1.3;
}

.service-box p {
    font-size: 14px;
    color: var(--text-muted);
}

/* Tablet & Mobile responsive fallback for services grid */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Global Map Banner */
.global-section {
    background: var(--bg-light);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}
.global-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.global-layout img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.06);
}

/* Forms */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
}
.contact-info-card {
    background: var(--primary-green);
    color: var(--white);
    padding: 35px;
    border-radius: 6px;
}
.contact-info-card h3 { color: var(--white); margin-bottom: 20px; }
.contact-info-card p { margin-bottom: 15px; }
.contact-form {
    background: var(--white);
    border: 1px solid var(--border-color);
    padding: 35px;
    border-radius: 6px;
}
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; }
.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 15px;
    font-family: inherit;
}

/* Footer */
.main-footer {
    background: var(--dark-green);
    color: #cfd8d3;
    padding: 60px 0 0 0;
    font-size: 14px;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 35px;
    padding-bottom: 40px;
}
.footer-col h3 {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}
.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent-orange);
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #cfd8d3; }
.footer-links a:hover { color: var(--accent-orange); padding-left: 5px; }
.machine-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
}
.machine-list li {
    background: rgba(255,255,255,0.08);
    padding: 4px 10px;
    border-radius: 3px;
    font-size: 12px;
}
.cert-pill {
    display: inline-block;
    background: var(--accent-orange);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: 700;
    margin-top: 15px;
}
.footer-bottom {
    background: #031c10;
    padding: 20px 0;
    font-size: 13px;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

/* Responsive */
@media(max-width: 900px) {
    .header-container { flex-direction: column; gap: 15px; }
    .global-layout, .contact-layout { grid-template-columns: 1fr; }
    .top-bar-content { flex-direction: column; gap: 6px; text-align: center; }
}

/* Clientele Highlights */
.clientele-section {
    background: #ffffff;
    border-top: 1px solid var(--border-color);
}
.clientele-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    margin-top: 30px;
}
.clientele-card {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 30px 25px;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.clientele-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-orange);
}
.clientele-card i {
    font-size: 38px;
    color: var(--primary-green);
    margin-bottom: 15px;
}
.clientele-card h3 {
    font-size: 19px;
    margin-bottom: 10px;
}
.clientele-card p {
    font-size: 14px;
    color: var(--text-muted);
}

/* Product Catalog Presentation */
.product-category-title {
    border-left: 5px solid var(--accent-amber);
    padding-left: 15px;
    margin: 40px 0 25px 0;
    font-size: 24px;
    color: var(--primary-navy);
}

.product-poster-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-poster-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow-hover);
}

.product-poster-card .img-wrapper {
    background: #f8fafc;
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

.product-poster-card img {
    max-height: 280px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.product-poster-card:hover img {
    transform: scale(1.03);
}

.product-poster-card .card-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-poster-card .card-body h3 {
    font-size: 19px;
    color: var(--primary-navy);
    margin-bottom: 10px;
}

.product-poster-card .card-body p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 15px;
    line-height: 1.5;
}

.product-tag-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 20px;
    padding: 0;
}

.product-tag-list li {
    background: #f1f5f9;
    color: var(--text-dark);
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 3px;
    border: 1px solid var(--border-color);
}

.btn-card-quote {
    margin-top: auto;
    background: var(--secondary-navy);
    color: #ffffff;
    padding: 9px 16px;
    text-align: center;
    border-radius: 4px;
    font-weight: 600;
    font-size: 13.5px;
    transition: background 0.25s ease;
}

.btn-card-quote:hover {
    background: var(--accent-amber);
    color: #ffffff;
}

/* --- Video Showcase Section --- */
.video-showcase-section {
    background: #0b1a29;
    padding: 80px 0;
    color: #ffffff;
    position: relative;
    border-top: 3px solid var(--accent-amber);
    border-bottom: 1px solid var(--border-color);
}

.video-showcase-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 45px;
    align-items: center;
}

.video-frame-wrapper {
    position: relative;
    background: #000000;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.video-frame-wrapper video {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.video-speed-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(15, 35, 55, 0.85);
    border: 1px solid var(--accent-amber);
    color: #ffffff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    backdrop-filter: blur(4px);
    z-index: 5;
    pointer-events: none;
}

.video-info-content h2 {
    color: #ffffff;
    font-size: 32px;
    margin-bottom: 15px;
    line-height: 1.3;
}

.video-info-content p {
    color: #cbd5e1;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 22px;
}

.video-feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.video-feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #e2e8f0;
    font-size: 14.5px;
    margin-bottom: 10px;
}

.video-feature-list li i {
    color: var(--accent-amber);
    font-size: 14px;
}

@media (max-width: 900px) {
    .video-showcase-layout {
        grid-template-columns: 1fr;
    }
}
