/* .styled-course {
  margin: 4rem auto;
  padding: 2.5rem 3rem;
  max-width: 900px;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 1.1rem;
  line-height: 1.8;
  color: #2c3e50;
  font-family: 'Inter', sans-serif;
  text-align: justify;
  transition: all 0.4s ease;
}

.styled-course:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.course-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 1000px;
  margin-top: 60px;
  margin-left: 220px;
  margin-bottom: 60px;
}

.course-card {
  display: flex;
  align-items: center;
  background: #D8C4B6;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  border-radius: 50px;
  overflow: hidden;
  transition: all 0.4s ease;
  position: relative;
}

.course-card:hover {
  transform: translateY(-5px);
}

.course-image {
  flex-shrink: 0;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background-color: #ddd;
  background-size: cover;
  background-position: center;
  margin-left: 20px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  transition: all 0.4s ease;
}

.course-description {
  padding: 20px;
  transition: all 0.4s ease;
}

.course-card strong {
  margin-left: 30px;
  font-size: 40px;
}

.know-more {
  display: inline-block;
  margin-top: 10px;
  color: blue;
  text-decoration: none;
  cursor: pointer;
}

.extra-info {
  display: none;
  margin-top: 15px;
  font-size: 0.95rem;
  color: #333;
}

.course-card.expanded {
  flex-direction: column;
  align-items: center;
  border-radius: 20px;
  padding: 30px;
}

.course-card.expanded .course-image {
  width: 180px;
  height: 180px;
  margin: 0 auto 20px;
}

.course-card.expanded .course-description {
  text-align: center;
  padding: 10px 40px;
}

.course-card.expanded .extra-info {
  display: block;
}


@media (max-width: 768px) {
  .course-card {
    flex-direction: column;
    align-items: center;
    border-radius: 16px;
    padding: 20px;
  }

  .course-image {
    margin: 20px auto 10px;
  }

  .course-description {
    padding: 10px 20px;
    text-align: center;
  }

  .course-container {
    margin-left: 20px;
    margin-right: 20px;
  }

  .course-card.expanded .course-description {
    padding: 10px 20px;
  }
} */

.course-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 1000px;
  margin: 60px auto;
}

.course-card {
  display: flex;
  align-items: center;
  background: #D8C4B6;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  border-radius: 50px;
  overflow: hidden;
  transition: all 0.4s ease;
  position: relative;
}

.course-card:hover {
  transform: translateY(-5px);
}

.course-image {
  flex-shrink: 0;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background-color: #ddd;
  background-size: cover;
  background-position: center;
  margin-left: 20px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  transition: all 0.4s ease;
}

.course-description {
  padding: 20px;
  transition: all 0.4s ease;
  flex: 1;
}

.course-header {
  display: flex;
  align-items: center;
  gap: 10px;
  
}

.course-header strong {
  font-size: 40px;
}

.dropdown-toggle {
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  transition: transform 0.3s ease;
}

.dropdown-toggle.open {
  transform: rotate(180deg);
}

.course-description p {
  margin-top: 10px;
}

.extra-info {
  display: none;
  margin-top: 15px;
  font-size: 0.95rem;
  color: #333;
  text-align: justify;

}
.extra-info h3{
  text-align: center  ;
}

.course-card.expanded {
  flex-direction: column;
  align-items: center;
  border-radius: 20px;
  padding: 30px;
}

.course-card.expanded .course-image {
  width: 180px;
  height: 180px;
  margin: 0 auto 20px;
}

.course-card.expanded .course-description {
  text-align: center;
  padding: 10px 40px;
}

.course-card.expanded .course-header {
  justify-content: center;
  margin-left: 0;
}

.course-card.expanded .extra-info {
  display: block;
}

/* Responsive */
@media (max-width: 768px) {
  .course-card {
    flex-direction: column;
    align-items: center;
    border-radius: 16px;
    padding: 20px;
  }

  .course-image {
    margin: 20px auto 10px;
  }

  .course-description {
    padding: 10px 20px;
    text-align: center;
  }

  .course-container {
    margin-left: 20px;
    margin-right: 20px;
  }

  .course-card.expanded .course-description {
    padding: 10px 20px;
  }
}





.extra-info {
  background: rgb(243, 230, 220);
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  font-family: 'Segoe UI', sans-serif;
  color: #333;
  max-width: 1000px;
  margin: 60px auto;
  line-height: 1.8;
}

.profile-header h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #1e88e5;
}

.profile-header h2 span {
  color: #000;
}

.profile-header p {
  font-size: 1rem;
  margin-bottom: 25px;
}

.specializations,
.vision,
.philosophy {
  margin-bottom: 30px;
}

.specializations h3,
.vision h3,
.philosophy h3 {
  font-size: 1.3rem;
  color: #1e88e5;
  margin-bottom: 10px;
}

.specializations ul {
  list-style: none;
  padding-left: 0;
}

.specializations ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 14px;
}

.specializations ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: #1e88e5;
  font-size: 1.1rem;
}

.philosophy .closing {
  margin-top: 20px;
  font-weight: bold;
  color: #222;
}



@media screen and (max-width: 768px) {
  .extra-info {
    padding: 20px;
  }

  .profile-header h2 {
    font-size: 1.5rem;
  }

  .specializations h3,
  .vision h3,
  .philosophy h3 {
    font-size: 1.1rem;
  }

 
}
