/* Variables based on logo */
:root {
    --primary-blue: #2B82C9;
    --primary-green: #8CC63F;
    --dark-teal: #1A936F;
    --dark-text: #333333;
    --light-bg: #F8F9FA;
    --white: #FFFFFF;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }
body { line-height: 1.6; color: var(--dark-text); background-color: var(--white); }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }
.mb-1 { margin-bottom: 10px; } .mb-2 { margin-bottom: 20px; }
.mt-1 { margin-top: 10px; } .mt-2 { margin-top: 20px; }
.text-blue { color: var(--primary-blue); }
.text-green { color: var(--primary-green); }
.bg-light { background-color: var(--light-bg); }
.text-muted { color: #6c757d; }

/* About Page Custom */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 30px; }
.vm-box { background: white; padding: 30px; border-radius: 10px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.vm-box h3 { color: var(--primary-blue); margin-bottom: 15px; }

/* Buttons */
.btn { display: inline-block; padding: 12px 24px; border-radius: 30px; font-weight: 600; cursor: pointer; transition: all 0.3s ease; }
.btn-primary { background: var(--primary-blue); color: var(--white); }
.btn-primary:hover { background: var(--dark-teal); box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.btn-secondary { background: var(--primary-green); color: var(--white); }
.btn-secondary:hover { background: #7ab232; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.btn-outline { border: 2px solid var(--primary-blue); color: var(--primary-blue); }
.btn-outline:hover { background: var(--primary-blue); color: var(--white); }

/* Navbar */
.navbar { background: var(--white); box-shadow: 0 2px 10px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 1000; padding: 15px 0; }
.nav-container { display: flex; justify-content: space-between; align-items: center; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.logo { display: flex; align-items: center; }
.logo-text { font-size: 1.5rem; font-weight: 700; }
.nav-links { display: flex; gap: 20px; }
.nav-links a { font-weight: 600; position: relative; padding-bottom: 5px; }
.nav-links a::after { content: ''; position: absolute; width: 0; height: 2px; bottom: 0; left: 0; background-color: var(--primary-green); transition: width 0.3s ease; }
.nav-links a:hover::after { width: 100%; }
.menu-toggle { display: none; font-size: 1.5rem; cursor: pointer; color: var(--primary-blue); }

/* Hero */
.hero {
    height: 80vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    background-image: url('../assets/hero_bg.jpg');
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(43, 130, 201, 0.85), rgba(140, 198, 63, 0.85));
    z-index: 1;
}

.hero-content { z-index: 2; max-width: 800px; padding: 20px; }
.hero h1 { font-size: 3rem; margin-bottom: 20px; line-height: 1.2; }
.highlight { color: #DFF0D8; }
.hero p { font-size: 1.2rem; margin-bottom: 30px; }
.hero-buttons { display: flex; gap: 15px; justify-content: center; }

/* Sections */
.section { padding: 80px 0; }
.section-title { text-align: center; font-size: 2rem; margin-bottom: 40px; color: var(--primary-blue); position: relative; }
.section-title::after { content: ''; display: block; width: 50px; height: 3px; background: var(--primary-green); margin: 10px auto 0; }
.max-w { max-width: 800px; margin: 0 auto; font-size: 1.1rem; }

/* Grids */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }

/* Cards */
.card { background: var(--white); padding: 30px; border-radius: 10px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); transition: transform 0.3s ease; }
.card:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0,0,0,0.1); border-bottom: 4px solid var(--primary-green); }
.card-icon { font-size: 2.5rem; color: var(--primary-blue); margin-bottom: 20px; }

/* Projects */
.project-card { border-radius: 10px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.05); background: var(--white); transition: all 0.3s ease; }
.project-card:hover { transform: scale(1.02); }
.bg-placeholder { background: #ddd; width: 100%; height: 250px; }
.project-info { padding: 20px; border-left: 4px solid var(--primary-green); }
.projects-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 30px; }
.project-meta { margin-top: 10px; font-size: 0.9rem; color: #555; }
.project-meta li { margin-bottom: 5px; }
.project-meta i { color: var(--primary-blue); width: 20px; }

/* Tables */
.table-responsive { overflow-x: auto; }
.supplier-table { width: 100%; border-collapse: collapse; margin-top: 20px; background: white; box-shadow: 0 4px 15px rgba(0,0,0,0.05); border-radius: 8px; overflow: hidden; }
.supplier-table th, .supplier-table td { padding: 15px; text-align: left; border-bottom: 1px solid #eee; }
.supplier-table th { background-color: var(--primary-blue); color: white; font-weight: 600; border-bottom: none; }
.supplier-table tbody tr:hover { background-color: #f9f9f9; }

/* Ruang Lingkup Accordion (Level 1: Sektor, Level 2: Kode KBLI) */
.scope-accordion { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.scope-group { background: white; border-radius: 10px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); overflow: hidden; border: 1px solid #eee; }
.scope-header { width: 100%; display: flex; align-items: center; gap: 15px; padding: 18px 20px; background: white; border: none; cursor: pointer; text-align: left; font-family: inherit; }
.scope-header:hover { background: var(--light-bg); }
.scope-number { flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--primary-blue); color: white; font-weight: 700; font-size: 0.85rem; display: flex; align-items: center; justify-content: center; }
.scope-title { flex: 1; font-weight: 600; color: var(--dark-text); }
.scope-title i { color: var(--primary-green); margin-right: 8px; width: 18px; text-align: center; }
.scope-count { flex-shrink: 0; font-size: 0.8rem; font-weight: 600; color: var(--primary-blue); background: #eaf3fb; padding: 5px 12px; border-radius: 20px; white-space: nowrap; }
.scope-toggle-icon { flex-shrink: 0; color: #999; transition: transform 0.3s ease; }
.scope-group.open .scope-toggle-icon { transform: rotate(180deg); color: var(--primary-blue); }
.scope-body { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; background: var(--light-bg); }
.scope-group.open .scope-body { max-height: 3500px; }
.scope-table { width: 100%; border-collapse: collapse; }
.scope-table th, .scope-table td { padding: 10px 20px; text-align: left; border-top: 1px solid #e5e5e5; font-size: 0.95rem; }
.scope-table th { background: #eef2f5; color: var(--dark-text); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.5px; }
.scope-table .kbli-code { font-weight: 700; color: var(--primary-blue); white-space: nowrap; width: 110px; }
.scope-table tbody tr:hover { background: white; }

/* About specific */
.legality-item { padding: 30px 20px; background: white; border-radius: 10px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); transition: transform 0.3s ease; border-bottom: 3px solid var(--primary-green); }
.legality-item:hover { transform: translateY(-5px); }

/* Service specific */
.service-detail-card { background: white; padding: 30px; border-radius: 10px; border-left: 5px solid var(--primary-blue); box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.service-detail-card h2 { color: var(--primary-blue); margin-bottom: 15px; }

/* Contact Specific */
.contact-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-item { display: flex; align-items: flex-start; margin-bottom: 20px; }
.contact-item i { font-size: 1.5rem; color: var(--primary-green); margin-right: 15px; margin-top: 5px; }
.form-group { margin-bottom: 20px; }
.form-control { width: 100%; padding: 12px 15px; border: 1px solid #ddd; border-radius: 5px; font-family: inherit; font-size: 1rem; }
.form-control:focus { outline: none; border-color: var(--primary-blue); }

/* Footer */
.footer { background: #1a1a1a; color: #f1f1f1; padding: 60px 0 20px; }
.footer-content { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; border-bottom: 1px solid #333; padding-bottom: 40px; margin-bottom: 20px; }
.footer-col h3 { color: var(--primary-green); margin-bottom: 20px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a:hover { color: var(--primary-blue); }
.footer-bottom { text-align: center; font-size: 0.9rem; color: #888; }

/* Floating Buttons */
.float-wa { position: fixed; bottom: 30px; right: 30px; background-color: #25D366; color: white; width: 60px; height: 60px; border-radius: 50%; text-align: center; font-size: 30px; box-shadow: 2px 2px 10px rgba(0,0,0,0.2); z-index: 100; display: flex; align-items: center; justify-content: center; transition: transform 0.3s ease; }
.float-wa:hover { transform: scale(1.1); }
.float-pdf { position: fixed; bottom: 30px; left: 30px; background-color: var(--primary-blue); color: white; padding: 10px 20px; border-radius: 30px; font-weight: bold; box-shadow: 2px 2px 10px rgba(0,0,0,0.2); z-index: 100; display: flex; align-items: center; gap: 10px; transition: background 0.3s ease; }
.float-pdf:hover { background-color: var(--dark-teal); }

/* Animations */
.fade-in-up { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.fade-in-up.visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 768px) {
    .grid-5, .grid-4, .grid-3, .grid-2, .contact-wrapper, .footer-content, .about-grid { grid-template-columns: 1fr; }
    .grid-5 { grid-template-columns: 1fr 1fr; }
    .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; width: 100%; background: white; padding: 20px; box-shadow: 0 5px 10px rgba(0,0,0,0.1); }
    .nav-links.active { display: flex; }
    .menu-toggle { display: block; }
    .hero h1 { font-size: 2rem; }
    .hero-buttons { flex-direction: column; }
    .float-pdf .pdf-text { display: none; }
    .float-pdf { padding: 15px; border-radius: 50%; width: 60px; height: 60px; justify-content: center; }
}
@media (max-width: 480px) {
    .grid-5 { grid-template-columns: 1fr; }
}