/* Google Font */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-family: "Poppins", sans-serif;
}

body {
  background: #f8f9fa;
  color: #333;
}

/* Navbar */

.navbar {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.navbar-brand {
  font-size: 28px;
  font-weight: bold;
}

.nav-link {
  margin-left: 15px;
  transition: 0.3s;
}

.nav-link:hover {
  color: #0d6efd !important;
}

/* Hero */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 80px 0;
  background: linear-gradient(135deg, #ffffff, #eaf4ff);
}

.hero h1 {
  font-size: 45px;
  font-weight: 700;
}

.hero h2 {
  font-size: 55px;
  font-weight: 700;
}

.hero h4 {
  margin: 15px 0;
}

.hero p {
  margin: 20px 0;
  font-size: 18px;
}

.hero img {
  width: 380px;
  height: 380px;
  object-fit: cover;
  border: 8px solid white;
  transition: 0.4s;
}

.hero img:hover {
  transform: scale(1.05);
}

/* Sections */

section {
  padding: 80px 0;
}

section h2 {
  font-weight: 700;
  margin-bottom: 40px;
}

/* Progress */

.progress {
  height: 28px;
  border-radius: 20px;
}

.progress-bar {
  font-weight: bold;
}

/* Cards */

.card {
  border: none;
  transition: 0.4s;
  margin-bottom: 25px;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.card i {
  color: #0d6efd;
}

.card img {
  height: 220px;
  object-fit: cover;
}

/* Contact */

form {
  max-width: 700px;
  margin: auto;
}

.form-control {
  padding: 14px;
  border-radius: 10px;
}

textarea {
  resize: none;
}

/* Buttons */

.btn {
  padding: 10px 25px;
  border-radius: 30px;
}

/* Footer */

footer {
  font-size: 15px;
}

/* Scroll Button */

#topBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: none;
  z-index: 999;
}

/* Animation */

.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */

@media (max-width: 991px) {
  .hero {
    text-align: center;
  }

  .hero img {
    width: 280px;
    height: 280px;
    margin-top: 30px;
  }

  .hero h1 {
    font-size: 35px;
  }

  .hero h2 {
    font-size: 42px;
  }
}

@media (max-width: 576px) {
  .hero h2 {
    font-size: 34px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero p {
    font-size: 16px;
  }

  .navbar-brand {
    font-size: 24px;
  }
}
