/* Hero Section */
.hero {
  background-size: cover;
  background-image: url("./images/rectBG.png");
  background-attachment: fixed;
  max-height: 350px;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  padding: 100px 0;
  position: relative;
}

/* .hero .blur-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); 
    filter: blur(8px);
    z-index: 0;
  } */

.hero .container {
  z-index: 1;
}

.hero .hero-subtitle {
  font-size: 0.925rem;
  font-weight: normal;
  color: #ffffff;
}

.hero .hero-title {
  font-size: 2.2rem;
  font-weight: bold;
  line-height: 1.2;
  margin-top: 20px;
}

.hero .hero-description {
  font-size: 0.925rem;
  margin-top: 20px;
}

/* Align text and image */
.hero .row {
  display: flex;
  align-items: center;
}

.hero .col-md-6 {
  display: flex;
  justify-content: center;
}

.hero-image-container {
  width: 100%; /* Or set a fixed width if necessary */
  height: auto; /* Auto height to let it adjust accordingly */
  display: flex; /* Flexbox layout to center the image (optional) */
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-image {
  max-width: 826px;
  max-height: 550px;
  z-index: 3;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero .btn-primary {
    padding: 10px 20px;
    font-size: 1rem;
  }
}

/* Service Section */
section.py-5 {
  padding-top: 80px;
  padding-bottom: 80px;
}

section.py-5 h2 {
  font-size: 2rem;
  font-weight: bold;
}

section.py-5 p {
  font-size: 1rem;
  line-height: 1.6;
}

section.py-5 .btn-outline-primary {
  border-color: #00bfff;
  color: #00bfff;
  font-size: 1.1rem;
  text-transform: uppercase;
}

section.py-5 .btn-outline-primary:hover {
  background-color: #00bfff;
  color: #fff;
}

/* Image Styles */
.img-fluid {
  max-width: 100%;
  height: auto;
}

section.py-5 .col-md-6 {
  margin-bottom: 30px;
}
.main-img {
  background-size: cover;
  background-position: center;
  position: inherit;
  z-index: 1;
}
section.py-5 img {
  border-radius: 10px;
  /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); */
}

/* Footer Section */
footer {
  background-color: #343a40;
  color: #fff;
  padding: 40px 0;
}

footer h5 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

footer ul {
  list-style: none;
  padding-left: 0;
}

footer ul li {
  margin-bottom: 10px;
}

footer ul li a {
  color: #fff;
  text-decoration: none;
}

footer ul li a:hover {
  color: #00bfff;
}

footer .footer-logo {
  height: 60px;
  margin-bottom: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .navbar .navbar-nav .nav-link {
    font-size: 1rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero .btn-primary {
    padding: 10px 20px;
    font-size: 1rem;
  }

  section.py-5 {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  section.py-5 h2 {
    font-size: 1.5rem;
  }

  section.py-5 p {
    font-size: 0.9rem;
  }
}

/* Footer Section */
footer {
  background-color: #343a40;
  color: #fff;
  padding: 40px 0;
}

footer h5 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

footer ul {
  list-style: none;
  padding-left: 0;
}

footer ul li {
  margin-bottom: 10px;
}

footer ul li a {
  color: #fff;
  text-decoration: none;
}

footer ul li a:hover {
  color: #00bfff;
}

footer .footer-logo {
  height: 60px;
  margin-bottom: 20px;
}

.best-sellers {
  background-color: #121212;
  color: #fff;
  padding: 50px 0;
}

.best-sellers .section-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #00bfff;
  margin-bottom: 20px;
}

.best-sellers .section-subtitle {
  font-size: 1.25rem;
  color: #aaa;
  margin-bottom: 40px;
}

.best-sellers .card {
  background-color: #3c3a50;
  border: none;
  border-radius: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  margin-bottom: 30px;
}

.best-sellers .card .badge {
  font-size: 0.85rem;
  padding: 5px 10px;
  margin-bottom: 15px;
}

.best-sellers .card .card-title {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: #fff;
}

.best-sellers .card .card-text {
  font-size: 1rem;
  color: #aaa;
  margin-bottom: 15px;
}

.best-sellers .price {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.best-sellers .price .old-price {
  text-decoration: line-through;
  color: #aaa;
}

.best-sellers .price .discount-price {
  font-size: 1.4rem;
  font-weight: bold;
  color: #00bfff;
}

.best-sellers .btn-primary {
  background-color: #ffffff;
  border-color: #00bfff;
  padding: 10px 20px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.best-sellers .btn-primary:hover {
  background-color: #0095cc;
  border-color: #0095cc;
}

@media (max-width: 768px) {
  .best-sellers .card {
    margin-bottom: 20px;
  }

  .best-sellers .price {
    flex-direction: column;
    text-align: center;
  }
}

.training-courses {
  background-color: #121212;
  color: white;
  padding: 50px 0;
}

.training-courses .section-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #00bfff;
  margin-bottom: 40px;
}

.category-buttons {
  padding: 20px;
  border-radius: 25px;
  border: 1px solid #ffffff;
}

.category-button {
  display: block;
  background: none;
  border: none;
  color: #ffffff;
  max-height: 83px;
  font-size: 1.1rem;
  padding: 7px 20px;
  width: 100%;
  border-radius: 14px;
  margin-bottom: 22px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.category-button:hover {
  background-color: #7067cb;
  color: white;
}

.category-button.active {
  background-color: #7067cb;
  color: white;
}

.category-content {
  background: #3c3a50;
  padding: 30px;
  border-radius: 18px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  height: 100%;
  color: white;
  margin-left: 10px;
}

@media (max-width: 768px) {
  .category-buttons {
    margin-bottom: 30px;
  }

  .category-button {
    font-size: 1rem;
  }
}

.training-courses {
  background-color: #121212;
  color: white;
  padding: 50px 0;
}

.training-courses .section-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #00bfff;
  margin-bottom: 40px;
}

.training-card {
  position: relative;
  /* background-color: #333; */
  border-radius: 10px;
  overflow: hidden;
}

.training-card:hover {
  transform: scale(1.05);
}

.card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-bottom: 2px solid #00bfff;
}

.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  text-align: center;
}

.card-title {
  font-size: 1.2rem;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 10px;
}

.card-price {
  font-size: 1.5rem;
  color: #73f1ff;
  font-weight: bold;
  margin-bottom: 10px;
}

.card-type {
  font-size: 1.1rem;
  color: #fff;
}

@media (max-width: 768px) {
  .training-card {
    margin-bottom: 30px;
  }
}

.features {
  background-color: #1f1f2b;
  padding: 50px 0;
}

.feature-box {
  background: linear-gradient(
    135deg,
    rgba(56, 41, 243, 0.7),
    rgba(255, 255, 255, 0.1)
  );
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  margin: 10px;
  transition: transform 0.3s;
}

.feature-box:hover {
  transform: translateY(-10px);
}

.feature-box .image img {
  width: 50px;
  height: 50px;
  margin-bottom: 15px;
}

.feature-box p {
  color: #ffffff;
  font-size: 16px;
}

.courses {
  background-color: #1f1f2b;
  padding: 50px 0;
  text-align: center;
  color: white;
}

.courses h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.course-card {
  background: #656286;
  border-radius: 8px;
  padding: 30px;
  margin: 15px;
  text-align: center;
  transition: transform 0.3s;
}

.course-card:hover {
  transform: translateY(-10px);
}

.course-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.badge {
  background-color: #ff5e5e;
  padding: 5px 15px;
  border-radius: 50px;
  font-size: 14px;
}

.badge.new {
  background-color: #56aaff;
}

.badge.soon {
  background-color: #ffcc00;
}

.type {
  font-size: 14px;
  color: #a0a0a0;
}

.course-info {
  margin-top: 20px;
}

.course-info h4 {
  font-size: 24px;
  margin-bottom: 10px;
}

.language {
  font-size: 14px;
  color: #a0a0a0;
}

.course-desc {
  font-size: 16px;
  color: #ccc;
  margin-bottom: 15px;
}

.price {
  font-size: 20px;
  font-weight: bold;
  color: #00d1ff;
}

.btn {
  background-color: #ffffff;
  color: rgb(0, 111, 148);
  width: 100%;
  border: none;
  padding: 10px 20px;
  border-radius: 45px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: #0056cc;
}

.certification-process {
  background-color: #1f1f2b;
  padding: 50px 0;
  color: white;
}

.certification-image {
  position: relative;
  text-align: center;
}

.certification-image img {
  width: 100%;
  border-radius: 8px;
  background-color: rgba(0, 0, 0, 0.3);
}

.certification-image h2 {
  position: absolute;
  top: 19%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 36px;
  font-weight: bold;
  color: white;
}

.certification-steps {
  /* margin-top: 30px; */
  display: flex;
  flex-wrap: wrap;
  /* flex-direction: column; */
}

.step {
  background: #92856c;
  margin: 10px;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s;
  mix-blend-mode: color-dodge;
  flex: 1 1 calc(50% -10%);
}

.step:hover {
  transform: translateY(-10px);
}

.step .icon {
  margin-bottom: 10px;
}

.step .icon img {
  width: 50px;
  height: 50px;
}

.step p {
  font-size: 16px;
  color: #ffffff;
  font-weight: 600;
}

.e-learning {
  background-image: url("./images/frameMicedColor.png"); /* Add the path to your image */
  background-size: cover;
  background-position: center;
  padding: 40px 0;
  color: white;
  text-align: center;
}

.e-learning-frame {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-radius: 8px;
  background-clip: padding-box;
}

.e-learning-frame .text-left,
.e-learning-frame .text-right {
  color: white;
  font-size: 18px;
  font-weight: bold;
  margin: 0;
}

.e-learning-frame .btn-enroll {
  background-color: transparent;
  border: 2px dashed #ff5e5e;
  color: white;
  padding: 10px 30px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 25px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.e-learning-frame .btn-enroll:hover {
  background-color: #ff5e5e;
  color: white;
  border-color: #ff5e5e;
}
