/* assets/css/style.css - Main Styles */
:root {
    --primary-color: #1a3c6e;
    --secondary-color: #2d6da8;
    --accent-color: #e67e22;
    --text-color: #333333;
    --light-text: #666666;
    --bg-color: #ffffff;
    --light-bg: #f8f9fa;
    --border-color: #e0e0e0;
    --shadow: 0 2px 15px rgba(0,0,0,0.1);
    --shadow-hover: 0 5px 30px rgba(0,0,0,0.15);
    --radius: 12px;
    --transition: all 0.3s ease;
    --container-width: 1200px;
    --header-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-color);
    background: var(--bg-color);
    line-height: 1.6;
    transition: var(--transition);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: var(--bg-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
    display: flex;
    align-items: center;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 24px;
}

.logo img {
    height: 50px;
    width: auto;
}

.logo span {
    background: var(--primary-color);
    color: white;
    padding: 2px 12px;
    border-radius: 6px;
}

/* Navigation */
.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav-menu ul li a {
    text-decoration: none;
    color: var(--text-color);
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 500;
    transition: var(--transition);
    font-size: 15px;
}

.nav-menu ul li a:hover,
.nav-menu ul li a.active {
    background: var(--primary-color);
    color: white;
}

/* Header Controls */
.header-controls {
    display: flex;
    align-items: center;
    gap: 16px;
}

.language-switcher {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
}

.lang-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 500;
    color: var(--light-text);
    padding: 4px 8px;
    border-radius: 4px;
    transition: var(--transition);
    font-size: 13px;
}

.lang-btn.active {
    color: var(--primary-color);
    font-weight: 700;
    background: var(--light-bg);
}

.lang-btn:hover {
    color: var(--primary-color);
}

.dark-mode-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 20px;
    color: var(--text-color);
    padding: 8px;
    border-radius: 50%;
    transition: var(--transition);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dark-mode-toggle:hover {
    background: var(--light-bg);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 24px;
    color: var(--text-color);
    padding: 8px;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 20px;
    opacity: 0.9;
    margin-bottom: 32px;
}

.btn-primary {
    display: inline-block;
    padding: 16px 40px;
    background: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(230, 126, 34, 0.4);
}

.btn-secondary {
    display: inline-block;
    padding: 16px 40px;
    background: transparent;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid white;
    cursor: pointer;
    font-size: 16px;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
}

/* Section */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--primary-color);
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--light-text);
    max-width: 600px;
    margin: 0 auto 48px;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-color);
    padding: 32px 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.service-card .icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.service-card p {
    color: var(--light-text);
    font-size: 15px;
}

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
    padding: 40px 0;
}

.stat-item h2 {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-color);
}

.stat-item p {
    color: var(--light-text);
    font-size: 16px;
}

/* Articles */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.article-card {
    background: var(--bg-color);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.article-card-image {
    height: 200px;
    background: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.article-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-card-body {
    padding: 24px;
}

.article-card-body .category {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 2px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
}

.article-card-body h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.article-card-body h3 a {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
}

.article-card-body h3 a:hover {
    color: var(--primary-color);
}

.article-card-body .meta {
    color: var(--light-text);
    font-size: 14px;
    margin: 12px 0;
}

.article-card-body .excerpt {
    color: var(--light-text);
    font-size: 15px;
    line-height: 1.6;
}

/* Article Detail */
.article-detail {
    max-width: 800px;
    margin: 0 auto;
}

.article-detail .featured-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius);
    margin-bottom: 30px;
}

.article-detail h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--primary-color);
}

.article-detail .author-info {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin: 20px 0 30px;
}

.article-detail .author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 24px;
}

.article-detail .author-name {
    font-weight: 600;
    font-size: 18px;
}

.article-detail .author-bio {
    color: var(--light-text);
    font-size: 14px;
}

.article-detail .content {
    font-size: 17px;
    line-height: 1.8;
}

.article-detail .content p {
    margin-bottom: 16px;
}

.article-detail .content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
    margin: 20px 0;
}

.article-detail .share-buttons {
    display: flex;
    gap: 12px;
    margin: 30px 0;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.share-btn-wa {
    background: #25D366;
}

.share-btn-wa:hover {
    background: #1da851;
    transform: scale(1.05);
}

.share-btn-fb {
    background: #1877F2;
}

.share-btn-fb:hover {
    background: #0d65d9;
    transform: scale(1.05);
}

/* Sidebar */
.sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: var(--bg-color);
    padding: 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 24px;
    border: 1px solid var(--border-color);
}

.sidebar-widget h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--primary-color);
}

.sidebar-widget input[type="text"] {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 15px;
    transition: var(--transition);
    background: var(--bg-color);
    color: var(--text-color);
}

.sidebar-widget input[type="text"]:focus {
    border-color: var(--primary-color);
    outline: none;
}

.popular-articles {
    list-style: none;
}

.popular-articles li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.popular-articles li:last-child {
    border-bottom: none;
}

.popular-articles a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    display: block;
}

.popular-articles a:hover {
    color: var(--primary-color);
}

.popular-articles .views {
    font-size: 12px;
    color: var(--light-text);
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: white;
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
}

.footer-col h3 {
    font-size: 24px;
    margin-bottom: 16px;
}

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 16px;
}

.footer-col p {
    opacity: 0.8;
    line-height: 1.6;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: white;
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0.8;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    text-align: center;
    opacity: 0.7;
    font-size: 14px;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    z-index: 999;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-4px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
    color: white;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: var(--bg-color);
        padding: 20px;
        box-shadow: var(--shadow);
        border-top: 1px solid var(--border-color);
    }
    
    .nav-menu.active {
        display: block;
    }
    
    .nav-menu ul {
        flex-direction: column;
        gap: 4px;
    }
    
    .nav-menu ul li a {
        display: block;
        padding: 12px 16px;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .article-detail h1 {
        font-size: 28px;
    }
    
    .article-detail .featured-image {
        height: 250px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .header-controls .language-switcher {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 26px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Mobile Responsive Fix - Tambahkan di akhir file style.css */

/* Mobile - Max 480px */
@media (max-width: 480px) {
    .container {
        padding: 0 14px;
    }
    
    .section {
        padding: 30px 0;
    }
    
    .hero {
        padding: 40px 0;
    }
    
    .hero h1 {
        font-size: 24px;
    }
    
    .hero p {
        font-size: 15px;
        padding: 0 10px;
    }
    
    .btn-primary {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .btn-secondary {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .section-subtitle {
        font-size: 15px;
        padding: 0 10px;
    }
    
    .service-card {
        padding: 20px 16px;
    }
    
    .service-card h3 {
        font-size: 17px;
    }
    
    .service-card p {
        font-size: 14px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
        padding: 20px 0;
    }
    
    .stat-item h2 {
        font-size: 28px;
    }
    
    .stat-item p {
        font-size: 13px;
    }
    
    .article-card-body {
        padding: 16px;
    }
    
    .article-card-body h3 {
        font-size: 17px;
    }
    
    .article-card-body .excerpt {
        font-size: 14px;
    }
    
    .article-detail h1 {
        font-size: 24px;
    }
    
    .article-detail .featured-image {
        height: 200px;
    }
    
    .article-detail .content {
        font-size: 15px;
    }
    
    .article-detail .author-info {
        flex-direction: column;
        text-align: center;
    }
    
    .sidebar {
        position: relative;
        top: 0;
        margin-top: 30px;
    }
    
    .footer {
        padding: 40px 0 0;
    }
    
    .footer-grid {
        gap: 24px;
    }
    
    .footer-col h3 {
        font-size: 20px;
    }
    
    .footer-col h4 {
        font-size: 16px;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 16px;
        right: 16px;
    }
    
    /* About page mobile */
    .about-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
    
    /* Services page mobile */
    .service-card {
        padding: 20px 16px !important;
    }
    
    /* Portfolio page mobile */
    .portfolio-grid {
        grid-template-columns: 1fr !important;
    }
    
    /* Contact page mobile */
    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    
    /* Article list mobile */
    .article-list-grid {
        grid-template-columns: 1fr !important;
    }
    
    /* Header mobile */
    .header {
        height: 60px;
    }
    
    .logo a {
        font-size: 18px;
    }
    
    .logo img {
        height: 35px;
    }
    
    .logo span {
        padding: 1px 8px;
        font-size: 14px;
    }
    
    .language-switcher {
        font-size: 11px;
    }
    
    .lang-btn {
        font-size: 11px;
        padding: 2px 6px;
    }
    
    .dark-mode-toggle {
        font-size: 16px;
        width: 32px;
        height: 32px;
    }
    
    .nav-menu {
        top: 60px;
    }
    
    .nav-menu ul li a {
        padding: 10px 14px;
        font-size: 14px;
    }
    
    /* Share buttons mobile */
    .share-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .share-btn {
        justify-content: center;
        padding: 10px 16px;
        font-size: 14px;
    }
    
    /* Popular articles mobile */
    .popular-articles li {
        padding: 10px 0;
    }
    
    .popular-articles a {
        font-size: 14px;
    }
}

/* Tablet - Max 768px */
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    
    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    
    .article-list-grid {
        grid-template-columns: 1fr !important;
    }
    
    .row {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    
    .sidebar {
        position: relative;
        top: 0;
        margin-top: 30px;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 16px;
    }
}

/* ============ HERO FIX - GAMBAR TIDAK TERPOTONG ============ */

/* Hero Background - Full Cover tanpa terpotong */
.hero-section .hero-bg,
.hero-about .hero-bg,
.hero-services .hero-bg,
.hero-portfolio .hero-bg,
.hero-contact .hero-bg,
.hero-articles .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
    background: var(--primary-color);
}

/* Gambar background - contain agar tidak terpotong */
.hero-section .hero-bg img,
.hero-about .hero-bg img,
.hero-services .hero-bg img,
.hero-portfolio .hero-bg img,
.hero-contact .hero-bg img,
.hero-articles .hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    background: var(--primary-color);
}

/* Alternatif: jika ingin cover tapi tetap terlihat semua dengan background color */
.hero-section .hero-bg img.cover,
.hero-about .hero-bg img.cover,
.hero-services .hero-bg img.cover,
.hero-portfolio .hero-bg img.cover,
.hero-contact .hero-bg img.cover,
.hero-articles .hero-bg img.cover {
    object-fit: cover;
}

/* Carousel Images - tidak terpotong */
.hero-carousel .carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    background: var(--primary-color);
}

/* Overlay tetap di atas gambar */
.hero-section .hero-bg .hero-overlay,
.hero-about .hero-bg .hero-overlay,
.hero-services .hero-bg .hero-overlay,
.hero-portfolio .hero-bg .hero-overlay,
.hero-contact .hero-bg .hero-overlay,
.hero-articles .hero-bg .hero-overlay,
.hero-carousel .carousel-slide .slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 60, 110, 0.85), rgba(45, 109, 168, 0.8));
}

/* ============ RESPONSIVE HERO - GAMBAR TETAP UTUH ============ */

/* Desktop Large */
@media (min-width: 1200px) {
    .hero-section { min-height: 520px; padding: 80px 0; }
    .hero-about,
    .hero-services,
    .hero-portfolio,
    .hero-contact,
    .hero-articles { min-height: 400px; padding: 60px 0; }
    
    .hero-section .hero-bg img,
    .hero-about .hero-bg img,
    .hero-services .hero-bg img,
    .hero-portfolio .hero-bg img,
    .hero-contact .hero-bg img,
    .hero-articles .hero-bg img {
        object-fit: contain;
    }
}

/* Desktop Medium */
@media (min-width: 992px) and (max-width: 1199px) {
    .hero-section { min-height: 450px; padding: 70px 0; }
    .hero-about,
    .hero-services,
    .hero-portfolio,
    .hero-contact,
    .hero-articles { min-height: 350px; padding: 55px 0; }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 991px) {
    .hero-section { min-height: 380px; padding: 55px 0; }
    .hero-about,
    .hero-services,
    .hero-portfolio,
    .hero-contact,
    .hero-articles { min-height: 300px; padding: 45px 0; }
    
    .hero-section .hero-bg img,
    .hero-about .hero-bg img,
    .hero-services .hero-bg img,
    .hero-portfolio .hero-bg img,
    .hero-contact .hero-bg img,
    .hero-articles .hero-bg img {
        object-fit: contain;
    }
}

/* Mobile Large */
@media (min-width: 576px) and (max-width: 767px) {
    .hero-section { min-height: 320px; padding: 40px 0; }
    .hero-about,
    .hero-services,
    .hero-portfolio,
    .hero-contact,
    .hero-articles { min-height: 250px; padding: 35px 0; }
    
    .hero-section .hero-bg img,
    .hero-about .hero-bg img,
    .hero-services .hero-bg img,
    .hero-portfolio .hero-bg img,
    .hero-contact .hero-bg img,
    .hero-articles .hero-bg img {
        object-fit: contain;
    }
}

/* Mobile Small */
@media (max-width: 575px) {
    .hero-section { min-height: 280px; padding: 30px 0; }
    .hero-about,
    .hero-services,
    .hero-portfolio,
    .hero-contact,
    .hero-articles { min-height: 220px; padding: 25px 0; }
    
    .hero-section .hero-bg img,
    .hero-about .hero-bg img,
    .hero-services .hero-bg img,
    .hero-portfolio .hero-bg img,
    .hero-contact .hero-bg img,
    .hero-articles .hero-bg img {
        object-fit: contain;
    }
}

/* Mobile Extra Small */
@media (max-width: 400px) {
    .hero-section { min-height: 220px; padding: 20px 0; }
    .hero-about,
    .hero-services,
    .hero-portfolio,
    .hero-contact,
    .hero-articles { min-height: 180px; padding: 18px 0; }
    
    .hero-section .hero-bg img,
    .hero-about .hero-bg img,
    .hero-services .hero-bg img,
    .hero-portfolio .hero-bg img,
    .hero-contact .hero-bg img,
    .hero-articles .hero-bg img {
        object-fit: contain;
    }
}

/* ============ HERO FIX - GAMBAR TIDAK TERPOTONG (GLOBAL) ============ */

/* Semua hero background */
.hero-section .hero-bg,
.hero-about .hero-bg,
.hero-services .hero-bg,
.hero-portfolio .hero-bg,
.hero-contact .hero-bg,
.hero-articles .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
    background: var(--primary-color);
}

/* Semua gambar hero - contain agar tidak terpotong */
.hero-section .hero-bg img,
.hero-about .hero-bg img,
.hero-services .hero-bg img,
.hero-portfolio .hero-bg img,
.hero-contact .hero-bg img,
.hero-articles .hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    background: var(--primary-color);
}

/* Overlay - z-index di atas gambar */
.hero-section .hero-bg .hero-overlay,
.hero-about .hero-bg .hero-overlay,
.hero-services .hero-bg .hero-overlay,
.hero-portfolio .hero-bg .hero-overlay,
.hero-contact .hero-bg .hero-overlay,
.hero-articles .hero-bg .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    background: linear-gradient(135deg, rgba(26, 60, 110, 0.85), rgba(45, 109, 168, 0.8));
}

/* Content - z-index di atas overlay */
.hero-section .hero-content,
.hero-about .hero-content,
.hero-services .hero-content,
.hero-portfolio .hero-content,
.hero-contact .hero-content,
.hero-articles .hero-content {
    position: relative;
    z-index: 5;
}