.course-key-info {
  padding: 25px;
}

.key-info-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  align-items: stretch;
}

.key-info-item {
  display: flex;
  align-items: center;
  padding: 20px 25px;
  background: #fff;
  border: none;
  border-radius: 10px;
  flex: 1 1 200px;
  max-width: 280px;
  position: relative;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.key-info-item:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #d72f24, #07294d);
}

.key-info-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.key-info-item:hover .key-info-icon {
  transform: rotateY(180deg) scale(1.1);
  animation: flash 0.5s ease;
}

.key-info-item:hover .key-info-icon::before {
  background-color: #d72f24;
}

.key-info-icon {
  width: 60px;
  height: 60px;
  background: #07294d;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  flex-shrink: 0;
  box-shadow: 0 5px 12px rgba(7, 41, 77, 0.25);
  border: 3px solid rgba(255, 255, 255, 0.2);
  position: relative;
  transition: transform 0.6s ease, filter 0.3s ease;
  transform-style: preserve-3d;
}

.key-info-icon:before {
  content: "";
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border-radius: 14px;
  background: #07294d;
  z-index: -1;
}

.key-info-icon i {
  color: white;
  font-size: 24px;
  text-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
}

/* Flash animation */
@keyframes flash {
  0% {
    filter: brightness(1);
  }

  50% {
    filter: brightness(1.8);
  }

  100% {
    filter: brightness(1);
  }
}

.key-info-content {
  padding-left: 5px;
}

.key-info-content h4 {
  color: #d72f24;
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 8px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

.key-info-content p {
  color: #07294d;
  font-size: 16px;
  margin: 0;
  font-weight: 600;
  line-height: 1.4;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .key-info-section {
    padding: 30px 0;
  }

  .course-key-info {
    padding: 20px;
  }

  .key-info-item {
    flex: 1 1 calc(34.333% - 20px);
    max-width: none;
  }
}

@media (max-width: 767px) {
  .key-info-section {
    padding: 20px 0;
  }

  .course-key-info {
    padding: 15px;
  }

  .key-info-wrapper {
    gap: 15px;
  }

  .key-info-item {
    flex: 1 1 calc(50% - 15px);
    padding: 15px;
  }

  .key-info-icon {
    width: 50px;
    height: 50px;
    margin-right: 15px;
  }

  .key-info-icon i {
    font-size: 20px;
  }

  .key-info-content h4 {
    font-size: 14px;
    margin-bottom: 5px;
  }

  .key-info-content p {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .key-info-wrapper {
    gap: 12px;
  }

  .key-info-item {
    flex: 1 1 100%;
    padding: 12px 15px;
  }

  .key-info-icon {
    width: 45px;
    height: 45px;
    margin-right: 12px;
  }

  .key-info-icon i {
    font-size: 18px;
  }
}

.Infrastructure-sec {
  background: #f9f9f9;
  padding: 24px 30px;
  border-radius: 10px;
  border: 1px solid #ddd;
  margin-bottom: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.Infrastructure-sec h2 {
  color: #07294d;
  font-size: 20px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.Infrastructure-sec p {
  font-size: 16px;
  color: #333;
  margin-bottom: 15px;
}

.infra-requirements {
  list-style: none;
  padding-left: 0;
}

.infra-requirements li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  font-size: 16px;
  color: #07294d;
  font-weight: 500;
}

.infra-requirements li::before {
  content: "\f00c"; /* Font Awesome check icon */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0;
  color: #d72f24;
  font-size: 16px;
}

/* Optional: responsive tweaks */
@media (max-width: 600px) {
  .Infrastructure-sec {
    padding: 16px 20px;
  }

  .Infrastructure-sec h2 {
    font-size: 18px;
  }

  .infra-requirements li {
    font-size: 15px;
  }
}

.course-featured-image {
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 25px;
  width: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 4px solid #d72f24;
}

.new-table {
  border-collapse: collapse;
  font-family: Arial, sans-serif;
  margin-bottom: 2rem;
  width: 100%;
}

.new-table.table-bordered {
  border: 1px solid #dee2e6;
}

.new-table.table-bordered td {
  border: 1px solid #dee2e6;
  padding: 0.75rem;
  vertical-align: middle;
}

.new-table tr:first-child {
  background-color: #f8f9fa;
}

.new-table tr:last-child {
  background-color: #f8f9fa;
}

.new-table tr:last-child td {
  font-weight: bold;
}

.new-table tr:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

/* Fee amount styling */
.new-table td:nth-child(2),
.new-table td:nth-child(3),
.new-table td:nth-child(4) {
  text-align: center;
}

/* Total fee row styling */
.new-table tr:last-child td[colspan="3"] {
  text-align: center;
  color: #565555;
  font-size: 18px;
}

.rupee-symbol {
  vertical-align: middle;
  width: 12px;
  height: auto;
}

@media (max-width: 768px) {
  .new-table {
    display: block;
    overflow-x: auto;
    width: 100%;
  }
}

.content-section {
  padding: 60px 0;
  overflow: hidden;
}

.section-heading {
  font-size: 28px;
  color: #0a2342;
  /* Dark Blue */
  margin-bottom: 60px;
  /* Increased bottom margin for more space before content */
  position: relative;
  font-weight: 700;
  text-align: center;
}

.section-heading::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -20px;
  /* Adjusted for increased margin-bottom */
  height: 4px;
  width: 70px;
  background-color: #d72f24;
  /* Red */
}

.benefits-section {
  background-color: #f8f9fa;
}

.benefits-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.benefits-col-left {
  flex: 1.2;
  padding: 25px;
  min-width: 320px;
}

.benefits-col-right {
  flex: 0.8;
  padding: 25px;
  min-width: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefits-section .section-heading {
  text-align: left;
  margin-bottom: 40px;
  /* Original margin for this specific heading */
}

.benefits-section .section-heading::after {
  left: 0;
  transform: translateX(0);
  bottom: -15px;
  /* Original position for this specific heading */
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 25px;
}

.benefit-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 15px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  padding: 25px 20px;
  text-align: center;
  border: 2px solid transparent;
  transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1),
    box-shadow 0.35s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.35s ease;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.5s ease-out forwards;
}

.benefit-card:nth-child(1) {
  animation-delay: 0.1s;
}

.benefit-card:nth-child(2) {
  animation-delay: 0.2s;
}

.benefit-card:nth-child(3) {
  animation-delay: 0.3s;
}

.benefit-card:nth-child(4) {
  animation-delay: 0.4s;
}

.benefit-card:nth-child(5) {
  animation-delay: 0.5s;
}

.benefit-card:nth-child(6) {
  animation-delay: 0.6s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.benefit-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  border-color: #d72f24;
}

.benefit-icon::before {
  content: "";
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border-radius: 14px;
  background: #07294d;
  z-index: -1;
}

.benefit-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 5px 12px rgba(7, 41, 77, 0.25);
  border: 3px solid rgba(255, 255, 255, 0.2);
  position: relative;
  transition: transform 0.6s ease, filter 0.3s ease;
  transform-style: preserve-3d;
}

.benefit-card:hover .benefit-icon {
  transform: rotateY(180deg) scale(1.1);
  animation: flash 0.5s ease;
}

.benefit-card:hover .benefit-icon::before {
  background-color: #d72f24;
}

.benefit-icon i {
  color: white;
  font-size: 24px;
  text-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
}

/* Flash animation */
@keyframes flash {
  0% {
    filter: brightness(1);
  }

  50% {
    filter: brightness(1.8);
  }

  100% {
    filter: brightness(1);
  }
}

.benefit-text {
  font-size: 16px;
  font-weight: 600;
  color: #333333;
  margin: 0;
  line-height: 1.4;
}

.benefits-image-container {
  position: relative;
  width: 100%;
  max-width: 450px;
}

.benefits-image-background-shape {
  position: absolute;
  top: -15px;
  left: -15px;
  width: calc(100% + 40px);
  height: calc(100% + 40px);
  background-color: #07294d;
  border-radius: 15px;
  z-index: 1;
  clip-path: polygon(0% 0%, 100% 10%, 95% 100%, 5% 90%);
  opacity: 0.85;
  transition: transform 0.4s ease-out, opacity 0.4s ease-out;
}

.benefits-image-container:hover .benefits-image-background-shape {
  transform: translate(5px, -5px) scale(1.05);
  opacity: 1;
}

.benefits-image-wrapper {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 2;
  clip-path: polygon(0% 10%, 100% 0%, 100% 90%, 0% 100%);
  transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1),
    clip-path 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.benefits-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.benefits-image-container:hover .benefits-image-wrapper {
  transform: scale(1.05);
  clip-path: polygon(0% 0%, 100% 10%, 100% 100%, 0% 90%);
}

.benefits-image-container:hover .benefits-image {
  transform: scale(1.1);
}

.career-opportunities-section {
  background-color: #ffffff;
}

.career-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  list-style: none;
  padding: 0;
}

.career-item {
  background-color: #f8f9fa;
  padding: 15px 20px;
  border-radius: 8px;
  font-size: 16px;
  color: #333333;
  font-weight: 500;
  display: flex;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  transform: translateY(20px);
  animation: fadeInUp 0.5s ease-out forwards;
}

.career-item:nth-child(1) {
  animation-delay: 0.1s;
}

.career-item:nth-child(2) {
  animation-delay: 0.15s;
}

.career-item:nth-child(3) {
  animation-delay: 0.2s;
}

.career-item:nth-child(4) {
  animation-delay: 0.25s;
}

.career-item:nth-child(5) {
  animation-delay: 0.3s;
}

.career-item:nth-child(6) {
  animation-delay: 0.35s;
}

.career-item:nth-child(7) {
  animation-delay: 0.4s;
}

.career-item:nth-child(8) {
  animation-delay: 0.45s;
}

.career-item:nth-child(9) {
  animation-delay: 0.5s;
}

.career-item:nth-child(10) {
  animation-delay: 0.55s;
}

.career-item:hover {
  transform: translateY(-5px);
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px, rgb(212, 20, 20) 0px 0px 0px 3px;
}

.career-item .fas {
  color: #d72f24;
  margin-right: 12px;
  font-size: 20px;
}

/* Distinct Styling for "Why Choose" Section */
.why-choose-creative-section {
  background-color: #f8f9fa;
  /* Light gray background */
}

.why-choose-list {
  list-style: none;
  padding: 0;
  max-width: 500px;
  /* Control width for better readability */
  margin: 0 auto;
  /* Center the list */
}

.why-choose-item {
  display: flex;
  align-items: center;
  /* Align items to the top */
  margin-bottom: 30px;
  /* Space between items */
  padding: 20px;
  background-color: #ffffff;
  /* White background for each item */
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.07);
  opacity: 0;
  transform: translateX(-30px);
  /* Start off-screen to the left */
  transition: all 0.3s ease-in;
  animation: slideInFromLeft 0.6s ease-out forwards;
}

/* Staggered animation for why-choose items */
.why-choose-item:nth-child(1) {
  animation-delay: 0.1s;
}

.why-choose-item:nth-child(2) {
  animation-delay: 0.25s;
}

.why-choose-item:nth-child(3) {
  animation-delay: 0.4s;
}

.why-choose-item:nth-child(4) {
  animation-delay: 0.55s;
}

.why-choose-item:nth-child(5) {
  animation-delay: 0.7s;
}

@keyframes slideInFromLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.why-choose-item:hover {
  transform: scale(1.03);
  /* Subtle scale on hover */
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px, rgb(212, 20, 20) 0px 0px 0px 3px;
}

.why-choose-number {
  font-size: 48px;
  /* Large stylized number */
  font-weight: 700;
  color: #d72f24;
  /* Red color */
  margin-right: 25px;
  line-height: 1;
  /* Adjust line height for better alignment */
  min-width: 50px;
  /* Ensure space for number */
  text-align: center;
}

.why-choose-content {
  flex: 1;
}

.why-choose-title {
  font-size: 20px;
  font-weight: 600;
  color: #0a2342;
  /* Dark Blue */
  margin-top: 0;
  /* Align with top of number */
  margin-bottom: 8px;
}

/* If there were descriptions, they would go here */
/* .why-choose-description { 
        font-size: 15px; 
        color: #555555; 
        line-height: 1.6;
      } */

.brk {
  display: none;
}

/* Responsive Adjustments */
@media screen and (max-width: 991px) {
  .benefits-row {
    flex-direction: column;
  }

  .benefits-col-left,
  .benefits-col-right {
    width: 100%;
    padding: 20px 15px;
  }

  .section-heading {
    font-size: 24px;
  }

  .benefits-section .section-heading {
    text-align: center;
  }

  .benefits-section .section-heading::after {
    left: 50%;
    transform: translateX(-50%);
  }
}

@media screen and (max-width: 768px) {
  .benefits-grid,
  .career-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }

  .career-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }

  .section-heading {
    font-size: 22px;
  }

  .why-choose-item {
    flex-direction: column;
    /* Stack number and content on smaller screens */
    align-items: center;
    /* Center items when stacked */
    text-align: center;
  }

  .why-choose-number {
    margin-right: 0;
    margin-bottom: 15px;
    /* Space between number and text */
    font-size: 40px;
  }

  .why-choose-title {
    font-size: 18px;
  }
  .brk {
    display: block;
  }
}

@media screen and (max-width: 480px) {
  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .career-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    font-size: 20px;
  }

  .benefit-card,
  .career-item {
    padding: 20px 15px;
  }

  .benefit-icon,
  .career-item .fas {
    font-size: 30px;
  }

  .career-item .fas {
    font-size: 18px;
  }

  .why-choose-number {
    font-size: 36px;
  }

  .why-choose-title {
    font-size: 17px;
  }
}

.faq-sect {
  padding: 30px 0;
}
.new-faq {
  margin-bottom: 25px;
}

.new-faq .new-head::after {
  left: 50% !important;
  transform: translateX(-50%) !important;
}
