/* =========================================================
   MIFACO SAFETY - LANDING PAGE HELM PROYEK
   ========================================================= */

:root {
    /* Color Palette */
    --primary-yellow: #FFC700;
    --primary-yellow-hover: #E6B400;
    --primary-yellow-light: #FFF9E6;
    --primary-yellow-soft: rgba(255, 199, 0, 0.15);

    --bg-white: #FFFFFF;
    --bg-light-gray: #F8FAFC;
    --bg-card: #FFFFFF;
    --bg-dark-hero: #0F172A;
    --bg-footer: #F8FAFC;

    --text-dark: #0F172A;
    --text-heading: #111827;
    --text-body: #475569;
    --text-muted: #64748B;
    --text-white: #FFFFFF;

    --border-light: #E2E8F0;
    --border-glass: rgba(255, 255, 255, 0.18);

    /* Shadows */
    --shadow-subtle: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
    --shadow-card: 0 10px 30px -5px rgba(15, 23, 42, 0.07), 0 2px 6px -1px rgba(15, 23, 42, 0.03);
    --shadow-card-hover: 0 20px 40px -10px rgba(15, 23, 42, 0.12), 0 4px 12px -2px rgba(15, 23, 42, 0.05);
    --shadow-cta: 0 20px 45px -10px rgba(255, 199, 0, 0.35);

    /* Typography */
    --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Transitions */
    --transition-fast: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-white);
    color: var(--text-body);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 28px;
}

[hidden] {
    display: none !important;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Typography Helpers */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-heading);
    font-weight: 700;
    line-height: 1.2;
}

.sub-label {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.section-heading {
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-dark);
    line-height: 1.18;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 32px;
}

.section-header-center {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 56px;
}

.section-desc-center {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* =========================================================
   BUTTONS & INTERACTIVE ELEMENTS (Reference Exact Style)
   ========================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 26px;
    border-radius: 9999px;
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    border: none;
    outline: none;
    transition: var(--transition-smooth);
    position: relative;
    user-select: none;
}

.btn:focus-visible,
.product-card:focus-visible,
.modal-close-btn:focus-visible,
.btn-submit-email:focus-visible,
.btn-form-reset:focus-visible,
.mifaco-footer-socials a:focus-visible,
.floating-wa:focus-visible {
    outline: 3px solid var(--primary-yellow);
    outline-offset: 3px;
}

/* Hanya untuk pembaca layar */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.btn-lg {
    padding: 15px 32px;
    font-size: 0.92rem;
}

.btn-full {
    width: 100%;
}

/* Yellow Pill Button (Primary) */
.btn-yellow-pill {
    background-color: var(--primary-yellow);
    color: #000000;
}

.btn-yellow-pill:hover {
    background-color: var(--primary-yellow-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(255, 199, 0, 0.45);
}

/* Black Pill Button (For CTA) */
.btn-black-pill {
    background-color: #0F172A;
    color: #FFFFFF;
}

.btn-black-pill:hover {
    background-color: #1E293B;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.35);
}

/* Glass Pill Button (For Dark Hero) */
.btn-glass-pill {
    background: rgba(255, 255, 255, 0.12);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.btn-glass-pill:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.45);
    transform: translateY(-2px);
}

/* Outline Pill Button (For Light Sections) */
.btn-outline-pill {
    background: transparent;
    color: var(--text-dark);
    border: 1.5px solid var(--border-light);
}

.btn-outline-pill:hover {
    background: var(--bg-light-gray);
    border-color: var(--text-dark);
    transform: translateY(-2px);
}

.btn-outline-dark-pill {
    background: transparent;
    color: #0F172A;
    border: 1.5px solid rgba(15, 23, 42, 0.35);
}

.btn-outline-dark-pill:hover {
    background: rgba(0, 0, 0, 0.06);
    border-color: #0F172A;
    transform: translateY(-2px);
}

/* Circle Arrow Icons inside Buttons */
.btn-arrow-circle {
    width: 24px;
    height: 24px;
    background-color: #000000;
    color: #FFFFFF;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
    transition: var(--transition-fast);
    line-height: 1;
}

.btn-yellow-pill:hover .btn-arrow-circle {
    transform: translate(2px, -2px);
}

.btn-arrow-circle-yellow {
    width: 24px;
    height: 24px;
    background-color: var(--primary-yellow);
    color: #000000;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
    transition: var(--transition-fast);
    line-height: 1;
}

.btn-outline-pill:hover .btn-arrow-circle-yellow,
.btn-black-pill:hover .btn-arrow-circle-yellow {
    transform: translate(2px, -2px);
}

/* =========================================================
   NAVBAR (Translucent Header)
   ========================================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 24px 0;
    transition: var(--transition-smooth);
    background: transparent;
}

.navbar.scrolled {
    padding: 14px 0;
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: #FFFFFF;
    letter-spacing: -0.02em;
}

.logo-accent {
    color: #FFFFFF;
    font-weight: 500;
    opacity: 0.9;
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 36px;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: var(--transition-fast);
}

.nav-links a:hover {
    color: var(--primary-yellow);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    padding: 6px;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2.5px;
    background-color: #FFFFFF;
    border-radius: 2px;
    transition: var(--transition-fast);
}

.mobile-menu {
    display: none;
    flex-direction: column;
    padding: 24px;
    background: #0F172A;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    gap: 16px;
}

.mobile-menu.active {
    display: flex;
}

.mobile-link {
    color: #FFFFFF;
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* =========================================================
   1. HERO SECTION (Next_Gen Reference Layout)
   ========================================================= */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 140px;
    padding-bottom: 100px;
    overflow: hidden;
    background-color: var(--bg-dark-hero);
}

.hero-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right top;
    filter: brightness(0.9);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.85) 45%, rgba(15, 23, 42, 0.4) 100%);
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 720px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 28px;
}

.pulse-dot {
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--primary-yellow);
    box-shadow: 0 0 10px var(--primary-yellow);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.3);
        opacity: 1;
    }

    100% {
        transform: scale(0.95);
        opacity: 0.8;
    }
}

.hero-title {
    font-size: 4.2rem;
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.035em;
    color: #FFFFFF;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 40px;
    max-width: 620px;
}

.hero-btn-group {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

/* =========================================================
   2. WHY CHOOSE US / FEATURES BAR (Under Hero)
   ========================================================= */
.features-bar {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
    padding: 50px 0;
    /* Disesuaikan agar proporsional untuk card */
}

.features-bar-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    /* Jarak antar kartu sebesar 40px */
}

.feature-bar-item {
    background-color: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    /* Rounded 16px */
    padding: 28px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    /* Efek card berbayang lembut */
    display: flex;
    flex-direction: column;
    /* Mengubah posisi ikon ke atas teks, atau gunakan row jika ingin di samping */
    align-items: flex-start;
    gap: 18px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Efek opsional: sedikit terangkat saat kursor mendekat */
.feature-bar-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.feature-bar-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-color: var(--primary-yellow-light);
    color: #D97706;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(255, 199, 0, 0.15);
}

.feature-bar-text h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.feature-bar-text p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin: 0;
}

/* =========================================================
   3. ABOUT / TWO-COLUMN SHOWCASE ("Finest Architectural...")
   ========================================================= */
.section-about {
    padding: 120px 0;
    background-color: var(--bg-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 70px;
    align-items: center;
}

.about-img-box {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.about-main-img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.about-img-box:hover .about-main-img {
    transform: scale(1.03);
}

.about-tag-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 12px 20px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    color: #FFFFFF;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.tag-icon {
    display: flex;
    color: var(--primary-yellow);
    flex-shrink: 0;
}

.about-tag-badge strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: var(--primary-yellow);
}

.about-tag-badge small {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.8rem;
}

.about-mini-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 36px 0;
    padding-top: 24px;
    border-top: 1px solid var(--border-light);
}

.mini-stat-col h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.mini-stat-col p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin: 0;
}

/* =========================================================
   4. PRODUCT & JENIS PRODUCT (Cards with Modal Trigger)
   ========================================================= */
.section-products {
    padding: 120px 0;
    background-color: var(--bg-light-gray);
}

.product-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.product-card {
    background-color: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    position: relative;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(255, 199, 0, 0.5);
}

.product-card-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    background: #0F172A;
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 9999px;
    letter-spacing: 0.06em;
    z-index: 2;
}

.product-card-img-wrap {
    width: 100%;
    height: 230px;
    background-color: #F8FAFC;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
}

.product-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-card-img-wrap img {
    transform: scale(1.06);
}

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

.product-card-category {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #D97706;
    margin-bottom: 8px;
}

.product-card-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.product-card-snippet {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
}

.product-card-footer {
    padding-top: 18px;
    border-top: 1px solid var(--border-light);
}

.product-btn-action {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: var(--transition-fast);
}

.product-card:hover .product-btn-action {
    color: #D97706;
}

/* =========================================================
   5. MODAL DETAIL PRODUCT (Popup)
   ========================================================= */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    background-color: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 24px;
    overflow-y: auto;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.modal-dialog {
    background-color: #FFFFFF;
    width: 100%;
    max-width: 900px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.4);
    position: relative;
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 90vh;
    overflow-y: auto;
}

.modal.active .modal-dialog {
    transform: scale(1);
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 22px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #F1F5F9;
    color: #0F172A;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-fast);
}

.modal-close-btn:hover {
    background-color: #0F172A;
    color: #FFFFFF;
}

.modal-content-grid {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
}

.modal-img-col {
    background-color: #F8FAFC;
    padding: 36px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-right: 1px solid var(--border-light);
}

.modal-img-col img {
    width: 100%;
    height: 270px;
    object-fit: contain;
    background: #FFFFFF;
    border-radius: 16px;
    box-shadow: var(--shadow-card);
    padding: 12px;
}

.modal-color-preview {
    margin-top: 24px;
}

.modal-color-preview > span {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.color-dots {
    display: flex;
    gap: 8px;
}

.dot-color {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid #FFFFFF;
    box-shadow: 0 0 0 1px #CBD5E1;
}

.dot-yellow {
    background-color: #FACC15;
}

.dot-orange {
    background-color: #FB923C;
}

.dot-white {
    background-color: #F8FAFC;
}

.dot-red {
    background-color: #EF4444;
}

.dot-blue {
    background-color: #3B82F6;
}

.dot-green {
    background-color: #22C55E;
}

.modal-info-col {
    padding: 40px;
    display: flex;
    flex-direction: column;
}

.modal-cat-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #D97706;
    margin-bottom: 8px;
}

.modal-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.modal-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 24px;
}

.modal-spec-list h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.modal-spec-list ul {
    list-style: none;
    margin-bottom: 28px;
}

.modal-spec-list ul li {
    font-size: 0.88rem;
    color: var(--text-body);
    padding: 6px 0;
    border-bottom: 1px solid #F1F5F9;
}

.modal-spec-list ul li strong {
    color: var(--text-dark);
    display: inline-block;
    width: 130px;
}

.modal-cta-box {
    margin-top: auto;
}

/* =========================================================
   6. KELEBIHAN PRODUCT KAMI ("We provide solutions..." Reference)
   ========================================================= */
.section-solutions {
    padding: 120px 0;
    background-color: var(--bg-white);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.solution-card {
    background-color: var(--bg-light-gray);
    padding: 44px 36px;
    border-radius: 22px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.solution-card:hover {
    background-color: #FFFFFF;
    transform: translateY(-8px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(255, 199, 0, 0.4);
}

.solution-icon-box {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background-color: var(--primary-yellow-light);
    color: #D97706;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    box-shadow: 0 6px 15px rgba(255, 199, 0, 0.18);
}

.solution-card-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 14px;
}

.solution-card-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 28px;
    flex-grow: 1;
}

.solution-card-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: var(--transition-fast);
}

.solution-card:hover .solution-card-link {
    color: #D97706;
}

/* =========================================================
   7. STATS HIGHLIGHT ("Elevating Standard...")
   ========================================================= */
.section-stats-highlight {
    padding: 120px 0;
    background-color: var(--bg-light-gray);
}

.stats-highlight-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 70px;
    align-items: center;
}

.stats-image-container {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.stats-img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
}

/* Floating Yellow Stat Badge on Image */
.floating-yellow-badge {
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: var(--primary-yellow);
    color: #000000;
    padding: 28px 32px;
    border-top-right-radius: 24px;
    box-shadow: 0 15px 35px rgba(255, 199, 0, 0.4);
    min-width: 240px;
}

.badge-stat-row {
    display: flex;
    flex-direction: column;
}

.badge-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
}

.badge-desc {
    font-size: 0.85rem;
    font-weight: 600;
    opacity: 0.9;
    margin-top: 4px;
}

.badge-divider {
    height: 1px;
    background-color: rgba(0, 0, 0, 0.15);
    margin: 16px 0;
}

/* =========================================================
      8. TESTIMONIALS (3-Column Static Grid)
      ========================================================= */
.section-testimonials {
    padding: 120px 0;
    background-color: var(--bg-white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.testi-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 36px;
    box-shadow: var(--shadow-subtle);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testi-user-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.testi-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #0F172A;
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.testi-user-info h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.testi-user-info span {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.testi-text {
    font-size: 0.95rem;
    color: var(--text-body);
    line-height: 1.65;
    margin-bottom: 24px;
    font-style: italic;
}

.testi-rating {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid #F1F5F9;
}

.stars {
    color: #F59E0B;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.verified-tag {
    font-size: 0.78rem;
    font-weight: 600;
    color: #10B981;
}

/* Responsif untuk Tablet & Smartphone */
@media (max-width: 992px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
    }
}

/* =========================================================
   9. CALL TO ACTION (Bright Yellow Box)
   ========================================================= */
.section-cta {
    padding: 100px 0;
    background-color: var(--bg-white);
}

.cta-yellow-card {
    background-color: var(--primary-yellow);
    border-radius: 28px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    box-shadow: var(--shadow-cta);
    position: relative;
}

.cta-card-content {
    padding: 70px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cta-card-title {
    font-size: 3rem;
    font-weight: 800;
    color: #000000;
    letter-spacing: -0.035em;
    line-height: 1.1;
    margin-bottom: 18px;
}

.cta-card-subtitle {
    font-size: 1.1rem;
    color: rgba(0, 0, 0, 0.78);
    line-height: 1.65;
    margin-bottom: 36px;
}

.cta-card-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-card-graphic {
    position: relative;
    overflow: hidden;
}

.cta-img-holder {
    width: 100%;
    height: 100%;
    min-height: 380px;
}

.cta-floating-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* =========================================================
   FOOTER SECTION
   ========================================================= */
.footer-section {
    background-color: #0b132b;
    /* Warna latar belakang gelap khas footer */
    color: #ffffff;
    /* Ruang bawah ekstra agar tombol WhatsApp melayang tidak menutupi ikon sosial */
    padding: 80px 0 110px 0;
    font-family: inherit;
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: flex-start;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Kolom Informasi */
.footer-info h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #ffffff;
}

.footer-info p {
    font-size: 0.95rem;
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 30px;
}

.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 0.95rem;
    color: #cbd5e1;
    line-height: 1.5;
}

.footer-contact-list a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-contact-list a:hover {
    color: #f59e0b;
}

.footer-icon {
    color: #f59e0b;
    /* Warna oranye/kuning aksen */
    margin-top: 2px;
    flex-shrink: 0;
}

/* Form Kontak Footer */
.footer-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

/* Baris pertama: Nama & Perusahaan berdampingan */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.footer-form input,
.footer-form textarea {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 14px 18px;
    color: #ffffff;
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.footer-form input::placeholder,
.footer-form textarea::placeholder {
    color: #64748b;
}

.footer-form input:focus,
.footer-form textarea:focus {
    border-color: #f59e0b;
    background-color: rgba(255, 255, 255, 0.06);
}

.footer-form textarea {
    resize: vertical;
    min-height: 110px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-form .is-invalid,
.footer-form .is-invalid:focus {
    border-color: #f87171;
    background-color: rgba(248, 113, 113, 0.06);
}

.form-error {
    min-height: 1em;
    font-size: 0.8rem;
    line-height: 1.3;
    color: #fca5a5;
}

.form-error:empty {
    display: none;
}

/* Status sukses setelah form dikirim */
.form-success {
    background-color: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.35);
    border-radius: 12px;
    padding: 32px;
    outline: none;
}

.form-success-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #22c55e;
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.form-success h3 {
    color: #ffffff;
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.form-success p {
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 10px;
}

.form-success .form-success-hint {
    font-size: 0.85rem;
    color: #94a3b8;
}

.form-success-hint a {
    color: #f59e0b;
}

.btn-form-reset {
    margin-top: 10px;
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 12px 22px;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.btn-form-reset:hover {
    border-color: #f59e0b;
    background-color: rgba(245, 158, 11, 0.1);
}

.btn-submit-email {
    background-color: #f97316;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 14px 28px;
    font-family: inherit;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.btn-submit-email:hover {
    background-color: #ea580c;
}

/* Responsif untuk Layar Mobile */
@media (max-width: 992px) {

    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Styling Baru untuk Bagian Bawah Footer Agar Sejajar */
.mifaco-footer-bottom {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding-top: 35px !important;
    flex-wrap: wrap !important;
    gap: 20px !important;
}

.mifaco-bottom-left {
    display: flex !important;
    align-items: center !important;
    gap: 25px !important;
    flex-wrap: wrap !important;
}

.mifaco-footer-brand {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-weight: 700 !important;
    font-size: 1.1rem !important;
}

.mifaco-copyright {
    font-size: 0.85rem !important;
    color: #64748b !important;
    margin: 0 !important;
}

.mifaco-footer-socials {
    display: flex !important;
    gap: 12px !important;
}

.mifaco-footer-socials a {
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    background-color: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #94a3b8 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

.mifaco-footer-socials a:hover {
    background-color: #f59e0b !important;
    border-color: #f59e0b !important;
    color: #ffffff !important;
}

/* Responsif HP */
@media (max-width: 768px) {
    .mifaco-footer-bottom {
        flex-direction: column !important;
        text-align: center !important;
        justify-content: center !important;
    }

    .mifaco-bottom-left {
        flex-direction: column !important;
        gap: 10px !important;
        align-items: center !important;
    }
}

/* =========================================================
   FLOATING WHATSAPP BUTTON
   ========================================================= */
.floating-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: transform 0.3s ease, background-color 0.2s ease;
    text-decoration: none;
}

@media (max-width: 768px) {
    .floating-wa {
        width: 52px;
        height: 52px;
        bottom: 16px;
        right: 16px;
    }

    .floating-wa svg {
        width: 24px;
        height: 24px;
    }
}

.floating-wa:hover {
    transform: scale(1.1);
    background-color: #22bf5b;
}

/* =========================================================
   RESPONSIVE DESIGN (MOBILE / TABLET)
   ========================================================= */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

}

/* =========================================================
   SCROLL ANIMATIONS (Intersection Observer)
   ========================================================= */
.js .fade-in {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.js .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    .js .fade-in {
        opacity: 1;
        transform: none;
    }
}

/* =========================================================
   RESPONSIVE DESIGN (Tablets & Mobile)
   ========================================================= */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.2rem;
    }

    .nav-links,
    .nav-actions {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .product-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .features-bar-grid,
    .solutions-grid {
        gap: 20px;
    }

    .feature-bar-item {
        padding: 24px;
    }

    .solution-card {
        padding: 36px 28px;
    }

    .about-grid,
    .stats-highlight-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .cta-yellow-card {
        grid-template-columns: 1fr;
    }

    .cta-card-content {
        padding: 50px 40px;
    }

    .cta-img-holder {
        min-height: 280px;
    }
}

@media (min-width: 1025px) {
    .mobile-menu.active {
        display: none;
    }
}

@media (max-width: 768px) {

    .hero-section {
        padding-top: 110px;
        padding-bottom: 60px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .features-bar-grid,
    .product-cards-grid,
    .solutions-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .modal-content-grid {
        grid-template-columns: 1fr;
    }

    .modal-img-col {
        border-right: none;
        border-bottom: 1px solid var(--border-light);
        padding: 24px;
    }

    .modal-info-col {
        padding: 24px;
    }

    .section-heading {
        font-size: 2rem;
    }

    .cta-card-title {
        font-size: 2.2rem;
    }

    .about-mini-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cta-card-content {
        padding: 40px 24px;
    }
}