
/* Slider Basic */
.hero-slider {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.slider-container {
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.slide.active {
    opacity: 1;
}

.slide-content h1 {
    font-size: 3.5rem;
    color: white;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease;
}

/* Statistik Modern */
.stat-overlay {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.stat-card {
    background: rgba(255, 255, 255, 0.15); /* Efek Kaca */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 20px 40px;
    border-radius: 50px; /* Lonjong elegan */
    display: flex;
    align-items: center;
    gap: 20px;
    color: white;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
}

.stat-icon {
    background: #1abc9c;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

/* Navigation Dots */
.slider-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.4);
    border-radius: 50%;
    cursor: pointer;
}

.dot.active {
    background: #1abc9c;
    width: 30px;
    border-radius: 10px;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .slide-content h1 { font-size: 2rem; }
    .stat-card { padding: 15px 25px; }
    .stat-number { font-size: 1.5rem; }
}

/* Gaya Dasar Navbar */
.pub-nav {
display: flex;
justify-content: space-between;
align-items: center;
padding: 10px 5%;
}

/* Sembunyikan tombol toggle di desktop */
.nav-toggle {
display: none;
flex-direction: column;
cursor: pointer;
background: none;
border: none;
}

.nav-toggle .bar {
height: 3px;
width: 25px;
background-color: #333;
margin: 4px 0;
transition: 0.4s;
}

/* Responsive Mobile (max-width: 768px) */
@media (max-width: 768px) {
.nav-toggle {
display: flex; /* Munculkan tombol di mobile */
}

.nav-menu {
display: none; /* Sembunyikan menu standar */
flex-direction: column;
position: absolute;
top: 70px;
left: 0;
width: 100%;
background-color: #fff;
box-shadow: 0 5px 10px rgba(0,0,0,0.1);
}

.nav-menu.active {
display: flex; /* Tampilkan saat toggle aktif */
}
}
/* Penyesuaian Layout */
.top-navbar {
display: flex;
justify-content: space-between;
align-items: center;
padding: 0 20px;
}

.nav-left {
display: flex;
align-items: center;
gap: 15px;
}

.toggle-btn {
background: none;
border: none;
color: white;
font-size: 24px;
cursor: pointer;
}

/* Sidebar Toggle Logic */
.sidebar {
width: 250px;
transition: all 0.3s ease;
}

.sidebar.collapsed {
margin-left: -250px; /* Sembunyikan sidebar ke kiri */
}

.content {
flex: 1;
transition: all 0.3s ease;
}

/* Responsif Mobile */
@media (max-width: 768px) {
.sidebar {
position: fixed;
left: -250px;
z-index: 1000;
height: 100%;
}
.sidebar.active {
left: 0;
}
}


/* --- 1. RESET & BASE --- */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

body {
font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
background-color: #f4f7f6;
color: #333;
line-height: 1.6;
overflow-x: hidden;
}

/* --- 2. NAVIGATION --- */
.pub-nav {
background: #ffffff;
padding: 15px 8%;
display: flex;
justify-content: space-between;
align-items: center;
box-shadow: 0 2px 10px rgba(0,0,0,0.05);
position: sticky;
top: 0;
z-index: 1000;
}

.pub-nav .logo img {
max-height: 50px;
width: auto;
}

.pub-nav ul {
display: flex;
list-style: none;
align-items: center;
}

.pub-nav ul li { margin-left: 25px; }

.pub-nav ul li a {
text-decoration: none;
color: #2c3e50;
font-weight: 500;
font-size: 0.95rem;
transition: color 0.3s ease;
}

.pub-nav ul li a:hover,
.pub-nav ul li a.active { color: #1abc9c; }

.btn-login {
background: #1abc9c;
color: white !important;
padding: 10px 22px;
border-radius: 50px;
font-weight: 600;
transition: 0.3s;
}

.btn-login:hover { background: #16a085; }

/* --- 3. HERO SLIDER & ANIMATIONS --- */
.hero-slider {
position: relative;
height: 550px;
overflow: hidden;
background: #2c3e50;
}

.slider-container {
display: flex;
overflow-x: auto;
scroll-snap-type: x mandatory;
scroll-behavior: smooth;
height: 100%;
}

.slider-container::-webkit-scrollbar { display: none; }

.slide {
min-width: 100%;
height: 100%;
scroll-snap-align: start;
background-size: cover;
background-position: center;
display: flex;
align-items: center;
justify-content: center;
color: white;
text-align: center;
padding: 0 10%;
}

.slide-content { max-width: 800px; z-index: 2; }

.slide-content h1 {
font-size: clamp(1.8rem, 4vw, 3rem);
font-weight: 800;
margin-bottom: 15px;
text-shadow: 2px 2px 15px rgba(0,0,0,0.7);
}

.slide-content p {
font-size: 1.2rem;
opacity: 0.9;
text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
}

@keyframes fadeInUp {
from { opacity: 0; transform: translateY(30px); }
to { opacity: 1; transform: translateY(0); }
}

.slide-content h1, .slide-content p { opacity: 0; }
.slide.active .slide-content h1 { animation: fadeInUp 0.8s ease forwards 0.3s; }
.slide.active .slide-content p { animation: fadeInUp 0.8s ease forwards 0.6s; }

/* Navigasi Dots */
.slider-nav {
position: absolute;
bottom: 30px;
left: 50%;
transform: translateX(-50%);
display: flex;
gap: 12px;
z-index: 10;
}

.slider-nav a {
width: 12px; height: 12px;
background: rgba(255, 255, 255, 0.4);
border-radius: 50%;
transition: 0.3s;
}

/* --- 4. STATS OVERLAY --- */
.stat-overlay {
position: absolute;
bottom: -30px;
width: 100%;
text-align: center;
z-index: 20;
}

.stat-box {
background: white;
color: #2c3e50;
display: inline-block;
padding: 20px 40px;
border-radius: 15px;
box-shadow: 0 10px 25px rgba(0,0,0,0.1);
border: 1px solid #eee;
}

/* --- 5. GLOBAL CONTAINERS --- */
.container {
width: 90%;
max-width: 1100px;
margin: 80px auto;
}

.info-card {
background: white;
padding: 40px;
border-radius: 15px;
box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

/* --- 6. WELCOME SECTION --- */
.welcome-section {
display: flex;
align-items: center;
gap: 50px;
background: white;
padding: 50px;
border-radius: 15px;
box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.welcome-image img {
width: 250px; height: 250px;
object-fit: cover;
border-radius: 20px;
border: 5px solid #f4f7f6;
box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.pimpinan-info h4 { color: #1abc9c; margin-top: 15px; font-size: 1.2rem; }
.pimpinan-info p { color: #7f8c8d; font-weight: 600; font-size: 0.9rem; }

.welcome-text h2 { color: #2c3e50; font-size: 2rem; margin-bottom: 10px; }
.divider { width: 60px; height: 4px; background: #1abc9c; border: none; margin-bottom: 25px; }

/* --- 7. SERVICES SECTION --- */
.section-title { text-align: center; margin-bottom: 40px; }
.section-title h2 { font-size: 2.2rem; color: #2c3e50; }
.divider-center { width: 80px; height: 4px; background: #1abc9c; border: none; margin: 20px auto; }

.services-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 30px;
}

.service-card {
background: white;
padding: 40px 30px;
border-radius: 15px;
text-align: center;
box-shadow: 0 5px 15px rgba(0,0,0,0.05);
transition: 0.3s;
border-bottom: 4px solid transparent;
}

.service-card:hover {
transform: translateY(-10px);
border-bottom: 4px solid #1abc9c;
}

.service-icon { font-size: 3rem; margin-bottom: 20px; }

/* --- 8. FOOTER --- */
.public-footer {
background: #2c3e50;
color: #ecf0f1;
padding: 60px 8% 20px;
margin-top: 100px;
}

.footer-content {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 30px;
align-items: start;
margin-bottom: 40px;
}

.footer-logo img {
max-height: 60px;
filter: brightness(0) invert(1);
margin-bottom: 20px;
}

.footer-section h4 { color: #1abc9c; margin-bottom: 20px; }
.footer-section ul { list-style: none; }
.footer-section ul li { margin-bottom: 10px; }
.footer-section ul li a { color: #bdc3c7; text-decoration: none; transition: 0.3s; }
.footer-section ul li a:hover { color: #1abc9c; padding-left: 5px; }

.map-container {
width: 100%;
overflow: hidden;
border-radius: 8px;
box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.footer-bottom {
text-align: center;
border-top: 1px solid rgba(255,255,255,0.1);
padding-top: 25px;
font-size: 0.85rem;
}

/* --- 9. RESPONSIVE --- */
@media (max-width: 768px) {
.pub-nav ul { display: none; } /* Idealnya ganti dengan menu burger */
.hero-slider { height: 400px; }
.stat-overlay { bottom: -20px; }
.stat-box { padding: 15px 25px; width: 85%; }
.welcome-section { flex-direction: column; text-align: center; padding: 30px; }
.welcome-image img { width: 200px; height: 200px; }
.container { margin: 60px auto; }
}

/* --- MOBILE MENU STYLES --- */
@media (max-width: 768px) {
.nav-list {
display: none; /* Sembunyikan menu default */
flex-direction: column;
width: 100%;
position: absolute;
top: 70px; /* Sesuaikan dengan tinggi navbar */
left: 0;
background-color: #ffffff;
box-shadow: 0 10px 15px rgba(0,0,0,0.1);
padding: 20px 0;
z-index: 999;
}

.nav-list.active {
display: flex; /* Tampilkan saat class 'active' ditambah lewat JS */
}


.nav-list li {
margin: 15px 0;
text-align: center;
width: 100%;
}

.nav-list li a {
display: block;
font-size: 1.1rem;
}

/* Styling Hamburger */
.menu-toggle {
display: block;
cursor: pointer;
}
/* --- DESKTOP VIEW --- */
.nav-menu {
display: flex;
align-items: center;
list-style: none;
}

.dropdown {
position: relative;
}

.dropdown-content {
display: none; /* Sembunyikan default */
position: absolute;
top: 100%;
left: 0;
background-color: #ffffff;
min-width: 200px;
box-shadow: 0 8px 16px rgba(0,0,0,0.1);
z-index: 1000;
border-radius: 4px;
padding: 10px 0;
}

/* Munculkan dropdown saat hover (Hanya Desktop) */
@media (min-width: 769px) {
.dropdown:hover .dropdown-content {
display: block;
}
}

/* --- MOBILE VIEW --- */
@media (max-width: 768px) {
.nav-menu {
display: none; /* Sembunyikan menu */
flex-direction: column;
width: 100%;
position: absolute;
top: 60px; /* Sesuaikan tinggi navbar */
left: 0;
background: #fff;
}

.nav-menu.active {
display: flex;
}

.dropdown-content {
position: static; /* Dropdown mendorong konten ke bawah di mobile */
box-shadow: none;
background-color: #f9f9f9;
width: 100%;
display: none; /* Dikontrol via JS click */
}

.dropdown-content li a {
padding-left: 40px; /* Indentasi sub-menu */
}
}
.menu-toggle .bar {
display: block;
width: 25px;
height: 3px;
margin: 5px auto;
transition: all 0.3s ease-in-out;
background-color: #2c3e50;
}

/* Animasi Menjadi Huruf X saat Aktif */
#mobile-menu.is-active .bar:nth-child(2) { opacity: 0; }
#mobile-menu.is-active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
#mobile-menu.is-active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

@media (min-width: 769px) {
.menu-toggle { display: none; }
}


/* Styling Call Center Section */
.cta-call-center {
background: linear-gradient(135deg, #1abc9c 0%, #16a085 100%);
color: white;
padding: 60px 0;
margin-top: 50px;
border-radius: 20px 20px 0 0;
}

.cta-content {
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
gap: 30px;
}

.cta-text {
flex: 1;
min-width: 300px;
}

.cta-text h2 {
font-size: 2rem;
margin-bottom: 10px;
color: #ffffff;
}

.cta-text p {
font-size: 1.1rem;
opacity: 0.9;
}

.cta-actions {
display: flex;
gap: 15px;
flex-wrap: wrap;
}

.btn-cta {
display: inline-flex;
align-items: center;
padding: 15px 25px;
border-radius: 50px;
text-decoration: none;
font-weight: bold;
transition: all 0.3s ease;
box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-cta.whatsapp {
background-color: #25d366;
color: white;
}

.btn-cta.phone {
background-color: white;
color: #16a085;
}

.btn-cta:hover {
transform: translateY(-3px);
box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.btn-cta .icon {
margin-right: 10px;
font-size: 1.2rem;
}

/* Responsif untuk Mobile */
@media (max-width: 768px) {
.cta-content {
text-align: center;
justify-content: center;
}
.cta-actions {
justify-content: center;
width: 100%;
}
.btn-cta {
width: 100%;
justify-content: center;
}
}

