/* Master Circuits Brand Overrides */

:root {
    --mc-green: #20722D;
    --mc-green-light: #28883a;
    --mc-green-dark: #1a5c24;
    --mc-dark: #010100;
    --mc-white: #ffffff;
    --mc-gray-light: #f8f9fa;
    --mc-gray: #e9ecef;
}

/* Top bar custom styling */
.mc-topbar {
    background: var(--mc-dark);
    padding: 8px 0;
    font-size: 14px;
    color: #ccc;
    border-bottom: 2px solid var(--mc-green);
}
.mc-topbar a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}
.mc-topbar a:hover {
    color: var(--mc-green);
}
.mc-topbar .topbar-left {
    display: flex;
    align-items: center;
    gap: 25px;
}
.mc-topbar .topbar-right {
    text-align: right;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}
.mc-topbar .topbar-right img {
    height: 15px;
    width: auto;
}
.mc-topbar i {
    margin-right: 6px;
    color: var(--mc-green);
}

/* Override theme green colors to Master Circuits green */
.has-theme-light-green .rs-btn.has-bg,
.rs-btn.has-theme-light-green.has-bg {
    background: var(--mc-green) !important;
}
.has-theme-light-green .rs-btn.has-bg:hover,
.rs-btn.has-theme-light-green.has-bg:hover {
    background: var(--mc-green-dark) !important;
}
.has-theme-green,
.has-theme-light-green {
    --theme-color: var(--mc-green);
}

/* Stats bar */
.mc-stats-bar {
    background: var(--mc-white);
    padding: 40px 0;
    border-bottom: 1px solid var(--mc-gray);
}
.mc-stat-item {
    text-align: center;
    padding: 20px 15px;
}
.mc-stat-item .stat-icon {
    font-size: 36px;
    color: var(--mc-green);
    margin-bottom: 12px;
}
.mc-stat-item .stat-number {
    font-size: 24px;
    font-weight: 700;
    color: var(--mc-dark);
    margin-bottom: 4px;
}
.mc-stat-item .stat-label {
    font-size: 13px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* MC Portfolio green overrides */
.mc-portfolio-green {
    padding-bottom: 100px;
}
@media (max-width: 991px) {
    .mc-portfolio-green { padding-bottom: 80px; }
}
@media (max-width: 767px) {
    .mc-portfolio-green { padding-bottom: 70px; }
}
.mc-portfolio-green .rs-portfolio-thumb {
    height: 400px;
}
.mc-portfolio-green .rs-portfolio-thumb img {
    height: 100%;
    object-fit: cover;
}
.mc-portfolio-green .rs-swiper-btn.has-bg-light {
    background: var(--mc-gray-light);
    color: #616161;
}
.mc-portfolio-green .rs-swiper-btn.has-bg-light:hover {
    background: var(--mc-green);
    color: var(--mc-white);
}
.mc-portfolio-green .rs-portfolio-tag a {
    background: var(--mc-green);
}
.mc-portfolio-green .rs-portfolio-tag a:hover {
    background: var(--mc-white);
    color: var(--mc-dark);
}
.mc-portfolio-green .mc-portfolio-desc {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}
.mc-portfolio-green .rs-portfolio-thumb::before {
    background-image: linear-gradient(360deg, rgba(4, 4, 35, 0.85) 0%, rgba(4, 4, 35, 0.1) 50%, transparent 100%);
    opacity: 1;
}
.mc-portfolio-green .rs-portfolio-content {
    position: absolute;
    bottom: -50px;
    padding: 30px;
    opacity: 1;
    transform: none;
    transition: all 0.5s ease;
    z-index: 2;
    width: 100%;
}
.mc-portfolio-green .rs-portfolio-item:hover .rs-portfolio-content {
    bottom: 0;
}
.mc-portfolio-green .rs-portfolio-title {
    margin: 10px 0 12px;
}
.mc-portfolio-green .rs-btn {
    background: var(--mc-green);
    color: var(--mc-white);
}
.mc-portfolio-green .rs-btn:hover {
    background: var(--mc-green-dark);
}
.mc-portfolio-green .rs-section-title {
    color: var(--mc-dark);
}

/* Why choose section */
.mc-why-section,
.mc-why-choose {
    background: url('../images/Why Engineers Choose Master Circuits.webp') center/cover no-repeat;
    color: var(--mc-white);
    padding: 80px 0;
    position: relative;
}
.mc-why-section::before,
.mc-why-choose::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(1, 1, 0, 0.75);
}
.mc-why-section .container,
.mc-why-choose .container {
    position: relative;
    z-index: 1;
}
.mc-why-section .section-title,
.mc-why-choose .section-title {
    color: var(--mc-white);
    text-align: center;
    margin-bottom: 50px;
    font-size: 32px;
    font-weight: 700;
    text-transform: uppercase;
}
.mc-why-item {
    text-align: center;
    padding: 20px 15px;
}
.mc-why-item .why-icon {
    font-size: 40px;
    color: var(--mc-white);
    margin-bottom: 15px;
    opacity: 0.9;
}
.mc-why-item h5 {
    font-size: 15px;
    font-weight: 700;
    color: var(--mc-white);
    text-transform: uppercase;
    margin-bottom: 10px;
}
.mc-why-item p {
    font-size: 14px;
    color: rgba(255,255,255,0.85);
    line-height: 1.6;
    margin: 0;
}

/* Industries section */
.mc-industries-section {
    padding: 80px 0;
    background: var(--mc-white);
}
.mc-industry-card {
    background: var(--mc-white);
    border-radius: 6px;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
}
.mc-industry-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    transform: translateY(-5px);
}
.mc-industry-thumb {
    position: relative;
    overflow: hidden;
    height: 180px;
}
.mc-industry-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.mc-industry-card:hover .mc-industry-thumb img {
    transform: scale(1.08);
}
.mc-industry-thumb::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, transparent 100%);
}
.mc-industry-content {
    padding: 20px;
    text-align: center;
}
.mc-industry-card .industry-icon {
    font-size: 36px;
    color: var(--mc-green);
    margin-bottom: 10px;
    transition: color 0.4s ease;
}
.mc-industry-card:hover .industry-icon {
    color: var(--mc-green-dark);
}
.mc-industry-card h6 {
    font-size: 15px;
    font-weight: 700;
    color: var(--mc-dark);
    margin-bottom: 0;
    text-transform: uppercase;
}

/* Industry carousel */
.mc-industries-section {
    position: relative;
    padding: 80px 0 100px;
    overflow: hidden;
}
.mc-industries-swiper {
    padding: 15px 50px;
    overflow: hidden;
}
.mc-industries-swiper .swiper-slide {
    height: auto;
}
.mc-industry-prev,
.mc-industry-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--mc-white);
    border: 1px solid #e5e5e5;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 20px;
    color: var(--mc-dark);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.mc-industry-prev { left: 0; }
.mc-industry-next { right: 0; }
.mc-industry-prev:hover,
.mc-industry-next:hover {
    background: var(--mc-green);
    border-color: var(--mc-green);
    color: var(--mc-white);
}
.mc-industry-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    margin: 0;
}

/* Industries page - clip-path card variant */
.industries-page .mc-industry-card {
    background: #f8f9fa;
    clip-path: polygon(0% 0%, 79% 0, 100% 20%, 100% 100%, 0% 100%);
    transition: all 0.5s ease;
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
    box-shadow: none;
}
.industries-page .mc-industry-card:hover {
    box-shadow: none;
    transform: none;
    background: var(--mc-green);
}
.industries-page .mc-industry-card h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--mc-dark);
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
    transition: color 0.5s ease;
}
.industries-page .mc-industry-card:hover h4 {
    color: var(--mc-white);
}
.industries-page .mc-industry-card p {
    position: relative;
    z-index: 1;
    transition: color 0.5s ease;
}
.industries-page .mc-industry-card:hover p {
    color: rgba(255, 255, 255, 0.85);
}
.industries-page .mc-industry-card .industry-icon {
    position: relative;
    z-index: 1;
}
.industries-page .mc-industry-card:hover .industry-icon {
    color: var(--mc-white);
}

/* Facility CTA section */
.mc-facility-cta {
    background: url('../images/dark bg alt.webp') center/cover no-repeat;
    padding: 80px 0;
    color: var(--mc-white);
    position: relative;
}
.mc-facility-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(1, 1, 0, 0.75);
}
.mc-facility-cta .container {
    position: relative;
    z-index: 1;
}
.mc-facility-cta-inner {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}
.mc-facility-cta h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--mc-white);
    margin-bottom: 20px;
    line-height: 1.2;
}
.mc-facility-cta p {
    color: rgba(255,255,255,0.8);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 25px;
}

/* How it works */
.mc-process-section {
    padding: 80px 0;
    background: var(--mc-white);
}
.mc-process-item {
    text-align: center;
    position: relative;
    padding: 0 15px;
}
.mc-process-item .process-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--mc-gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 28px;
    color: var(--mc-green);
    border: 2px solid var(--mc-gray);
}
.mc-process-item .process-number {
    display: inline-block;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--mc-green);
    color: var(--mc-white);
    font-size: 13px;
    font-weight: 700;
    line-height: 28px;
    text-align: center;
    margin-bottom: 8px;
}
.mc-process-item h5 {
    font-size: 14px;
    font-weight: 700;
    color: var(--mc-dark);
    text-transform: uppercase;
    margin-bottom: 8px;
}
.mc-process-item p {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin: 0;
}
.mc-process-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mc-green);
    font-size: 24px;
    padding-top: 20px;
}

/* Final CTA */
.mc-final-cta {
    background: var(--mc-green);
    padding: 60px 0;
    text-align: center;
    color: var(--mc-white);
}
.mc-final-cta h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--mc-white);
    margin-bottom: 15px;
}
.mc-final-cta p {
    font-size: 16px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 30px;
}
.mc-final-cta .cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}
.mc-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--mc-white);
    color: var(--mc-green);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s;
    border: 2px solid var(--mc-white);
}
.mc-btn-primary:hover {
    background: transparent;
    color: var(--mc-white);
}
.mc-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: transparent;
    color: var(--mc-white);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s;
    border: 2px solid var(--mc-white);
}
.mc-btn-outline:hover {
    background: var(--mc-white);
    color: var(--mc-green);
}

/* Footer custom */
.mc-footer {
    background: var(--mc-dark);
    padding: 60px 0 0;
    color: #ccc;
}
.mc-footer h5 {
    color: var(--mc-white);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
}
.mc-footer a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}
.mc-footer a:hover {
    color: var(--mc-green);
}
.mc-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.mc-footer ul li {
    margin-bottom: 8px;
}
.mc-footer .footer-logo {
    max-width: 180px;
    margin-bottom: 20px;
}
.mc-footer .mc-accr {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-weight: 700;
    font-size: 14px;
    color: var(--mc-white);
    margin-bottom: 15px;
}
.mc-footer .mc-accr a {
    color: var(--mc-white);
}
.mc-footer .mc-accr a:hover {
    color: var(--mc-green);
}
.mc-footer .mc-accr .mc-accr-sep {
    color: rgba(255,255,255,0.4);
}
.mc-footer .footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    margin-top: 40px;
    text-align: center;
    font-size: 13px;
    color: #888;
}
.mc-footer .sa-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}
.mc-footer .sa-badge img {
    height: 15px;
}
.mc-footer .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
}
.mc-footer .contact-item i {
    color: var(--mc-green);
    margin-top: 4px;
}

/* Section titles */
.mc-section-title {
    text-align: center;
    margin-bottom: 50px;
}
.mc-section-title h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--mc-dark);
    text-transform: uppercase;
    margin-bottom: 15px;
}
.mc-section-title p {
    font-size: 16px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Responsive */
@media (max-width: 991px) {
    .mc-facility-images {
        grid-template-columns: repeat(2, 1fr);
    }
    .mc-process-arrow {
        display: none;
    }
}
@media (max-width: 767px) {
    .mc-topbar .topbar-left,
    .mc-topbar .topbar-right {
        text-align: center;
        justify-content: center;
    }
    .mc-why-section .section-title,
    .mc-final-cta h2 {
        font-size: 26px;
    }
    .mc-facility-images {
        grid-template-columns: 1fr;
    }
    .mc-facility-cta h2 {
        font-size: 28px;
    }
}

/* ========================================
   Navigation override for Master Circuits

   The template's header-five uses:
   - padding-inline-end only (no left padding) on .rs-header-inner
   - fixed-width logo wrapper (295px → 230px → 210px) with a coloured bg
   - g-0 on container-fluid strips Bootstrap gutters

   This means the logo sits flush at x:0 with no breathing room.
   Our logo is transparent (no coloured box), so we need left padding
   and the wrapper must shrink fluidly instead of using fixed widths.
   ======================================== */

/* Force both padding sides so logo never touches the viewport edge */
.rs-header-five .rs-header-inner {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    overflow: visible;
    padding-inline-start: 25px !important;
}

/* Logo wrapper: fluid width, never clip */
.rs-header-five .rs-header-logo-wrapper {
    background-color: transparent !important;
    height: auto;
    width: auto !important;
    min-width: 0;
    max-width: none;
    flex-shrink: 0;
    padding: 12px 0;
    display: flex;
    align-items: center;
}

/* Left container: let it size to its content */
.rs-header-five .rs-header-left {
    flex: 0 0 auto;
    width: auto !important;
    min-width: 0;
    overflow: visible;
}

/* Logo element */
.rs-header-five .rs-header-logo {
    width: auto;
    min-width: 0;
    height: auto;
    display: flex;
    align-items: center;
}
.rs-header-five .rs-header-logo a {
    display: flex;
    align-items: center;
    width: auto;
    min-width: 0;
}

/* The actual logo image — height-driven, width follows naturally */
.mc-nav-logo {
    display: block;
    width: auto;
    height: 120px;
    max-width: none;
    object-fit: contain;
}

/* Menu takes remaining space */
.main-menu .submenu {
    width: 300px;
}
.rs-header-five .rs-header-menu {
    flex: 1 1 auto;
    min-width: 0;
    padding: 0 20px;
}
.rs-header-five .rs-header-menu .main-menu {
    margin-inline-start: 30px;
    padding-inline-start: 15px;
}
.rs-header-five .main-menu li a {
    font-size: 16px;
    padding: 38px 16px;
    white-space: nowrap;
}

/* Right side: never shrink */
.rs-header-five .rs-header-right {
    flex-shrink: 0;
}

/* ---- Breakpoints ---- */

/* Laptop (1200-1600px) */
@media only screen and (max-width: 1600px) {
    .mc-nav-logo {
        height: 90px;
    }
    .rs-header-five .rs-header-inner {
        padding-inline-start: 20px !important;
    }
    .rs-header-five .rs-header-menu {
        padding: 0 10px;
    }
    .rs-header-five .rs-header-menu .main-menu {
        margin-inline-start: 15px;
        padding-inline-start: 10px;
    }
    .rs-header-five .main-menu li a {
        font-size: 15px;
        padding: 34px 12px;
    }
    .rs-header-five .rs-header-right {
        gap: 15px;
    }
}

/* Small laptop (1200-1366px) */
@media only screen and (max-width: 1366px) {
    .mc-nav-logo {
        height: 70px;
    }
    .rs-header-five .main-menu li a {
        font-size: 14px;
        padding: 32px 8px;
    }
    .rs-header-five .rs-header-menu .main-menu {
        margin-inline-start: 10px;
        padding-inline-start: 8px;
    }
}

/* Tablet (below 1200px) — desktop menu hidden by template, shows hamburger */
@media only screen and (max-width: 1199px) {
    .mc-nav-logo {
        height: 60px;
    }
    .rs-header-five .rs-header-inner {
        padding-inline-start: 15px !important;
        padding-inline-end: 15px;
    }
}

/* Small tablet (below 992px) */
@media only screen and (max-width: 991px) {
    .mc-nav-logo {
        height: 50px;
    }
}

/* Large phone (below 768px) */
@media only screen and (max-width: 767px) {
    .mc-nav-logo {
        height: 40px;
    }
    .rs-header-five .rs-header-inner {
        padding-inline-start: 12px !important;
        padding-inline-end: 12px;
    }
}

/* Phone (below 576px) */
@media only screen and (max-width: 575px) {
    .mc-nav-logo {
        height: 36px;
    }
    .rs-header-five .rs-header-inner {
        padding-inline-start: 10px !important;
        padding-inline-end: 10px;
        gap: 5px;
    }
}

/* Very small phone (below 400px) */
@media only screen and (max-width: 400px) {
    .mc-nav-logo {
        height: 30px;
    }
    .rs-header-five .rs-header-inner {
        padding-inline-start: 8px !important;
        padding-inline-end: 8px;
    }
}

/* Green button override */
.mc-btn-green {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: var(--mc-green);
    color: var(--mc-white) !important;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    text-decoration: none !important;
    transition: all 0.3s;
    border: 2px solid var(--mc-green);
}
.mc-btn-green:hover {
    background: var(--mc-green-dark);
    border-color: var(--mc-green-dark);
}
.mc-btn-green-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: transparent;
    color: var(--mc-dark) !important;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    text-decoration: none !important;
    transition: all 0.3s;
    border: 2px solid var(--mc-dark);
}
.mc-btn-green-outline:hover {
    background: var(--mc-dark);
    color: var(--mc-white) !important;
}

/* Hero customization */
.mc-hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    color: var(--mc-white);
}
.mc-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(1,1,0,0.85) 0%, rgba(1,1,0,0.5) 100%);
}
.mc-hero .container {
    position: relative;
    z-index: 2;
}
.mc-hero h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px;
    color: #fff;
}
.mc-hero h1 span {
    color: var(--mc-green);
}
.mc-hero p {
    font-size: 17px;
    color: rgba(255,255,255,0.9);
    max-width: 500px;
    line-height: 1.7;
    margin-bottom: 30px;
}
.mc-hero .hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}
.mc-hero .mc-btn-green {
    background: var(--mc-green);
    border-color: var(--mc-green);
}
.mc-hero .mc-btn-white-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: transparent;
    color: var(--mc-white) !important;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    text-decoration: none !important;
    transition: all 0.3s;
    border: 2px solid var(--mc-white);
}
.mc-hero .mc-btn-white-outline:hover {
    background: var(--mc-white);
    color: var(--mc-dark) !important;
}

@media (max-width: 767px) {
    .mc-hero h1 {
        font-size: 32px;
    }
    .mc-hero {
        min-height: 450px;
    }
}

/* ===================== */
/* About Page Styles     */
/* ===================== */

/* Page Hero / Breadcrumb */
.mc-page-hero {
    position: relative;
    padding: 80px 0 60px;
    background-size: cover;
    background-position: center;
    color: var(--mc-white);
    min-height: 320px;
    display: flex;
    align-items: center;
}
.mc-page-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(1,1,0,0.85) 0%, rgba(1,1,0,0.5) 100%);
}
.mc-page-hero .container { position: relative; z-index: 2; }
.mc-page-hero h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #fff;
}
.mc-page-hero h1 span { color: var(--mc-green); }
.mc-page-hero .mc-underline {
    display: block;
    width: 50px;
    height: 3px;
    background: var(--mc-green);
    margin-bottom: 20px;
}
.mc-page-hero p {
    font-size: 17px;
    color: rgba(255,255,255,0.9);
    max-width: 500px;
    line-height: 1.7;
}

/* Our Story section */
.mc-story-section {
    padding: 80px 0;
    background: var(--mc-white);
}
.mc-story-section h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--mc-dark);
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--mc-green);
    display: inline-block;
}
.mc-story-section p {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}
.mc-story-stats {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px 20px;
}
.mc-story-stat {
    text-align: center;
    padding: 15px 10px;
}
.mc-story-stat .stat-icon {
    font-size: 32px;
    color: var(--mc-green);
    margin-bottom: 10px;
}
.mc-story-stat .stat-value {
    font-size: 22px;
    font-weight: 700;
    color: var(--mc-dark);
    margin-bottom: 2px;
}
.mc-story-stat .stat-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--mc-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.mc-story-stat .stat-desc {
    font-size: 12px;
    color: #888;
    margin-top: 6px;
    line-height: 1.4;
}

/* Values section */
.mc-values-section {
    padding: 80px 0;
    background: var(--mc-gray-light);
}
.mc-value-item {
    text-align: center;
    padding: 20px 15px;
}
.mc-value-item .value-icon {
    font-size: 40px;
    color: var(--mc-green);
    margin-bottom: 15px;
}
.mc-value-item h5 {
    font-size: 15px;
    font-weight: 700;
    color: var(--mc-dark);
    text-transform: uppercase;
    margin-bottom: 10px;
}
.mc-value-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* ========================================
   Team Section
======================================== */

.mc-team-section {
    padding: 80px 0;
    background: var(--mc-white);
}

/* Desktop layout
   Row 1 = 5 cards
   Row 2 = 3 cards + Production Team spans 2 columns
*/

.mc-team-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    align-items: start;
}

.mc-team-card {
    text-align: center;
}

.mc-team-card .team-photo,
.mc-team-card .team-placeholder {
    width: 100%;
    height: 260px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.mc-team-card .team-photo {
    object-fit: cover;
    object-position: top;
    background: #e9ecef;
}

.mc-team-card .team-placeholder {
    background: linear-gradient(
        135deg,
        #1a5c24 0%,
        #20722D 50%,
        #28883a 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.6);
    font-size: 48px;
}

.mc-team-card h5 {
    margin: 0 0 4px;
    font-size: 16px;
    font-weight: 700;
    color: var(--mc-dark);
}

.mc-team-card .team-role {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--mc-green);
}

/* Production Team spans TWO columns */

.mc-team-wide {
    grid-column: span 2;
}

/* Tablet */

@media (max-width: 1199px) {

    .mc-team-grid {
        grid-template-columns: repeat(3,1fr);
    }

    .mc-team-wide {
        grid-column: span 3;
    }

}

/* Small tablet */

@media (max-width: 991px) {

    .mc-team-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .mc-team-wide {
        grid-column: span 2;
    }

}

/* Mobile */

@media (max-width: 575px) {

    .mc-team-grid {
        grid-template-columns: 1fr;
    }

    .mc-team-wide {
        grid-column: span 1;
    }

}

/* Facility section */
.mc-facility-section {
    padding: 80px 0;
    background: url('../images/dark bg alt.webp') center/cover no-repeat;
    color: var(--mc-white);
    position: relative;
}
.mc-facility-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(1, 1, 0, 0.75);
}
.mc-facility-section .container {
    position: relative;
    z-index: 1;
    max-width: 1100px;
}
.mc-facility-section h2 {
    font-size: 26px;
    font-weight: 700;
    color: var(--mc-white);
    text-transform: uppercase;
    margin-bottom: 20px;
}
.mc-facility-section p {
    font-size: 22px;
    color: rgba(255,255,255,0.8);
    line-height: 1.7;
    margin-bottom: 25px;
}
/* Facility Slider */
.mc-facility-slider {
    position: relative;
    padding: 0 30px;
}
.mc-facility-slider .mc-facility-main {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 10px;
}
.mc-facility-slider .mc-facility-main img {
    width: 100%;
    aspect-ratio: 5 / 4;
    object-fit: cover;
}
.mc-facility-slider .mc-facility-prev {
    left: -10px;
}
.mc-facility-slider .mc-facility-next {
    right: -10px;
}
.mc-facility-slider .swiper-button-prev,
.mc-facility-slider .swiper-button-next {
    color: #fff;
    width: 40px;
    height: 40px;
    background: rgba(0,0,0,0.4);
    border-radius: 50%;
    transition: background 0.3s;
}
.mc-facility-slider .swiper-button-prev:hover,
.mc-facility-slider .swiper-button-next:hover {
    background: var(--mc-green);
}
.mc-facility-slider .swiper-button-prev::after,
.mc-facility-slider .swiper-button-next::after {
    font-size: 16px;
}
.mc-facility-slider .mc-facility-thumbs .swiper-slide {
    opacity: 0.4;
    transition: opacity 0.3s ease;
    cursor: pointer;
    width: 80px !important;
}
.mc-facility-slider .mc-facility-thumbs .swiper-slide.swiper-slide-thumb-active {
    opacity: 1;
}
.mc-facility-slider .mc-facility-thumbs img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 6px;
}
@media (max-width: 991px) {
    .mc-page-hero h1 { font-size: 36px; }
}
@media (max-width: 576px) {
    .mc-page-hero h1 { font-size: 30px; }
}

/* About CTA */
.mc-about-cta {
    background: var(--mc-green);
    padding: 60px 0;
    text-align: center;
    color: var(--mc-white);
}
.mc-about-cta h2 {
    font-size: 30px;
    font-weight: 700;
    color: var(--mc-white);
    margin-bottom: 10px;
}
.mc-about-cta h2 span {
    color: var(--mc-white);
    font-style: italic;
    font-weight: 400;
}
.mc-about-cta p {
    font-size: 16px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 25px;
}

/* Hamburger - desktop hide, mobile show */
.rs-header-five .rs-header-hamburger {
    display: none;
}
@media only screen and (max-width: 1199px) {
    .rs-header-five .rs-header-hamburger {
        display: flex;
    }
}

/* Override theme: show desktop quote button always (matches theme specificity) */
.rs-header-five .mc-desktop-quote {
    display: flex !important;
}
/* Override theme: hide mobile-only quote button in header-left */
.rs-header-five .mc-header-quote {
    display: none !important;
}

/* Mobile: swap quote buttons at 1199px */
@media only screen and (max-width: 1199px) {
    .rs-header-five .mc-header-quote {
        display: flex !important;
        width: calc(100% - 40px);
        margin: 0 20px 15px;
    }
    .rs-header-five .mc-header-quote .rs-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
        font-size: 14px;
        white-space: nowrap;
    }
    .rs-header-five .mc-desktop-quote {
        display: none !important;
    }
    .rs-header-five .rs-header-inner {
        justify-content: space-between;
        align-items: center;
    }
    .rs-header-five .rs-header-left {
        width: auto;
        align-items: center;
    }
    .rs-header-five .rs-header-hamburger {
        align-self: center;
    }
}
@media only screen and (max-width: 575px) {
    .rs-header-five .mc-header-quote {
        width: calc(100% - 32px);
        margin: 0 16px 12px;
    }
    .rs-header-five .mc-header-quote .rs-btn {
        padding: 10px 16px;
        font-size: 13px;
    }
}

/* Offcanvas */
.offcanvas-area.has-theme-green {
    background: #010100;
}
.offcanvas-area .offcanvas-close-icon {
    color: #fff;
}
.offcanvas-area .mobile-menu {
    padding: 20px 0;
}
.mc-offcanvas-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.mc-offcanvas-nav ul li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.mc-offcanvas-nav ul li a {
    display: block;
    padding: 14px 30px;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}
.mc-offcanvas-nav ul li a:hover {
    background: rgba(255, 255, 255, 0.1);
    padding-left: 40px;
    color: #70cc65;
}
.mc-offcanvas-nav ul ul {
    padding-left: 20px;
}
.mc-offcanvas-nav ul ul li a {
    font-size: 14px;
    padding: 12px 30px;
    color: rgba(255, 255, 255, 0.8);
}
.mc-offcanvas-nav .menu-item-has-children > a {
    position: relative;
    padding-right: 50px;
}
.mc-offcanvas-nav .menu-item-has-children > a::after {
    content: '+';
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: #70cc65;
    transition: transform 0.3s ease;
}
.mc-offcanvas-nav .menu-item-has-children.active > a::after {
    content: '\2212';
}
.mc-offcanvas-nav .submenu {
    display: none;
    padding-left: 20px;
}
.mc-offcanvas-nav .menu-item-has-children.active .submenu {
    display: block;
}
/* Hide desktop nav on mobile */
@media only screen and (max-width: 1199px) {
    .rs-header-five .rs-header-menu {
        display: none;
    }
}
/* Force MeanMenu nav to be visible inside offcanvas (fallback) */
.offcanvas-area .mean-container .mean-nav {
    display: block !important;
    height: auto !important;
    overflow: visible !important;
}
.offcanvas-area .mean-container .mean-nav ul {
    display: block !important;
    height: auto !important;
    overflow: visible !important;
}
.offcanvas-area .mean-container .mean-bar {
    display: none !important;
}

/* Blog Section */
.mc-blog-section {
    padding: 80px 0;
    background: #f8f8f8;
}
.mc-blog-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.mc-blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}
.mc-blog-thumb {
    position: relative;
    overflow: hidden;
}
.mc-blog-thumb img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.mc-blog-card:hover .mc-blog-thumb img {
    transform: scale(1.05);
}
.mc-blog-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--mc-green);
    color: #fff;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}
.mc-blog-content {
    padding: 25px;
}
.mc-blog-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 12px;
    font-size: 13px;
    color: #888;
}
.mc-blog-meta i {
    color: var(--mc-green);
    margin-right: 4px;
}
.mc-blog-content h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
}
.mc-blog-content h4 a {
    color: #111;
    text-decoration: none;
    transition: color 0.3s ease;
}
.mc-blog-content h4 a:hover {
    color: var(--mc-green);
}
.mc-blog-content p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}
.mc-blog-readmore {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--mc-green);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: gap 0.3s ease;
}
.mc-blog-readmore:hover {
    gap: 10px;
    color: #1a5c24;
}
@media (max-width: 991px) {
    .mc-blog-section { padding: 60px 0; }
}
@media (max-width: 576px) {
    .mc-blog-section { padding: 40px 0; }
    .mc-blog-thumb img { height: 180px; }
    .mc-blog-content { padding: 20px; }
}

/* Blog Article Page */
.mc-blog-article {
    padding: 60px 0 80px;
}
.mc-article-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    font-size: 14px;
    color: #888;
}
.mc-article-meta i {
    color: var(--mc-green);
    margin-right: 4px;
}
.mc-article-tag {
    background: var(--mc-green);
    color: #fff;
    padding: 5px 14px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}
.mc-article-thumb {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 35px;
}
.mc-article-thumb img {
    width: 100%;
    height: auto;
    display: block;
}
.mc-article-body h2 {
    font-size: 32px;
    font-weight: 700;
    color: #111;
    margin-bottom: 20px;
    line-height: 1.3;
}
.mc-article-body h3 {
    font-size: 22px;
    font-weight: 700;
    color: #111;
    margin: 30px 0 15px;
}
.mc-article-body p {
    font-size: 16px;
    color: #444;
    line-height: 1.8;
    margin-bottom: 18px;
}
.mc-article-body ul {
    margin: 15px 0 25px 20px;
    padding: 0;
}
.mc-article-body ul li {
    font-size: 16px;
    color: #444;
    line-height: 1.8;
    margin-bottom: 10px;
    list-style: disc;
}
.mc-article-body ul li strong {
    color: #111;
}
.mc-article-cta {
    background: #f8f8f8;
    border-left: 4px solid var(--mc-green);
    padding: 30px;
    border-radius: 0 8px 8px 0;
    margin: 40px 0;
}
.mc-article-cta h4 {
    font-size: 22px;
    font-weight: 700;
    color: #111;
    margin-bottom: 10px;
}
.mc-article-cta p {
    font-size: 15px;
    color: #666;
    margin-bottom: 15px;
}
.mc-article-back {
    padding-top: 25px;
    border-top: 1px solid #eee;
}
.mc-article-back a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--mc-green);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: gap 0.3s ease;
}
.mc-article-back a:hover {
    gap: 10px;
}
@media (max-width: 991px) {
    .mc-blog-article { padding: 40px 0 60px; }
    .mc-article-body h2 { font-size: 26px; }
}
@media (max-width: 576px) {
    .mc-blog-article { padding: 30px 0 50px; }
    .mc-article-body h2 { font-size: 22px; }
    .mc-article-meta { flex-wrap: wrap; gap: 10px; }
}
