*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Segoe UI',sans-serif;
}

body{
background:#000;
color:white;
overflow-x:hidden;
scroll-behavior:smooth;
}

/* HEADER */
.header{
position:relative;
height:100vh;
overflow:hidden;
display:flex;
flex-direction:column;
}

/* Background Video */
.bg-video{
position:absolute;
top:0;
left:0;
width:100%;
height:110%;
object-fit:cover;
z-index:-3;
transform:translateY(0);
transition:transform .1s linear;
}

/* Overlay */
.overlay{
position:absolute;
width:100%;
height:100%;
background:linear-gradient(
135deg,
rgba(0,0,0,0.9),
rgba(139,0,0,0.6),
rgba(0,0,0,0.95)
);
z-index:-2;
}

/* Sirine Light */
.light{
position:absolute;
width:400px;
height:400px;
border-radius:50%;
filter:blur(120px);
opacity:.4;
z-index:-1;
animation:floatLight 6s infinite alternate ease-in-out;
}

.red{
background:#ff0000;
top:20%;
left:10%;
}

.blue{
background:#0066ff;
bottom:20%;
right:10%;
animation-delay:3s;
}

/* NAVBAR */
.navbar{
position:fixed;
width:100%;
display:flex;
justify-content:space-between;
align-items:center;
padding:25px 60px;
background:rgba(0,0,0,0.3);
backdrop-filter:blur(15px);
transition:.3s;
z-index:1000;
}

.navbar.scrolled{
background:rgba(0,0,0,0.85);
}

.logo{
font-size:22px;
font-weight:700;
}

.logo span{
color:#ff3b3b;
}

.nav-links{
display:flex;
list-style:none;
}

.nav-links li{
margin-left:35px;
}

.nav-links a{
color:white;
text-decoration:none;
position:relative;
}

.nav-links a::after{
content:"";
position:absolute;
bottom:-5px;
left:0;
width:0;
height:2px;
background:#ff3b3b;
transition:.3s;
}

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

/* HERO */
.hero{
flex:1;
display:flex;
align-items:center;
justify-content:center;
text-align:center;
padding:20px;
}

.hero-content{
max-width:900px;
animation:fadeUp 1.5s ease forwards;
}

.hero h1{
font-size:56px;
margin-bottom:20px;
text-shadow:0 0 25px rgba(255,0,0,.6);
}

.hero p{
font-size:20px;
opacity:.85;
margin-bottom:40px;
}

/* BUTTON */
.btn{
padding:15px 40px;
border-radius:50px;
text-decoration:none;
color:white;
font-weight:600;
margin:10px;
display:inline-block;
transition:.3s;
}

.call{
background:linear-gradient(45deg,#ff3b3b,#8b0000);
}

.wa{
background:linear-gradient(45deg,#25D366,#128C7E);
}

.btn:hover{
transform:translateY(-4px);
box-shadow:0 15px 30px rgba(0,0,0,.5);
}

/* MOBILE */
.menu-toggle{
display:none;
font-size:26px;
cursor:pointer;
}

@media(max-width:992px){
.hero h1{font-size:40px;}
}

@media(max-width:768px){

.navbar{padding:20px;}

.nav-links{
position:absolute;
top:80px;
right:-100%;
flex-direction:column;
background:rgba(0,0,0,0.95);
width:220px;
padding:20px;
transition:.3s;
}

.nav-links.active{right:0;}

.nav-links li{margin:20px 0;}

.menu-toggle{display:block;}

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

/* Animation */
@keyframes fadeUp{
from{opacity:0; transform:translateY(60px);}
to{opacity:1; transform:translateY(0);}
}

@keyframes floatLight{
from{transform:translateY(-30px);}
to{transform:translateY(30px);}
}
.bg-video{
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
object-fit:cover;
z-index:-3;
}
/* ================= ABOUT SECTION ================= */

.about{
padding:120px 8%;
background:#0f0f14;
color:white;
}

.about-container{
display:flex;
align-items:center;
gap:60px;
max-width:1300px;
margin:auto;
flex-wrap:wrap;
}

.about-image{
flex:1;
min-width:300px;
}

.about-image img{
width:100%;
border-radius:20px;
box-shadow:0 30px 60px rgba(0,0,0,.5);
}

.about-content{
flex:1;
min-width:300px;
}

.about-content h2{
font-size:38px;
margin-bottom:25px;
color:#ff3b3b;
}

.about-content p{
font-size:18px;
line-height:1.7;
opacity:.85;
margin-bottom:35px;
}

.about-features{
display:flex;
flex-wrap:wrap;
gap:25px;
}
.about-image img {
    width: 100%;
    height: auto;
    transition: opacity 0.6s ease-in-out;
}

.feature{
display:flex;
align-items:center;
gap:15px;
background:rgba(255,255,255,0.05);
padding:15px 25px;
border-radius:12px;
backdrop-filter:blur(10px);
transition:.3s;
}

.feature i{
font-size:22px;
color:#ff3b3b;
}

.feature:hover{
background:rgba(255,59,59,0.15);
transform:translateY(-5px);
}

/* Responsive */
@media(max-width:992px){
.about-container{
flex-direction:column;
text-align:center;
}

.about-features{
justify-content:center;
}
}
/* ================= SERVICES SECTION ================= */

.services{
padding:120px 8%;
background:linear-gradient(to bottom,#0f0f14,#111827);
color:white;
text-align:center;
}

.section-title{
max-width:800px;
margin:0 auto 70px;
}

.section-title h2{
font-size:40px;
margin-bottom:20px;
color:#ff3b3b;
}

.section-title p{
font-size:18px;
opacity:.8;
}

.services-container{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
gap:40px;
max-width:1300px;
margin:auto;
}

.service-card{
background:rgba(255,255,255,0.05);
padding:40px 30px;
border-radius:20px;
backdrop-filter:blur(12px);
transition:.4s;
position:relative;
overflow:hidden;
}

.service-card i{
font-size:40px;
margin-bottom:25px;
color:#ff3b3b;
}

.service-card h3{
font-size:22px;
margin-bottom:15px;
}

.service-card p{
font-size:16px;
opacity:.85;
line-height:1.6;
}

/* Glow Effect */
.service-card::before{
content:"";
position:absolute;
top:-50%;
left:-50%;
width:200%;
height:200%;
background:radial-gradient(circle,rgba(255,59,59,0.25),transparent 60%);
transform:scale(0);
transition:.5s;
}

.service-card:hover::before{
transform:scale(1);
}

.service-card:hover{
transform:translateY(-10px);
box-shadow:0 20px 50px rgba(255,0,0,0.3);
}
/* ================= WHY US SECTION ================= */

.why-us{
padding:120px 8%;
background:#0c0f17;
color:white;
text-align:center;
}

.why-container{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:40px;
max-width:1300px;
margin:70px auto;
}

.why-card{
background:rgba(255,255,255,0.05);
padding:40px 30px;
border-radius:20px;
transition:.4s;
backdrop-filter:blur(10px);
}

.why-card i{
font-size:40px;
color:#ff3b3b;
margin-bottom:20px;
}

.why-card h3{
font-size:22px;
margin-bottom:15px;
}

.why-card p{
opacity:.85;
font-size:16px;
line-height:1.6;
}

.why-card:hover{
transform:translateY(-10px);
box-shadow:0 20px 40px rgba(255,0,0,0.25);
}

/* Statistik */
.stats{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
gap:40px;
margin-top:80px;
}

.stat-item h3{
font-size:42px;
color:#ff3b3b;
margin-bottom:10px;
}

.stat-item p{
opacity:.8;
}

/* Responsive */
@media(max-width:768px){
.stat-item h3{
font-size:30px;
}
}
/* ================= EMERGENCY CTA ================= */

.emergency-cta{
position:relative;
padding:100px 20px;
text-align:center;
background:linear-gradient(135deg,#8b0000,#ff0000);
color:white;
overflow:hidden;
}

/* Glow moving light */
.emergency-cta::before{
content:"";
position:absolute;
top:-50%;
left:-50%;
width:200%;
height:200%;
background:radial-gradient(circle,rgba(255,255,255,0.2),transparent 60%);
animation:rotateLight 8s linear infinite;
}

.cta-overlay{
position:absolute;
inset:0;
background:linear-gradient(to right,rgba(0,0,0,0.6),rgba(0,0,0,0.3));
z-index:0;
}

.cta-content{
position:relative;
z-index:2;
max-width:900px;
margin:auto;
}

.cta-content h2{
font-size:42px;
margin-bottom:20px;
animation:pulseText 2s infinite;
}

.cta-content p{
font-size:18px;
margin-bottom:40px;
opacity:.9;
}

/* Buttons */
.cta-buttons{
display:flex;
justify-content:center;
flex-wrap:wrap;
gap:20px;
}

.cta-btn{
padding:16px 40px;
border-radius:50px;
text-decoration:none;
font-weight:600;
font-size:16px;
display:inline-block;
transition:.3s;
}

.cta-btn.call{
background:white;
color:#b00000;
}

.cta-btn.wa{
background:#25D366;
color:white;
}

.cta-btn:hover{
transform:scale(1.05);
box-shadow:0 15px 35px rgba(0,0,0,0.4);
}

/* Animations */
@keyframes pulseText{
0%,100%{opacity:1;}
50%{opacity:.7;}
}

@keyframes rotateLight{
from{transform:rotate(0deg);}
to{transform:rotate(360deg);}
}

/* Responsive */
@media(max-width:768px){

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

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

.cta-btn{
width:100%;
text-align:center;
}
}
/* ================= TESTIMONI SECTION ================= */

.testimoni{
padding:120px 8%;
background:#0b0e14;
color:white;
text-align:center;
position:relative;
overflow:hidden;
}

.testimonial-slider{
max-width:800px;
margin:70px auto 0;
position:relative;
min-height:150px;
}

.testimonial{
position:absolute;
width:100%;
opacity:0;
transform:translateY(30px);
transition:opacity .8s ease, transform .8s ease;
background:rgba(255,255,255,0.05);
padding:40px;
border-radius:20px;
backdrop-filter:blur(15px);
box-shadow:0 20px 50px rgba(0,0,0,0.4);
}

.testimonial.active{
opacity:1;
transform:translateY(0);
}

.testimonial p{
font-size:18px;
line-height:1.7;
margin-bottom:20px;
opacity:.9;
}

.testimonial h4{
color:#ff3b3b;
}

/* Responsive */
@media(max-width:768px){
.testimonial{
padding:25px;
}

.testimonial p{
font-size:16px;
}
}
/* ================= FOOTER ================= */

.footer{
background:#0a0d14;
color:white;
padding:80px 8% 30px;
}

.footer-container{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:50px;
max-width:1300px;
margin:auto;
}

.footer-col h3{
color:#ff3b3b;
margin-bottom:20px;
}

.footer-col h4{
margin-bottom:20px;
color:#ff3b3b;
}

.footer-col p{
opacity:.8;
line-height:1.6;
}

.footer-col ul{
list-style:none;
padding:0;
}

.footer-col ul li{
margin-bottom:12px;
opacity:.8;
}

.footer-col ul li i{
color:#ff3b3b;
margin-right:8px;
}

/* Social Icons */
.social{
margin-top:15px;
}

.social a{
display:inline-block;
width:40px;
height:40px;
line-height:40px;
text-align:center;
background:rgba(255,255,255,0.05);
border-radius:50%;
color:white;
margin-right:10px;
transition:.3s;
}

.social a:hover{
background:#ff3b3b;
transform:translateY(-5px);
}

/* Footer Bottom */
.footer-bottom{
text-align:center;
margin-top:50px;
padding-top:20px;
border-top:1px solid rgba(255,255,255,0.08);
opacity:.6;
font-size:14px;
}

/* Responsive */
@media(max-width:768px){
.footer{
text-align:center;
}

.social{
justify-content:center;
}
}
/* ================= FLOATING EMERGENCY ================= */

.floating-emergency{
position:fixed;
right:25px;
bottom:25px;
width:65px;
height:65px;
background:linear-gradient(135deg,#ff2e2e,#ff5e5e);
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
color:white;
font-size:26px;
z-index:9999;
box-shadow:0 10px 30px rgba(255,0,0,0.4);
cursor:pointer;
animation:pulse 2s infinite;
transition:.3s;
}

.floating-emergency:hover{
transform:scale(1.1);
box-shadow:0 15px 40px rgba(255,0,0,0.6);
}

/* Pulse Effect */
@keyframes pulse{
0%{box-shadow:0 0 0 0 rgba(255,0,0,0.6);}
70%{box-shadow:0 0 0 20px rgba(255,0,0,0);}
100%{box-shadow:0 0 0 0 rgba(255,0,0,0);}
}

/* Ripple Effect */
.floating-emergency:active{
transform:scale(.95);
}

/* Responsive */
@media(max-width:768px){
.floating-emergency{
width:60px;
height:60px;
font-size:22px;
right:18px;
bottom:18px;
}
}
/* ================= FLOATING WHATSAPP ================= */

.floating-whatsapp{
position:fixed;
right:25px;
bottom:105px; /* Di atas tombol ambulance */
width:60px;
height:60px;
background:linear-gradient(135deg,#25D366,#128C7E);
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
color:white;
font-size:28px;
z-index:9999;
box-shadow:0 10px 25px rgba(37,211,102,0.4);
cursor:pointer;
transition:.3s;
animation:waPulse 2.5s infinite;
}

.floating-whatsapp:hover{
transform:scale(1.1);
box-shadow:0 15px 35px rgba(37,211,102,0.6);
}

/* Pulse halus */
@keyframes waPulse{
0%{box-shadow:0 0 0 0 rgba(37,211,102,0.5);}
70%{box-shadow:0 0 0 18px rgba(37,211,102,0);}
100%{box-shadow:0 0 0 0 rgba(37,211,102,0);}
}

/* Responsive */
@media(max-width:768px){
.floating-whatsapp{
width:55px;
height:55px;
font-size:24px;
right:18px;
bottom:95px;
}
}
/* ================= ARMADA LIGHT ================= */

.armada-light{
padding:70px 5%;
background:#f5f7fa;
}

.title{
text-align:center;
margin-bottom:40px;
font-size:28px;
color:#b71c1c;
}

.armada-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:20px;
}

.card{
background:white;
border-radius:10px;
padding:15px;
text-align:center;
box-shadow:0 4px 10px rgba(0,0,0,0.05);
transition:.3s;
}

.card:hover{
transform:translateY(-5px);
}

.card img{
width:100%;
height:180px;
object-fit:cover;
border-radius:8px;
margin-bottom:15px;
}

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

.card p{
font-size:14px;
color:#555;
margin-bottom:15px;
}

.btn{
display:inline-block;
padding:8px 18px;
background:#b71c1c;
color:white;
text-decoration:none;
border-radius:5px;
font-size:14px;
}

.btn:hover{
background:#8e0000;
}

/* Responsive */
@media(max-width:768px){
.card img{
height:150px;
}
}
/* ===== IMAGE POPUP ===== */

.image-popup{
display:none;
position:fixed;
inset:0;
background:rgba(0,0,0,0.85);
justify-content:center;
align-items:center;
z-index:99999;
padding:20px;
}

.image-popup img{
max-width:95%;
max-height:90%;
border-radius:10px;
}

.close-btn{
position:absolute;
top:20px;
right:30px;
font-size:40px;
color:white;
cursor:pointer;
}

/* HP Friendly */
@media(max-width:768px){
.image-popup img{
max-width:100%;
}
}
