html {
  scroll-behavior: smooth;
}

/* HERO SECTION */
.hero-section {
  background: url('https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQgRu3yQQtRdT2Ngtwh1t396HgupuwyuY40Bw&s') no-repeat center center/cover;
  height: 100vh;
  position: relative;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
  transition: all 0.5s ease;
}

.hero-section h1,
.hero-section p {
  transition: all 0.4s ease;
}

.hero-section:hover h1 {
  transform: translateY(-5px);
  color: #007bff;
}

.hero-section:hover p {
  transform: translateY(5px);
  color: #333;
}

/* CARD TITLE */
.card-title {
  font-weight: bold;
  transition: color 0.3s ease, transform 0.3s ease;
}

.card-title:hover {
  color: #007bff;
  transform: scale(1.05);
}

/* ABOUT SECTION */
#about {
  background: url('https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRjrW5HSJhmIiGOJ_FhHWOlPlj0FQv-8Ra0gw&s') no-repeat center/cover;
  height: 100vh;
  color: rgb(43, 222, 207);
  display: flex;
  align-items: center;
  position: relative;
  text-align: center;
  padding: 60px 0;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 1s ease forwards;
  animation-delay: 0.3s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#about .container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

#about .row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

#about img {
  width: 100%;
  max-width: 500px;
  border-radius: 20px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease-in-out, box-shadow 0.4s ease;
}

#about img:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15);
}

#about .text-content {
  flex: 1;
  padding-left: 30px;
  transition: all 0.4s ease-in-out;
}

#about h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
  transition: color 0.3s ease;
}

#about p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #555;
  transition: color 0.3s ease, transform 0.3s ease;
}

#about .text-content:hover p {
  color: #000;
  transform: translateX(10px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 2rem;
  }

  .hero-section p {
    font-size: 1rem;
  }

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

  #about .text-content {
    padding-left: 0;
    margin-top: 30px;
  }

  #about h2 {
    font-size: 2rem;
  }
}
