*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:'Poppins',sans-serif;
}

body{
  height:100vh;
  background:#000;
}

.container{
  display:flex;
  height:100vh;
}

.panel{
  flex:1;
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  cursor:pointer;
  overflow:hidden;
  transition:all .6s ease;
}

.panel::before{
  content:"";
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  z-index:1;
  transition:transform .8s ease;
}

.panel::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(135deg,rgba(0,0,0,.6),rgba(0,0,0,.3));
  z-index:2;
}

.panel:hover::before{
  transform:scale(1.1);
}

.content{
  position:relative;
  z-index:3;
  text-align:center;
  padding:20px;
  max-width:90%;
  animation:fadeUp 1s ease;
}

.content h1{
  font-size:clamp(1.8rem,4vw,3rem);
  margin-bottom:15px;
}

.content p{
  font-size:clamp(.9rem,2.5vw,1.1rem);
  opacity:.9;
  margin-bottom:25px;
}

.btn{
  display:inline-block;
  padding:12px 28px;
  border-radius:30px;
  background:#fff;
  color:#000;
  text-decoration:none;
  font-weight:600;
  transition:.3s;
}

.btn:hover{
  background:#000;
  color:#fff;
}

/* Background Images */
.education::before{
  background-image:url('https://images.unsplash.com/photo-1524995997946-a1c2e315a42f');
}

.technology::before{
  background-image:url('https://images.unsplash.com/photo-1518770660439-4636190af475');
}

/* Mobile Responsive */
@media(max-width:768px){
  .container{
    flex-direction:column;
  }
  .panel{
    height:50vh;
  }
}

@keyframes fadeUp{
  from{opacity:0;transform:translateY(30px)}
  to{opacity:1;transform:translateY(0)}
}
