* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Montserrat', Arial, sans-serif;
  background: #f8f9fa;
  color: #333;
  line-height: 1.6;
}
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

:root {
  --dark-gray: #333;
}

main {
  display: block;
}


/*Hero section*/
.hero {
  display: flex;
  width: 100%;
  height: 100%;
  position: relative;
  height: 1000px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}

.hero-bg {
  border-radius: 35px;
  display: flex;
  width: 97%;
  height: 97%;
  object-fit: cover;
  position: absolute;
  z-index: 1;
  box-shadow: 0 8px 32px rgb(0, 0, 0);
  filter: brightness(0.8);
}

.hero-overlay {
  position: relative;
  z-index: 2;
  background: #34658b4d; /* Semi-transparent white */
  backdrop-filter: blur(10px);          /* The blur effect */
  -webkit-backdrop-filter: blur(10px);  /* Safari support */
  border: 1px solid rgba(255, 255, 255, 0.2); /* Optional border for glass edge */
  color: #fff;
  padding: 2.5rem 2rem;
  border-radius: 24px;
  right: 25%;
  bottom: 25%;
  max-width: 600px;
  text-align: left;
  margin: 0 auto;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}

.hero-overlay h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-overlay p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.course-detail {
    transform: translateY(-30px);
    display: flex;
    width: 60%;
    width: 60%;
    margin: 0px 0px 0px 5% ;
}

.course-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;  
  }

.course-content h2 {
    font-size: 2rem;
    font-weight:700;
}

.course-content p {
    display: flex;
    transform: translateX(40px);

}

.course-detail-1 {
    transform: translateY(-30px);
    transform: translateX(-30px);
    display: flex;
    width: 60%;
    width: 60%;
    margin: 0px 0px 0px 5% ;
}

.course-content-1 {
    display: flex;
    flex-direction: column;
}

.course-content-1 h2 {
    font-size: 2rem;
    font-weight:700;
}

.course-content-1 h3 {
  font-weight: 900;
  font-size: 1.5rem;
    display: flex;
    transform: translateX(20px);
}

.course-content-1 ul {
    transform: translateX(40px);
}

.sample-container {
  display: flex;
  flex-direction: column;
  padding: 40px 0;
}

.sample-contents {
  text-align: center;
  margin-bottom: 2rem;
}

.sample-contents h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.sample-contents p {
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 80%;
  margin: 0 auto;
}
/* 
.sample-images {
  justify-content: center;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.sample-images img {
  border-radius: 20px;
  max-width: 80%;
  width: 44%;
  height: auto;
  margin: 15px;
  filter: blur(20px) brightness(0.7);
  transition: filter 0.3s ease;
}

.wrapper {
  border-radius: 20px;
  overflow: hidden;
  max-width: 80%;
  width: 44%;
  margin: 15px;
}

.wrapper img {
  width: 100%;
  height: auto;
  filter: blur(20px) brightness(0.7);
  transition: filter 0.3s ease;
} */
/* Carousel Styles */
.carousel-section {
  display: flex;
  flex-direction: column;
  margin-bottom: 3em;
}

.carousel {
  position: relative;
  max-width: 50%;
  margin: auto;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-track img {
  min-width: 100%; 
  height: auto;
  border-radius: 12px;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease;
  z-index: 10;
}

.carousel-btn:hover {
  background: rgba(0, 0, 0, 0.8);
}

.carousel-btn.prev {
  left: 10px;
}

.carousel-btn.next {
  right: 10px;
}

.carousel-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 15px;
  text-transform: uppercase;
  color: #333;
  text-align: center;
}

@media (max-width: 600px) {
  .carousel-title {
  font-size: 1.5rem;
}

.carousel {
  max-width: 350px;

}

}

/*Future section*/
.container-main {
    padding: 40px;
    display: flex;
    margin: 0 auto;
    justify-content: center;
}

.card-container {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 60px; 
    padding: 40px;
    width: 90%; 
    overflow: hidden;
    border-radius: 40px;
}

.card-container img {
    max-width: 900px;
    position: absolute;
    display: flex;
    height: auto;
    width: 100%;
    border-radius: 40px;
    filter: blur(2px) brightness(0.7);
    transform: scale(4);
}

/* Left Info Section */
.info-section {
  color: white;
    z-index: 2;
    flex: 1;
    margin: 15px;
    padding-left: 20px;
}

.info-section h1 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.info-section p {
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 400px;
}

/* Right Details Section*/
.details-section {
    z-index: 2;
    flex: 1;
    color: white;
    background-color: rgba(33, 58, 63, 0.4); /* Semi-transparent background */
    backdrop-filter: blur(20px); /* The blur effect */
    -webkit-backdrop-filter: blur(20px); /* For Safari support */
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.actions {
    display: flex;
    gap: 15px; /* Space between buttons */
    margin-bottom: 25px;
}

/* Button Styling */
button {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.container-main {
  /* padding: 40px; */
  padding: 204px;
  width: 100%;
  height: 100%;
  max-width: 1200px;
}

.card-container {
  transform: translatey(-170px);
}

.apply-now {
    background-color: #3d9b8b;
    color: white;
  white-space: nowrap;
  min-width: 120px;
}
  .apply-now {
    width: 100%;
    min-width: 0;
    text-align: center;
    white-space: nowrap;
  }

.apply-now:hover {
    background-color: #095347;
}

.contact {
    background-color: rgba(61, 155, 139, 0.5);
    color: #f0f0f0;
    border: 1px solid #3d9b8b;
}

.contact:hover {
    background-color: rgba(61, 155, 139, 0.7);
}


/* Target Audience Styling */
.level {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.target-audience h2 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.target-audience ul {
    list-style-type: '• ';
    padding-left: 20px;
}

.target-audience ul li {
    margin-bottom: 8px;
    font-size: 1rem;
}

/* === Responsive Enhancements === */
/* Tablets and below */
@media (max-width: 1024px) {
  .hero {
    flex-direction: column;
    height: auto;
    padding: 10rem 1rem;
  }

  .hero-overlay {
    right: 0;
    bottom: 0;
    max-width: 90%;
    padding: 2rem 1rem;
    text-align: center;
  }

  .course-detail,
  .course-detail-1 {
    width: 90%;
    flex-direction: column;
    margin-left: auto;
    margin-right: auto;
    transform: none;
  }

  .course-content p,
  .course-content-1 h3,
  .course-content-1 ul {
    transform: none;
    text-align: left;
    padding: 0 1rem;
  }

  .container-main {
    flex-direction: column;
    align-items: center;
    padding: 27rem 1rem;
  }

  .card-container {
    flex-direction: column;
    padding: 2rem 1rem;
    gap: 2rem;
    position: absolute;
    transform: translatey(0px);
  }


  .card-container img {
    position: absolute;
    transform: scale(1.09);
    filter: blur(2px) brightness(0.6);
    border-radius: 20px;
    height: 100%;
    object-fit: cover;
  }

  .info-section,
  .details-section {
    padding: 1.5rem;
    margin: 1rem 0;
    width: 100%;
  }

  .details-section {
    text-align: center;
  }

  .actions {
    flex-direction: column;
    gap: 10px;
  }

  button {
    width: 100%;
  }

  /* Carousel responsive styles */
  .carousel-container {
    max-width: 90%;
  }

  .carousel-slide img {
    height: 250px;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .carousel-btn-prev {
    left: 10px;
  }

  .carousel-btn-next {
    right: 10px;
  }
}

/* Smartphones */
@media (max-width: 576px) {
  .hero-overlay h1 {
    font-size: 1.8rem;
  }

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

  .course-content h2,
  .course-content-1 h2 {
    font-size: 1.5rem;
    text-align: center;
  }

  .course-content-1 h3 {
    font-size: 1.2rem;
    text-align: center;
  }

  .info-section h1 {
    font-size: 1.8rem;
    text-align: center;
  }

  .info-section p {
    font-size: 1rem;
    text-align: center;
    margin: 0 auto;
  }

  .target-audience h2 {
    font-size: 1.2rem;
    text-align: center;
  }

  .target-audience ul {
    padding-left: 1rem;
  }

  .target-audience ul li {
    font-size: 0.95rem;
  }

  .details-section {
    font-size: 0.95rem;
  }

  /* Carousel responsive styles for mobile */
  .carousel-slide img {
    height: 200px;
  }

  .carousel-btn {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }

  .carousel-btn-prev {
    left: 5px;
  }

  .carousel-btn-next {
    right: 5px;
  }

  .dot {
    width: 10px;
    height: 10px;
  }
}


