/* =============================================
   MOULDSPEX / SAME — Home Page Styles
   Primary Color: #5bc1ac
   Theme: Light, Professional
   ============================================= */

/* --- CSS Variables --- */
:root {
    --teal: #5bc1ac;
    --teal-dark: #3fa090;
    --teal-light: #8dd9cc;
    --teal-xlight: #edf9f6;
    --lime: #8dc63f;
    --blue: #1b9dd9;
    --text-primary: #1a2332;
    --text-secondary: #4a5568;
    --text-muted: #718096;
    --bg-white: #ffffff;
    --bg-light: #f7faf9;
    --bg-gray: #f4f6f9;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.10);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --radius: 12px;
    --radius-lg: 16px;
}

/* --- Base --- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--text-primary);
    background: var(--bg-white);
    line-height: 1.6;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

img {
    max-width: 100%;
}

/* --- Utility Classes --- */
.bg-white {
    background: var(--bg-white) !important;
}

.bg-light-section {
    background: var(--bg-light) !important;
}

.section-pad {
    padding: 0px 0;
    padding-bottom: 20px;
}

.section-eyebrow {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 10px;
}

.section-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: var(--text-primary);
    margin-bottom: 16px;
    font-weight: 800;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
}

.section-text {
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 16px;
}

/* --- Buttons --- */
.btn-primary-teal {
    background: var(--teal);
    color: #fff;
    border: 2px solid var(--teal);
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.92rem;
    padding: 10px 24px;
    transition: background 0.2s, transform 0.15s;
}

.btn-primary-teal:hover {
    background: var(--teal-dark);
    border-color: var(--teal-dark);
    color: #fff;
    transform: translateY(-1px);
}

.btn-outline-hero {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.92rem;
    padding: 10px 24px;
    transition: background 0.2s, border-color 0.2s;
}

.btn-outline-hero:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
    color: #fff;
}

.btn-white-teal {
    background: #fff;
    color: var(--teal);
    border: 2px solid #fff;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.92rem;
    padding: 12px 32px;
    transition: background 0.2s, color 0.2s;
}

.btn-white-teal:hover {
    background: var(--teal-xlight);
    color: var(--teal-dark);
    border-color: var(--teal-xlight);
}

/* =============================================
   NAVBAR
   ============================================= */
.site-navbar {
    background: #ffffff;
    box-shadow: 0 1px 0 var(--border);
    padding: 14px 0;
    z-index: 1000;
}

.brand-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--teal);
    letter-spacing: -0.02em;
}

.brand-tagline {
    font-size: 0.62rem;
    color: var(--text-muted);
    font-weight: 400;
    font-style: italic;
}

.brand-divider {
    width: 1px;
    height: 32px;
    background: var(--border);
    margin: 0 12px;
}

.brand-same {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--blue);
    letter-spacing: 0.05em;
}

.site-navbar .nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.88rem;
    padding: 6px 12px !important;
    border-radius: 6px;
    transition: color 0.15s, background 0.15s;
}

.site-navbar .nav-link:hover {
    color: var(--teal);
    background: var(--teal-xlight);
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero-section {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg,
            rgba(10, 25, 40, 0.82) 0%,
            rgba(10, 25, 40, 0.65) 55%,
            rgba(10, 25, 40, 0.20) 100%);
    z-index: 1;
}

.hero-content {
    z-index: 2;
    position: relative;
    padding-top: 60px;
    padding-bottom: 60px;
}

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--teal-light);
    margin-bottom: 16px;
}

.hero-title-same {
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 800;
    color: #000;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-accent {
    color: var(--teal);
}

.hero-subtitle {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.7;
    max-width: 520px;
}

/* =============================================
   STATS STRIP
   ============================================= */
.stats-strip {
    background: var(--teal);
    padding: 0;
}

.stat-item {
    padding: 32px 24px;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.stat-item--last {
    border-right: none;
}

.stat-number {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.82);
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* =============================================
   ABOUT SECTION
   ============================================= */
.about-img-block {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.about-main-img {
    width: 100%;
    height: 420px;
    object-fit: contain;
    border-radius: var(--radius-lg);
    display: block;
}

.about-badge-card {
    position: absolute;
    bottom: 24px;
    right: 24px;
    background: var(--teal);
    color: #fff;
    padding: 16px 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.about-badge-line1 {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0.9;
}

.about-badge-line2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 10px 14px;
    background: var(--teal-xlight);
    border-radius: 8px;
    border-left: 3px solid var(--teal);
}

.feature-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--teal);
    flex-shrink: 0;
}

/* =============================================
   SERVICES SECTION
   ============================================= */
.service-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    height: 100%;
    transition: box-shadow 0.2s, transform 0.2s;
}

.service-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.service-card--featured {
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
    border-color: var(--teal);
    color: #fff;
}

.service-card--featured .service-title,
.service-card--featured .service-text {
    color: #fff;
}

.service-card--featured .service-list li {
    border-left-color: rgba(255, 255, 255, 0.4);
    color: rgba(255, 255, 255, 0.92);
}

.service-card--featured .service-list li::before {
    color: rgba(255, 255, 255, 0.7);
}

.service-icon-wrap {
    width: 56px;
    height: 56px;
    background: var(--teal-xlight);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.service-icon-wrap--white {
    background: rgba(255, 255, 255, 0.2);
}

.service-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.service-text {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 14px;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-list li {
    font-size: 0.83rem;
    color: var(--text-secondary);
    padding: 5px 0 5px 14px;
    border-left: 2px solid var(--teal);
    margin-bottom: 5px;
    position: relative;
}

/* =============================================
   FACILITY SECTION
   ============================================= */
.facility-img-wrap {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.facility-img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    border-radius: var(--radius-lg);
    transition: transform 0.4s;
}

.facility-img--wide {
    height: 320px;
}

.facility-img-wrap:hover .facility-img {
    transform: scale(1.03);
}

.facility-img-label {
    position: absolute;
    bottom: 14px;
    left: 14px;
    background: rgba(10, 25, 40, 0.75);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}

/* Machine Table */
.machine-table-container {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.machine-table-header {
    background: var(--teal);
    padding: 20px 28px;
}

.machine-table-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 4px;
}

.machine-table-sub {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.82);
    margin: 0;
}

.machine-table {
    margin: 0;
}

.machine-table thead th {
    background: var(--bg-light);
    color: var(--text-secondary);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 14px 16px;
    border-color: var(--border);
    white-space: nowrap;
}

.machine-table tbody td {
    font-size: 0.88rem;
    color: var(--text-primary);
    padding: 13px 16px;
    border-color: var(--border);
    vertical-align: middle;
}

.machine-table tbody tr:hover {
    background: var(--teal-xlight);
}

.count-badge {
    display: inline-block;
    background: var(--teal);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
}

/* =============================================
   PRODUCTS SECTION
   ============================================= */
.product-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 100%;
    transition: box-shadow 0.2s, transform 0.2s;
}

.product-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.product-img-wrap {
    overflow: hidden;
}

.product-img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    display: block;
    transition: transform 0.4s;
}

.product-card:hover .product-img {
    transform: scale(1.06);
}

.product-body {
    padding: 20px;
}

.product-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.product-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 14px;
}

.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.p-tag {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--teal);
    background: var(--teal-xlight);
    border: 1px solid var(--teal-light);
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: 0.02em;
}

/* =============================================
   TOOLS SECTION
   ============================================= */







.tools-spec-table {
    margin-top: 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.tst-row {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: 0;
    border-bottom: 1px solid var(--border);
    padding: 12px 16px;
}

.tst-row:last-child {
    border-bottom: none;
}

.tst-header {
    background: var(--teal-xlight);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--teal-dark);
}

.tst-row:not(.tst-header) {
    font-size: 0.87rem;
    color: var(--text-secondary);
}

.tst-row:not(.tst-header):hover {
    background: var(--bg-light);
}

.tst-ton {
    font-weight: 700;
    color: var(--teal);
}

.tools-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: var(--radius);
    display: block;
}

.tools-img--wide {
    height: 200px;
}

/* =============================================
   WHY CHOOSE US SECTION
   ============================================= */
.why-section {
    background: linear-gradient(135deg, #0f2234 0%, #1a3348 100%);
    padding: 80px 0;
}

.why-eyebrow {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 10px;
}

.why-heading {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: #ffffff;
    font-weight: 800;
    margin-bottom: 0;
}

.why-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    height: 100%;
    transition: background 0.2s, border-color 0.2s;
}

.why-card:hover {
    background: rgba(91, 193, 172, 0.12);
    border-color: rgba(91, 193, 172, 0.3);
}

.why-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--teal);
    opacity: 0.5;
    line-height: 1;
    margin-bottom: 14px;
}

.why-title {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

.why-text {
    font-size: 0.87rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.65;
    margin: 0;
}

/* =============================================
   CONTACT SECTION
   ============================================= */
.contact-card {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2px 24px;
    text-align: center;
    height: 100%;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.contact-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--teal-light);
}

.contact-icon-wrap {
    width: 56px;
    height: 56px;
    background: var(--teal-xlight);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

/* .contact-card-label {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 10px;
} */

.contact-card-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

.contact-link {
    font-size: 1rem;
    font-weight: 600;
    color: var(--teal);
    text-decoration: none;
    transition: color 0.15s;
}

.contact-link:hover {
    color: var(--teal-dark);
    text-decoration: underline;
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
    border-radius: var(--radius-lg);
    padding: 40px 40px;

    box-shadow: var(--shadow-lg);
}

.cta-title {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    color: #fff;
    font-weight: 800;
    margin-bottom: 8px;
}

.cta-text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    margin: 0;
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
    background: #0f2234;
    padding: 60px 0 0;
}

.footer-brand {
    margin-bottom: 14px;
}

.footer-brand-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--teal);
    line-height: 1;
}

.footer-brand-tag {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
    margin-top: 3px;
}

.footer-desc {
    font-size: 0.87rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.7;
}

.footer-heading {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 14px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: color 0.15s;
}

.footer-links a:hover {
    color: var(--teal);
}

.footer-address {
    font-size: 0.87rem;
    color: rgba(255, 255, 255, 0.55);
    font-style: normal;
    line-height: 1.8;
}

.footer-address a {
    color: var(--teal-light);
    text-decoration: none;
    transition: color 0.15s;
}

.footer-address a:hover {
    color: var(--teal);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
    margin-top: 16px;
}

.footer-bottom p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.35);
    margin: 0;
    text-align: center;
}

/* =============================================
   RESPONSIVE BREAKPOINTS
   ============================================= */

/* Tablet */
@media (max-width: 991.98px) {
    .section-pad {
        padding: 60px 0;
    }

    .hero-section {
        min-height: 70vh;
    }

    .about-main-img {
        height: 320px;
    }

    .facility-img {
        height: 220px;
    }

    .facility-img--wide {
        height: 260px;
    }

    .tools-img {
        height: 160px;
    }

    .tools-img--wide {
        height: 180px;
    }

    .cta-banner {
        padding: 32px 28px;
    }

    .stats-strip .stat-item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }

    .stats-strip .col-6:nth-child(2),
    .stats-strip .col-6:nth-child(4) {
        border-right: none;
    }
}

/* Mobile */
@media (max-width: 767.98px) {
    .section-pad {
        padding: 48px 0;
    }

    .hero-section {
        min-height: 85vh;
    }

    .hero-title {
        font-size: 1.85rem;
    }

    .hero-subtitle {
        font-size: 0.93rem;
    }

    .stats-strip .stat-item {
        padding: 22px 16px;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .about-main-img {
        height: 260px;
    }

    .about-badge-card {
        padding: 12px 16px;
    }

    .service-card {
        padding: 22px 18px;
    }

    .facility-img {
        height: 190px;
    }

    .facility-img--wide {
        height: 220px;
    }

    .machine-table-header {
        padding: 16px 20px;
    }

    .machine-table thead th,
    .machine-table tbody td {
        padding: 10px 12px;
        font-size: 0.82rem;
    }

    .product-img {
        height: 180px;
    }

    .tools-img {
        height: 140px;
    }

    .tools-img--wide {
        height: 170px;
    }

    .why-section {
        padding: 48px 0;
    }

    .cta-banner {
        padding: 28px 22px;
    }

    .cta-banner .text-lg-end {
        text-align: left !important;
    }

    .site-footer {
        padding: 40px 0 0;
    }

    .brand-divider {
        display: none;
    }

    .brand-same {
        display: none;
    }
}

/* Small Mobile */
@media (max-width: 575.98px) {
    .hero-title {
        font-size: 1.6rem;
    }

    .btn-lg {
        padding: 10px 20px;
        font-size: 0.88rem;
    }

    .tst-row {
        grid-template-columns: 1fr 1.2fr 0.8fr;
        font-size: 0.8rem;
        padding: 10px 12px;
    }

    .why-card {
        padding: 22px 18px;
    }

    .why-number {
        font-size: 1.8rem;
    }

    .contact-card {
        padding: 24px 18px;
    }
}