/* ============================= */
/* ABOUT SECTION */
/* ============================= */

.about{
  padding:100px 40px;
  background:#ffffff;
}

/* Container */

.about-container{
  max-width:1200px;
  margin:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:60px;
}

/* ============================= */
/* TEXT */
/* ============================= */

.about-text{
  flex:1;
}

.about-tag{
  font-size:14px;
  letter-spacing:2px;
  color:#5ea6c7;
  font-weight:600;
}

.about-text h2{
  font-size:38px;
  color:#1f3f66;
  margin:20px 0;
  line-height:1.3;
}

.about-text p{
  color:#555;
  font-size:16px;
  line-height:1.7;
  max-width:500px;
}

/* ============================= */
/* BUTTON */
/* ============================= */

.about-btn{
  display:inline-block;
  margin-top:25px;
  padding:12px 28px;
  background:#1f3f66;
  color:white;
  border-radius:6px;
  text-decoration:none;
  transition:0.3s;
}

.about-btn:hover{
  background:#5ea6c7;
}

/* ============================= */
/* IMAGE */
/* ============================= */

.about-image{
  flex:1;
  display:flex;
  justify-content:center;
}

.about-image img{
  width:320px;
  max-width:100%;
  border-radius:20px;
  box-shadow:0 20px 40px rgba(0,0,0,0.12);
  transition:all .4s ease;

  animation:floatImage 6s ease-in-out infinite;
}

/* Hover effect */

.about-image img:hover{
  transform:translateY(-12px);
  box-shadow:0 30px 60px rgba(0,0,0,0.18);
}

/* Floating animation */

@keyframes floatImage{

  0%{
    transform:translateY(0px);
  }

  50%{
    transform:translateY(-10px);
  }

  100%{
    transform:translateY(0px);
  }

}

/* ============================= */
/* TABLET */
/* ============================= */

@media (max-width:992px){

.about-container{
  gap:40px;
}

.about-text h2{
  font-size:32px;
}

.about-image img{
  width:280px;
}

}

/* ============================= */
/* MOBILE */
/* ============================= */

@media (max-width:768px){

.about{
  padding:80px 25px;
}

.about-container{
  flex-direction:column;
  text-align:center;
}

.about-text p{
  margin:auto;
}

.about-image{
  margin-top:30px;
}

.about-image img{
  width:260px;
}

}

/* ============================= */
/* SMALL MOBILE */
/* ============================= */

@media (max-width:480px){

.about-text h2{
  font-size:26px;
}

.about-text p{
  font-size:15px;
}

.about-btn{
  padding:10px 22px;
}

.about-image img{
  width:220px;
}

}