.course-card-wrapper {
  perspective: 1000px;
}


.course-card {
  position: relative;
  width: 100%;
  height: 200px;
  transform-style: preserve-3d;
  transition: transform 0.6s;
}

.course-card-wrapper:hover .course-card {
  transform: rotateY(180deg);
}

.course-front,
.course-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 20px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  text-align: center;
  text-align-last: center;

}

.course-front {
  background: #f9f9f9;
}


.course-back {
  background: #007bff;
  color: #fff;
  transform: rotateY(180deg);
  text-align-last: center;
}

.course-back p a {
  font-size: 1.2rem;
  font-weight: bold;
  color: white;
}

.full-form {
  font-style: italic;
  font-size: 0.9rem;
  color: #555;
}

.section-title {
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 1.5rem;
}

#courses .course-card-wrapper .course-card {
  height: 250px;
}

/* Define the CSS variable for the phone number */
:root {
  --phone-number: '+917324930960';
  /* Raw phone number */

}

/* Style the mobile link */
.mobile {
  color: white;
  text-decoration: none;
}

.course-back p a {
  font-size: 14px !important;
}


@media screen and (max-width:976px) {

  .course-front h4 {
    font-size: 1rem;
    font-weight: bold;
  }
}



/* fixed whatsapp icon */

/* Fixed vertical icons container */
.fixed-icons {
  position: fixed;
  top: 50%;
  right: 10px;
  /* Adjust this for horizontal placement */
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  /* Space between icons */
  z-index: 1000;
}

/* Styling for individual icons */
.fixed-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: #25d366;
  /* WhatsApp green color */
  color: white;
  font-size: 24px;
  text-decoration: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fixed-icons a.mobile {
  background-color: #007bff;
  /* Mobile blue color */
}

/* Hover effect */
.fixed-icons a:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}

/* Responsive design: smaller icons for small screens */
@media (max-width: 576px) {
  .fixed-icons a {
    width: 30px;
    height: 30px;
    font-size: 15px;
  }

  .fixed-icons {
    right: 5px;
    /* Adjust this for horizontal placement */
    gap: 5px;
    /* Space between icons */
  }

}

.custom-height {
  height: 300px;
}


@media (max-width: 400px) {
  .nav-item a{
      color:red !important;
      font-size:13px !important;

}


    
}