body {
  font-family: Arial, sans-serif;
  color: white;
  background:
    linear-gradient(rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0.65)), /* Semi-transparent white overlay */
    url('bg.jpg') center/cover no-repeat; /* Your original background image */
}

h2{
  font-weight: 700;
  padding-top: 10px;
}
.navbar {
  background-color: rgba(113, 250, 250, 0.5); 
}

.nav-link {
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
  margin-left: 40px;
  color: rgba(202, 44, 44, 0.822) !important;
}

.nav-link:hover{
  text-decoration: underline;
  color: rgba(17, 0, 255, 1) !important;
}

.top-bar a{
  font-size: 18px;
  text-decoration: none;
  color: white;
  margin-right: 20px;
}

.top-bar a:hover{
  color: black;
}
.hero {
  background: url('banner.jpg') center/cover no-repeat;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: white;
  text-align: center;
}

.overlay {
  background-color: rgba(0, 0, 0, 0.3);
  padding: 40px;
  border-radius: 10px;
}
.course-overlay {
  position: absolute;
  top: 50%;
  left: 50%; /* Updated to 50% */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%; /* Adjust width if necessary */
  height: inherit;
  transform: translate(-50%, -50%); /* Center the overlay */
  background: rgba(52, 58, 64, 0.7); /* Adding transparency */
  color: white;
  padding: 15px; /* You can adjust padding as needed */
  border-radius: 5px; /* Optional: rounded corners */
}


.container {
  border-radius: 40px;
  background-color: rgba(0, 0, 0, 0.3);
}



footer {
  background-color: #343a40;
  color: white;
  padding: 20px 0;    
}
    
.course-card {
  width: 250px;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  font-family: Arial, sans-serif;
  margin-bottom: 15px;
}

.course-image {
  height: 180px;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;

      /* background-image: url('your-course-image.jpg');
      background-size: cover;
      background-position: center; */
    }

.course-content {
  padding: 15px;
  background-color: #e0e0e0;
}

.course-title {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 5px;
}

.course-description {
  font-size: 0.9rem;
  color: #333;
  margin-bottom: 0;
}

/* .details-btn {
  background-color: #2c2c2c;
  color: white;
  width: 100%;
  padding: 10px;
  text-align: center;
  border: none;
  border-bottom-right-radius: 20px;
  border-top-right-radius: 20px;
  border-top-left-radius: 999px;
  font-size: 0.95rem;
}

.details-btn:hover {
  background-color: #1c1c1c;
} */

iframe {
  max-width: 100%;
  height: 300px; /* Default height */
}
@media (max-width: 768px) {
  iframe {
    height: 200px; /* Adjust height on mobile */
  }
}
