:root {
    --primary-color: #169a59;
    --primary-dark: #0f7643;
    --secondary-color: #0e1d16;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --border-color: #e2e8f0;
    --body-font: 'Plus Jakarta Sans', sans-serif;
    --heading-font: 'Plus Jakarta Sans', sans-serif;
    --header-height: 78px;
}

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--body-font);
    color: var(--text-dark);
    background-color: #ffffff;
    line-height: 1.65;
    overflow-x: hidden;
    padding-top: var(--header-height);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    color: var(--text-dark);
    line-height: 1.25;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 85px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 50px;
}

.section-header h2 {
    font-size: 2.1rem;
    font-weight: 700;
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 55px;
    height: 3px;
    background: var(--primary-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 26px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.92rem;
    cursor: pointer;
    border: 1.5px solid transparent;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-outline {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: #ffffff;
}

/* Fixed Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo img {
    max-height: 48px;
    width: auto;
}

.site-logo-text {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 28px;
    align-items: center;
}

.main-nav a {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-dark);
    position: relative;
}

.main-nav a:hover,
.main-nav .current-menu-item a {
    color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 560px;
    overflow: hidden;
    background: #0f172a;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, transform 1.2s ease;
    transform: scale(1.03);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    z-index: 2;
}

.slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(14, 29, 22, 0.82), rgba(15, 23, 42, 0.65));
}

.slide-content {
    position: relative;
    z-index: 3;
    max-width: 780px;
    padding: 0 20px;
    color: #ffffff;
}

.slide-badge {
    display: inline-block;
    background: rgba(22, 154, 89, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #86efac;
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.slide-content h1 {
    color: #ffffff;
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.slide-content p {
    font-size: 1.08rem;
    color: #e2e8f0;
    margin-bottom: 28px;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: 0.3s;
}

.slider-arrow:hover {
    background: var(--primary-color);
}

.slider-prev { left: 24px; }
.slider-next { right: 24px; }

.slider-dots {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

.slider-dot.active {
    width: 28px;
    border-radius: 6px;
    background: var(--primary-color);
}

/* About Us Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 50px;
    align-items: center;
}

.about-img-wrap {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.about-img-wrap img {
    width: 100%;
    height: 390px;
    object-fit: cover;
}

.about-text h3 {
    font-size: 1.65rem;
    margin-bottom: 16px;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 18px;
}

/* Our Concerns */
.concerns-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.concern-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 36px 26px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.concern-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.06);
}

.concern-card img {
    height: 60px;
    object-fit: contain;
    margin-bottom: 18px;
}

.concern-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.concern-link {
    margin-top: auto;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-color);
}

.service-thumb {
    height: 185px;
    overflow: hidden;
}

.service-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-thumb img {
    transform: scale(1.06);
}

.service-body {
    padding: 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-body h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.service-body p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.service-body .read-more {
    margin-top: auto;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.88rem;
}

/* Filterable Products Portfolio */
.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 38px;
}

.filter-btn {
    padding: 8px 18px;
    border-radius: 50px;
    border: 1px solid var(--border-color);
    background: #ffffff;
    color: var(--text-dark);
    font-size: 0.86rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.product-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.35s ease;
}

.product-card.hide {
    display: none;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.07);
}

.product-img {
    height: 190px;
    background: #f1f5f9;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-img img {
    max-height: 160px;
    object-fit: contain;
}

.product-info {
    padding: 18px;
}

.product-cat-tag {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    display: block;
    margin-bottom: 5px;
}

.product-info h4 {
    font-size: 1.02rem;
    margin-bottom: 6px;
}

.product-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Global Partners */
.partner-group {
    margin-bottom: 42px;
}

.partner-group-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 18px;
    padding-left: 12px;
    border-left: 4px solid var(--primary-color);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.partner-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 16px 12px;
    text-align: center;
    transition: 0.3s;
}

.partner-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.partner-card img {
    height: 44px;
    margin: 0 auto 10px;
    object-fit: contain;
}

.partner-card span {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* Valued Clients Infinite Marquee */
.clients-marquee-wrapper {
    overflow: hidden;
    position: relative;
    padding: 15px 0;
}

.clients-marquee-track {
    display: flex;
    gap: 24px;
    width: max-content;
    animation: scrollLeft 28s linear infinite;
}

.clients-marquee-wrapper:hover .clients-marquee-track {
    animation-play-state: paused;
}

@keyframes scrollLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.client-item {
    min-width: 190px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.client-item img {
    height: 48px;
    object-fit: contain;
    margin-bottom: 8px;
}

.client-item span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

/* Job Vacancy */
.jobs-list {
    max-width: 920px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.job-row {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    transition: 0.25s;
}

.job-row:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}

.job-meta h4 {
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.job-meta span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Modal for Job Application */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
}

.modal-overlay.open {
    display: flex;
}

.modal-box {
    background: #ffffff;
    width: 100%;
    max-width: 520px;
    border-radius: 12px;
    padding: 32px;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 18px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.92rem;
}

/* Subpage Banner & MD Cards */
.page-hero {
    position: relative;
    height: 320px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(14, 29, 22, 0.78);
}

.page-hero-content {
    position: relative;
    z-index: 2;
}

.page-hero-content h1 {
    color: #ffffff;
    font-size: 2.4rem;
    margin-bottom: 8px;
}

.md-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 30px;
}

.md-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    padding: 28px 22px;
}

.md-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 16px;
    border: 3px solid var(--primary-color);
}

.md-card h4 {
    font-size: 1.15rem;
    margin-bottom: 4px;
}

.md-card .md-role {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.86rem;
    display: block;
    margin-bottom: 14px;
}

.md-card blockquote {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
}

/* Footer */
.site-footer {
    background-color: var(--secondary-color);
    color: #cbd5e1;
    padding: 70px 0 28px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1.2fr 0.8fr;
    gap: 40px;
    margin-bottom: 45px;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 18px;
}

.footer-col p {
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: #94a3b8;
}

.footer-map iframe {
    width: 100%;
    height: 140px;
    border: 0;
    border-radius: 8px;
    margin-top: 12px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #94a3b8;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 22px;
    text-align: center;
    font-size: 0.85rem;
    color: #64748b;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .services-grid, .products-grid { grid-template-columns: repeat(2, 1fr); }
    .partners-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .mobile-menu-toggle { display: block; }
    .main-nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background: #ffffff;
        padding: 20px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        display: none;
    }
    .main-nav.active { display: block; }
    .main-nav ul { flex-direction: column; align-items: flex-start; gap: 16px; }
    .about-grid, .concerns-grid, .md-grid, .footer-grid { grid-template-columns: 1fr; }
    .slide-content h1 { font-size: 2rem; }
    .job-row { flex-direction: column; align-items: flex-start; }
}