/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f9f9f9;
  padding-top: 80px; /* Adjust this value based on your navbar height */
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

a {
  text-decoration: none;
  color: #2c3e50;
  transition: color 0.3s ease;
  
}

a:hover {
  color: #e74c3c;
}

/* Navbar Placeholder */
/* .navbar-placeholder {
  height: 0px;
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
} */




/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #1a2a3a, #2c3e50);
  color: white;
  padding: 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.main-title {
  font-size: 2.5rem;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.main-title span {
  display: block;
  font-size: 1.8rem;
  font-weight: 400;
  margin-top: 5px;
}

.main-title::after {
  content: "";
  display: block;
  width: 100px;
  height: 4px;
  background-color: #e74c3c;
  margin: 15px auto 0;
  border-radius: 2px;
}

.breadcrumb {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
}

.breadcrumb a {
  color: white;
  margin: 0 5px;
}

/* Courses Section */
.courses-section {
  padding: 60px 0;
  background-color: #fff;
}

.section-description {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #555;
  font-size: 1.1rem;
}

.course-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  padding: 20px;
}

.card {
  width: 347px;
  height: 460px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  overflow: hidden;
  position: relative;
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  background: #2a3b4d;
  color: #fff;
}

.card-image {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: fill;
}
.card:hover .card-image img {
  transform: scale(1.05);
  transition: transform 0.5s ease;
}
.badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #ff4757;
  color: white;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
}

.badge.new {
  background: #2ed573;
}

.badge.popular {
  background: #ffa502;
}

.card-content {
  padding: 15px;
}

.category {
  display: inline-block;
  background: #f1f2f6;
  color: #57606f;
  padding: 5px 10px;
  border-radius: 15px;
  font-size: 12px;
  margin-bottom: 10px;
}

.card h3 {
  margin: 10px 0;
  font-size: 22px;
  color: #2f3542;
}

.details {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  color: #57606f;
  margin-bottom: 10px;
}

.card p {
  font-size: 16px;
  color: #747d8c;
  margin-bottom: 10px;
}
.card:hover h3 {
  color: #fff;
}

.card:hover .details span {
  color: #ddd;
}

.card:hover p {
  color: #ccc;
}
.rating {
  font-size: 14px;
  color: #757575;
  font-weight: bold;
}
.rating:hover{
  color:white;
}


.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.course-card1 {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #eaeaea;
}

.course-card1:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.course-image {
  height: 199px;
  background-color: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;

  border-bottom: 1px solid #eaeaea;
}

.course-image img {
  width: 379px;
  height: 100%;
  object-fit: fill;
}

.course-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.course-content {
  padding: 20px;
}

.course-title {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: #2c3e50;
  font-weight: 600;
}

.course-description {
  color: #555;
  font-size: 0.9rem;
  margin-bottom: 15px;
  line-height: 1.5;
}

.course-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  font-size: 0.85rem;
  color: #777;
  border-top: 1px solid #eaeaea;
  padding-top: 15px;
}

.course-duration {
  display: flex;
  align-items: center;
}

.course-duration i {
  margin-right: 5px;
  color: #2c3e50;
}

.course-rating {
  display: flex;
  align-items: center;
}

.stars {
  color: #f39c12;
  margin-right: 5px;
}

.course-details {
  margin: 15px 0;
  font-size: 0.9rem;
}

.course-details-item {
  display: flex;
  margin-bottom: 8px;
  color: #555;
}

.course-details-item i {
  width: 20px;
  margin-right: 8px;
  color: #2c3e50;
}

.course-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}
.btn-enquiry-now{
  display: inline-block;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 16px;
  text-align: center;
  cursor: pointer;
  color: rgb(255, 255, 255);
  background-color: rgb(250, 77, 77); /* Base button color */
  border: none;
  box-shadow: 0 4px 14px rgba(255, 77, 77, 0.3);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-enquiry-now:hover {
  background-color: white; /* Your requested hover color */
  transform: translateY(-2px);
  border:2x solid #2c3e50;
  box-shadow: 0 6px 20px rgba(44, 62, 80, 0.5);
  color: rgb(240, 15, 15);
}
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 16px;
  text-align: center;
  cursor: pointer;
  color: white;
  background-color: #ff4d4d; /* Base button color */
  border: none;
  box-shadow: 0 4px 14px rgba(255, 77, 77, 0.3);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn:hover {
  background-color: white; /* Your requested hover color */
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(44, 62, 80, 0.5);
  color: #ff4d4d;
}

.btn:active {
  transform: scale(0.97);
  box-shadow: 0 3px 10px rgba(44, 62, 80, 0.4);
}


/* Primary Button */
.btn-primary {
  background-color: #2c3e50;
  color:white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
}

.btn-primary:hover {
  background-color: #1a252f;
  transform: translateY(-2px);
}

/* Outline Button */
.btn-outline {
  background-color: #ff5252;
  color: #ffffff;
  border: 2px solid #ffffff;
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}


.btn-cta {
  display: inline-block;
  padding: 12px 30px;
  background-color: #ff6b6b;
  color: white;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-right: 15px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(255, 107, 107, 0.3);
}

.btn-cta:hover {
  background-color: #ff5252;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(255, 107, 107, 0.4);
}

/* Why Choose Us Section */
.why-choose-section {
  padding: 100px 0;
  background-color: #f8f9fa;
}
.why-choose{
  font-size: 2rem;
  text-align: center;
  position: relative;
  color: #ffffff;
}
.why-choose::after{
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background-color: #e74c3c;
  margin: 15px auto 0;
  border-radius: 2px;
}
.section-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  color: #2c3e50;
}

.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background-color: #e74c3c;
  margin: 15px auto 0;
  border-radius: 2px;
}

.why-choose-content {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
  color: #555;
}

.why-choose-content p {
  margin-bottom: 20px;
}

/* Who Can Apply Section */
.who-can-apply-section {
  padding: 60px 0;
  background-color: #fff;
}

.apply-list {
  max-width: 800px;
  margin: 0 auto;
  list-style: none;
}

.apply-list li {
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
  font-size: 1.1rem;
  color: #555;
}

.apply-list li i {
  position: absolute;
  left: 0;
  top: 5px;
  color: #2c3e50;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, #1a2a3a, #2c3e50);
  color: white;
  padding: 60px 0;
  text-align: center;
  position: relative;
  z-index: 10; /* Ensure it's above other elements */
}

.cta-section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.cta-section p {
  max-width: 700px;
  margin: 0 auto 30px;
  font-size: 1.1rem;
}

/* Footer */
.footer {
  background-color: #1a252f;
  color: white;
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.footer-logo h2 {
  margin-bottom: 15px;
  font-size: 1.8rem;
}

.footer-logo p {
  color: rgba(255, 255, 255, 0.7);
}

.footer-links h3,
.footer-contact h3,
.footer-social h3 {
  margin-bottom: 20px;
  font-size: 1.2rem;
  position: relative;
  padding-bottom: 10px;
}

.footer-links h3::after,
.footer-contact h3::after,
.footer-social h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background-color: #e74c3c;
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}

.footer-links ul li a:hover {
  color: white;
}

.footer-contact p {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact p i {
  margin-right: 10px;
  color: #e74c3c;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  transition: background-color 0.3s ease;
}

.social-icons a:hover {
  background-color: #e74c3c;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

/* Course Detail Page Styles */
.course-header {
  background-color: #2c3e50;
  color: white;
  padding: 60px 0;
  margin-block-start: auto;
}

.course-header-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  align-items: center;
}

.course-header-image {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 8px;
}

.course-header-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.course-header-image i {
  font-size: 6rem;
  color: white;
}

.course-header-info h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.course-header-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 20px 0;
}

.course-header-meta-item {
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.8);
}

.course-header-meta-item i {
  margin-right: 8px;
}

.course-overview {
  padding: 60px 0;
  background-color: white;
}

.course-overview-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

.course-description-full {
  line-height: 1.8;
  color: #555;
}

.course-description-full p {
  margin-bottom: 20px;
}

.course-sidebar {
  max-width: 320px;
  padding: 20px;
  background-color: #ffffff;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  position: sticky;
  top: 100px;
  float: right;
  margin-left: 40px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.course-price img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  margin-bottom: 20px;
}

.course-sidebar-cta {
  display: block;
  width: 100%;
  padding: 12px;
  background-color: #2c3e50;
  color: white;
  text-align: center;
  font-weight: bold;
  border-radius: 5px;
  text-decoration: none;
  margin-bottom: 20px;
  transition: 0.3s ease;
}

.course-sidebar-cta:hover {
  background-color: #1a252f;
  transform: scale(1.03);
}

.course-features {
  padding-top: 15px;
  border-top: 1px solid #eee;
}

.course-features h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #333;
}

.course-features-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.course-features-list li {
  margin-bottom: 10px;
  font-size: 15px;
  color: #555;
  display: flex;
  align-items: center;
}

.course-features-list li i {
  margin-right: 8px;
  color: #e74c3c;
}


.course-curriculum {
  padding: 60px 0;
  background-color: #f8f9fa;
}

.curriculum-accordion {
  margin-top: 40px;
}

.curriculum-module {
  margin-bottom: 20px;
  border: 1px solid #eaeaea;
  border-radius: 8px;
  overflow: hidden;
  background-color: white;
}

.module-header {
  padding: 20px;
  background-color: #f8f9fa;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: #2c3e50;
  border-bottom: 1px solid #eaeaea;
}

.module-header:hover {
  background-color: #f0f0f0;
}

.module-content {
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.module-content.active {
  max-height: 1000px;
  padding: 20px;
}

.module-lessons {
  list-style: none;
}

.module-lessons li {
  margin-bottom: 15px;
  padding-left: 25px;
  position: relative;
  color: #555;
}

.module-lessons li:last-child {
  margin-bottom: 0;
}

.module-lessons li i {
  position: absolute;
  left: 0;
  top: 5px;
  color: #2c3e50;
}

.course-benefits {
  padding: 60px 0;
  background-color: white;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.benefit-card {
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-5px);
}

.benefit-icon {
  font-size: 3rem;
  color: #e74c3c;
  margin-bottom: 20px;
}

.benefit-title {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: #2c3e50;
}

.benefit-description {
  color: #555;
  line-height: 1.6;
}

.course-instructors {
  padding: 60px 0;
  background-color: #f8f9fa;
}

.instructors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.instructor-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.instructor-image {
  height: 200px;
  overflow: hidden;
}

.instructor-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.instructor-info {
  padding: 20px;
}

.instructor-name {
  font-size: 1.2rem;
  margin-bottom: 5px;
  color: #2c3e50;
}

.instructor-title {
  color: #777;
  margin-bottom: 15px;
  font-size: 0.9rem;
}

.instructor-bio {
  color: #555;
  line-height: 1.6;
  margin-bottom: 15px;
}

.instructor-social {
  display: flex;
  gap: 10px;
}

.instructor-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  background-color: #f8f9fa;
  border-radius: 50%;
  color: #2c3e50;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.instructor-social a:hover {
  background-color: #2c3e50;
  color: white;
}

.course-reviews {
  padding: 60px 0;
  background-color: white;
}

.reviews-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-bottom: 40px;
}

.reviews-average {
  text-align: center;
}

.reviews-average-number {
  font-size: 4rem;
  font-weight: bold;
  color: #2c3e50;
  line-height: 1;
}

.reviews-stars {
  color: #f39c12;
  font-size: 1.5rem;
  margin: 10px 0;
}

.reviews-count {
  color: #777;
}

.reviews-breakdown {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 300px;
}

.review-breakdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.review-stars {
  width: 100px;
  text-align: right;
}

.review-bar {
  flex: 1;
  height: 10px;
  background-color: #f0f0f0;
  border-radius: 5px;
  overflow: hidden;
}

.review-bar-fill {
  height: 100%;
  background-color: #f39c12;
}

.review-percentage {
  width: 40px;
  color: #777;
  font-size: 0.9rem;
}

.reviews-list {
  margin-top: 40px;
}

.review-card {
  border: 1px solid #eaeaea;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
}

.review-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.review-author-image {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
}

.review-author-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-author-info h4 {
  margin-bottom: 5px;
  color: #2c3e50;
}

.review-date {
  color: #777;
  font-size: 0.9rem;
}

.review-rating {
  color: #f39c12;
}

.review-content {
  color: #555;
  line-height: 1.6;
}

.course-faq {
  padding: 60px 0;
  background-color: #f8f9fa;
}

.faq-accordion {
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.faq-item {
  margin-bottom: 15px;
  border: 1px solid #eaeaea;
  border-radius: 8px;
  overflow: hidden;
  background-color: white;
}

.faq-question {
  padding: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: #2c3e50;
}

.faq-question:hover {
  background-color: #f8f9fa;
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.active {
  max-height: 1000px;
  padding: 0 20px 20px;
}

.faq-answer p {
  color: #555;
  line-height: 1.6;
}

.related-courses {
  padding: 60px 0;
  background-color: white;
}

.related-courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}


/* Responsive Styles */
@media (max-width: 992px) {
  .course-header-content {
    grid-template-columns: 1fr;
  }

  .course-overview-grid {
    grid-template-columns: 1fr;
  }

  .course-sidebar {
    position: static;
  }

  .reviews-summary {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .courses-grid,
  .benefits-grid,
  .instructors-grid,
  .related-courses-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }

  .main-title {
    font-size: 2rem;
  }

  .main-title span {
    font-size: 1.5rem;
  }

  .course-header-image {
    height: 200px;
  }
}

@media (max-width: 480px) {
  .courses-grid,
  .benefits-grid,
  .instructors-grid,
  .related-courses-grid {
    grid-template-columns: 1fr;
  }

  .course-actions {
    flex-direction: column;
  }

  .btn-outline {
    margin-left: 0;
    margin-top: 10px;
  }

  .main-title {
    font-size: 1.8rem;
  }

  .main-title span {
    font-size: 1.3rem;
  }

  .course-header-meta {
    flex-direction: column;
    gap: 10px;
  }
}

/* Module Toggle Animation */
.module-toggle {
  transition: transform 0.3s ease;
}

.module-toggle.active {
  transform: rotate(180deg);
}

/* Active Module Styling */
.module-header.active {
  background-color: #f0f0f0;
  border-bottom: 2px solid #e74c3c;
}

.course-overview {
  padding: 60px 0;
  background-color: white;
}

.course-overview-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.course-overview-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

.course-description-full {
  line-height: 1.8;
  color: #555;
  font-size: 1.05rem;
}

.course-description-full p {
  margin-bottom: 20px;
}

.course-sidebar {
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 30px;
  position: sticky;
  top: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  border: 1px solid #e9ecef;
  height: fit-content;
}

.course-price {
  font-size: 2rem;
  color: #2c3e50;
  margin-bottom: 20px;
  font-weight: bold;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
}

.course-price span {
  font-size: 1rem;
  color: #777;
  text-decoration: line-through;
  margin-left: 0;
  font-weight: normal;
}

.course-sidebar-cta {
  width: 100%;
  padding: 15px;
  font-size: 1.1rem;
  margin-bottom: 20px;
  background-color: #2c3e50;
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.course-sidebar-cta:hover {
  background-color: #1a252f;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.course-features {
  margin-top: 30px;
}

.course-features h3 {
  margin-bottom: 15px;
  font-size: 1.2rem;
  color: #2c3e50;
  position: relative;
  padding-bottom: 8px;
}

.course-features h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: #e74c3c;
}

.course-features-list {
  list-style: none;
  display: grid;
  gap: 12px;
}

.course-features-list li {
  margin-bottom: 0;
  padding-left: 28px;
  position: relative;
  color: #555;
  line-height: 1.5;
}

.course-features-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #e74c3c;
  font-weight: bold;
  font-size: 1em;
  line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 992px) {
  .course-overview-grid {
    gap: 30px;
  }
  
  .course-sidebar {
    padding: 25px;
  }
}

@media (max-width: 768px) {
  .course-overview {
    padding: 40px 0;
  }
  
  .course-overview-grid {
    grid-template-columns: 1fr;
  }
  
  .course-sidebar {
    position: static;
    margin-top: 30px;
  }
  
  .course-price {
    font-size: 1.8rem;
  }
}

@media (max-width: 576px) {
  .course-overview {
    padding: 30px 0;
  }
  
  .course-sidebar {
    padding: 20px;
  }
  
  .course-sidebar-cta {
    padding: 12px;
    font-size: 1rem;
  }
  
  .course-features-list li {
    padding-left: 24px;
  }
}

/* code for course cards index */
/* Tablets & Medium Screens */
@media (max-width: 992px) {
    .course-cards {
        flex-wrap: wrap;
        justify-content: center;
    }
    .card {
        width: 45%; /* 2 cards per row */
    }
}

/* Mobile & Small Screens */
@media (max-width: 600px) {
    .card {
        width: 100%; /* 1 card per row */
    }
    .card-content {
        padding: 10px;
    }
    .card h3 {
        font-size: 18px;
    }
    .details {
        font-size: 12px;
        flex-direction: column;
        gap: 5px;
    }
    .card p {
        font-size: 13px;
    }
    .badge {
        font-size: 10px;
        padding: 3px 8px;
    }
    .category {
        font-size: 10px;
        padding: 3px 8px;
    }
}


/* Responsive Adjustments */
/* @media (max-width: 992px) {
  .course-sidebar {
    padding: 25px;
  }
  
  .course-price {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .course-sidebar {
    position: static;
    margin-top: 30px;
  }
  
  .course-features-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  .course-sidebar {
    padding: 20px;
  }
  
  .course-price {
    font-size: 1.7rem;
  }
  
  .course-features-list {
    grid-template-columns: 1fr;
  }
  
  .course-sidebar-cta {
    padding: 12px;
    font-size: 1rem;
  }
}

@media (max-width: 400px) {
  .course-price {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .course-price span {
    margin-left: 0;
  }
}
/* Responsive styles */
/* @media (max-width: 1024px) {
  .course-overview-grid {
    gap: 30px;
  }
  
  .course-sidebar {
    padding: 25px;
  }
}

@media (max-width: 768px) {
  .course-overview-grid {
    grid-template-columns: 1fr;
  }
  
  .course-sidebar {
    position: static;
    margin-top: 40px;
  }
  
  .course-overview {
    padding: 40px 0;
  }
}

@media (max-width: 480px) {
  .course-price {
    font-size: 1.7rem;
  }
  
  .course-sidebar {
    padding: 20px;
  }
  
  .course-features-list li {
    padding-left: 22px;
  }
  
  .course-sidebar-cta {
    font-size: 1rem;
    padding: 12px;
  }
} */ 