/* ============================================= */
/* ===         NAVBAR MODERN STYLING         === */
/* ============================================= */

/* --- Gaya Awal Navbar (Transparan di Atas) --- */
#mainNavbar {
    /* DIUBAH: Ganti 'transparent' dengan warna biru Anda */
    background-color: #6c9eef; /* <<< GANTI DENGAN KODE WARNA BIRU ANDA */
    padding-top: 10px;
    padding-bottom: 10px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* --- Gaya Navbar SETELAH Scroll --- */
#mainNavbar.navbar-scrolled {
    /* DIUBAH: Latar belakang tetap biru */
    background-color: #6c9eef;
    /* background-color: #ffffff; */
    padding-top: 5px;   /* Navbar sedikit mengecil */
    padding-bottom: 5px;
    /* box-shadow: 0 4px 12px rgba(0,0,0,0.1); Bayangan tetap muncul */
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* --- Gaya Link Menu --- */
#mainNavbar .nav-link,
#mainNavbar .navbar-brand {
    color: #ffffff !important; /* Warna teks selalu putih */
    font-weight: 500;
    position: relative;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Efek garis bawah saat hover */
#mainNavbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 1rem;
    width: 0;
    height: 2px;
    /* DIUBAH: Garis bawah selalu kuning agar kontras */
    background-color: #fce11f; 
    transition: width 0.3s ease;
}

#mainNavbar .nav-link:hover::after {
    width: calc(100% - 2rem);
}

/* --- Gaya Tombol CTA (Hubungi Kami) --- */
.cta-button {
    border-radius: 50px; /* Tombol berbentuk pil */
    font-weight: 600;
    padding: 8px 24px;
    transition: all 0.3s ease;
    background-color: #fce11f; /* Warna kuning */
    border-color: #fce11f;
    color: #333;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* ============================================= */
/* ===         1. GAYA GLOBAL & UMUM         === */
/* ============================================= */

body {
    font-family: 'Poppins', sans-serif; /* Ganti 'Poppins' jika Anda menggunakan font lain */
    padding-top: 52px;
}

.section-title {
    font-weight: 700;
    margin-bottom: 1.5rem;
}

/* Membuat shadow lebih halus */
.shadow-sm {
    box-shadow: 0 .125rem .25rem rgba(0,0,0,.075) !important;
}
.shadow {
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15) !important;
}
.shadow-lg {
    box-shadow: 0 1rem 3rem rgba(0,0,0,.175) !important;
}


/* ============================================= */
/* ===         HERO SECTION BACKGROUND       === */
/* ============================================= */

.hero-bg {
    position: relative; /* Wajib untuk overlay */
    
    /* Mengatur gambar latar belakang */
    background-image: url('../img/background.png'); /* <-- Pastikan nama file ini benar */
    background-size: cover; /* Agar gambar menutupi seluruh area */
    background-position: center center; /* Fokus di tengah gambar */
    background-repeat: no-repeat;
    
    /* Anda bisa mengatur tinggi minimum di sini jika perlu */
    min-height: 80vh; 
}

/* Menambahkan lapisan overlay gelap untuk keterbacaan teks */
.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Overlay biru gelap semi-transparan. Sesuaikan opacity (0.6) jika perlu */
    background-color: rgba(26, 37, 56, 0.6); 
    z-index: 1;
}

/* Pastikan konten (container) berada di depan overlay */
.hero-bg .container {
    position: relative;
    z-index: 1;
}



/* ============================================= */
/* ===           2. HERO SECTION             === */
/* ============================================= */

.hero-section {
    position: relative;
    /* GANTI DENGAN PATH GAMBAR LATAR BELAKANG ANDA */
    background: url('../img/hero-background.jpg') no-repeat center center;
    background-size: cover;
    min-height: 90vh;
    display: flex;
    align-items: center;
    color: #fff;
    padding: 100px 0;
}

.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Warna overlay biru gelap semi-transparan. Anda bisa mengubahnya */
    background: linear-gradient(90deg, rgba(1, 25, 69, 0.85) 0%, rgba(1, 25, 69, 0.6) 100%);
}

.hero-section .container {
    position: relative;
    /* z-index: 1; */
}

.hero-title {
    font-weight: 700;
    font-size: 3.2rem; /* Ukuran font judul utama */
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
}

.hero-section .custom-btn {
    background-color: #fce11f; /* Warna kuning dari desain asli Anda */
    color: #333; /* Warna teks gelap agar kontras */
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
}

.hero-section .custom-btn:hover {
    transform: translateY(-5px); /* Efek tombol terangkat saat di-hover */
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}


/* ============================================= */
/* ===  BLOK PERKENALAN SECTION DENGAN CORETAN === */
/* ============================================= */

/* Wrapper untuk membatasi lebar keseluruhan blok */
.section-intro-wrapper {
    max-width: 750px; 
}

/* --- Gaya untuk Judul H1 dengan Coretan --- */
.title-with-shape {
    display: inline-block; /* Agar coretan pas dengan lebar teks */
    position: relative;
}

.title-with-shape span {
    position: relative;
    z-index: 2; /* Pastikan teks berada di depan coretan */
}

/* Membuat bentuk coretan dengan pseudo-element ::before */
.title-with-shape::before {
    content: '';
    position: absolute;
    z-index: 1;

    /* Posisi & Ukuran Coretan */
    left: -20px;
    top: 50%; /* Posisi vertikal di tengah */
    transform: translateY(-50%) rotate(-2deg); /* Efek miring yang dinamis */
    width: calc(100% + 40px);
    height: 70%; /* Tinggi coretan (seperti stabilo) */

    /* Warna & Bentuk Coretan */
    background-color: #fce11f; /* Warna KUNING brand Anda */
    border-radius: 8px;
    opacity: 0.8; /* Sedikit transparan agar tidak terlalu mencolok */
}


/* ============================================= */
/* ===          KARTU VISI MODERN            === */
/* ============================================= */
.vision-card {
background: #ffffff;
padding: 30px;
border-radius: 12px;
border: 1px solid #e9ecef;
transition: all 0.3s ease;
text-align: center;
}
.vision-card:hover {
transform: translateY(-8px);
box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.vision-icon {
display: inline-flex;
align-items: center;
justify-content: center;
width: 60px;
height: 60px;
border-radius: 50%;
background-color: #e7f5ff;
color: #0d6efd;
font-size: 1.8rem;
margin-bottom: 1rem;
}


/* ============================================= */
/* ===    5. VALUE PROPOSITIONS SECTION      === */
/* ============================================= */

.testimonial-section {
    padding: 80px 0;
    background-color: #f8f9fa; /* Latar selang-seling putih dan abu-abu */
}

.testimonial-section .quote-icon .bi-quote {
    color: #0d6efd; /* Warna ikon kutipan */
    opacity: 0.5;
}

.testimonial-section .lead {
    font-style: italic;
    font-weight: 400;
    color: #555;
}

.testimonial-section .list-unstyled .d-flex {
    align-items: center; /* Membuat ikon dan teks sejajar di tengah */
}

.testimonial-section .list-unstyled .bi {
    line-height: 1; /* Memperbaiki alignment vertikal ikon */
}


/* ============================================= */
/* ===                  FOOTER                 === */
/* ============================================= */

.modern-footer {
    background-color: #1a2538; /* Warna biru sangat gelap, ganti jika perlu */
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 0 0;
    font-size: 0.95rem;
}

/* --- Style Baru untuk Tagline --- */
.modern-footer .tagline-heading {
    color: #ffffff;
    font-size: 2.25rem;
    font-weight: 300; /* Font lebih ringan untuk tampilan elegan */
    line-height: 1.4;
}

.modern-footer .tagline-heading strong {
    font-weight: 700;
}

.modern-footer .footer-heading {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --- Gaya Link & Info Kontak --- */
.modern-footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}
.modern-footer a:hover {
    color: #fce11f; /* Warna kuning brand saat hover */
}

.modern-footer .quick-links li {
    margin-bottom: 0.75rem;
}

.modern-footer .contact-info li {
    margin-bottom: 1rem;
}
.modern-footer .contact-info i {
    font-size: 1.1rem;
    margin-top: 3px;
    color: #fce11f; /* Warna kuning brand untuk ikon */
}

/* --- Gaya Ikon Sosial Media --- */
.modern-footer .social-icons li {
    margin-right: 15px;
}
.modern-footer .social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}
.modern-footer .social-icons a:hover {
    background-color: #fce11f; /* Warna kuning brand */
    color: #1a2538; /* Warna teks gelap */
    transform: translateY(-3px);
}

/* --- Gaya Bottom Bar (Copyright) --- */
.footer-bottom-bar {
    padding: 20px 0;
    margin-top: 40px;
    background-color: rgba(0, 0, 0, 0.2); /* Sedikit lebih gelap */
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-bottom-bar .copyright-text {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}


/* ============================================= */
/* ===    JUDUL SECTION VERTIKAL (FLOATING)  === */
/* ============================================= */

/* Jadikan section sebagai referensi posisi */
.vision-section-floating {
    position: relative;
    overflow-x: clip;
}

.vertical-title-floating {
    position: absolute;
    
    /* DIUBAH: Posisinya sekarang diatur dari atas, bukan di tengah */
    top: 100px; /* Jarak dari atas section. Anda bisa mengubah nilai ini (misal: 40px, 80px) */
    left: 20px; /* Jarak dari tepi kiri layar */
    /* DIHAPUS: Aturan transform: translateY(-50%) yang membuatnya di tengah */

    z-index: 1;
    writing-mode: vertical-rl;
    transform: rotate(180deg); /* Tetap diperlukan untuk orientasi huruf */

    /* Gaya Tipografi */
    font-size: 6rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 10px;
    
    /* DIUBAH: Warna sekarang menjadi kuning */
    color: #6c9eef; /* Warna kuning brand Anda */
    
    white-space: nowrap;
}

/* ============================================= */
/* ===    JUDUL SECTION VERTIKAL (KANAN)     === */
/* ============================================= */
.features-section { position: relative; overflow-x: clip; }
.vertical-title-floating-right {
    position: absolute;
    
    /* DIUBAH: Posisinya sekarang diatur dari atas, sama seperti judul kiri */
    top: 80px; /* Jarak dari atas section. Anda bisa mengubah nilai ini */
    right: 20px;
    /* DIHAPUS: Aturan transform: translateY(-50%) */
    
    z-index: 1;
    writing-mode: vertical-rl;
    transform-origin: center;
    rotate: 180deg;
    font-size: 6rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 10px;
    color: #6c9eef;
    white-space: nowrap;
}

/* ============================================= */
/* ===       BLOK TEKS UNTUK "VALUES"        === */
/* ============================================= */
.value-text-block {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
}


/* ============================================= */
/* ===   MODERN CTA (GRADIENT & SHAPES)      === */
/* ============================================= */

.cta-section-modern {
    position: relative; /* Wajib untuk memposisikan bentuk */
    padding: 100px 0;
    color: #ffffff;
    /* Latar belakang gradien diagonal yang halus */
    background: linear-gradient(135deg, #16213e 0%, #1a2538 100%);
    overflow: hidden; /* Mencegah bentuk keluar dari section */
}

.cta-section-modern .container {
    position: relative;
    z-index: 1; /* Pastikan konten di depan bentuk */
}

/* --- Bentuk Abstrak di Latar Belakang --- */
.cta-section-modern .shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05); /* Warna putih sangat transparan */
    z-index: 1;
    animation: float 8s ease-in-out infinite; /* Animasi melayang */
}
.cta-section-modern .shape-1 {
    width: 200px;
    height: 200px;
    top: -50px;
    left: -50px;
}
.cta-section-modern .shape-2 {
    width: 150px;
    height: 150px;
    bottom: -40px;
    right: 20%;
    animation-delay: 2s; /* Animasi dengan delay berbeda */
}
.cta-section-modern .shape-3 {
    width: 80px;
    height: 80px;
    top: 40%;
    right: -20px;
    animation-delay: 4s;
}

/* Animasi untuk efek melayang */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}


/* (Gaya .cta-title, .cta-subtitle, dan .cta-button-main Anda bisa tetap sama) */
.cta-title { font-size: 2.8rem; font-weight: 700; margin-bottom: 1rem; }
.cta-subtitle { font-size: 1.1rem; color: rgba(255, 255, 255, 0.8); max-width: 700px; margin-left: auto; margin-right: auto; margin-bottom: 2.5rem; }
.cta-button-main {
    border-radius: 50px;
    font-weight: 600;
    padding: 14px 32px;
    font-size: 1.1rem;
    background-color: #fce11f;
    border-color: #fce11f;
    color: #333;
    transition: all 0.3s ease;
}
.cta-button-main:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 20px rgba(252, 225, 31, 0.2);
}

/* UNTUK HALAMAN TRAINING */

/* CONTAINER SLIDER (INI YANG BARU) */
.trainingMain {
    border-radius: 12px;
    overflow: hidden;
}

/* MAIN IMAGE */
.trainingMain img {
    width: 100%;
    height: 480px;
    object-fit: cover;
}

/* THUMBNAIL */
.trainingThumb {
    margin-top: 10px;
}

.trainingThumb .swiper-slide {
    opacity: 0.5;
    cursor: pointer;
}

.trainingThumb .swiper-slide-thumb-active {
    opacity: 1;
    border: 2px solid #f0ad4e;
}

.trainingThumb img {
    height: 90px;
    width: 100%;
    object-fit: cover;
    border-radius: 6px;
}

/* NAV BUTTON */
.swiper-button-next,
.swiper-button-prev {
    color: #fff;
    background: rgba(0,0,0,0.4);
    width: 44px;
    height: 44px;
    border-radius: 50%;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 18px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .trainingMain img {
        height: 300px;
    }

    .trainingThumb img {
        height: 70px;
    }
}
