/* ============================================== */
/* GLOBAL STYLES & VARIABLES                      */
/* ============================================== */

/* Variabel Warna */
:root {
    --jas-red: #C41E3A;
    --jas-red-dark: #9B1B30;
    --jas-red-light: rgba(196, 30, 58, 0.1);
    --accent-blue: #2563EB;
    --accent-blue-light: rgba(37, 99, 235, 0.1);
    --dark-gray: #1A1A2E;
    --medium-gray: #4A4A5A;
    --light-gray: #F8FAFC;
    --white: #FFFFFF;
    --text-color-primary: #1F2937;
    --text-color-secondary: #4B5563;
    --text-color-muted: #6B7280;
    --text-color-light: var(--white);
    --border-color: #E5E7EB;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset Dasar & Box Sizing */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-color-primary);
    line-height: 1.7;
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Scroll Behavior (Smooth Scrolling) */
html {
    scroll-behavior: smooth;
}

/* Container untuk lebar konten */
.container {
    max-width: 1200px;
    /* Lebar maksimum konten */
    margin: 0 auto;
    padding: 0 20px;
    /* Padding samping untuk responsif */
}

/* Umum untuk semua section */
.section-padding {
    padding: 80px 0;
    /* Balanced breathing room */
}

.bg-light-gray {
    background-color: var(--light-gray);
}

.text-center {
    text-align: center;
}

.section-description {
    max-width: 700px;
    margin: 0 auto 40px auto;
    text-align: center;
    font-size: 1.1em;
    color: #555;
}

/* ============================================== */
/* TYPOGRAPHY                                   */
/* ============================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    color: var(--dark-gray);
    margin-bottom: 20px;
    line-height: 1.2;
}

h1 {
    font-weight: 800;
    /* Extra Bold */
    font-size: 3.2em;
    /* Untuk desktop */
    margin-bottom: 25px;
}

h2 {
    font-weight: 700;
    /* Bold */
    font-size: 2.5em;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    /* Untuk efek garis bawah */
}

h2::after {
    /* Garis bawah untuk H2 */
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--jas-red);
    margin: 15px auto 0 auto;
    border-radius: 2px;
}

h3 {
    font-weight: 700;
    font-size: 1.6em;
    margin-bottom: 15px;
}

p {
    font-size: 1em;
    margin-bottom: 15px;
}

ul {
    list-style: none;
    /* Hapus bullet default */
    padding-left: 0;
}

ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
    /* Ruang untuk custom bullet */
}

ul li::before {
    /* Custom bullet point */
    content: '\2713';
    /* Checkmark unicode character */
    font-family: 'Font Awesome 5 Free';
    /* Jika pakai Font Awesome */
    display: inline-block;
    color: var(--jas-red);
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 900;
    /* Solid icon for Font Awesome */
}

a {
    color: var(--jas-red);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--jas-red-dark);
}

/* ============================================== */
/* BUTTONS                                      */
/* ============================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--jas-red);
    color: var(--white);
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1em;
    letter-spacing: 0.025em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

/* Hapus atau ubah ini */
/* .btn-primary .btn-icon {
    width: 20px;
    height: 20px;
} */
/* Jika Anda menggunakan Font Awesome, properti width/height ini mungkin tidak diperlukan
   atau perlu disesuaikan agar ikon Font Awesome pas di dalamnya.
   Lebih baik kita menargetkan ikonnya langsung.
*/

/* Tambahkan atau sesuaikan ini untuk ikon di dalam tombol .btn-primary */
.btn-primary .fab.fa-whatsapp {
    /* Menargetkan ikon WhatsApp di dalam tombol */
    width: auto;
    /* Biarkan lebarnya otomatis sesuai ikon */
    height: auto;
    /* Biarkan tingginya otomatis sesuai ikon */
    font-size: 1.2em;
    /* Ukuran ikon WhatsApp yang pas */
    margin-right: 0;
    /* Hapus margin yang mungkin mengganggu */
    margin-bottom: 0;
    /* Hapus margin-bottom default dari icon styling global */
    background-color: transparent;
    /* Tidak perlu background warna di ikon dalam tombol */
    box-shadow: none;
    /* Tidak perlu shadow di ikon dalam tombol */
    color: var(--white);
    /* Pastikan warna ikon putih */
}

.btn:hover {
    background-color: var(--jas-red-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(196, 30, 58, 0.35);
}

.btn-primary .btn-icon {
    width: 20px;
    /* Ukuran ikon di tombol */
    height: 20px;
}

/* Tombol untuk Fase 2 (akan sedikit berbeda tampilannya) */
.fase2-btn {
    background-color: var(--dark-gray);
    color: var(--white);
    box-shadow: none;
    padding: 10px 20px;
    font-size: 0.9em;
}

.fase2-btn:hover {
    background-color: #555;
}


/* ============================================== */
/* HEADER & NAVIGATION                            */
/* ============================================== */
.main-header {
    background-color: rgba(255, 255, 255, 0.85);
    padding: 12px 20px;
    box-shadow: var(--shadow-lg);
    position: fixed;
    top: 16px;
    left: 20px;
    right: 20px;
    z-index: 1000;
    width: auto;
    border-radius: 16px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all var(--transition-normal);
}

.main-header:hover {
    box-shadow: var(--shadow-xl);
}

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

.main-header .logo img {
    height: 55px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.main-header .logo img:hover {
    transform: scale(1.02);
}

.main-nav ul {
    display: flex;
    gap: 30px;
}

.main-nav ul li a {
    color: var(--dark-gray);
    font-weight: bold;
    font-size: 0.95em;
    padding: 5px 0;
    position: relative;
}

.main-nav ul li a::after {
    /* Efek underline pada hover */
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--jas-red);
    left: 0;
    bottom: -5px;
    transition: width 0.3s ease;
}

.main-nav ul li a:hover::after,
.main-nav ul li a.active::after {
    /* 'active' class untuk scrollspy */
    width: 100%;
}

.main-nav ul li a.active {
    /* Warna teks untuk active link */
    color: var(--jas-red);
}

/* Hamburger Menu (Hidden by default on desktop) */
.hamburger-menu {
    display: none;
    /* Sembunyikan di desktop */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    /* Pastikan di atas nav saat mobile */
}

.hamburger-menu .bar {
    width: 100%;
    height: 3px;
    background-color: var(--dark-gray);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ============================================== */
/* HERO SECTION                                 */
/* ============================================== */
.hero-section {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.92), rgba(196, 30, 58, 0.88)),
        url('assets/images/hero-background.png') no-repeat center center/cover;
    color: var(--white);
    text-align: center;
    padding: 160px 0 120px 0;
    /* Top padding for floating nav */
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, var(--white), transparent);
}

/* Hapus atau komentari jika ada overlay sebelumnya */
/* &::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6); // Contoh overlay sebelumnya
    z-index: 1;
} */

.hero-content {
    position: relative;
    /* Agar konten hero di atas overlay jika ada */
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content .tagline {
    font-size: 1.3em;
    font-weight: bold;
    color: var(--white);
    margin-bottom: 10px;
}

.hero-content h1 {
    color: var(--white);
    font-size: 3.8em;
    /* Lebih besar untuk hero */
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-content .hero-description {
    font-size: 1.2em;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

/* ============================================== */
/* ABOUT SECTION                                */
/* ============================================== */
.about-content {
    display: flex;
    flex-wrap: wrap;
    /* Agar stack di mobile */
    gap: 40px;
    align-items: flex-start;
}

.vision-mission,
.value-propositions {
    flex: 1;
    min-width: 300px;
    /* Agar tidak terlalu kecil di layar sedang */
}

.vision-mission h3,
.value-propositions h3 {
    text-align: left;
    margin-top: 0;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 20px;
    text-align: left;
    padding: 20px;
    border-radius: 12px;
    background: var(--white);
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
    cursor: pointer;
}

.value-item:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
    border-color: var(--jas-red-light);
}

.value-item i[class*="icon-"] {
    flex-shrink: 0;
    /* Agar ikon tidak mengecil */
    margin-bottom: 0;
}

.value-item h4 {
    margin-bottom: 5px;
    font-size: 1.2em;
}

.value-item p {
    margin-bottom: 0;
}


/* ============================================== */
/* SERVICES SECTION                             */
/* ============================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--jas-red), var(--jas-red-dark));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.service-card i[class*="icon-"] {
    margin-bottom: 20px;
    font-size: 2em;
    /* Ikon lebih besar */
    width: 60px;
    height: 60px;
    line-height: 60px;
}

.service-card h3 {
    font-size: 1.5em;
}

/* ============================================== */
/* TRAININGS SECTION                            */
/* ============================================== */
.training-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.training-item {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    padding: 15px 20px;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
    color: var(--dark-gray);
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
    cursor: default;
}

.training-item:hover {
    background-color: var(--jas-red);
    color: var(--white);
    transform: translateY(-3px);
    /* Sedikit naik */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}


/* ============================================== */
/* WEBINAR SECTION                              */
/* ============================================== */
/* (Sudah ada di general styling untuk .text-center dan .section-description) */


/* ============================================== */
/* EVENT CALENDAR PREVIEW                       */
/* ============================================== */
.calendar-placeholder {
    background-color: var(--white);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    max-width: 700px;
    margin: 40px auto;
    text-align: center;
}

.month-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 1.5em;
    font-weight: bold;
    color: var(--dark-gray);
}

.nav-arrow {
    background: none;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
    color: var(--jas-red);
    transition: color 0.3s ease;
}

.nav-arrow:hover {
    color: var(--jas-red-dark);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    font-size: 0.95em;
}

.day-name {
    font-weight: bold;
    color: var(--jas-red);
    padding: 10px 5px;
    text-align: center;
}

.day {
    padding: 15px 5px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    min-height: 80px;
    /* Tinggi minimum sel hari */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 5px;
    overflow: hidden;
    position: relative;
    font-weight: bold;
}

.day small {
    font-size: 0.75em;
    font-weight: normal;
    color: #666;
    display: block;
    /* Agar event text di baris baru */
    text-align: center;
    max-height: 30px;
    /* Batasi tinggi agar tidak memanjang */
    overflow: hidden;
    text-overflow: ellipsis;
    /* Tambahkan ellipsis jika teks terlalu panjang */
    white-space: nowrap;
    /* Jangan wrap text */
}

.day.event {
    background-color: rgba(224, 32, 32, 0.1);
    /* Merah transparan untuk event */
    border-color: var(--jas-red);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.day.event:hover {
    background-color: rgba(224, 32, 32, 0.2);
}


/* ============================================== */
/* TESTIMONIALS SECTION                         */
/* ============================================== */
.testimonial-carousel {
    display: flex;
    /* Untuk menata item secara horizontal sebelum JS carousel */
    gap: 30px;
    padding-bottom: 20px;
    /* Agar tidak terpotong bayangan scrollbar */
}

.testimonial-item {
    flex: 0 0 450px;
    /* Ukuran item tetap */
    scroll-snap-align: start;
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    min-width: 300px;
    /* Min width untuk responsif */
}

.testimonial-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 3px solid var(--jas-red);
}

.quote {
    font-style: italic;
    font-size: 1.1em;
    margin-bottom: 15px;
    color: #555;
}

.client-info {
    font-weight: bold;
    color: var(--dark-gray);
    font-size: 0.95em;
}

/* ============================================== */
/* TEAM SECTION                                 */
/* ============================================== */
.team-carousel {
    display: flex;
    /* Untuk menata item secara horizontal sebelum JS carousel */
    gap: 30px;
    padding-bottom: 20px;
}

.team-member {
    flex: 0 0 300px;
    /* Ukuran item tetap */
    scroll-snap-align: start;
    background-color: var(--white);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    min-width: 250px;
    /* Min width untuk responsif */
}

.member-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 4px solid var(--dark-gray);
}

.team-member h3 {
    margin-bottom: 5px;
    font-size: 1.4em;
}

.member-title {
    font-weight: bold;
    color: var(--jas-red);
    margin-bottom: 10px;
}

.member-experience {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 15px;
}

.social-links a {
    display: inline-block;
    margin: 0 5px;
}

.social-links a i[class*="icon-"] {
    width: 35px;
    height: 35px;
    line-height: 35px;
    font-size: 1.2em;
    background-color: var(--dark-gray);
    /* Icon media sosial pakai dark gray */
    color: var(--white);
    box-shadow: none;
    transition: background-color 0.3s ease;
}

.social-links a i[class*="icon-"]:hover {
    background-color: var(--jas-red);
    /* Hover jadi merah JAS */
}

i.icon-linkedin::before {
    content: 'in';
}


/* ============================================== */
/* GALLERY SECTION                              */
/* ============================================== */
.image-slider {
    position: relative;
    width: 100%;
    max-width: 900px;
    /* Max width for slider */
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.slide img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.slide .caption {
    background-color: rgba(0, 0, 0, 0.7);
    color: var(--white);
    padding: 10px 20px;
    text-align: center;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    font-size: 0.9em;
}

/* ============================================== */
/* FAQ SECTION                                  */
/* ============================================== */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.accordion-header {
    background-color: var(--white);
    color: var(--dark-gray);
    padding: 20px 25px;
    width: 100%;
    text-align: left;
    border: none;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.accordion-header::after {
    content: '+';
    font-size: 1.5em;
    font-weight: bold;
    color: var(--jas-red);
    transition: transform 0.3s ease;
}

.accordion-header.active {
    background-color: var(--light-gray);
}

.accordion-header.active::after {
    content: '-';
    transform: rotate(180deg);
}

.accordion-content {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    background-color: var(--light-gray);
}

.accordion-content p {
    padding: 20px 0;
    /* Padding vertikal di dalam konten */
    margin-bottom: 0;
}

/* ============================================== */
/* CLIENTS SECTION                              */
/* ============================================== */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 30px;
    align-items: center;
    justify-items: center;
    margin-top: 40px;
}

.clients-grid img {
    max-width: 150px;
    height: auto;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.clients-grid img:hover {
    opacity: 1;
    transform: scale(1.05);
    /* Sedikit membesar */
}


/* ============================================== */
/* ADVANTAGES SECTION                           */
/* ============================================== */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.advantage-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.advantage-item i[class*="icon-"] {
    font-size: 1.8em;
    width: 50px;
    height: 50px;
    line-height: 50px;
    margin-bottom: 15px;
}

.advantage-item h3 {
    font-size: 1.4em;
    margin-bottom: 10px;
}


/* ============================================== */
/* STATS SECTION (Opsional)                     */
/* ============================================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
    margin-top: 40px;
}

.stat-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.stat-item i[class*="icon-"] {
    font-size: 2em;
    width: 60px;
    height: 60px;
    line-height: 60px;
    margin-bottom: 15px;
    background-color: var(--dark-gray);
    /* Ikon statistik bisa beda warna */
}

.stat-item .stat-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 3em;
    font-weight: 800;
    color: var(--jas-red);
    display: block;
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 1.1em;
    font-weight: bold;
    margin-bottom: 0;
}


/* ============================================== */
/* CONTACT SECTION                              */
/* ============================================== */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.contact-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.contact-item i[class*="icon-"] {
    font-size: 2em;
    width: 60px;
    height: 60px;
    line-height: 60px;
    margin-bottom: 15px;
}

.contact-item h3 {
    font-size: 1.4em;
    margin-bottom: 10px;
}

.social-media-links {
    margin-top: 50px;
    text-align: center;
}

.social-media-links a {
    display: inline-block;
    margin: 0 10px;
}

.social-media-links a i[class*="icon-"] {
    width: 45px;
    height: 45px;
    line-height: 45px;
    font-size: 1.5em;
    background-color: var(--dark-gray);
    color: var(--white);
    box-shadow: none;
    transition: background-color 0.3s ease;
}

.social-media-links a i[class*="icon-"]:hover {
    background-color: var(--jas-red);
}


/* ============================================== */
/* FOOTER                                       */
/* ============================================== */
.main-footer {
    background-color: var(--dark-gray);
    color: var(--white);
    padding: 60px 0 20px 0;
    /* Padding atas lebih besar untuk tampilan yang lebih kaya */
    font-size: 0.9em;
}

.main-footer .container {
    display: block;
    /* Ganti dari 'flex' ke 'block' agar 'footer-grid' bekerja */
    text-align: left;
    /* Default text align untuk kolom */
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    /* Kolom otomatis, min 250px */
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col {
    padding: 0 10px;
    /* Sedikit padding untuk kolom */
}

.footer-col h3 {
    color: var(--white);
    font-size: 1.2em;
    margin-bottom: 20px;
    text-align: left;
    /* Pastikan judul rata kiri */
}

.footer-col h3::after {
    /* Hapus garis bawah H2 yang mungkin terbawa */
    display: none;
}

.footer-logo {
    max-height: 60px;
    margin-bottom: 15px;
    display: block;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.footer-social-links .fab {
    /* Penyesuaian ikon medsos di footer */
    background-color: rgba(255, 255, 255, 0.1);
    /* Background transparan */
    color: var(--white);
    margin: 0 5px;
    box-shadow: none;
    /* Tambahan untuk mencegah perubahan ukuran saat hover karena global icon styling */
    width: 35px;
    height: 35px;
    line-height: 35px;
    font-size: 1.2em;
}

.footer-social-links .fab:hover {
    background-color: var(--jas-red);
    transform: none;
    /* Hapus efek translateY dari global */
}

.contact-info-footer p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    /* Align text to top if icon is taller */
    gap: 10px;
    padding: 0;
    /* Hapus padding yang mungkin ada dari p global */
}

.contact-info-footer p .fas,
.contact-info-footer p .fab {
    /* Ikon di info kontak footer */
    font-size: 1em;
    width: 20px;
    /* Ukuran ikon kecil */
    height: 20px;
    line-height: 20px;
    background-color: transparent;
    box-shadow: none;
    color: var(--jas-red);
    /* Warna ikon kontak */
    margin-bottom: 0;
    flex-shrink: 0;
    /* Jangan biarkan ikon mengecil */
}

.contact-info-footer p a {
    color: rgba(255, 255, 255, 0.7);
}

.contact-info-footer p a:hover {
    color: var(--white);
}

.useful-links ul {
    list-style: none;
}

.useful-links ul li {
    margin-bottom: 8px;
    padding-left: 0;
    /* Hapus padding custom bullet */
}

.useful-links ul li::before {
    /* Hapus custom bullet */
    display: none;
}

.useful-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    font-weight: normal;
    transition: color 0.3s ease;
}

.useful-links ul li a:hover {
    color: var(--white);
}

.map-embed iframe {
    width: 100%;
    height: 180px;
    border: 0;
    border-radius: 8px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    text-align: center;
}

.footer-bottom p {
    flex-basis: 100%;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom .footer-links {
    flex-basis: 100%;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

@media (min-width: 768px) {
    .footer-bottom p {
        flex-basis: auto;
        margin-bottom: 0;
    }

    .footer-bottom .footer-links {
        flex-basis: auto;
        justify-content: flex-end;
    }
}

/* Penyesuaian responsive untuk footer */
@media (max-width: 767px) {
    .footer-col {
        text-align: center;
        margin-bottom: 30px;
    }

    .footer-col h3 {
        text-align: center;
    }

    .footer-logo {
        margin-left: auto;
        margin-right: auto;
    }

    .contact-info-footer p {
        justify-content: center;
    }
}


/* ============================================== */
/* RESPONSIVE DESIGN (Mobile-First)             */
/* ============================================== */

/* Medium devices (tablets, 768px and up) */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5em;
    }

    h2 {
        font-size: 2em;
    }

    .main-nav {
        display: none;
        /* Sembunyikan nav di mobile secara default */
        flex-direction: column;
        width: calc(100% - 40px);
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        position: fixed;
        top: 90px;
        /* Position below floating header */
        left: 20px;
        right: 20px;
        border-radius: 12px;
        box-shadow: var(--shadow-lg);
        padding: 20px 0;
        z-index: 999;
    }

    .main-nav.active {
        /* Class untuk menampilkan nav saat hamburger diklik */
        display: flex;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 10px;
        align-items: center;
        /* Posisikan item di tengah */
    }

    .main-nav ul li a {
        padding: 10px 20px;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid var(--light-gray);
    }

    .main-nav ul li:last-child a {
        border-bottom: none;
    }

    .main-nav ul li a::after {
        display: none;
        /* Nonaktifkan underline di mobile menu */
    }

    .hamburger-menu {
        display: flex;
        /* Tampilkan hamburger di mobile */
    }

    .hamburger-menu.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger-menu.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger-menu.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-section {
        padding: 100px 0;
        min-height: 500px;
    }

    .hero-content h1 {
        font-size: 2.8em;
    }

    .hero-content .hero-description {
        font-size: 1em;
    }

    .about-content {
        flex-direction: column;
        /* Stack vertikal */
        gap: 30px;
    }

    .vision-mission h3,
    .value-propositions h3 {
        text-align: center;
        /* Sesuaikan text align untuk mobile */
    }

    .value-item {
        flex-direction: column;
        /* Ikon di atas teks */
        text-align: center;
        gap: 10px;
    }

    .value-item i[class*="icon-"] {
        margin-bottom: 5px;
    }

    .services-grid,
    .training-grid,
    .clients-grid,
    .advantages-grid,
    .stats-grid,
    .contact-info-grid {
        grid-template-columns: 1fr;
        /* Satu kolom untuk mobile */
    }

    .testimonial-item,
    .team-member {
        flex: 0 0 90%;
        /* Ambil sebagian besar lebar di mobile carousel */
        min-width: 280px;
        /* Pastikan tidak terlalu kecil */
    }

    .testimonial-carousel,
    .team-carousel {
        justify-content: flex-start;
        /* Geser ke kiri untuk tampilan awal */
    }

    .main-footer .container {
        flex-direction: column;
        gap: 15px;
    }

    .main-footer .footer-links {
        flex-direction: column;
        gap: 10px;
    }
}

/* Small devices (phones, max 576px) */
@media (max-width: 576px) {
    h1 {
        font-size: 2em;
    }

    h2 {
        font-size: 1.8em;
    }

    .hero-content h1 {
        font-size: 2.2em;
    }

    .btn {
        padding: 12px 20px;
        font-size: 1em;
    }

    .section-padding {
        padding: 60px 0;
    }

    .color-palette .color-box {
        width: 100px;
        height: 100px;
        font-size: 0.8em;
    }

    .calendar-grid .day {
        min-height: 60px;
        padding: 10px 2px;
        font-size: 0.85em;
    }

    .calendar-grid .day small {
        font-size: 0.7em;
    }
}

/* ============================================== */
/* UTILITY CLASSES (Jika diperlukan di masa depan) */
/* ============================================== */
/* .hidden { display: none; } */
/* .visible { display: block; } */

/* ============================================== */
/* ICONS */
/* ============================================== */


/* Tambahkan ini di bagian mana saja di style.css, misalnya di bawah 'BUTTONS' atau buat section baru 'ICONS' */

/* General Font Awesome Icon Styling */
.fas,
.fab {
    display: inline-block;
    /* Pastikan ikon tetap sebagai blok inline */
    width: 40px;
    /* Ukuran default untuk ikon bulat */
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    background-color: var(--jas-red);
    color: var(--white);
    font-size: 1.5em;
    /* Ukuran ikon di dalamnya */
    margin-bottom: 15px;
    /* Margin bawah default */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, transform 0.2s ease;
}

/* Penyesuaian untuk ikon di dalam Value Item */
.value-item .fas,
.value-item .fab {
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 1.8em;
    margin-bottom: 0;
    /* Tidak perlu margin-bottom di sini */
    background-color: var(--jas-red);
    /* Warna default merah JAS */
    color: var(--white);
    box-shadow: none;
    /* Tanpa shadow untuk ikon ini */
    flex-shrink: 0;
    /* Mencegah ikon menjadi gepeng (oval) */
}

/* Penyesuaian warna ikon spesifik (contoh) */
.value-item .fa-user-tie {
    background-color: #388E3C;
}

/* Hijau untuk ahli */
.value-item .fa-lightbulb {
    background-color: #FFA000;
}

/* Oranye untuk inovasi */
.value-item .fa-cogs {
    background-color: #1976D2;
}

/* Biru untuk fleksibel */

/* Penyesuaian untuk ikon di Service Card */
.service-card .fas,
.service-card .fab {
    width: 60px;
    height: 60px;
    line-height: 60px;
    font-size: 2em;
    margin-bottom: 20px;
    background-color: var(--jas-red);
    color: var(--white);
}

/* Penyesuaian untuk ikon di Team Member Social Links */
.team-member .social-links .fab {
    width: 35px;
    height: 35px;
    line-height: 35px;
    font-size: 1.2em;
    background-color: var(--dark-gray);
    /* Ikon media sosial di profil tim pakai dark gray */
    color: var(--white);
    box-shadow: none;
    margin-bottom: 0;
}

.team-member .social-links .fab:hover {
    background-color: var(--jas-red);
    /* Hover jadi merah JAS */
    transform: translateY(-2px);
}

/* Penyesuaian untuk ikon di Advantage Item */
.advantage-item .fas,
.advantage-item .fab {
    font-size: 1.8em;
    width: 50px;
    height: 50px;
    line-height: 50px;
    margin-bottom: 15px;
    background-color: var(--jas-red);
}

/* Penyesuaian untuk ikon di Stat Item */
.stat-item .fas,
.stat-item .fab {
    font-size: 2em;
    width: 60px;
    height: 60px;
    line-height: 60px;
    margin-bottom: 15px;
    background-color: var(--dark-gray);
    /* Ikon statistik bisa beda warna */
}

/* Penyesuaian untuk ikon di Contact Item */
.contact-item .fas,
.contact-item .fab {
    font-size: 2em;
    width: 60px;
    height: 60px;
    line-height: 60px;
    margin-bottom: 15px;
}

/* Penyesuaian untuk ikon Social Media Links di footer/contact */
.social-media-links .fab {
    width: 45px;
    height: 45px;
    line-height: 45px;
    font-size: 1.5em;
    background-color: var(--dark-gray);
    color: var(--white);
    box-shadow: none;
    margin-bottom: 0;
}

.social-media-links .fab:hover {
    background-color: var(--jas-red);
}


/* Styling untuk pagination dots */
.swiper-pagination-bullet {
    background-color: #ccc !important;
    /* Warna dot non-aktif */
    opacity: 0.8;
}

.swiper-pagination-bullet-active {
    background-color: var(--jas-red) !important;
    /* Warna dot aktif */
}


/* ============================================== */
/* SWIPER.JS CUSTOM STYLES                      */
/* ============================================== */

/* Pastikan Swiper container memiliki dimensi */
.swiper {
    width: 100%;
    height: 100%;
    /* Atau tinggi yang Anda inginkan */
    position: relative;
    /* PENTING: Agar tombol navigasi absolut berada di dalam Swiper container */
    /* overflow: hidden;  --> Hapus atau komentari ini. Ini bisa menyembunyikan panah jika di luar wrapper */
}

/* Sesuaikan tampilan untuk Testimonial Item */
/* ... (konten CSS testimonial-item yang sudah ada) ... */

/* Tombol Navigasi Swiper (Panah) */
.swiper-button-next,
.swiper-button-prev {
    position: absolute;
    /* Kunci untuk posisi tetap */
    top: 50%;
    /* Posisikan vertikal di tengah */
    transform: translateY(-50%);
    /* Penyesuaian agar benar-benar di tengah */
    z-index: 10;
    /* Pastikan di atas konten slide */
    width: 40px;
    /* Ukuran tombol */
    height: 40px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--jas-red) !important;
    /* Warna ikon panah */
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.swiper-button-prev {
    left: 10px;
    /* Jarak dari tepi kiri container Swiper */
}

.swiper-button-next {
    right: 10px;
    /* Jarak dari tepi kanan container Swiper */
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: var(--white);
    /* Sedikit efek hover */
    transform: translateY(-50%) scale(1.05);
    /* Sedikit membesar saat hover */
}

/* Ukuran ikon di dalam tombol navigasi Swiper */
.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 1.2em !important;
    /* Ukuran ikon panah */
}

/* Sembunyikan navigasi di mobile jika diinginkan untuk menghemat ruang */
@media (max-width: 768px) {

    .swiper-button-next,
    .swiper-button-prev {
        display: none !important;
    }
}

/* Styling untuk pagination dots */
.swiper-pagination-bullet {
    background-color: #ccc !important;
    /* Warna dot non-aktif */
    opacity: 0.8;
}

.swiper-pagination-bullet-active {
    background-color: var(--jas-red) !important;
    /* Warna dot aktif */
}

/* Penyesuaian khusus untuk galeri agar caption tetap di bawah */
.image-slider .swiper-slide {
    position: relative;
    display: flex;
    /* Menggunakan flexbox untuk menata gambar dan caption */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    /* Pastikan gambar tidak keluar dari slide */
}

.image-slider .slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}

.image-slider .slide .caption {
    background-color: rgba(0, 0, 0, 0.7);
    color: var(--white);
    padding: 10px 20px;
    text-align: center;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    font-size: 0.9em;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}


/* ============================================== */
/* EVENT CALENDAR SPECIFIC STYLES               */
/* ============================================== */
.calendar-placeholder {
    background-color: var(--white);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    max-width: 700px;
    margin: 40px auto;
    text-align: center;
}

.month-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 1.5em;
    font-weight: bold;
    color: var(--dark-gray);
}

.month-navigation button {
    /* Tombol navigasi bulan */
    background: none;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
    color: var(--jas-red);
    transition: color 0.3s ease;
    padding: 5px 10px;
}

.month-navigation button:hover {
    color: var(--jas-red-dark);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    font-size: 0.95em;
    text-align: center;
}

.day-name {
    font-weight: bold;
    color: var(--jas-red);
    padding: 10px 5px;
    text-align: center;
    background-color: var(--light-gray);
    /* Latar belakang untuk nama hari */
    border-radius: 5px;
}

.day {
    padding: 15px 5px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    min-height: 80px;
    /* Tinggi minimum sel hari */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 5px;
    overflow: hidden;
    position: relative;
    font-weight: bold;
    background-color: var(--white);
    cursor: default;
    transition: background-color 0.2s ease;
}

.day.empty {
    /* Untuk sel kosong sebelum tanggal 1 */
    background-color: #f0f0f0;
    border-color: #ddd;
    visibility: hidden;
    /* Sembunyikan tetapi tetap mengambil ruang */
}

.day.event {
    background-color: rgba(224, 32, 32, 0.1);
    /* Merah transparan untuk event */
    border-color: var(--jas-red);
    cursor: pointer;
}

.day.event:hover {
    background-color: rgba(224, 32, 32, 0.2);
}

.day.current-day {
    background-color: var(--jas-red) !important;
    color: var(--white);
    border-color: var(--jas-red);
}

.day.current-day .event-item {
    /* Teks event di current day tetap putih */
    color: var(--white);
}

.event-list {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 5px;
}

.event-item {
    font-size: 0.75em;
    font-weight: normal;
    color: #666;
    display: block;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 2px 0;
    margin-top: 2px;
    background-color: rgba(255, 255, 255, 0.7);
    /* Background untuk teks event */
    border-radius: 3px;
    transition: background-color 0.2s ease;
    /* Tambahan/Koreksi untuk span */
    cursor: default;
    /* Agar tidak terlihat seperti link jika bukan link */
    text-decoration: none;
    /* Pastikan tidak ada underline */
}

.event-item:hover {
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--dark-gray);
}

/* ============================================== */
/* HIDE SCROLLBARS FOR CAROUSELS                */
/* ============================================== */

/* Untuk Webkit browsers (Chrome, Safari) */
.testimonial-carousel::-webkit-scrollbar,
.team-carousel::-webkit-scrollbar,
.image-slider::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

/* Untuk Firefox */
.testimonial-carousel,
.team-carousel,
.image-slider {
    scrollbar-width: none;
    /* Firefox */
}

/* ============================================== */
/* SCROLL ANIMATION                             */
/* ============================================== */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.aos-animate {
    /* Kelas yang ditambahkan JS saat elemen terlihat */
    opacity: 1;
    transform: translateY(0);
}

/* Anda bisa membuat variasi delay jika ingin */
/* .fade-in-up.delay-1 { transition-delay: 0.1s; } */
/* .fade-in-up.delay-2 { transition-delay: 0.2s; } */

/* ============================================== */
/* BLOG STYLES                                  */
/* ============================================== */
.blog-hero {
    background-color: var(--jas-red);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.blog-hero h1 {
    color: var(--white);
    font-size: 3em;
    margin-bottom: 15px;
}

.blog-hero h1::after {
    /* Hapus garis bawah untuk h1 di blog hero */
    display: none;
}

.blog-posts-section {
    padding: 60px 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.blog-card {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.blog-thumbnail {
    width: 100%;
    height: 200px;
    /* Tinggi tetap untuk thumbnail */
    object-fit: cover;
    /* Pastikan gambar mengisi area tanpa distorsi */
    display: block;
}

.blog-card-content {
    padding: 25px;
}

.blog-category {
    display: inline-block;
    background-color: var(--jas-red);
    color: var(--white);
    font-size: 0.8em;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 5px;
    margin-bottom: 15px;
}

.blog-card h3 {
    font-size: 1.4em;
    margin-bottom: 10px;
    line-height: 1.4;
    text-align: left;
    /* Pastikan judul artikel rata kiri */
}

.blog-card h3 a {
    color: var(--dark-gray);
    transition: color 0.3s ease;
}

.blog-card h3 a:hover {
    color: var(--jas-red);
}

.blog-excerpt {
    font-size: 0.95em;
    color: #666;
    margin-bottom: 20px;
    text-align: left;
}

.blog-meta {
    font-size: 0.85em;
    color: #999;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-meta .fas {
    /* Ikon di meta data */
    font-size: 1em;
    width: auto;
    height: auto;
    line-height: normal;
    background-color: transparent;
    box-shadow: none;
    color: #999;
    margin-bottom: 0;
}

/* --- Article Detail Page Styles --- */
.breadcrumbs-section {
    background-color: var(--light-gray);
    padding: 20px 0;
    font-size: 0.9em;
    color: #555;
}

.breadcrumbs-section a {
    color: #555;
    text-decoration: none;
}

.breadcrumbs-section a:hover {
    color: var(--jas-red);
}

.article-detail-section {
    padding: 60px 0;
}

.article-header {
    text-align: center;
    margin-bottom: 50px;
}

.article-featured-image {
    width: 100%;
    max-width: 900px;
    /* Lebar maksimal gambar */
    height: auto;
    border-radius: 8px;
    margin-bottom: 30px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.article-category {
    display: inline-block;
    background-color: var(--jas-red);
    color: var(--white);
    font-size: 0.9em;
    font-weight: bold;
    padding: 8px 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.article-header h1 {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: var(--dark-gray);
}

.article-header h1::after {
    /* Hapus garis bawah H2 */
    display: none;
}

.article-meta {
    font-size: 0.9em;
    color: #999;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.article-meta .fas {
    /* Ikon di meta data */
    font-size: 1em;
    width: auto;
    height: auto;
    line-height: normal;
    background-color: transparent;
    box-shadow: none;
    color: #999;
    margin-bottom: 0;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    margin-top: 30px;
}

.article-content h2 {
    font-size: 2em;
    margin-top: 40px;
    margin-bottom: 20px;
    text-align: left;
    /* Judul H2 di konten artikel rata kiri */
}

.article-content h2::after {
    /* Hapus garis bawah H2 */
    display: none;
}

.article-content p {
    font-size: 1.05em;
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: justify;
    /* Teks paragraf justifikasi */
}

/* Tambahan styling untuk list di article content */
.article-content ul,
.article-content ol {
    margin-bottom: 20px;
    padding-left: 20px;
    list-style: disc;
    /* Bullet point default */
    color: var(--text-color-primary);
}

.article-content ul li,
.article-content ol li {
    margin-bottom: 8px;
    padding-left: 0;
}

.article-content ul li::before {
    display: none;
    /* Hapus custom bullet dari global style */
}

.article-footer {
    text-align: center;
    margin-top: 50px;
}

/* ============================================== */
/* RESPONSIVE DESIGN FOR BLOG                   */
/* ============================================== */
@media (max-width: 768px) {
    .blog-hero h1 {
        font-size: 2.5em;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-card-content {
        padding: 20px;
    }

    .blog-card h3 {
        font-size: 1.2em;
    }

    .blog-excerpt {
        font-size: 0.9em;
    }

    .article-header h1 {
        font-size: 2.2em;
    }

    .article-content h2 {
        font-size: 1.6em;
    }

    .article-content p {
        font-size: 1em;
    }
}

@media (max-width: 576px) {
    .blog-hero h1 {
        font-size: 2em;
    }

    .blog-card-content {
        padding: 15px;
    }

    .article-featured-image {
        border-radius: 0;
        /* Full width on tiny screens */
    }
}

/* ============================================== */
/* MODAL / POP-UP STYLES                        */
/* ============================================== */
.modal {
    display: none;
    /* KRUSIAL: Sembunyikan modal secara default */
    position: fixed;
    /* Tetap di viewport saat scrolling */
    z-index: 2000;
    /* Pastikan di atas semua elemen lain */
    left: 0;
    top: 0;
    width: 100%;
    /* Lebar penuh */
    height: 100%;
    /* Tinggi penuh */
    overflow: auto;
    /* Aktifkan scroll jika konten terlalu panjang */
    background-color: rgba(0, 0, 0, 0.7);
    /* Background overlay gelap */
    /* display: flex; /* Hapus atau komentari ini dari sini, karena ini hanya aktif saat modal.active */
    align-items: center;
    /* Pusatkan vertikal */
    justify-content: center;
    /* Pusatkan horizontal */
    opacity: 0;
    /* Mulai dengan transparan */
    transition: opacity 0.3s ease;
    /* Transisi saat muncul */
}

.modal.active {
    /* Kelas ini yang akan membuat modal terlihat */
    display: flex;
    /* Ketika active, baru tampilkan sebagai flex */
    opacity: 1;
    /* Tampilkan modal */
}

.modal-content {
    background-color: var(--white);
    margin: auto;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    /* Lebar maksimal modal */
    width: 90%;
    /* Ambil 90% lebar di mobile */
    position: relative;
    transform: translateY(-20px);
    /* Efek sedikit slide-up saat muncul */
    transition: transform 0.3s ease;
}

.modal.active .modal-content {
    transform: translateY(0);
    /* Kembali ke posisi normal */
}

.close-button {
    color: var(--dark-gray);
    font-size: 2em;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 20px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-button:hover,
.close-button:focus {
    color: var(--jas-red);
    text-decoration: none;
}

.modal-content h3 {
    color: var(--jas-red);
    font-size: 1.8em;
    margin-bottom: 15px;
    text-align: center;
}

.modal-content h3::after {
    display: none;
    /* Hapus garis bawah h2 default */
}

.modal-content p {
    font-size: 1em;
    color: var(--text-color-primary);
    margin-bottom: 10px;
    text-align: left;
}

.modal-events-list {
    margin-top: 20px;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    max-height: 300px;
    /* Batasi tinggi list event jika terlalu banyak */
    overflow-y: auto;
    /* Aktifkan scroll jika melebihi max-height */
}

.modal-event-item {
    background-color: var(--light-gray);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    text-align: left;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.modal-event-item h4.event-item-title {
    font-size: 1.2em;
    color: var(--dark-gray);
    margin-bottom: 5px;
    text-align: left;
    /* Pastikan judul event di modal rata kiri */
}

.modal-event-item h4.event-item-title::after {
    /* Hapus garis bawah */
    display: none;
}

.modal-event-item .event-item-description {
    font-size: 0.9em;
    color: #555;
    margin-bottom: 10px;
    text-align: left;
}

.btn-modal-item {
    /* Tombol detail per event */
    display: inline-block;
    /* Agar tombol berada di samping teks */
    width: fit-content;
    padding: 8px 15px;
    font-size: 0.9em;
    margin-top: 0;
    margin-left: 0;
    text-align: left;
}

/* Pastikan tombol global btn-modal tidak terpengaruh oleh btn-modal-item */
.btn-modal {
    /* ini adalah styling untuk tombol Daftar/Detail Event yang DULU */
    display: block;
    width: fit-content;
    margin: 20px auto 0 auto;
    text-align: center;
}

/* Responsive untuk modal */
@media (max-width: 576px) {
    .modal-content {
        width: 95%;
        padding: 20px;
    }

    .modal-content h3 {
        font-size: 1.5em;
    }

    .modal-events-list {
        max-height: 200px;
        /* Lebih kecil di mobile */
    }
}

/* ============================================== */
/* SCROLL ANIMATIONS                             */
/* ============================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Animation classes - applied via JS on scroll */
.animate-on-scroll {
    opacity: 0;
}

.animate-on-scroll.animated {
    animation-duration: 0.6s;
    animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    animation-fill-mode: forwards;
}

.animate-on-scroll.animated.fade-up {
    animation-name: fadeInUp;
}

.animate-on-scroll.animated.fade-left {
    animation-name: fadeInLeft;
}

.animate-on-scroll.animated.fade-right {
    animation-name: fadeInRight;
}

.animate-on-scroll.animated.scale-in {
    animation-name: scaleIn;
}

/* Stagger delays for lists */
.stagger-1 {
    animation-delay: 0.1s;
}

.stagger-2 {
    animation-delay: 0.2s;
}

.stagger-3 {
    animation-delay: 0.3s;
}

.stagger-4 {
    animation-delay: 0.4s;
}

.stagger-5 {
    animation-delay: 0.5s;
}

.stagger-6 {
    animation-delay: 0.6s;
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .animate-on-scroll {
        opacity: 1;
        animation: none !important;
    }
}