/* hero look down of navbar*/
header{
  padding-top:90px;
}

/* HERO */
header{
  height:100vh;
  display:grid;
  grid-template-columns:1.2fr 1fr;
  align-items:center;
  padding:0 60px;
  gap:40px;
}

.hero-left h1{
  font-size:64px;
  margin:0;
  line-height:1.05;
  font-weight:600;
}

.hero-left p{
  color:var(--muted);
  font-size:18px;
  margin-top:20px;
  max-width:500px;
}

.cta{
  margin-top:30px;
  display:inline-block;
  padding:14px 28px;
  background:var(--yellow);
  color:#000;
  font-weight:600;
  border-radius:999px;
  cursor:pointer;
  transition:0.3s ease;
}

.cta:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 25px rgba(0,0,0,0.08);
}

/* SLIDER */
.hero-right{
  position:relative;
  height:70vh;
  border-radius:24px;
  overflow:hidden;
  border:1px solid var(--border);
  background:#fff;
}

.slide{
  position:absolute;
  width:100%;
  height:100%;
  object-fit:cover;
  opacity:0;
  transition:opacity 1s ease;
}

.slide.active{opacity:1;}

/* SECTIONS */
section{
  padding:100px 60px;
  max-width:1200px;
  margin:auto;
  opacity:0;
  transform:translateY(40px);
  transition:0.8s ease;
}

section.visible{
  opacity:1;
  transform:translateY(0);
}

h2{
  font-size:34px;
  margin-bottom:30px;
  color:var(--text);
  font-weight:600;
}

/* RESPONSIVE */
@media (max-width: 1024px){
  header{grid-template-columns:1fr; height:auto; padding:120px 40px;}
  .hero-right{height:400px;}
  .hero-left h1{font-size:52px;}
}

@media (max-width: 768px){
  section{padding:80px 20px;}
  .hero-left h1{font-size:25px;}
}