/* ===== NAVBAR FIXED DENGAN INDIKATOR AKTIF STABIL ===== */

/* Reset dan gaya dasar */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: 70px; /* Tambahkan padding untuk mengkompensasi navbar fixed */
}

/* Header dan Navigasi - FIXED POSITIONING */
header {
    background: linear-gradient(135deg, #2c5e2e 0%, #1e3e20 100%);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: 70px;
}

.topnav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    position: relative; /* Untuk posisi indikator aktif */
}

.logo {
    display: flex;
    align-items: center;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    height: 100%;
    padding: 0 10px;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.nav-links {
    display: flex;
    list-style: none;
    height: 100%;
    position: relative; /* Untuk posisi indikator aktif */
    margin: 0;
    padding: 0;
}

.nav-links a {
    display: flex;
    align-items: center;
    color: #f2f2f2;
    text-align: center;
    padding: 0 16px;
    text-decoration: none;
    font-size: 17px;
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
    white-space: nowrap;
}

.nav-links a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-links a.active {
    background-color: rgba(255, 255, 255, 0.15);
    font-weight: bold;
}

/* Indikator aktif dengan posisi absolut - PERBAIKAN UTAMA */
.nav-indicator {
    position: absolute;
    bottom: 0;
    height: 3px;
    background-color: #ffd700;
    transition: all 0.3s ease;
    z-index: 10;
}

/* Hapus pseudo-element after yang lama */
.nav-links a.active::after {
    display: none;
}

.nav-links a i {
    margin-right: 8px;
}

.icon {
    display: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 10px;
}

/* ===== HERO SECTION ===== */
.hero-section {
    background: linear-gradient(135deg, rgba(44, 94, 46, 0.9) 0%, rgba(30, 62, 32, 0.9) 100%),
                url('../images/hero-bg.jpg') center/cover;
    color: white;
    padding: 100px 0;
    text-align: center;
    margin-bottom: 40px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #2c5e2e;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Konten Utama */
.main-content {
    flex: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
    width: 100%;
    position: relative;
    z-index: 1;
}

.page-title {
    color: #2c5e2e;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eaeaea;
    display: flex;
    align-items: center;
}

.page-title i {
    margin-right: 10px;
    color: #2c5e2e;
}

/* ===== FEATURES GRID ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.feature-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    border-top: 4px solid #2c5e2e;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #2c5e2e, #3a7d3c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 1.8rem;
}

.feature-card h3 {
    color: #2c5e2e;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.feature-card p {
    line-height: 1.6;
}

/* ===== CONTENT SECTIONS ===== */
.content-section {
    background-color: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    border-left: 4px solid #2c5e2e;
}

.content-section h2 {
    color: #2c5e2e;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.content-section h2 i {
    margin-right: 10px;
    color: #2c5e2e;
}

.content-section p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.content-section ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.content-section li {
    margin-bottom: 8px;
}

/* ===== STATS SECTION ===== */
.stats-section {
    background: linear-gradient(135deg, #2c5e2e 0%, #1e3e20 100%);
    color: white;
    padding: 60px 0;
    margin: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #ffd700;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* ===== TESTIMONIALS ===== */
.testimonials-section {
    background: #f8f9fa;
    padding: 60px 0;
    margin: 60px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    position: relative;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #2c5e2e;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.author-info h4 {
    color: #2c5e2e;
    margin-bottom: 5px;
}

.author-info p {
    font-size: 0.9rem;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.content-card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    border-top: 3px solid #2c5e2e;
}

.content-card:hover {
    transform: translateY(-5px);
}

.content-card h3 {
    color: #2c5e2e;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.content-card h3 i {
    margin-right: 8px;
}

/* Tombol Back to Top - RESPONSIVE */
.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: linear-gradient(135deg, #2c5e2e 0%, #1e3e20 100%);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 999;
    border: 2px solid white;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
    background: linear-gradient(135deg, #1e3e20 0%, #2c5e2e 100%);
}

/* Footer */
footer {
    background: linear-gradient(135deg, #1e3e20 0%, #152a16 100%);
    color: #f2f2f2;
    padding: 40px 0 20px;
    margin-top: auto;
    position: relative;
    z-index: 1;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.footer-section h3 {
    color: #ffd700;
    margin-bottom: 20px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
}

.footer-section h3 i {
    margin-right: 10px;
}

.footer-section p, .footer-section a {
    color: #ddd;
    margin-bottom: 10px;
    display: block;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #ffd700;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s;
}

.social-links a:hover {
    background-color: #2c5e2e;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet */
@media screen and (max-width: 768px) {
    body {
        padding-top: 60px;
    }
    
    header {
        height: 60px;
    }
    
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: #1e3e20;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        height: auto;
    }
    
    .nav-links.responsive {
        display: flex;
    }
    
    .nav-links a {
        padding: 15px;
        text-align: left;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        height: auto;
    }
    
    /* Sembunyikan indikator di mobile */
    .nav-indicator {
        display: none;
    }
    
    .icon {
        display: block;
    }
    
    .hero-section {
        padding: 80px 0;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .content-grid,
    .features-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    /* Responsif Back to Top untuk Mobile */
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .main-content {
        padding: 20px 15px;
    }
    
    .content-section {
        padding: 20px;
    }
    
    .feature-card {
        padding: 20px;
    }
}

/* Mobile */
@media screen and (max-width: 480px) {
    /* Responsif Back to Top untuk Mobile Portrait Kecil */
    .back-to-top {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .logo {
        font-size: 1.3rem;
    }
    
    .logo img {
        height: 35px;
    }
    
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
    
    .content-section {
        padding: 15px;
    }
    
    .feature-card {
        padding: 15px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile Landscape */
@media screen and (max-width: 768px) and (orientation: landscape) {
    .nav-links {
        max-height: 60vh;
        overflow-y: auto;
    }
}

/* Mobile Very Small */
@media screen and (max-width: 320px) {
    .topnav {
        padding: 0 10px;
    }
    
    .logo {
        font-size: 1.1rem;
    }
    
    .logo img {
        height: 30px;
    }
    
    .hero-title {
        font-size: 1.6rem;
    }
    
    .back-to-top {
        bottom: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .main-content {
        padding: 15px 10px;
    }
}

@media screen and (max-height: 500px) and (orientation: landscape) {
    /* Responsif Back to Top untuk Landscape dengan tinggi kecil */
    .back-to-top {
        bottom: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

/* High DPI/Retina Display Optimization */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .nav-indicator {
        height: 2.5px;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .back-to-top:hover {
        transform: none;
    }
    
    .content-card:hover,
    .feature-card:hover {
        transform: none;
    }
    
    .nav-links a:hover {
        background-color: transparent;
    }
    
    .nav-links a.active {
        background-color: rgba(255, 255, 255, 0.15);
    }
}

/* Safe area untuk iPhone dengan notch */
@supports (padding: max(0px)) {
    .back-to-top {
        bottom: max(25px, env(safe-area-inset-bottom));
        right: max(25px, env(safe-area-inset-right));
    }
    
    @media screen and (max-width: 768px) {
        .back-to-top {
            bottom: max(20px, env(safe-area-inset-bottom));
            right: max(20px, env(safe-area-inset-right));
        }
    }
    
    @media screen and (max-width: 480px) {
        .back-to-top {
            bottom: max(15px, env(safe-area-inset-bottom));
            right: max(15px, env(safe-area-inset-right));
        }
    }
}

/* Print Styles */
@media print {
    header {
        position: static;
        box-shadow: none;
    }
    
    body {
        padding-top: 0;
    }
    
    .back-to-top {
        display: none;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #1a1a1a;
        color: #e0e0e0;
    }
    
    .content-section,
    .content-card,
    .feature-card,
    .testimonial-card {
        background-color: #2d2d2d;
        color: #e0e0e0;
    }
    
    .page-title,
    .content-section h2,
    .content-card h3,
    .feature-card h3 {
        color: #4CAF50;
    }
    
    .testimonials-section {
        background: #2d2d2d;
    }
}

/* ===== KONSISTENSI HEADING H1 DENGAN ICON FONT AWESOME - POSISI RESPONSIF ===== */

/* Gaya dasar untuk semua h1 dan hl dengan icon - DESKTOP (KIRI) */
.main-content h1, .main-content hl,
.content-section h1, .content-section hl,
.feature-card h1, .feature-card hl,
.content-card h1, .content-card hl,
.testimonial-card h1, .testimonial-card hl,
.hero-content h1, .hero-content hl {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 700;
    text-align: left; /* Kiri di desktop */
    color: #2c5e2e;
    margin: 0 0 20px 0;
    padding: 0;
    line-height: 1.3;
    width: 100%;
    
    /* Layout flex untuk icon dan teks */
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important; /* Kiri di desktop */
    gap: 8px !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
}

/* Style khusus untuk icon dalam h1 dan hl */
.main-content h1 i[class*="fa-"], .main-content hl i[class*="fa-"],
.content-section h1 i[class*="fa-"], .content-section hl i[class*="fa-"],
.feature-card h1 i[class*="fa-"], .feature-card hl i[class*="fa-"],
.content-card h1 i[class*="fa-"], .content-card hl i[class*="fa-"],
.testimonial-card h1 i[class*="fa-"], .testimonial-card hl i[class*="fa-"],
.hero-content h1 i[class*="fa-"], .hero-content hl i[class*="fa-"] {
    font-size: 1.8em !important;
    color: #2c5e2e;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    vertical-align: middle !important;
}

/* Ukuran untuk h1/hl dengan icon - DESKTOP */
.main-content h1, .main-content hl,
.content-section h1, .content-section hl,
.feature-card h1, .feature-card hl,
.content-card h1, .content-card hl,
.testimonial-card h1, .testimonial-card hl,
.hero-content h1, .hero-content hl {
    font-size: 2.5rem;
}

.main-content h1 i[class*="fa-"], .main-content hl i[class*="fa-"],
.content-section h1 i[class*="fa-"], .content-section hl i[class*="fa-"],
.feature-card h1 i[class*="fa-"], .feature-card hl i[class*="fa-"],
.content-card h1 i[class*="fa-"], .content-card hl i[class*="fa-"],
.testimonial-card h1 i[class*="fa-"], .testimonial-card hl i[class*="fa-"],
.hero-content h1 i[class*="fa-"], .hero-content hl i[class*="fa-"] {
    font-size: 4.5rem !important;
}

/* ===== TABLET & MOBILE (RATA TENGAH) ===== */

/* Tablet */
@media screen and (max-width: 768px) {
    .main-content h1, .main-content hl,
    .content-section h1, .content-section hl,
    .feature-card h1, .feature-card hl,
    .content-card h1, .content-card hl,
    .testimonial-card h1, .testimonial-card hl,
    .hero-content h1, .hero-content hl {
        font-size: 2.2rem;
        margin: 0 0 18px 0;
        gap: 6px !important;
        text-align: center !important; /* Tengah di tablet */
        justify-content: center !important; /* Tengah di tablet */
    }
    
    .main-content h1 i[class*="fa-"], .main-content hl i[class*="fa-"],
    .content-section h1 i[class*="fa-"], .content-section hl i[class*="fa-"],
    .feature-card h1 i[class*="fa-"], .feature-card hl i[class*="fa-"],
    .content-card h1 i[class*="fa-"], .content-card hl i[class*="fa-"],
    .testimonial-card h1 i[class*="fa-"], .testimonial-card hl i[class*="fa-"],
    .hero-content h1 i[class*="fa-"], .hero-content hl i[class*="fa-"] {
        font-size: 3.96rem !important;
    }
}

/* Mobile Portrait */
@media screen and (max-width: 480px) {
    .main-content h1, .main-content hl,
    .content-section h1, .content-section hl,
    .feature-card h1, .feature-card hl,
    .content-card h1, .content-card hl,
    .testimonial-card h1, .testimonial-card hl,
    .hero-content h1, .hero-content hl {
        font-size: 1.9rem;
        margin: 0 0 16px 0;
        gap: 5px !important;
        text-align: center !important; /* Tengah di mobile */
        justify-content: center !important; /* Tengah di mobile */
        white-space: normal !important;
        flex-wrap: wrap !important;
    }
    
    .main-content h1 i[class*="fa-"], .main-content hl i[class*="fa-"],
    .content-section h1 i[class*="fa-"], .content-section hl i[class*="fa-"],
    .feature-card h1 i[class*="fa-"], .feature-card hl i[class*="fa-"],
    .content-card h1 i[class*="fa-"], .content-card hl i[class*="fa-"],
    .testimonial-card h1 i[class*="fa-"], .testimonial-card hl i[class*="fa-"],
    .hero-content h1 i[class*="fa-"], .hero-content hl i[class*="fa-"] {
        font-size: 3.42rem !important;
    }
}

/* Mobile Landscape */
@media screen and (max-width: 768px) and (orientation: landscape) {
    .main-content h1, .main-content hl,
    .content-section h1, .content-section hl,
    .feature-card h1, .feature-card hl,
    .content-card h1, .content-card hl,
    .testimonial-card h1, .testimonial-card hl,
    .hero-content h1, .hero-content hl {
        font-size: 2rem;
        margin: 0 0 15px 0;
        gap: 6px !important;
        text-align: center !important; /* Tengah di landscape */
        justify-content: center !important; /* Tengah di landscape */
        white-space: nowrap !important;
        flex-wrap: nowrap !important;
    }
    
    .main-content h1 i[class*="fa-"], .main-content hl i[class*="fa-"],
    .content-section h1 i[class*="fa-"], .content-section hl i[class*="fa-"],
    .feature-card h1 i[class*="fa-"], .feature-card hl i[class*="fa-"],
    .content-card h1 i[class*="fa-"], .content-card hl i[class*="fa-"],
    .testimonial-card h1 i[class*="fa-"], .testimonial-card hl i[class*="fa-"],
    .hero-content h1 i[class*="fa-"], .hero-content hl i[class*="fa-"] {
        font-size: 3.6rem !important;
    }
}

/* Mobile Very Small */
@media screen and (max-width: 320px) {
    .main-content h1, .main-content hl,
    .content-section h1, .content-section hl,
    .feature-card h1, .feature-card hl,
    .content-card h1, .content-card hl,
    .testimonial-card h1, .testimonial-card hl,
    .hero-content h1, .hero-content hl {
        font-size: 1.7rem;
        margin: 0 0 14px 0;
        gap: 5px !important;
        text-align: center !important;
        justify-content: center !important;
    }
    
    .main-content h1 i[class*="fa-"], .main-content hl i[class*="fa-"],
    .content-section h1 i[class*="fa-"], .content-section hl i[class*="fa-"],
    .feature-card h1 i[class*="fa-"], .feature-card hl i[class*="fa-"],
    .content-card h1 i[class*="fa-"], .content-card hl i[class*="fa-"],
    .testimonial-card h1 i[class*="fa-"], .testimonial-card hl i[class*="fa-"],
    .hero-content h1 i[class*="fa-"], .hero-content hl i[class*="fa-"] {
        font-size: 3.06rem !important;
    }
}

/* OVERRIDE UNTUK MEMASTIKAN KONSISTENSI PENUH */
h1:not(.logo):not(.page-title):not(.stat-number):not(.author-info h4),
hl:not(.logo):not(.page-title):not(.stat-number):not(.author-info h4) {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
    font-weight: 700 !important;
    text-align: left !important; /* Default kiri untuk desktop */
    color: #2c5e2e !important;
    margin: 0 0 20px 0 !important;
    padding: 0 !important;
    line-height: 1.3 !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important; /* Default kiri untuk desktop */
    gap: 8px !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
}

/* Responsif untuk override - RATA TENGAH DI MOBILE */
@media screen and (max-width: 768px) {
    h1:not(.logo):not(.page-title):not(.stat-number):not(.author-info h4),
    hl:not(.logo):not(.page-title):not(.stat-number):not(.author-info h4) {
        text-align: center !important;
        justify-content: center !important;
    }
}

/* Icon dalam h1 dan hl override */
h1:not(.logo):not(.page-title):not(.stat-number):not(.author-info h4) i[class*="fa-"],
hl:not(.logo):not(.page-title):not(.stat-number):not(.author-info h4) i[class*="fa-"] {
    font-size: 1.8em !important;
    color: #2c5e2e !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
}

/* FIX KHUSUS UNTUK hl (jika itu custom element) */
hl {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important; /* Kiri di desktop */
    gap: 8px !important;
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    color: #2c5e2e !important;
    text-align: left !important; /* Kiri di desktop */
    margin: 0 0 20px 0 !important;
    padding: 0 !important;
    line-height: 1.3 !important;
    width: 100% !important;
}

/* hl responsif - RATA TENGAH DI MOBILE */
@media screen and (max-width: 768px) {
    hl {
        text-align: center !important;
        justify-content: center !important;
    }
}

hl i[class*="fa-"] {
    font-size: 4.5rem !important;
    color: #2c5e2e !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
}

/* DARK MODE SUPPORT */
@media (prefers-color-scheme: dark) {
    .main-content h1, .main-content hl,
    .content-section h1, .content-section hl,
    .feature-card h1, .feature-card hl,
    .content-card h1, .content-card hl,
    .testimonial-card h1, .testimonial-card hl,
    .hero-content h1, .hero-content hl,
    h1:not(.logo):not(.page-title):not(.stat-number):not(.author-info h4),
    hl:not(.logo):not(.page-title):not(.stat-number):not(.author-info h4) {
        color: #4CAF50 !important;
    }
    
    .main-content h1 i[class*="fa-"], .main-content hl i[class*="fa-"],
    .content-section h1 i[class*="fa-"], .content-section hl i[class*="fa-"],
    .feature-card h1 i[class*="fa-"], .feature-card hl i[class*="fa-"],
    .content-card h1 i[class*="fa-"], .content-card hl i[class*="fa-"],
    .testimonial-card h1 i[class*="fa-"], .testimonial-card hl i[class*="fa-"],
    .hero-content h1 i[class*="fa-"], .hero-content hl i[class*="fa-"],
    h1:not(.logo):not(.page-title):not(.stat-number):not(.author-info h4) i[class*="fa-"],
    hl:not(.logo):not(.page-title):not(.stat-number):not(.author-info h4) i[class*="fa-"] {
        color: #4CAF50 !important;
    }
}

/* RESET SEMUA MARGIN DAN PADDING YANG TIDAK PERLU */
h1, hl {
    margin: 0 !important;
    padding: 0 !important;
}

h1 i, hl i {
    margin: 0 !important;
    padding: 0 !important;
}

