*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family: 'Segoe UI', sans-serif;
  scroll-behavior:smooth;
}

body{
  background:#0f172a;
  color:white;
}

/* NAVBAR */
header{
  position:fixed;
  width:100%;
  padding:20px 60px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  transition:0.3s;
  z-index:1000;
}

header.scrolled{
  background:#111827;
}

nav a{
  color:white;
  text-decoration:none;
  margin-left:25px;
  transition:0.3s;
}

nav a:hover{
  color:#38bdf8;
}

/* HERO */
.hero{
  height:100vh;
  background:url('https://images.unsplash.com/photo-1492724441997-5dc865305da7') center/cover;
  display:flex;
  justify-content:center;
  align-items:center;
  text-align:center;
  position:relative;
}

.overlay{
  position:absolute;
  width:100%;
  height:100%;
  background:rgba(0,0,0,0.6);
}

.hero-content{
  position:relative;
  z-index:1;
}

.hero h1{
  font-size:55px;
}

.hero button{
  margin-top:20px;
  padding:12px 30px;
  border:none;
  background:#38bdf8;
  border-radius:30px;
  cursor:pointer;
  font-weight:bold;
}

/* SECTIONS */
section{
  padding:120px 10%;
  text-align:center;
}

/* SERVICES */
.service-grid{
  display:flex;
  gap:30px;
  flex-wrap:wrap;
  justify-content:center;
}

.service-card{
  width:300px;
  height:220px;
  position:relative;
  overflow:hidden;
  border-radius:15px;
}

.service-card img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:0.5s;
}

.card-overlay{
  position:absolute;
  bottom:-100%;
  left:0;
  width:100%;
  background:rgba(0,0,0,0.8);
  padding:20px;
  transition:0.5s;
}

.service-card:hover img{
  transform:scale(1.1);
}

.service-card:hover .card-overlay{
  bottom:0;
}

/* STATS */
.stats{
  display:flex;
  justify-content:space-around;
  background:#111827;
}

.stat h2{
  font-size:40px;
  color:#38bdf8;
}

/* CONTACT */
.contact form{
  max-width:400px;
  margin:auto;
  display:flex;
  flex-direction:column;
}

.contact input,
.contact textarea{
  margin:10px 0;
  padding:12px;
  border:none;
  border-radius:8px;
}

.contact button{
  padding:12px;
  border:none;
  background:#38bdf8;
  border-radius:8px;
  font-weight:bold;
  cursor:pointer;
}

footer{
  text-align:center;
  padding:20px;
  background:#111827;
}

/* Scroll Animation */
.reveal{
  opacity:0;
  transform:translateY(50px);
  transition:1s;
}

.reveal.active{
  opacity:1;
  transform:translateY(0);
}

@media(max-width:768px){
  .service-grid,.stats{
    flex-direction:column;
    align-items:center;
  }
}
