/* Base Styles */
:root {
    --bg-color: #161616;
    --bg-light: #1f1f22;
    --bg-darker: #0d0d0d;
    --primary-color: #dcb32f;
    --primary-hover: #b89525;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --border-color: #333333;
    --font-family: 'Inter', sans-serif;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
    overflow-x: hidden;
    max-width: 100vw;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100vw;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #111;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 179, 47, 0.4);
}

.btn-large {
    padding: 14px 32px;
    font-size: 16px;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

.section-title {
    font-size: 32px;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: var(--transition);
    background-color: transparent;
}

.navbar.scrolled {
    background-color: rgba(22, 22, 22, 0.95);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
    backdrop-filter: blur(10px);
}

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

.logo img {
    height: 40px;
}

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

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding-bottom: 5px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-color);
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: linear-gradient(rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.25)), var(--hero-bg);
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.hero-content {
    text-align: center;
    width: 100%;
}

.hero-title {
    font-size: 64px;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 24px;
    margin-bottom: 40px;
    font-weight: 500;
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: transparent; /* Changed from var(--bg-light) */
}

.about-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    max-width: 1200px;
}

.about-title {
    flex: 1;
}

.about-title h2 {
    font-size: 32px;
    margin-bottom: 0;
}

.about-desc {
    flex: 1.5;
}

.about-desc p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.8;
}

.about-logo {
    flex: 0 0 200px;
    display: flex;
    justify-content: center;
}

.about-logo img {
    max-width: 100%;
    height: auto;
}

/* Pillars Banner */
.pillars-banner {
    padding: 60px 0;
    background-color: var(--bg-darker);
    text-align: center;
}

.pillars-banner h2 {
    margin-bottom: 40px;
    font-size: 32px;
}

.pillars-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.pillars-logos img {
    height: 40px;
    opacity: 0.4;
    filter: grayscale(100%);
    cursor: pointer;
    transition: var(--transition);
}

.pillars-logos img.active,
.pillars-logos img:hover {
    opacity: 1;
    filter: brightness(0) invert(1);
}

.pillars-detail {
    padding: 80px 0;
}

.pillar-card {
    display: flex;
    background-color: var(--bg-light);
    border-radius: 12px;
    overflow: hidden;
    margin: 0 auto 40px auto;
    border: 1px solid var(--border-color);
    max-width: 950px;
    transition: opacity 0.4s ease;
}

.pillar-info {
    flex: 1.2;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pillar-info h3 {
    font-size: 24px;
    margin-bottom: 5px;
}

.pillar-info .subtitle {
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}

.pillar-info .desc {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.7;
}

.pillar-info .tags {
    color: var(--primary-color);
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 30px;
}

.pillar-info .btn {
    align-self: flex-start;
    padding: 8px 20px;
    font-size: 13px;
}

.pillar-img {
    flex: 0.8;
}

.pillar-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Why Choose Us */
.why-choose-us {
    padding: 80px 0;
    background-color: var(--bg-darker);
}

.features-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.feature-card {
    background-color: var(--bg-light);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    width: calc(33.333% - 14px); /* Mengambil 1/3 ruang dikurangi gap */
}

.feature-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.feature-number {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.feature-title {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Industry Solutions */
.industry-solutions {
    padding: 80px 0;
}

.section-header-line {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.section-header-line .section-title {
    margin-bottom: 0;
    white-space: nowrap;
    font-size: 32px;
}

.line-divider {
    flex: 1;
    height: 2px;
    background-color: var(--primary-color);
    opacity: 0.3;
}

.industry-solutions .section-subtitle {
    margin-bottom: 40px;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.solution-card {
    background-color: #1e1e1e; /* Warna card lebih gelap */
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #333; /* Border halus */
    transition: var(--transition);
}

.solution-card:hover {
    transform: translateY(-5px);
    border-color: #444;
}

.solution-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    object-position: center top;
    border-bottom: 1px solid #2a2a2a;
}

.solution-content {
    padding: 20px; /* Padding sedikit dikecilkan */
}

.solution-content h4 {
    font-size: 15px; /* Judul sedikit lebih kecil */
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
}

.icon-gold {
    color: var(--primary-color);
    font-size: 16px; /* Ukuran ikon disesuaikan */
}

.solution-content p {
    color: #a1a1aa; 
    font-size: 12px; /* Teks deskripsi lebih kecil */
    line-height: 1.5;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background-color: var(--bg-darker);
}

.cta-box {
    background-color: var(--bg-light);
    padding: 60px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.cta-box h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta-box p {
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 30px;
    font-size: 16px;
}

/* Articles Section */
.articles {
    padding: 80px 0;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.article-card {
    background-color: var(--bg-light);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: var(--transition);
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

.article-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.article-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.article-content h4 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-primary);
    line-height: 1.4;
}

.article-content .date {
    color: var(--text-secondary);
    font-size: 13px;
    margin-top: auto;
}

/* Footer */
.footer {
    background-color: var(--bg-darker);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 20px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo-desc img {
    max-width: 200px;
    margin-bottom: 20px;
}

.footer-links h4, .footer-contact h4 {
    font-size: 14px;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: var(--text-secondary);
    font-size: 14px;
}

.footer-links ul li a:hover {
    color: var(--primary-color);
}

.footer-contact p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 10px;
    max-width: 300px;
}

.footer-contact p a {
    color: var(--text-primary);
}

.footer-bottom-wrapper {
    border-top: 1px solid var(--border-color);
    width: 100%;
}

.footer-bottom {
    padding-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    color: var(--text-secondary);
    text-align: center;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a:hover {
    color: var(--primary-color);
}

/* Responsive */
.hamburger {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-primary);
}

@media (max-width: 992px) {
    .hamburger {
        display: block;
        order: 3;
    }

    .navbar .btn {
        order: 2;
        margin-left: auto;
        margin-right: 20px;
    }
    
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(22, 22, 22, 0.95);
        flex-direction: column;
        align-items: center;
        padding: 0;
        gap: 20px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.5);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-in-out, padding 0.3s ease-in-out;
        order: 4;
    }
    
    .nav-links.active {
        max-height: 400px;
        padding: 20px 0;
    }
    
    .about-container {
        flex-direction: column;
        text-align: center;
    }
    .pillar-card {
        flex-direction: column;
    }
}

/* Article Page Filters */
.article-header-wrapper {
    padding: 120px 0 40px;
    background-color: transparent;
    text-align: left;
}

.article-header-wrapper h1 {
    font-size: 42px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.article-header-wrapper p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 0 40px;
    font-size: 18px;
}

.filter-bar {
    display: flex;
    justify-content: flex-start;
    gap: 15px;
    flex-wrap: wrap;
    max-width: 100%;
    margin: 0;
}

.search-input-wrapper {
    display: flex;
    flex: 1;
    min-width: 250px;
}

.search-input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-light);
    color: var(--text-primary);
    border-radius: 4px 0 0 4px;
    outline: none;
}

.search-input:focus {
    border-color: var(--primary-color);
}

.search-btn {
    background-color: var(--primary-color);
    color: #111;
    border: none;
    padding: 0 20px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: var(--transition);
}

.search-btn:hover {
    background-color: var(--primary-hover);
}

.category-select {
    padding: 12px 40px 12px 15px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-light);
    color: var(--text-primary);
    border-radius: 4px;
    min-width: 200px;
    outline: none;
    cursor: pointer;
    /* Custom Arrow */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23ffffff%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 15px top 50%;
    background-size: 12px auto;
}

.category-select:focus {
    border-color: var(--primary-color);
}

.article-page-content {
    padding: 0 0 80px;
}

.category-badge {
    display: inline-block;
    align-self: flex-start;
    background-color: rgba(220, 179, 47, 0.1);
    color: var(--primary-color);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
}

@media (max-width: 992px) {
    .solutions-grid, .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-container {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .navbar .btn {
        display: none; /* Hide on mobile to prevent overflow, can be added to hamburger menu if needed */
    }
    
    .navbar-container {
        padding: 0 15px; /* Adjust padding for smaller screens */
    }
    
    .hero::before {
        background-image: var(--hero-bg);
        background-size: cover;
        background-position: center;
        filter: blur(35px);
        transform: scale(1.15);
        z-index: -2;
    }
    
    .hero::after {
        content: "";
        position: absolute;
        top: 0; left: 0; width: 100%; height: 100%;
        background-image: linear-gradient(rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.25)), var(--hero-bg);
        background-size: 100% 100%, cover;
        background-position: center, center;
        background-repeat: no-repeat, no-repeat;
        z-index: -1;
    }
    
    .hero-title { font-size: 32px; word-break: break-word; }
    .hero-subtitle { font-size: 16px; margin-bottom: 25px; word-break: break-word; }
    .hero-content { padding: 0 15px; width: 100%; overflow: hidden; }
    
    .section-title { font-size: 26px; }
    .section-subtitle { font-size: 14px; margin-bottom: 25px; }
    
    .about { padding: 40px 0; }
    .about-desc p { font-size: 14px; line-height: 1.6; }
    .about-logo img { max-width: 180px; margin-top: 20px; }
    
    .feature-card { width: 100%; margin-bottom: 10px; }
    
    .pillars-logos { gap: 20px; }
    .pillars-logos img { height: 30px; }
    
    .pillars-detail { padding: 40px 0; }
    .pillar-info { padding: 25px; }
    
    .cta-section { padding: 40px 0; }
    .cta-box { padding: 30px 20px; overflow: hidden; }
    .cta-box h2 { font-size: 24px; word-break: break-word; }
    .cta-box p { font-size: 14px; }
    
    .solutions-grid, .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .footer { padding: 40px 0 20px; }
    .footer-container { gap: 30px; }
    
    .article-header-wrapper h1 { font-size: 32px; }
    .article-header-wrapper { padding: 100px 0 30px; }
    
    .search-input-wrapper, .category-select {
        width: 100%;
        min-width: 100%;
    }
    
    .filter-bar {
        flex-direction: column;
    }
}
