@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --primary-color: #F59E0B;
    --primary-hover: #D97706;
    --dark-navy: #0F172A;
    --dark-card: #1E293B;
    --light-bg: #F8FAFC;
    --text-dark: #0F172A;
    --text-muted: #64748B;
    --border-color: #E2E8F0;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--light-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--dark-navy);
}

/* TOPBAR */
.topbar {
    background: #090D16;
    color: #94A3B8;
    font-size: 0.85rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.topbar a {
    color: #CBD5E1;
    text-decoration: none;
    transition: color 0.2s;
}
.topbar a:hover {
    color: var(--primary-color);
}
.topbar-badge {
    background: rgba(245, 158, 11, 0.15);
    color: var(--primary-color);
    padding: 2px 10px;
    border-radius: 20px;
    font-weight: 600;
}

/* NAVBAR */
.navbar-custom {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    padding: 10px 0;
    border-bottom: 2px solid var(--primary-color);
    position: sticky;
    top: 0;
    z-index: 1030;
}
.navbar-logo {
    height: 44px;
    max-height: 48px;
    width: auto;
    object-fit: contain;
    display: block;
}
.navbar-nav .nav-link {
    font-weight: 600;
    color: #0F172A !important;
    padding: 8px 14px !important;
    font-size: 0.95rem;
    white-space: nowrap;
    position: relative;
    transition: all 0.2s ease;
}
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active {
    color: #D97706 !important;
}
.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 14px;
    right: 14px;
    height: 2px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.2s ease;
}
.navbar-nav .nav-link:hover::after, .navbar-nav .nav-link.active::after {
    transform: scaleX(1);
}
.navbar-custom .dropdown-menu {
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background: #FFFFFF;
}
.navbar-custom .dropdown-item {
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #1E293B;
    transition: all 0.15s ease;
}
.navbar-custom .dropdown-item:hover {
    background: rgba(245, 158, 11, 0.12);
    color: #B45309;
    transform: translateX(4px);
}

@media (max-width: 991px) {
    .navbar-collapse {
        background: #FFFFFF;
        padding: 16px 20px 24px 20px;
        border-radius: 16px;
        margin-top: 14px;
        border: 1px solid #E2E8F0;
        box-shadow: 0 14px 36px rgba(0, 0, 0, 0.1);
    }
    .navbar-nav .nav-link {
        padding: 10px 14px !important;
        font-size: 1rem;
        border-bottom: 1px solid #F1F5F9;
        width: 100%;
    }
    .navbar-nav .nav-link::after {
        display: none;
    }
    .navbar-custom .dropdown-menu {
        border: none;
        box-shadow: none;
        background: #F8FAFC;
        padding: 6px 10px;
        border-radius: 10px;
        margin-top: 4px;
    }
    .navbar-logo {
        height: 38px;
    }
}

/* BUTTONS */
.btn-primary-custom {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    color: #000 !important;
    font-weight: 700;
    border-radius: 10px;
    padding: 10px 22px;
    border: none;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-primary-custom:hover {
    background: linear-gradient(135deg, #D97706 0%, #B45309 100%);
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(217, 119, 6, 0.45);
}
.btn-dark-custom {
    background: #0F172A;
    color: #fff !important;
    font-weight: 700;
    border-radius: 10px;
    padding: 10px 22px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-dark-custom:hover {
    background: #1E293B;
    color: var(--primary-color) !important;
    transform: translateY(-2px);
}
.btn-outline-custom {
    border: 2px solid var(--primary-color);
    color: var(--dark-navy);
    font-weight: 700;
    border-radius: 10px;
    padding: 8px 18px;
    transition: all 0.2s;
}
.btn-outline-custom:hover {
    background: var(--primary-color);
    color: #000;
}

/* HERO SECTION */
.hero-section {
    background: radial-gradient(circle at top right, #1E293B 0%, #0F172A 70%, #080C14 100%);
    padding: 70px 0 90px 0;
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.12) 0%, transparent 70%);
    pointer-events: none;
}
.hero-title {
    color: #FFFFFF;
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 20px;
}
.hero-title span {
    color: var(--primary-color);
}
.hero-text {
    color: #94A3B8;
    font-size: 1.15rem;
    margin-bottom: 30px;
    max-width: 580px;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: var(--primary-color);
    padding: 6px 16px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 20px;
}
.hero-card {
    background: rgba(30, 41, 59, 0.85);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

/* STATS */
.stats-bar {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 25px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-top: -45px;
    position: relative;
    z-index: 10;
    border: 1px solid var(--border-color);
}
.stat-box {
    text-align: center;
    border-right: 1px solid var(--border-color);
}
.stat-box:last-child {
    border-right: none;
}
.stat-number {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--primary-hover);
    line-height: 1;
    margin-bottom: 4px;
}
.stat-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
}

/* SECTION TITLES */
.section-title-wrap {
    text-align: center;
    margin-bottom: 45px;
}
.section-tag {
    color: var(--primary-hover);
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
}
.section-title {
    font-size: 2.3rem;
    font-weight: 800;
    color: var(--dark-navy);
}

/* MACHINE / COURSE CARDS */
.machine-card {
    background: #FFFFFF;
    border-radius: 18px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    height: 100%;
}
.machine-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(245, 158, 11, 0.15);
    border-color: var(--primary-color);
}
.machine-card-img {
    height: 220px;
    background: #0F172A;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}
.machine-card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}
.machine-card:hover .machine-card-img img {
    transform: scale(1.08);
}
.machine-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--primary-color);
    color: #000;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 6px;
}
.machine-age-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(15, 23, 42, 0.85);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
}
.machine-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.machine-card-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 10px;
}
.machine-card-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* BRANCH CARDS */
.branch-card {
    background: #FFFFFF;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    padding: 24px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
    transition: all 0.3s;
}
.branch-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.08);
    border-color: var(--primary-color);
}
.branch-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(245, 158, 11, 0.15);
    color: var(--primary-hover);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

/* BLOG CARDS */
.blog-card {
    background: #FFFFFF;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0,0,0,0.04);
    transition: all 0.3s;
}
.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 28px rgba(0,0,0,0.08);
}
.blog-img {
    height: 200px;
    overflow: hidden;
    background: #0F172A;
}
.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.blog-card:hover .blog-img img {
    transform: scale(1.06);
}
.blog-body {
    padding: 20px;
}
.blog-date {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-hover);
    margin-bottom: 8px;
}
.blog-title {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 8px;
    line-height: 1.3;
}
.blog-title a {
    color: var(--dark-navy);
    text-decoration: none;
}
.blog-title a:hover {
    color: var(--primary-hover);
}

/* CALCULATOR BOX */
.calculator-box {
    background: #1E293B;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    padding: 30px;
    color: #fff;
}
.calc-result-box {
    margin-top: 20px;
    padding: 16px;
    border-radius: 12px;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid var(--primary-color);
}

/* FOOTER */
.site-footer {
    background: #0B0F19;
    color: #E2E8F0;
    padding: 70px 0 30px 0;
    border-top: 4px solid var(--primary-color);
}
.footer-contact-card {
    background: #162032;
    border: 1px solid #2B3A52;
    border-radius: 14px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.25s ease;
    height: 100%;
}
.footer-contact-card:hover {
    background: #1C283E;
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}
.footer-contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(245, 158, 11, 0.15);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}
.footer-contact-label {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    color: #94A3B8;
    text-transform: uppercase;
    margin-bottom: 2px;
}
.footer-contact-val {
    font-size: 1.15rem;
    font-weight: 900;
    color: #FFFFFF !important;
    text-decoration: none;
    transition: color 0.2s;
    display: block;
    word-break: break-word;
}
.footer-contact-val:hover {
    color: var(--primary-color) !important;
}
.footer-heading {
    color: #FFFFFF;
    font-weight: 900;
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}
.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}
.footer-desc {
    color: #CBD5E1;
    font-size: 0.92rem;
    line-height: 1.65;
}
.footer-sub-title {
    font-size: 0.88rem;
    font-weight: 800;
    color: #FFFFFF;
}
.footer-text-light {
    font-size: 0.9rem;
    color: #CBD5E1;
}
.footer-social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #1E293B;
    border: 1px solid #334155;
    color: #FFFFFF !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.2s ease;
}
.footer-social-btn:hover {
    background: var(--primary-color);
    color: #0F172A !important;
    border-color: var(--primary-color);
    transform: translateY(-3px);
}
.footer-links {
    margin: 0;
    padding: 0;
}
.footer-links li {
    margin-bottom: 11px;
}
.footer-links a {
    color: #CBD5E1;
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
}
.footer-links a:hover {
    color: var(--primary-color);
    transform: translateX(4px);
}
.footer-branch-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-branch-item {
    background: #131C2D;
    border: 1px solid #243248;
    border-radius: 10px;
    padding: 10px 14px;
    transition: border-color 0.2s;
}
.footer-branch-item:hover {
    border-color: var(--primary-color);
}
.footer-branch-name {
    font-size: 0.85rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 3px;
}
.footer-branch-addr {
    font-size: 0.78rem;
    color: #94A3B8;
    margin-bottom: 4px;
    line-height: 1.35;
}
.footer-branch-tel a {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}
.footer-branch-tel a:hover {
    text-decoration: underline;
    color: #FCD34D;
}
.footer-bottom {
    margin-top: 45px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-copyright {
    color: #CBD5E1;
    font-size: 0.9rem;
}
.footer-bottom-links a {
    color: #CBD5E1;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-bottom-links a:hover {
    color: var(--primary-color);
}

/* FLOATING BUTTONS */
.floating-whatsapp {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    text-decoration: none;
    transition: all 0.3s;
}
.floating-whatsapp:hover {
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}
.floating-call {
    position: fixed;
    bottom: 95px;
    right: 25px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
    z-index: 999;
    text-decoration: none;
    transition: all 0.3s;
}
.floating-call:hover {
    color: #000;
    transform: scale(1.1);
}

@media (max-width: 991px) {
    .hero-title { font-size: 2.2rem; }
    .stats-bar { margin-top: 20px; }
    .stat-box { border-right: none; margin-bottom: 15px; }
}

/* ==========================================================================
   OPERATOR COURSE DETAIL & SHOWCASE STYLES
   ========================================================================== */
.course-hero-section {
    background-size: cover;
    background-position: center;
}
.course-hero-section::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.08) 0%, transparent 60%);
    pointer-events: none;
}
.machine-showcase-box {
    background: radial-gradient(circle at center, #1E293B 0%, #0A0F1A 100%);
    border: 2px solid #283548;
    border-radius: 24px;
    padding: 35px 20px 45px 20px;
    text-align: center;
    position: relative;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.machine-showcase-box::before {
    content: '';
    position: absolute;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.12) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    pointer-events: none;
}
.machine-showcase-img {
    max-height: 350px;
    max-width: 90%;
    object-fit: contain;
    filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.65));
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    z-index: 1;
}
.machine-showcase-box:hover .machine-showcase-img {
    transform: scale(1.04) translateY(-4px);
}
.feature-check-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    padding: 18px;
    transition: all 0.25s ease;
}
.feature-check-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.1);
    transform: translateY(-2px);
}
.accordion-button:not(.collapsed) {
    background-color: rgba(245, 158, 11, 0.1) !important;
    color: #92400E !important;
    box-shadow: none !important;
}
.accordion-button:focus {
    box-shadow: none !important;
    border-color: rgba(245, 158, 11, 0.4) !important;
}
.accordion-item {
    border-color: #E2E8F0;
}
.fs-7 {
    font-size: 0.8rem;
}
@media (max-width: 768px) {
    .machine-showcase-box {
        min-height: 300px;
        padding: 45px 15px 50px 15px;
    }
    .machine-showcase-img {
        max-height: 250px;
    }
}