 /* ===== Modern Courses Section Styling ===== */
 .courses-wrapper-modern {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
   gap: 25px;
   padding: 40px 20px;
   background: linear-gradient(135deg, #002b4e, #004b8d);
   border-radius: 20px;
 }

 .course-card {
   background: #ffffff;
   border-radius: 16px;
   overflow: hidden;
   box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
   transition: transform 0.3s ease, box-shadow 0.3s ease;
 }

 .course-card:hover {
   transform: translateY(-8px);
   box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
 }

 .course-image img {
   width: 100%;
   height: 160px;
   object-fit: cover;
   border-bottom: 4px solid #FFD700;
 }

 .course-content {
   padding: 20px;
   text-align: center;
 }

 .course-content h4 {
   font-family: 'Poppins', sans-serif;
   font-size: 20px;
   font-weight: 700;
   color: #003366;
   margin-bottom: 10px;
 }

 .course-content h4 a {
   color: #003366;
   text-decoration: none;
   transition: color 0.3s ease;
 }

 .course-content h4 a:hover {
   color: #FFD700;
 }

 .duration-rating p {
   margin: 6px 0;
   font-size: 15px;
   color: #444;
 }

 .duration-rating span {
   color: #00509e;
   font-weight: 600;
 }

 .course-buttons {
   margin-top: 15px;
   display: flex;
   justify-content: center;
   gap: 10px;
   flex-wrap: wrap;
 }

 .course-buttons a {
   display: inline-block;
   background: #FFD700;
   color: #003366;
   font-weight: 600;
   padding: 10px 18px;
   border-radius: 8px;
   text-decoration: none;
   transition: all 0.3s ease;
 }

 .course-buttons a:hover {
   background: #003366;
   color: #FFD700;
 }

 .recruiter-grid {
   display: grid;
   grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
   gap: 20px;
   margin-top: 20px;
 }

 .image-course {
   border-radius: 4px;
   box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
   padding: 15px;
   text-align: center;
 }

 .image-course img {
   width: 120px;
   height: 120px;
   object-fit: contain;
 }

 .placement-grid {
   display: grid;
   grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
   gap: 20px;
   margin-top: 20px;
 }


 .placement-card {
   border-radius: 4px;
   padding: 18px;
   text-align: center;
   box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
 }

 .placement-card img {
   width: 100%;
   height: 70%;
   object-fit: cover;
   border-radius: 4px;
   margin-bottom: 10px;
   border-radius: 50%;
 }

 .placement-card h6 {
   margin-top: 10px;
   font-weight: 600;
 }

 .placement-card p {
   font-size: 14px;
   margin-bottom: 0;
 }

 /*------Testimonial-------*/


 .testimonial-section {
   background: linear-gradient(135deg, #e0f7fa, #f1f8e9);
   padding: 60px 20px;
 }

 .testimonialSwiper {
   width: 100%;
 }

 .testimonial-heading {
   text-align: center;
   font-size: 2rem;
   font-weight: 700;
   color: #333;
   margin-bottom: 40px;
 }

 .testimonial-box {
   background: #fff;
   padding: 25px;
   border-radius: 12px;
   box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
   text-align: center;
   transition: transform 0.3s ease, box-shadow 0.3s ease;
   position: relative;
 }
.swiper-button-next, .swiper-rtl .swiper-button-prev ,
.swiper-button-prev, .swiper-rtl .swiper-button-next{
    color: #0c8b51;
}

 @media (max-width: 680px) {
   .testimonial-box {
     width: 70%;
     margin-left: auto;
     margin-right: auto;
   }
 }

 .testimonial-box:hover {
   transform: translateY(-8px);
   box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
 }

 .testimonial-box p {
   font-style: italic;
   color: #555;
   margin-bottom: 15px;
   font-size: 15px;
   line-height: 1.6;
   max-height: 4.8em;
   overflow: hidden;
   position: relative;
   transition: max-height 0.4s ease;
 }

 .show-more {
   color: #0c8b51;
   font-size: 14px;
   font-weight: 500;
   cursor: pointer;
   border: none;
   background: none;
   padding: 0;
   transition: all 0.3s ease-in-out;
 }

 .show-more:hover {
   color: #000000;
   opacity: 0.8;
 }

 .swiper-pagination-bullet {
   background-color: #0c8b51;
 }

 .testimonial-box.expanded p {
   max-height: 100em;
 }

 .author {
   margin-top: 20px;
 }

 .author img {
   width: 70px;
   height: 70px;
   border-radius: 50%;
   margin-bottom: 10px;
   object-fit: cover;
 }

 .author h4 {
   margin: 5px 0 0;
   font-size: 17px;
   font-weight: 600;
 }

 .author span {
   font-size: 14px;
   color: #888;
 }

 /* ===== Our Team Section Styling ===== */
 .teacher-row {
   display: flex;
   flex-direction: column;
   gap: 40px;
 }

 /* .teacher-col{
    flex: 1;
    padding: 20px;
    text-align: center;
 } */
 .teacher-col {
   display: flex;
   flex-direction: row;
   flex: 1 1 calc(25% - 20px);
   min-width: 250px;
   text-align: center;
   width: 100%;
   align-items: center;
 }

 .teacher-card {
   background: #fff;
   border-radius: 12px;
   /* box-shadow: 0 5px 20px rgba(0,0,0,0.08); */
   text-align: center;
   transition: 0.3s ease;
   width: 20%;
   cursor: pointer;
 }

 .teacher-card:hover {
   transform: translateY(-6px);
 }

 .teacher-message {
   width: 80%;
   padding: 20px 40px;
   box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
   background-color: darkgray;
   border-radius: 10px;
 }

 .teacher-message p {
   font-size: 16px;
   line-height: 28px;
   color: 000;
   text-align: justify;
 }

 .teacher-content {
   display: none;
   padding: 10px 0;
   transition: all 0.3s ease-in-out;
   max-height: 0;
   overflow: hidden;
   opacity: 0;
   transition: max-height 0.4s ease, opacity 0.3s ease;
   padding: 0 10px;
 }

 .teacher-content.show {
   max-height: 250px;
   display: block;
   max-height: 200px;
   opacity: 1;
   padding: 10px;
 }

 .teacher-card:hover+.teacher-content {
   max-height: 250px;
   opacity: 1;
   padding: 10px;
 }

 /* Teacher Image */
 .teacher-image img {
   width: 100%;
   height: 260px;
   object-fit: cover;
   border-radius: 12px;
   cursor: pointer;
   transition: 0.3s;
   border-radius: 40px;
   padding: 30px;
   filter: drop-shadow(2px 4px 6px black);
 }

 .teacher-image img:hover {
   transform: scale(1.05);
 }

 /* Tablet Responsive */
 @media (max-width: 992px) {
   .courses-col {
     flex: 1 1 calc(50% - 20px);
   }

   .teacher-message {
     padding: 10px;
   }

   .teacher-image img {
     height: 80px;
     padding: 0px;
   }

   .teachers-page {
     padding: 5% 2%;
   }

   .teacher-card {
     width: 30%;
   }
 }

 /* Mobile Responsive */
 @media (max-width: 600px) {
   .courses-col {
     flex: 1 1 100%;
   }
 }

 /* Modal Overlay */
 .teacher-modal-overlay {
   position: fixed;
   inset: 0;
   background: rgba(0, 0, 0, 0.65);
   display: none;
   align-items: center;
   justify-content: center;
   z-index: 9999;
 }

 /* Sliding container */
 .teacher-modal {
   width: 90%;
   max-width: 600px;
   background: #fff;
   border-radius: 14px;
   overflow: hidden;
   transform: translateX(100%);
   transition: 0.4s ease-in-out;
 }

 .teacher-modal.open {
   transform: translateX(0);
 }

 /* Modal Header */
 .teacher-modal-header {
   padding: 20px;
   background: #0066FF;
   color: #fff;
   font-size: 22px;
   display: flex;
   justify-content: space-between;
   align-items: center;
 }

 .teacher-modal-header button {
   background: transparent;
   border: none;
   font-size: 26px;
   color: #fff;
   cursor: pointer;
 }

 /* Modal Body */
 .teacher-modal-body {
   padding: 20px;
 }

 .teacher-modal-body img {
   width: 120px;
   height: 120px;
   object-fit: cover;
   border-radius: 100px;
   display: block;
   margin: 0 auto 15px;
 }

 .teacher-modal-body p {
   text-align: center;
   font-size: 16px;
   color: #555;
 }

 /* SLIDER BUTTONS */
 .slider-buttons {
   display: flex;
   justify-content: space-between;
   margin-top: 15px;
 }

 .slider-buttons button {
   padding: 10px 20px;
   border: none;
   background: #0066FF;
   color: #fff;
   border-radius: 8px;
   cursor: pointer;
 }

 /* .teacher-image a img {
   height: 400px;
   width: 600px;
   border-radius: 10%;
 } */

 @media (max-width: 294px) {
   .teacher-image a img {
     width: 500px;
     height: 300px;
   }

   .courses-wrapper-modern {
     grid-template-columns: none;
   }
 }

 .teacher-details-content p span {
   font-size: 42px;
   font-weight: 700;
 }

 /*--------------Icon--------------*/
 .footer-social {
   /* height: 100px; */
 }

 .icon-social {
   display: flex;
   flex-direction: row;
   padding: 20px 70px;
   justify-content: space-between;
 }

 .icon-social li {
   background: transparent;
   width: 70px;
   text-align: -webkit-center;
   align-content: center;
 }

 .icon-social li a i {
   font-size: 20px;
   height: 30px;
   width: 30px;
   margin-top: 8px;
 }

 .facebook {
   border: 1px solid #1877F2;
   color: #1877F2;
   border-radius: 50%;
 }

 .facebook:hover {
   background-color: #1877F2;
   color: white;
 }

 .instagram {
   border: 1px solid #DD2A7B;
   border-radius: 50%;
   font-weight: bold;
   background: linear-gradient(45deg, #FEDA77, #F58529, #DD2A7B, #8134AF, #515BD4);
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent;
   transition: 0.3s;
 }

 .instagram:hover {
   background: linear-gradient(45deg, #FEDA77, #F58529, #DD2A7B, #8134AF, #515BD4);
   color: white;
   -webkit-text-fill-color: white;
 }

 /* Hover – Full Gradient background + white text */
 .instagram:hover {
   background-image: linear-gradient(45deg, #FEDA77, #F58529, #DD2A7B, #8134AF, #515BD4);
   color: #fff;
   -webkit-background-clip: unset;
   background-clip: unset;
 }

 .linkedin {
   border: 1px solid #0A66C2;
   color: #0A66C2;
   border-radius: 50%;
 }

 .linkedin:hover {
   background-color: #0A66C2;
   color: white;
 }

 .whatsapp {
   border: 1px solid #25D366;
   color: #25D366;
   border-radius: 50%;
 }

 .whatsapp:hover {
   background-color: #25D366;
   color: white;
 }


 /* Responsive Text */
 @media (max-width: 768px) {
   .course-content h4 {
     font-size: 18px;
   }

   .course-content {
     padding: 15px;
   }
 }