*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:Arial;
scroll-behavior:smooth;
}

body{
background:#f5f7fb;
}

/* NAVBAR */

.navbar{
background:#0b1f3a;
color:white;
position:sticky;
top:0;
z-index:999;
}

.nav-container{
max-width:1200px;
margin:auto;
display:flex;
justify-content:space-between;
align-items:center;
padding:12px 20px;
}

/* BRAND */

.brand{
display:flex;
align-items:center;
gap:10px;
}

.logo-kantor{
height:40px;
max-height:40px;
width:auto;
display:block;
}

.brand-text{
font-size:18px;
font-weight:600;
color:white;
}

/* MENU */

.menu{
display:flex;
list-style:none;
gap:30px;
}

.menu a{
color:white;
text-decoration:none;
font-size:15px;
}


/* HAMBURGER */

.hamburger{
display:none;
flex-direction:column;
cursor:pointer;
}

.hamburger span{
width:25px;
height:3px;
background:white;
margin:4px;
transition:0.3s;
}

/*LOGO HEADDER*/

.brand{
display:flex;
align-items:center;
gap:10px;
font-weight:bold;
font-size:18px;
color:white;
}

.logo-kantoradvokatpurwowidodo {
  width: 50px;   /* atur sesuai kebutuhan, biasanya 40-60px */
  height: auto;  /* biar proporsional */
}

.logo-peradi {
  width: 50px;   /* tetap kecil untuk logo partner */
  height: auto;
  margin-left: 8px;
}


/* TENTANG */

.tentang{

min-height:100vh;

background-image:url("img/pengadilan-negri-jatim.JPG");

background-size:cover;

background-position:center;

background-repeat:no-repeat;

position:relative;

display:flex;

align-items:center;

justify-content:center;

text-align:center;

color:white;

transition:1s;

padding:100px 20px 60px;

}

/* overlay gelap */

.overlay{

position:absolute;

top:0;

left:0;

width:100%;

height:100%;

background:rgba(0,0,0,0.6);

}

/* text hero */

.tentang-content{

position:relative;

max-width:800px;

padding:20px;

}

.tentang-content h1{

font-size:36px;
margin-top: 25px;
margin-bottom: 45px;

}

.tentang-content p{

line-height:1.7;

font-size:17px;

}

/* LAYANAN */

.layanan{
padding:80px 20px;
text-align:center;
}

.layanan h2{
margin-top:20px;
margin-bottom:50px;
font-size:32px;    
}

.layanan-slider{
display:flex;
gap:20px;
overflow-x:auto;
}

.layanan-detail{
display:none;
margin-top:10px;
font-size:14px;
color:#555;
}

.card.active .layanan-detail{
display:block;
}

.card{
min-width:250px;
background:white;
border-radius:10px;
overflow:hidden;
box-shadow:0 5px 15px rgba(0,0,0,0.1);
}

.card img{
width:100%;
height:180px;
object-fit:cover;
}

/* TESTIMONI */

.testimoni{
padding:80px 20px;
text-align:center;
background:#f9f9f9;
}

.testimoni h2{
margin-top:20px;
margin-bottom:50px;
font-size:32px; 
}

.testimoni-slider{
display:flex;
gap:20px;
overflow-x:auto;
scroll-snap-type:x mandatory;
padding-bottom:20px;
}

.testimoni-slider::-webkit-scrollbar{
display:none;
}

.testi-card{
flex:0 0 auto;
width:280px;
scroll-snap-align:center;
}

.testi-card img{
width:100%;
border-radius:10px;
box-shadow:0 5px 15px rgba(0,0,0,0.15);
}

/* KANTOR */

.kantor{

padding:80px 20px;

background:#0b1f3a;

color:white;

text-align:center;

}

.kantor h2{

margin-bottom:40px;

}

.kantor-container{

max-width:800px;

margin:auto;

display:flex;

flex-direction:column;

gap:30px;

}

.kantor-info{

text-align:center;

gap: 20px;

font-size:18px;

line-height:1.8;

}

.kantor-info i{

color:#ff4d4d;

margin-right:10px;

font-size:20px;

}

.map iframe{

width:100%;

height:350px;

border-radius:10px;

}


/* TOMBOL KONSULTASI FLOAT */

.wa-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  color: white;
  border-radius: 50px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 4px 6px rgba(0,0,0,0.3);
  z-index: 1000;
  transition: transform 0.2s;
  overflow: hidden;
}

.wa-float img {
  width: 30px;
  height: 30px;
  margin-right: 0;
  transition: margin 0.3s;
}

/* Teks WA default hidden */
.wa-text {
  opacity: 0;
  white-space: nowrap;
  margin-left: 10px;
  transition: opacity 0.3s;
}

/* Hover efek: teks muncul & tombol melompat sedikit */
.wa-float:hover {
  transform: translateY(-5px);
}

.wa-float:hover .wa-text {
  opacity: 1;
  margin-left: 10px;
}

/* Bouncing animation (selalu) */
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.wa-float img {
  animation: bounce 2s infinite;
}


/* MOBILE */

@media(max-width:768px){

.menu{
position:absolute;
top:60px;
left:0;
width:100%;
background:#0b1f3a;
flex-direction:column;
max-height:0;
overflow:hidden;
transition:0.3s;
}

.menu.active{
max-height:300px;
}

.hamburger{
display:flex;
}

}

.konsultasi-float{
animation:pulse 2s infinite;
}

@keyframes pulse{

0%{
box-shadow:0 0 0 0 rgba(37,211,102,0.7);
}

70%{
box-shadow:0 0 0 15px rgba(37,211,102,0);
}

100%{
box-shadow:0 0 0 0 rgba(37,211,102,0);
}

}

/* FOOTER */

.footer{

background:#06152a;

color:white;

padding:50px 20px 20px;

text-align:center;

}

.footer-container{

max-width:1000px;

margin:auto;

display:flex;

justify-content:center;

align-items:center;

gap:60px;

flex-wrap:wrap;

}

.footer-logo img{

height:60px;

margin-bottom:10px;

}

.footer-peradi img{

height:70px;

}

.footer-bottom{

margin-top:30px;

border-top:1px solid rgba(255,255,255,0.2);

padding-top:15px;

font-size:14px;

}