/*slider css*/
  /* --- FIX for vertical testimonial overlap --- */
   .testimonial-swiper {
   height: 280px; /* fits nicely in your layout */
   overflow: hidden;
   position: relative;
   }
   .testimonial-swiper .swiper-wrapper {
   transition-timing-function: linear !important; /* smooth flow */
   }
   .testimonial-swiper .swiper-slide {
   height: auto !important;
   display: flex;
   align-items: stretch;
   }
   .testimonial-card {
   flex: 1;
   background: #ffffffc4;
   border-radius: 12px;
   padding: 14px;
   box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
   display: flex;
   flex-direction: column;
   justify-content: space-between;
   }
   /* ===========================
   RESPONSIVE DESIGN
   =========================== */
   /* --- Large (Desktop) --- */
   @media (min-width: 1025px) {
   .testimonial-swiper {
   height: 340px;
   }
   }
   /* --- Medium (Tablet) --- */
   @media (min-width: 601px) and (max-width: 1024px) {
   .testimonial-swiper {
   height: 260px;
   }
   .testimonial-card p {
   font-size: 14px;
   }
   .testimonial-user img {
   width: 32px;
   height: 32px;
   }
   }
   /* --- Small (Mobile) --- */
   @media (max-width: 600px) {
   .testimonial-swiper {
   height: 200px;
   }
   .testimonial-card {
   padding: 10px 12px;
   }
   .testimonial-card p {
   font-size: 13.5px;
   line-height: 1.4;
   }
   .testimonial-user img {
   width: 30px;
   height: 30px;
   }
   .user-info strong {
   font-size: 13px;
   }
   .user-info {
   font-size: 12px;
   color:black;
   }
   }
   .user-info {
   font-size: 12px;
   color:black;
   }
   /* ===================
   MAIN SLIDER STYLES
   =================== */
   .slide-flex {
   display: flex;
   align-items: center;
   justify-content: space-between;
   gap: 30px;
   height: 100%;
   padding: 40px;
   background: linear-gradient(135deg, #14a4f5b8, #628ac8);
   color: white;
   border-radius: 14px;
   }
   .slide-text {
   /*flex: 1;*/
   }
   .slide-text h2 {
   font-size: 32px;
   margin-bottom: 14px;
   color: #fff;
   }
   .slide-text p {
   font-size: 16px;
   margin-bottom: 20px;
   max-width: 500px;
   line-height: 1.5;
   color: white;
   }
   .btn-outline {
   border: 2px solid white;
   color: white;
   padding: 10px 20px;
   border-radius: 8px;
   text-decoration: none;
   font-weight: 600;
   transition: all 0.3s;
   }
   .btn-outline:hover {
   background: white;
   color: #0b63d6;
   }
   /* Responsive */
   @media (max-width: 768px) {
   .slide-flex {
   flex-direction: column;
   text-align: center;
   }
   .slide-text,
   .slide-image {
   width: 100%;
   }
   }
   /* --- COURSE BOXES --- */
   .btn-group {
   /*display: flex;*/
   /*flex-wrap: wrap;*/
   gap: 20px;
   justify-content: center;
   margin-top: 20px;
   }
   .course-box {
   position: relative;
   background: #ffffff;
   border: 2px solid #0b63d6;
   border-radius: 14px;
   box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
   text-decoration: none;
   color: #0b63d6;
   text-align: center;
   padding: 20px 23px 20px;
   transition: all 0.3s 
   ease;
   overflow: hidden;
   }
   .course-box h3 {
   font-size: 1.3rem;
   font-weight: 700;
  color: #0a0a0b;
   margin-bottom: 8px;
   }
   .course-box p {
   font-size: 0.9rem;
   color: #444;
   margin: 0;
   }
   /* --- FIXED BOTTOM BADGE --- */
   .course-box .badge {
   position: absolute;
   bottom: 0;
   left: 0;
   width: 100%;
   background: #0b63d6;
   color: white;
   font-size: 0.8rem;
   font-weight: 600;
   text-align: center;
   padding: 6px 0;
   border-bottom-left-radius: 12px;
   border-bottom-right-radius: 12px;
   transition: all 0.3s ease;
   }
   /* --- HOVER EFFECT --- */
   .course-box:hover {
   background: #0b63d6;
   color: white;
   transform: translateY(-5px);
   box-shadow: 0 10px 25px rgba(11, 99, 214, 0.3);
   }
   .course-box:hover h3,
   .course-box:hover p {
   color: white;
   }
   .course-box:hover .badge {
   background: #ffffff;
   color: #0b63d6;
   }
   /* --- RESPONSIVE LAYOUT --- */
   @media (min-width: 1025px) {
   .course-box {
   /*width: 220px;*/
   }
   }
   @media (min-width: 601px) and (max-width: 1024px) {
   .btn-group {
   justify-content: center;
   gap: 20px;
   }
   .course-box {
   width: calc(50% - 20px);
   height: 130px;
   }
   }
   @media (max-width: 600px) {
   .btn-group {
   gap: 15px;
   }
   .course-box {
   width: calc(50% - 15px);
   height: 120px;
   }
   }
   /*Swiper Button Css*/
   .swiper-button-next, .swiper-button-prev
   {
   color:white;
   }
   .swiper-backface-hidden .swiper-slide {
   height:200px;
   }
   .swiper-backface-hidden .swiper-slide
   {
   height: 400px;
   }
/*slider css end here*/

/*CountDown CSS*/

   .countdown {
  padding: 40px 20px;
  margin-top: -27px;
  text-align: center;
  font-family: system-ui, Arial, sans-serif;
  background: #f8fafc!important;
}

.cd-container {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.cd-content {
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  min-width: 280px;
  color: #fff;
}

.cat-box {
  background: linear-gradient(135deg, #0f172a, #1e3a8a); 
}
.clat-box {
  background: #6f1b1d; 
}

.cd-box {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 15px;
}

.cd-item {
  background: rgba(255,255,255,0.15);
  padding: 15px;
  border-radius: 10px;
  min-width: 70px;
}
.cd-item span {
  font-size: 24px;
  font-weight: bold;
  display: block;
}
.cd-item small {
  font-size: 14px;
}


/*Countdown Css End*/

/*Teacher Slider Css Start */

.teacher-slider {
  margin: 0;
  box-sizing: border-box;
}

.teacher-head {
  font-family: inherit;
  margin: 30px 0px;
  padding: 20px 0px;
  text-align: center;
}

.slider-teacher-heading h2 {
  font-size: 2rem;
  font-weight: bold;
}

.teacher-wrapper {
  font-family: inherit;
  padding: 14px;
}

.slick-slide {
  display: flex !important;
  justify-content: center;
}

.teacher-card {
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 15px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.3s;
  margin: 0 10px;
  height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.teacher-photo img {
  width: 100%;
  
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 10px;
}

.teacher-name {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 10px 0 5px;
}

.teacher-designation {
  font-size: 0.95rem;
  color: #555;
  text-align:center;
  margin-bottom: 15px;
}

.view-profile-btn {
  
  padding: 8px 18px;
  background-color: #248de4;
  color: white;
  text-decoration: none;
  
  transition: background-color 0.3s ease;
}

.view-profile-btn:hover {
  background-color: #23527c;
}

/*Teacher Slider Css End here */

/*Panchmukhi Sikha Model CSS*/

.teaching-box {
    padding: 100px 20px;
    background: #f8fafc;
    font-family: system-ui, Arial, sans-serif;
}

.tb-container {
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.tb-image, .tb-content {
    flex: 1 1 43%;
    text-align: center;
}

/* Make image and content containers full width on smaller screens */
@media (max-width: 768px) {
    .tb-image, .tb-content {
        flex: 1 1 100%;
    }
}

.tb-image {
    text-align: center;
}

.tb-image iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9; /* Maintain aspect ratio for the video */
    min-height: 200px; /* Ensure a minimum height for smaller screens */
}

.tb-content {
    text-align: left; /* Align text content to the left */
}

.tb-content h2 {
    font-size: clamp(20px, 3vw, 30px);
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 15px;
}

.stages {
    list-style: none;
    padding: 0;
    margin: 0 0 0px;
}

.stages li {
    margin-bottom: 10px;
    font-size: 18px;
    color: #334155;
    position: relative;
    padding-left: 28px;
}

.stages li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #2563eb;
    font-weight: bold;
}

.highlight-box {
    color: black;
    padding: 5px 18px 5px 0px;
    font-size: 20px;
    font-weight: 700;
    border-radius: 8px;
    
    display: inline-block;
}

.btn-primary {
    display: inline-block;
    padding: 7px 10px;
    background: #2563eb;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.3s;
}

.btn-primary:hover {
    background: #1e40af;
}

/*Panchmukhi Sikha Model CSS END HERE*/

 /* Custom CSS for Course Slider */
                
                
                .slider-course-heading{
                    font-family:inherit;
                    margin:30px 0px;
                    padding:40px 0px;
                }
                
                
.course-slider * {
  margin: 0;
  
  box-sizing: border-box;
}

.course-slider {
  font-family:inherit;
  padding: 14px;
}

.slick-slide {
  display: flex !important;
  justify-content: center;
}

.course-item {
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 10px;
  text-align: center;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: 0 10px;
  height: 500px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.image-container img {
  width: 100%;
   object-fit: cover;
  border-radius: 10px;
  margin-bottom: 10px;
}

h3 {
  font-size: 1.2rem;
  font-family: "Gordita", sans-serif;
  margin-bottom: 10px;
}

p {
  font-size: 0.9rem;
  color: #555;
  text-align: justify;
  margin: 10px 0;
}

.description {
  text-align: left;
  margin: 10px 0;
  flex-grow: 1;
}

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

.description li {
  display: flex;
  font-size: 14px;
  align-items: center;
  margin-bottom: 5px;
}

.description li:before {
  content: "✔️";
  margin-right: 8px;
  color: #248de4;
  font-size: .9rem;
}

.course-info {
  display: flex;
  justify-content: space-between;
  margin: 10px 0;
}

.icon {
  font-size: 1.2rem;
  margin-right: 5px;
}

.price,
.duration {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
}

.know-more-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background-color: #248de4;
  color: white;
  text-decoration: none;
  border-radius: 10px;
  transition: background-color 0.3s ease;
}

.know-more-btn:hover {
  background-color: #23527c;
}

.slick-slide {
  margin: 0 10px;
}

 .feature-pagination span
   {
   margin-top:20px;
   }
   /* Swiper core styles (you must also import swiper-bundle.min.css in your page) */
   .feature-swiper {
   width: 100%;
   height:180px!important;
   }
   .swiper-slide {
   justify-content: center;
   }
   /* Reuse your existing card design */
   .feature-card {
   background: #14a4f51f;
   border-radius: 16px;
   padding: 35px 25px;
   text-align: center;
   width: 260px;
   transition: all 0.3s ease;
   box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
   border: 1px solid rgba(37, 99, 235, 0.08);
   position: relative;
   overflow: hidden;
   }
   .feature-card::before {
   content: "";
   position: absolute;
   top: -50%;
   left: -50%;
   width: 200%;
   height: 200%;
   background: radial-gradient(circle at center, rgba(37,99,235,0.1) 0%, transparent 70%);
   opacity: 0;
   transition: opacity 0.4s ease;
   }
   .feature-card:hover::before {
   opacity: 1;
   }
   .feature-card:hover {
   transform: translateY(-8px);
   box-shadow: 0 10px 30px rgba(37, 99, 235, 0.15);
   }
   .feature-card img {
   width: 60px;
   height: 60px;
   margin-bottom: 18px;
   transition: transform 0.3s ease;
   }
   .feature-card:hover img {
   transform: scale(1.1);
   }
   .feature-card h3 {
   font-size: 16px;
   font-weight: 500;
   color: #0f172a;
   }
   /* Section header styles */
   .tcm-section {
   text-align: center;
   padding: 80px 20px;
   background: #f9fbff;
   }
   .tcm-section h2 {
   font-size: 30px;
   font-weight: 700;
   color: #0f172a;
   margin-bottom: 10px;
   }
   .tcm-section .subtitle {
   color: #64748b;
   font-size: 22px;
   text-align: center;
   margin-bottom: 50px;
   }
   .hat-icon {
   font-size: 70px;
   color: #2563eb;
   margin-bottom: 30px;
   }
   .pen-icon {
   font-size: 55px;
   color: #2563eb;
   margin-top: 60px;
   opacity: 0.8;
   }
   /* Swiper pagination customization */
   .swiper-pagination-bullet {
   background: #2563eb;
   opacity: 0.3;
   }
   .swiper-pagination-bullet-active {
   background: #2563eb;
   opacity: 1;
   }
   /* Responsive */
   @media (max-width: 768px) {
   .tcm-section h2 {
   font-size: 24px;
   }
   .feature-card {
   width: 220px;
   padding: 25px 15px;
   }
   }
   
   
   /* === TEACHING SECTION === */
   .teaching-box {
   padding: 90px 20px;
   position: relative;
   color: #0a1a2f;
   background: linear-gradient(90deg, #4ea3ff 0%, #1d79f2 40%, #0b63d6 70%, #063a9f 100%);
   overflow: hidden;
   }
   /* Subtle pattern overlay */
   .teaching-box::before {
   content: "";
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background: radial-gradient(circle at 20% center, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
   opacity: 0.8;
   z-index: 0;
   }
   .tb-container {
   position: relative;
   z-index: 1;
   display: flex;
   align-items: center;
   justify-content: space-between;
   gap: 60px;
   flex-wrap: wrap;
   }
   /* === Left Video === */
   .tb-image {
   flex: 1;
   min-width: 340px;
   max-width: 540px;
   position: relative;
   }
   .tb-image img {
   width: 100%;
   border-radius: 18px;
   box-shadow: 0 8px 35px rgba(0, 0, 0, 0.3);
   }
   .play-button {
   position: absolute;
   top: 50%;
   left: 50%;
   transform: translate(-50%, -50%);
   width: 100px;
   height: 100px;
   background: linear-gradient(90deg, #ff624e 0%, #f21d65 40%, #d60b21 70%, #9f0626 100%);
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;
   cursor: pointer;
   box-shadow: 0 0 25px rgba(255, 0, 0, 0.6);
   animation: pulse 1.5s infinite;
   }
   .play-button::before {
   content: "";
   position: relative;
   left: 5px;
   width: 0;
   height: 0;
   border-left: 26px solid #fff;
   border-top: 15px solid transparent;
   border-bottom: 15px solid transparent;
   }
   /* === Right Content === */
   .tb-content {
   flex: 1;
   color: #fff;
   }
   .tb-content h2 {
   font-size: 1.9rem;
   font-weight: 700;
   margin-bottom: 25px;
   color: #fff;
   }
   /* Stage list */
   .tb-content ul.stages {
   list-style: none;
   padding: 0;
   margin: 0 0 30px 0;
   }
   .tb-content ul.stages li {
   background: rgb(255 255 255);
   padding: 12px 20px;
   border-radius: 10px;
   margin-bottom: 10px;
   font-weight: 500;
   transition: all 0.3s ease;
   border-left: 5px solid #fff;
   }
   .tb-content ul.stages li:hover {
   background: rgba(255, 255, 255, 0.35);
   transform: translateX(6px);
   }
   /* Highlight Box */
   .highlight-box {
   background: #fff;
   color: #0b63d6;
   font-weight: 700;
   padding: 15px 25px;
   border-radius: 10px;
   display: inline-block;
   backdrop-filter: blur(8px);
   }
   /* Button */
   .btn-primary {
   display: inline-block;
   margin-top: 15px;
   background: #fff;
   color: #0b63d6;
   font-weight: 600;
   border-radius: 8px;
   padding: 10px 22px;
   text-decoration: none;
   transition: 0.3s;
   }
   .btn-primary:hover {
   background: #0b63d6;
   color: #fff;
   }
   /* === Popup Modal === */
   .video-popup {
   display: none;
   position: fixed;
   z-index: 9999;
   inset: 0;
   background: rgba(0, 0, 0, 0.85);
   justify-content: center;
   align-items: center;
   }
   .video-popup.active {
   display: flex;
   }
   .video-popup-content {
   position: relative;
   width: 90%;
   max-width: 800px;
   background: #000;
   border-radius: 10px;
   overflow: hidden;
   }
   .video-popup-content iframe {
   width: 100%;
   height: 450px;
   display: block;
   }
   .close-btn {
   position: absolute;
   top: 10px;
   right: 20px;
   font-size: 32px;
   color: #fff;
   cursor: pointer;
   transition: 0.3s;
   z-index: 2;
   }
   .close-btn:hover {
   color: #ff0000;
   }
   /* === Responsive === */
   @media (max-width: 768px) {
   .tb-container {
   flex-direction: column;
   text-align: center;
   }
   .video-popup-content iframe {
   height: 250px;
   }
   }