/* General Styling */
body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  background-color: #fff;
  color: #6d6868;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Typography */
h1,
h2,
h3 {
  font-weight: 700;
}

h1 {
  font-size: 40px;
  margin-bottom: 16px;
}

/* Navigation */
.navbar {
  background-color: #333;
  padding: 16px 0;
}

.navbar-brand {
  font-size: 24px;
}

.navbar-nav .nav-link {
  color: #fff;
  font-weight: 500;
}

.navbar-nav .nav-link:hover {
  color: #007bff;
}

.navbar-nav .nav-link.active {
  font-weight: bold;
  color: #ffc107;
}

/* Hero Section */
.hero-section {
  background-color: #e9ecef;
  color: #333;
  padding: 64px 16px;
  font-family: "Poppins", sans-serif;
  margin-bottom: 32px;
  /* Removed redundant text-align */
}

.hero-section h1 {
  font-size: 40px;
  margin-bottom: 24px;
}

.hero-section p {
  font-size: 16px;
  margin-bottom: 32px;
}

.hero-section .btn-lg {
  background-color: #1560eb;
  border: none;
  color: #fff;
  transition: background-color 0.3s ease, transform 0.2s ease;
  padding: 6px 12px;
  font-size: 13px;
  border-radius: 10px;
}

.hero-section .btn-lg:hover {
  background-color: #003d80;
  transform: translateY(-2px);
}

/* Animation for hero section elements */
.hero-move {
  animation: gentleMove 1s ease-in-out forwards;
}

@keyframes gentleMove {
  0% {
      transform: translateY(0);
  }

  100% {
      transform: translateY(-10px);
  }
}

/* Other Sections */
.py-5 {
  padding-top: 48px !important;
  padding-bottom: 48px !important;
}

/* Carousel Section */
.carousel-section {
  margin-top: -10px;
  margin-bottom: -50px;
}

.carousel-item .card {
  width: 90%;
  max-width: 500px;
  margin: 32px auto;
  background-color: #f8f9fa;
  border: none;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.carousel-control-prev,
.carousel-control-next {
  width: 5%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  width: 30px;
  height: 30px;
}

.carousel-item .card-body {
  text-align: center;
}

.carousel-item .card-text {
  font-size: 15px;
  line-height: 1.5;
  color: #555;
}

.profile-img {
  width: auto;
  height: auto;
  object-fit: cover;
}

/* Section 4 Styles */
.section-4 {
  padding: 24px;
  background-color: #fff;
  color: #333;
  border: 1px solid #ddd;
  border-radius: 5px;
  text-align: center;
  margin-top: -20px;
  margin-bottom: 30px;
}

.section-4 h1 {
  font-size: 20px;
  margin-bottom: 10px;
}

.section-4 img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  margin-top: -20px;
}

/* Media Query for smaller screens (e.g., mobile) */
@media (max-width: 768px) {

  .hero-section h1,
  .section-4 h1 {
      font-size: 24px;
  }

  .hero-section p {
      font-size: 16px;
  }
}

/* Style for card headings */
h3.text-center.mb-4 {
  font-size: 16px;
  font-weight: 700;
  color: #333;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}