/* ====================================================== */
/* 1. DEFINISI VARIABEL WARNA (TEMA WEBSITE) */
/* ====================================================== */
:root {
    /* Palet Warna Baru */
    --warna-utama: #ce3437; /* Merah */
    --warna-utama-hover: #b02a2d; /* Merah lebih gelap untuk hover */
    --warna-gelap: #336699; /* Biru */

    /* Warna Pendukung */
    --warna-teks-terang: #ffffff; /* Putih */
    --warna-teks-gelap: #000000;
    --warna-whatsapp: #25D366;
    --warna-whatsapp-hover: #128C7E;
    --warna-latar-terang: #f8f9fa;
}

/* General Styling dengan Font Baru */
body {
    font-family: 'Open Sans', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Exo 2', sans-serif;
    font-weight: 700;
}

/* HERO SECTION */
.hero-section {
    background-color: var(--warna-gelap);
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/hero-banner.jpg');
    background-size: cover;
    background-position: center;
    color: var(--warna-teks-terang);
    padding: 100px 0;
    text-align: center;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 700;
}

.hero-section p {
    font-size: 1.25rem;
    margin-bottom: 30px;
}

.cta-button {
    font-size: 1.2rem;
    font-weight: 600;
    padding: 15px 30px;
    margin: 5px;
    border-radius: 50px;
    text-transform: uppercase;
    font-family: 'Exo 2', sans-serif;
}

.cta-whatsapp {
    background-color: var(--warna-whatsapp);
    border-color: var(--warna-whatsapp);
    color: var(--warna-teks-terang);
}

.cta-whatsapp:hover {
    background-color: var(--warna-whatsapp-hover);
    border-color: var(--warna-whatsapp-hover);
    color: var(--warna-teks-terang);
}

/* STYLE BARU UNTUK KARTU LAYANAN DI BERANDA */
.service-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    border: 1px solid #eee;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.service-icon {
    font-size: 2.8rem;
    color: var(--warna-gelap);
    margin-bottom: 15px;
}

.service-title {
    font-family: 'Exo 2', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.service-description {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* STYLE UNTUK BAGIAN 3 LANGKAH MUDAH (PROSES) */
.step-card {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 30px 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.step-number {
    position: absolute;
    top: -20px;
    left: -15px;
    font-size: 5rem;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.05);
    z-index: 1;
}

.step-icon {
    font-size: 3.5rem;
    color: var(--warna-utama);
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.step-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
}

.step-card p {
    color: #6c757d;
    position: relative;
    z-index: 2;
}

/* STYLE UNTUK LOGO BRAND SCROLLER */
.logo-scroller {
    max-width: 900px;
    margin: auto;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, hsl(0 0% 0% / 0), hsl(0 0% 0% / 1) 20%, hsl(0 0% 0% / 1) 80%, hsl(0 0% 0% / 0));
    mask-image: linear-gradient(to right, hsl(0 0% 0% / 0), hsl(0 0% 0% / 1) 20%, hsl(0 0% 0% / 1) 80%, hsl(0 0% 0% / 0));
}

.logo-scroller-inner {
    display: flex;
    align-items: center;
    gap: 3rem;
    width: fit-content;
    animation: scroll 40s linear infinite;
}

.logo-scroller-inner img {
    height: 50px;
    max-width: none;
    filter: grayscale(1);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.logo-scroller-inner img:hover {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.1);
}

.mjm-logo-scroller {
    height: 65px !important;
    filter: grayscale(0) !important;
    opacity: 1 !important;
}

@keyframes scroll {
    to {
        transform: translateX(-50%);
    }
}

/* STYLE UNTUK BAGIAN TESTIMONI (METODE BARU DENGAN SVG) */
.testimonial-card-new {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
    text-align: left;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden; 
}

.testimonial-quote-svg {
    position: absolute;
    top: -10px;
    right: 5px;
    width: 100px; 
    height: 100px; 
    color: var(--warna-gelap);
    opacity: 0.08;
    z-index: 1;
}

.testimonial-text,
.testimonial-author {
    position: relative;
    z-index: 2; 
}

.testimonial-text {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: auto;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--warna-utama);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-right: 15px;
}

.author-info {
    line-height: 1.2;
}

.author-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
}

.author-desc {
    font-size: 0.9rem;
    color: #777;
    margin: 0;
}

/* STYLE UNTUK FOOTER DAN IKON SOSIAL MEDIA */
.social-icons .social-icon {
    font-size: 1.5rem; 
    color: #555; 
    margin: 0 10px; 
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-icons .social-icon:hover {
    color: var(--warna-utama); 
    transform: scale(1.2); 
}

/* STYLE UNTUK HALAMAN TENTANG KAMI */
.about-hero-section {
    position: relative;
    padding: 120px 0;
    text-align: center;
    color: white;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.about-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
}

.about-hero-section .container {
    position: relative; 
    z-index: 2;
}

.about-hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

.vision-mission-card {
    background-color: var(--warna-latar-terang);
    border-radius: 10px;
    padding: 30px;
    border-left: 5px solid var(--warna-gelap);
}

.vision-mission-card h3 {
    font-family: 'Exo 2', sans-serif;
    font-weight: 700;
    margin-bottom: 15px;
}

.mission-list {
    padding-left: 20px;
    list-style: none;
}

.mission-list li {
    position: relative;
    margin-bottom: 10px;
}

/* Latar belakang biru korporat */
.bg-brand-dark {
    background-color: var(--warna-gelap); /* #336699 */
}

/* Tombol CTA Merah (Warna Brand Utama) */
.btn-brand-primary {
    background-color: var(--warna-utama);
    border-color: var(--warna-utama);
    color: var(--warna-teks-terang);
    font-family: 'Exo 2', sans-serif;
    font-weight: 600;
    padding: 0.8rem 1.5rem; /* Ukuran tombol sedikit lebih besar */
    font-size: 1.1rem;
}

.btn-brand-primary:hover {
    background-color: var(--warna-utama-hover);
    border-color: var(--warna-utama-hover);
    color: var(--warna-teks-terang);
}

/* ====================================================== */
/* MODERN HEADER STYLES (CLEAN & CENTERED VERSION) */
/* ====================================================== */

/* 1. Top Bar Style (Baris Biru di Atas) */
/* Kita tetap menjaga style ini agar latar belakang biru tetap muncul */
.top-bar {
    background-color: var(--warna-gelap);
    font-size: 0.9rem;
    font-family: 'Open Sans', sans-serif;
}
/* Catatan: Style .top-social dihapus karena elemennya sudah dibuang di HTML */

/* 2. Navbar Adjustment (Perbaikan Menu) */
.navbar {
    transition: all 0.3s ease;
}

/* PENTING: Mencegah Logo Raksasa */
.navbar-logo {
    height: 50px;
    width: auto;
    transition: transform 0.3s;
}
.navbar-brand:hover .navbar-logo {
    transform: scale(1.05);
}

/* 3. Menu Links Style (Garis Bawah Merah) */
.navbar-nav .nav-link {
    font-family: 'Exo 2', sans-serif;
    font-weight: 600;
    color: #444;
    padding: 10px 15px !important;
    position: relative;
    transition: color 0.3s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--warna-utama);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 5px;
    left: 15px;
    background-color: var(--warna-utama);
    transition: width 0.3s ease-in-out;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: calc(100% - 30px);
}

/* 4. Button CTA di Navbar (Cek Lokasi) */
.navbar-nav .btn-danger {
    background-color: var(--warna-utama);
    border-color: var(--warna-utama);
    font-family: 'Exo 2', sans-serif;
    transition: all 0.3s;
}

.navbar-nav .btn-danger:hover {
    background-color: var(--warna-utama-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(206, 52, 55, 0.3);
}

/* 5. Mobile Toggler Focus */
.navbar-toggler:focus {
    box-shadow: none;
    outline: 2px solid var(--warna-gelap);
}