/* ==========================================================================
   HERO SECTION (HOMEPAGE)
   ========================================================================== */
.hero {
    padding: 120px 0;
    background: linear-gradient(135deg, #1C2B4E 0%, #2E4374 100%);
    color: white;
    text-align: center;
    clip-path: ellipse(150% 100% at 50% 0%);
}
.hero-content { max-width: 800px; margin: 0 auto; }
.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.1;
    margin-bottom: 20px;
}
.hero h1 span { color: var(--secondary); }
.hero p { font-size: 1.2rem; opacity: 0.9; margin-bottom: 40px; }
.hero-btns { display: flex; justify-content: center; gap: 15px; }

.cta-button {
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}
.cta-button.primary { background: var(--secondary); color: white; }
.cta-button.secondary { background: rgba(255,255,255,0.1); color: white; border: 1px solid white; }
.cta-button:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.2); }

/* ==========================================================================
   LAYANAN (SERVICES) & CARDS
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding-top: 20px;
}

.modern-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.modern-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1); border-color: var(--primary); }

.icon-wrapper {
    width: 80px;
    height: 80px;
    background: #F0F4F8; 
    border-radius: 50%;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}
.icon-wrapper img { width: 50px; height: auto; object-fit: contain; }
.modern-card:hover .icon-wrapper { background: var(--secondary); color: white; }
.modern-card h3 { font-size: 1.4rem; color: var(--primary); margin-bottom: 15px; font-weight: 700; }
.modern-card p { font-size: 0.95rem; color: var(--gray); line-height: 1.6; margin-bottom: 25px; }

.btn-learn-more { text-decoration: none; color: var(--primary); font-weight: 600; font-size: 0.9rem; display: inline-block; transition: 0.3s; }
.btn-learn-more:hover { letter-spacing: 1px; color: var(--secondary); }

/* ==========================================================================
   MITRA, COVERAGE & TESTIMONI
   ========================================================================== */
.home-mitra-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 20px; align-items: center; margin-top: 40px; }
.mitra-item { display: flex; align-items: center; justify-content: center; padding: 20px; background: #ffffff; border: 1px solid #eee; border-radius: 12px; transition: all 0.3s ease; height: 100px; filter: grayscale(100%); opacity: 0.7; }
.mitra-item img { max-width: 100%; max-height: 50px; object-fit: contain; }
.mitra-item:hover { filter: grayscale(0%); opacity: 1; border-color: var(--primary); box-shadow: 0 5px 15px rgba(0,0,0,0.05); transform: translateY(-5px); }

.bali-coverage-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; margin-top: 30px; }
.coverage-card { background: #ffffff; padding: 25px 15px; border-radius: 12px; text-align: center; border: 1px solid #edf2f7; transition: all 0.3s ease; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.coverage-icon { font-size: 2rem; color: var(--primary); transition: 0.3s; }
.coverage-card h4 { font-size: 1rem; color: var(--primary); font-weight: 600; margin: 0; }
.coverage-card:hover { background: var(--secondary); border-color: var(--secondary); transform: translateY(-5px); box-shadow: 0 10px 20px rgba(247, 148, 29, 0.2); }
.coverage-card:hover .coverage-icon, .coverage-card:hover h4 { color: #ffffff; }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; }
.testimoni-card { background: #ffffff; padding: 30px; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); border: 1px solid #f0f0f0; transition: transform 0.3s ease; position: relative; }
.testimoni-card:hover { transform: translateY(-5px); border-color: var(--primary); }
.stars { color: #ffb800; margin-bottom: 15px; font-size: 0.9rem; }
.testimoni-card p { font-style: italic; color: var(--gray); line-height: 1.6; margin-bottom: 20px; }
.testimoni-name { display: block; font-weight: 700; color: var(--primary); font-size: 0.9rem; }

/* FAQ Accordion */
#faq { background-color: var(--light); padding: 80px 0; }
details { background: #ffffff; margin-bottom: 15px; border-radius: 10px; border: 1px solid #edf2f7; overflow: hidden; transition: all 0.3s ease; box-shadow: 0 2px 5px rgba(0,0,0,0.02); }
summary { padding: 20px 25px; font-weight: 600; color: var(--primary); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; transition: 0.3s; }
summary::after { content: '\f067'; font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: 0.8rem; color: var(--secondary); transition: 0.3s; }
details[open] { box-shadow: 0 10px 20px rgba(0,0,0,0.05); border-color: var(--primary); }
details[open] summary { color: var(--primary); border-bottom: 1px solid #f0f0f0; }
details[open] summary::after { content: '\f068'; transform: rotate(180deg); }
details p { padding: 20px 25px; color: var(--gray); line-height: 1.6; background-color: #fff; margin: 0; }
summary::-webkit-details-marker { display: none; }

/* ==========================================================================
   RESPONSIVE HOMEPAGE
   ========================================================================== */
@media (max-width: 768px) {
    .hero { padding: 80px 0 100px; }
    .hero-btns { flex-direction: column; }
    .section-padding { padding: 40px 0; }
    .section-title h2 { font-size: 1.6rem !important; padding: 0 10px; }
    .services-grid { grid-template-columns: 1fr; gap: 20px; }
    .modern-card { padding: 25px 20px; margin-bottom: 15px; }
    .home-mitra-grid, .bali-coverage-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 12px; }
    .coverage-card { padding: 20px 10px; }
    .coverage-icon { font-size: 1.5rem; }
    .coverage-card h4 { font-size: 0.9rem; }
}