/* Import Google Fonts: Plus Jakarta Sans */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --primary-blue: #0d5cb6;
    --dark-navy: #16335f;
    --accent-red: #d71821;
    --accent-yellow: #ffe100;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #444;
    overflow-x: hidden;
}

/* ================= NAVBAR ================= */
#mainNavbar {
    transition: all 0.3s ease;
}

#navbarLogo {
    height: 48px;
    transition: all 0.3s ease;
}

/* ================= HERO SECTION ================= */
.hero-section {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    margin-top: 70px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(181,20,25,0.92) 0%, rgba(181,20,25,0.75) 45%, rgba(0,0,0,0.2) 100%);
}

.hero-badge {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
}

.hero-desc {
    font-size: clamp(1rem, 2vw, 1.15rem);
    opacity: 0.95;
    max-width: 580px;
}

.btn-danger {
    background-color: var(--accent-red);
    border: none;
}

.btn-danger:hover {
    background-color: #b41118;
}

/* ================= INTRO SECTION ================= */
.intro-section {
    background: #fff;
}

.intro-heading {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    line-height: 1.6;
    color: var(--dark-navy);
    font-weight: 600;
}

.intro-heading span {
    color: #20b8f5;
    font-weight: 800;
    display: block;
    margin-top: 5px;
}

.btn-consult {
    background-color: #20b8f5;
    border: none;
    padding: 12px 32px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 10px;
    transition: 0.3s ease;
}

.btn-consult:hover {
    background-color: #0da5e8;
    transform: translateY(-2px);
}

/* ================= SERVICES SECTION ================= */
.services-section {
    background: linear-gradient(rgba(6,35,73,0.9), rgba(6,35,73,0.9)), url("../asset/bg-services.jpg");
    background-size: cover;
    background-position: center;
}

.section-heading span {
    color: #7ec8ff;
    font-weight: 700;
    letter-spacing: 1.5px;
    font-size: 0.85rem;
}

.section-heading h2 {
    color: #fff;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
}

.section-heading p {
    color: rgba(255, 255, 255, 0.85);
    max-width: 680px;
    margin: 0 auto;
}

.service-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    height: 100%;
    transition: 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-img {
    width: 100%;
    max-width: 200px;
    height: 180px;
    object-fit: cover;
}

.service-content {
    padding: 20px;
}

.service-content span {
    display: inline-flex;
    width: 36px;
    height: 36px;
    background: var(--primary-blue);
    color: #fff;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 700;
    margin-bottom: 10px;
}

.service-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-navy);
}

.service-content p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

/* ================= PRODUCTS SECTION ================= */
.products-section {
    background: #f4f8fc;
}

.product-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--dark-navy);
}

.product-desc {
    color: #6c757d;
    font-size: 0.95rem;
}

.product-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    transition: 0.3s ease;
    height: 100%;
    padding: 0px !important;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-body {
    padding: 20px;
    text-align: center;
}

.product-body small {
    color: #888;
    font-weight: 500;
}

.product-body h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark-navy);
    margin: 6px 0 16px;
}

/* ================= CTA SECTION ================= */
.cta-wrapper {
    background: var(--primary-blue);
    border-radius: 20px;
    color: #fff;
    box-shadow: 0 15px 40px rgba(13, 92, 182, 0.25);
}

.cta-subtitle {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.cta-title {
    color: var(--accent-yellow);
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    font-weight: 800;
}

.cta-text {
    font-size: 0.95rem;
    opacity: 0.9;
}

.cta-btn {
    padding: 12px 30px;
    font-weight: 700;
    border-radius: 10px;
}

/* ================= ABOUT SECTION ================= */
.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 16px;
}

.experience-box {
    position: absolute;
    right: -15px;
    bottom: -15px;
    background: var(--primary-blue);
    color: #fff;
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.experience-box h3 {
    margin: 0;
    font-size: 2rem;
    font-weight: 800;
}

.about-subtitle {
    color: var(--primary-blue);
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 0.85rem;
}

.about-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--dark-navy);
}

.about-title span {
    color: var(--accent-red);
}

/* ================= FOOTER ================= */
.footer {
    background: var(--primary-blue);
    color: #fff;
}

.footer-logo {
    height: 45px;
}

.footer-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 18px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: 0.2s ease;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--accent-yellow);
    padding-left: 4px;
}

.contact-list li {
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    margin-right: 8px;
    transition: 0.3s ease;
}

.footer-social a:hover {
    background: var(--accent-yellow);
    color: var(--primary-blue);
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.2);
}

.footer-bottom {
    font-size: 0.85rem;
    opacity: 0.85;
}

/* Floating WA Button */
.floating-wa {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 55px;
    height: 55px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: 0.3s ease;
    animation: wa-pulse 2s infinite;
}

.floating-wa:hover {
    color: #fff;
    transform: scale(1.1);
}

@keyframes wa-pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Mobile Fixes */
@media (max-width: 767.98px) {
    .service-card {
        text-align: center;
    }
    .service-img {
        max-width: 100%;
        height: 160px;
    }
    .experience-box {
        position: relative;
        right: auto;
        bottom: auto;
        margin-top: 15px;
        display: inline-block;
    }

}

/* ================= NEWS SECTION ================= */
.news-section {
    background: #eef3f9;
}

.news-title {
    color: var(--dark-navy);
    font-size: clamp(1.75rem, 4vw, 2.25rem);
}

.news-card {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    transition: 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.news-img img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.news-heading {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark-navy);
    margin-bottom: 12px;
    line-height: 1.4;
}

.news-link {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-red);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-card.no-img {
    border-top: 4px solid var(--primary-blue);
}

/* Optimization Product Card for Mobile 2 Columns */
@media (max-width: 576px) {
    .product-image img {
        height: 100%; /* Gambar dibuat lebih compact agar tidak memakan space vertical */
        padding: 0px;
    }

    .product-body {
        padding: 12px 8px;
    }

    .product-body small {
        font-size: 0.75rem;
    }

    .product-body h4 {
        font-size: 0.95rem;
        margin: 4px 0 10px;
        line-height: 1.3;
    }

    .product-body .btn {
        font-size: 0.75rem;
        padding: 4px 12px;
    }
}

/* ================= MODAL EXPIRED REVAMP ================= */
.modal-custom-expired .modal-content {
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.98);
}

.modal-accent-bar {
    height: 6px;
    background: linear-gradient(90deg, #d71821 0%, #ffc107 100%);
}

.modal-icon-wrapper {
    width: 64px;
    height: 64px;
    background: #ffebe9;
    color: #d71821;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.modal-custom-expired .bg-danger-subtle {
    background-color: #ffebe9 !important;
    color: #d71821 !important;
}

.modal-custom-expired .btn-success {
    background-color: #25d366;
    border: none;
    transition: all 0.3s ease;
}

.modal-custom-expired .btn-success:hover {
    background-color: #1eb856;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(37, 211, 102, 0.3) !important;
}

/* Glassmorphism Effect pada backdrop modal */
.modal-backdrop.show {
    backdrop-filter: blur(6px);
    background-color: rgba(15, 23, 42, 0.65);
}