/* ================= RESET & BASE ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
}

/* ================= HEADER ================= */
.header {
    background: #0a74da;
    color: #fff;
    padding: 15px 0;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
}

/* Navigation */
.menu {
    list-style: none;
    display: flex;
}

.menu li {
    margin-left: 20px;
}

.menu a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

.menu a:hover {
    text-decoration: underline;
}

/* ================= BERANDA ================= */

.beranda{
    height:80vh;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    background:linear-gradient(
        rgba(0,0,0,0.5),
        rgba(0,0,0,0.5)
    ), url('assets/a.jpeg');
    background-size:cover;
    background-position:center;
    color:white;
}

.container-beranda{
    max-width:800px;
    padding:20px;
}

.container-beranda h2{
    font-size:40px;
    margin-bottom:20px;
}

.container-beranda p{
    font-size:18px;
    margin-bottom:30px;
}

.beranda-btn{
    display:flex;
    justify-content:center;
    gap:15px;
}

.btn-outline{
    background:transparent;
    border:2px solid white;
}

/* ================= HERO SLIDER ================= */
.hero-slider {
    position: relative;
    height: 90vh;
    overflow: hidden;
    color: #fff;
}

/* Slides */
.slides {
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.slide.active {
    opacity: 1;
}

/* Hero Content */
.hero-content {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    max-width: 700px;
    padding: 30px;
}

.hero-content h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 20px;
}

/* Button */
.btn {
    background: #0a74da;
    color: #fff;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;
    margin-top: 1%;
}

.btn:hover {
    background: #084c9e;
}

/* Slider Navigation */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    border: none;
    color: #fff;
    font-size: 32px;
    padding: 10px 15px;
    cursor: pointer;
    z-index: 3;
}

.slider-btn:hover {
    background: rgba(0, 0, 0, 0.7);
}

.slider-btn.prev {
    left: 20px;
}

.slider-btn.next {
    right: 20px;
}

/* ================= SECTION ================= */
.section {
    padding: 60px 10%;
    text-align: center;
}

.section h2 {
    margin-bottom: 30px;
    font-size: 28px;
}

.light {
    background: #f4f4f4;
}

/* ================= SERVICES ================= */
.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.service-box {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.service-box h3 {
    margin-bottom: 10px;
    color: #0a74da;
}

/* ================= CONTACT ================= */
.contact p {
    margin-bottom: 10px;
    font-size: 18px;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
    margin-top: 30px;
}

.contact-map iframe {
    width: 100%;
    height: 300px;
    border: 0;
    border-radius: 10px;
}

/* ================= FOOTER ================= */
.footer {
    background: #0a74da;
    color: #fff;
    text-align: center;
    padding: 15px 0;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
    .menu {
        font-size: 14px;
    }

    .hero-content h2 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .slider-btn {
        font-size: 24px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-map iframe {
        height: 250px;
    }
}

.features {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    margin-top: 30px;
}

.feature-box {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.feature-box h3 {
    font-size: 1.4rem;
    color: #0a74da;
    margin-bottom: 10px;
}

.feature-box p {
    font-size: 1rem;
    color: #555;
}

/* ================= STICKY NAVBAR ================= */
.header.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

html {
    scroll-behavior: smooth;
}
/* ================= INTERACTIVE ANIMATION ================= */
.service-box,
.feature-box {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

/* Hover (Desktop) */
.service-box:hover,
.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Active (Mobile / Touch) */
.service-box:active,
.feature-box:active {
    transform: scale(0.97);
}

/* ================= SCROLL ANIMATION ================= */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.show {
    opacity: 1;
    transform: translateY(0);
}

/* Delay animasi (stagger) */
.fade-delay-1 { transition-delay: 0.1s; }
.fade-delay-2 { transition-delay: 0.2s; }
.fade-delay-3 { transition-delay: 0.3s; }
.fade-delay-4 { transition-delay: 0.4s; }

/* ================= MAP ANIMATION ================= */
.map-animate {
    opacity: 0;
    transform: scale(0.9) translateY(40px);
    transition: all 0.8s ease;
}

.map-animate.show {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* ===== LAYOUT LAYANAN ===== */

.services-grid{
    display:grid;
    grid-template-columns: repeat(4, 1fr);
    gap:25px;
    margin-top:40px;
}

@media (max-width:768px){
.services-grid{
grid-template-columns: repeat(2,1fr);
}
}

@media (max-width:480px){
.services-grid{
grid-template-columns:1fr;
}
}

.service-box {
    background: white;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-box h3 {
    margin-bottom: 10px;
    font-size: 18px;
}

.service-box p {
    font-size: 14px;
    color: #555;
}

.service-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}