:root {
  --default-font: "Roboto",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Ubuntu",  sans-serif;
  --nav-font: "Lato",  sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root { 
  --background-color: #f9fafb; /* Background color for the entire website, including individual sections */
  --default-color: #333333; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #102a49; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #2874c2; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #333333;  /* The default color of the main navmenu links */
  --nav-hover-color: #2874c2; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #333333; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #2874c2; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: #f4f7f9bf !important;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #2874c2;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --accent-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}
/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  font-size: 16px;
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font); 
}
  #main {
    background: url(/assets/img/backgrounds/idea-form-bg.svg);
    /* background: url(..assets/img/backgrounds/idea-form-bg.svg) no-repeat center center; */
    /* background-size: cover; */
    /* width: 100%; */
    /* min-height: 100vh; */
    scroll-margin-top: 140px;
}
/* Offset anchor targets so the sticky header doesn't cover them when jumping via URL hash */
#main > div[id],
#stats_block,
#vission_mission,
#index_card,
#gallery_new,
#handbooks_manuals,
#e_service {
    scroll-margin-top: 140px;
}
 #section { 
  padding: 1px 15px  !important; 
 }
 .section-title {
  margin-bottom: 20px;
  padding: 30px 0;
  position: relative;
}
   /* .section-title {
    text-align: center;
    margin-bottom: 30px;
} */
.section-title h2 {
  /* font-size: 3.5rem !important; */
  font-weight: 700;
  text-align: center;
  color: #2874c2;
  padding-bottom: 15px;
  font-size: 2.1em;
  position: relative;
  /* text-transform: uppercase; */
     
}
 .section-title-new h2 {
 /* font-family: "montserratbold", sans-serif; */
    font-size: 2.1em;
    /* display: inline-block; */
    background: linear-gradient(92.61deg, #9AC461 0%, #2874c2 0%, #59B59A 116.86%, #B45D97 182.36%, #DC763B 246.57%);
    /* -webkit-background-clip: text; */
    /* -webkit-text-fill-color: transparent; */
    background-clip: text;
 }
.section-title h2::after {
  content: "";
  width: 120px;
  height: 3px;
  background: #F15A28;
  display: block;
  margin: 10px auto 0;
} 
/* .section-title span { delete for e-service dot button
    position: absolute;
    top: 4px;
    color: 
    color-mix(in srgb, var(--heading-color), transparent 95%);
    left: 0;
    right: 0;
    z-index: 1;
    font-weight: 700;
    font-size: 52px;
    text-transform: uppercase;
    line-height: 1;
} */
.section-title h4 {
    font-size: 1.5rem !important;
    font-weight: 600;
    /* text-align: center;; */
  }

.section-title h6 {
  font-size: 1rem;
  font-weight: 400;
  color: #555;
  text-align: center;
  margin-top: 10px;
}
  
/* Responsive Typography */
@media (max-width: 768px) {
  .section-title h2 {
    font-size: 18px !important;
    padding-bottom: 10px;
  }
.h5, h5 {
    font-size: 16px;
}
  .section-title h2::after {
    width: 80px;
    height: 2px;
  }

  .section-title h6 {
    font-size: 0.9rem;
    text-align: center;
  }
  .section-title p {
    font-size: 16px !important;
    /* text-align: center;; */
  }
  .section-title h4 {
    font-size: 1.5rem !important;
    font-weight: 600;
    /* text-align: center;; */
  }
  
}
 
    .description-title {
       text-align: center;
    position: absolute;
    top: 2px;
    color: 
    color-mix(in srgb, var(--heading-color), transparent 95%);
    left: 0;
    right: 0;
    z-index: 1;
    font-weight: 700;
    font-size: 47px;
    text-transform: uppercase;
    line-height: 1;
}
@media (max-width : 768px){
  .description-title {
    display: none;
}
}
 .container {
    width: 100%;
    overflow: visible;
    /* padding-right: 15px; */
    /* padding-left: 15px; */
    /* padding: 45px 0px 0px 0px; */
    margin-right: auto;
    margin-left: auto;
    /* background-color: #2874c2; */
    
}
#header {
  background-color: var(--background-color);
}
 
/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background-color: var(--background-color);
  transition: all 0.6s ease-out;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

#preloader div {
  width: 13px;
  height: 13px;
  background-color: var(--accent-color);
  border-radius: 50%;
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
  position: absolute;
  left: 40%;
}

#preloader div:nth-child(1) { 
  left: calc(50% + 8px);
  animation: animate-preloader-1 0.6s infinite;
}

#preloader div:nth-child(2) {
  left: calc(50% + 8px);
  animation: animate-preloader-2 0.6s infinite;
}

#preloader div:nth-child(3) {
  left: calc(50% + 32px);
  animation: animate-preloader-2 0.6s infinite;
}
 
#preloader div:nth-child(4) {
  left: calc(50% + 56px);
  animation: animate-preloader-3 0.6s infinite;
}

@keyframes animate-preloader-1 {
  0% {
    transform: scale(0);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes animate-preloader-3 {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(0);
  }
}
 
@keyframes animate-preloader-2 {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(24px, 0);
  }
} */

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials .testimonials-slider {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.testimonials .swiper-wrapper {
  height: auto !important;
}

.testimonials .testimonial-slide {
  padding: 3.5rem 3rem;
  text-align: center;
  position: relative;
  min-height: 400px;
  border-radius: 25px;
  background: linear-gradient(135deg, var(--surface-color), color-mix(in srgb, var(--accent-color), transparent 97%));
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  border-top: 4px solid var(--accent-color);
}

.testimonials .testimonial-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.testimonials .stars-rating {
  display: flex;
  gap: 0.5rem;
}

.testimonials .stars-rating i {
  color: #ffc107;
  font-size: 1.25rem;
}

.testimonials .quote-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), var(--heading-color) 20%));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px color-mix(in srgb, var(--accent-color), transparent 70%);
}

.testimonials .quote-icon i {
  color: var(--contrast-color);
  font-size: 1.5rem;
}

.testimonials .testimonial-body {
  margin: 2.5rem 0;
}

.testimonials .testimonial-body p {
  font-size: 1.25rem;
  line-height: 1.8;
  font-style: italic;
  color: var(--heading-color);
  margin: 0;
  position: relative;
}

.testimonials .testimonial-footer {
  margin-top: 2.5rem;
}

.testimonials .author-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.testimonials .author-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--accent-color);
  box-shadow: 0 8px 25px color-mix(in srgb, var(--accent-color), transparent 70%);
}

.testimonials .author-details {
  text-align: left;
}

.testimonials .author-details h4 {
  font-size: 1.375rem;
  margin-bottom: 0.5rem;
  color: var(--heading-color);
}

.testimonials .author-details .role {
  display: block;
  font-size: 1rem;
  color: var(--accent-color);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.testimonials .author-details .company {
  display: block;
  font-size: 0.9375rem;
  color: color-mix(in srgb, var(--heading-color), transparent 40%);
}

.testimonials .swiper-navigation-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
}

.testimonials .service_swiper-pagination {
  position: static !important;
  margin: 0;
}

.testimonials .service_swiper-pagination .service_swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: color-mix(in srgb, var(--default-color), transparent 70%);
  opacity: 1;
  transition: all 0.3s ease;
}

.testimonials .service_swiper-pagination .service_swiper-pagination-bullet.service_swiper-pagination-bullet-active {
  background: var(--accent-color);
  transform: scale(1.2);
}

.testimonials .swiper-button-prev,
.testimonials .swiper-button-next {
  position: static !important;
  width: 50px;
  height: 50px;
  margin: 0;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--accent-color);
  transition: all 0.3s ease;
}

.testimonials .swiper-button-prev:after,
.testimonials .swiper-button-next:after {
  font-size: 1.25rem;
  color: var(--contrast-color);
  font-weight: bold;
}

.testimonials .swiper-button-prev:hover,
.testimonials .swiper-button-next:hover {
  transform: translateY(-2px);
}

@media (max-width: 991.98px) {
  .testimonials .testimonial-slide {
    padding: 2.5rem 2rem;
    min-height: 350px;
  }

  .testimonials .testimonial-body p {
    font-size: 1.125rem;
  }

  .testimonials .author-avatar {
    width: 70px;
    height: 70px;
  }

  .testimonials .author-details h4 {
    font-size: 1.25rem;
  }

  .testimonials .quote-icon {
    width: 50px;
    height: 50px;
  }

  .testimonials .quote-icon i {
    font-size: 1.25rem;
  }

  .testimonials .swiper-button-prev,
  .testimonials .swiper-button-next {
    width: 45px;
    height: 45px;
  }

  .testimonials .swiper-button-prev:after,
  .testimonials .swiper-button-next:after {
    font-size: 1.125rem;
  }
}

@media (max-width: 767.98px) {
  .testimonials .testimonial-slide {
    padding: 2rem 1.5rem;
    min-height: 300px;
  }

  .testimonials .testimonial-header {
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .testimonials .testimonial-body {
    margin: 2rem 0;
  }

  .testimonials .testimonial-body p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .testimonials .author-info {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .testimonials .author-details {
    text-align: center;
  }

  .testimonials .author-details h4 {
    font-size: 1.125rem;
  }

  .testimonials .author-details .role {
    font-size: 0.9375rem;
  }

  .testimonials .author-details .company {
    font-size: 0.875rem;
  }

  .testimonials .swiper-navigation-wrapper {
    gap: 1.5rem;
    margin-top: 2rem;
  }

  .testimonials .service_swiper-pagination .service_swiper-pagination-bullet {
    width: 10px;
    height: 10px;
  }

  .testimonials .swiper-button-prev,
  .testimonials .swiper-button-next {
    width: 40px;
    height: 40px;
  }

  .testimonials .swiper-button-prev:after,
  .testimonials .swiper-button-next:after {
    font-size: 1rem;
  }
}

/* gallery */

 /* Modal body (main image display) */
#modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 99999;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
#modal-body {
  position: relative;
  max-width: 100%;
  max-height: 100%;
  overflow: hidden;
}

/* Image caption */
#caption {
  color: #fff;
  margin-top: 10px;
}
.modal-view {
    max-width: 60vw;
     max-height: 75vh;
      /* min-width: 60vw;  */
      min-height: 75vh; 
      border: 4px solid white;
}
/* Thumbnail row */
#thumbnail-row {
  display: flex;
  gap: 2px;
  margin-top: 10px;
  flex-wrap: wrap;
  justify-content: center; 
}

/* Navigation arrows */
#modal-prev,
#modal-next {
  position: absolute;
  top: 50%;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
  transform: translateY(-50%);
  user-select: none;
}

#modal-prev {
  left: 20px;
}

#modal-next {
  right: 20px;
}
 
#closeModal {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 20px;
  color: #fff;
  cursor: pointer;
  user-select: none;
}
@media (max-width: 767px) {
#thumbnail-row {
  gap: 2px;
  margin-top: 10px;
  flex-wrap: wrap;
  justify-content: center;
  display: none !important;
}
#modal-body {
  position: relative;
  max-width: 90%;
  max-height: 80%;
  overflow: hidden;
}
.modal-view {
    max-width: 75vw;
     max-height: 50vh; 
     min-width: 75vw;
      min-height: 50vh; 
      border: 4px solid white;
}
}
/* gallery modal */
.prev-button {
    left: 15px;
  }

  .next-button {
    right: 15px;
  }
  /* Gallery Card */
 

.gallery-view-new {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.gallery-view-new-item {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 0.5s ease forwards;
}

.gallery-view-new-item:hover {
  cursor: pointer;
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.gallery-view-new-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-view-new-item:hover img {
  transform: scale(1.05);
}

.gallery-view-item-info {
  text-align: center;
  padding: 15px;  
  /* height: 9vh; */
  background-color: white;
}

.gallery-view-item-info h3 {
  font-size: 16px;
  margin-bottom: 5px;
  color: #2874c2;
}

.gallery-view-item-info p {
  color: #7f8c8d;
  font-size: 16px;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px;
  color: #7f8c8d;
}
 

@media (max-width: 768px) {
  .gallery-view-new {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }
}

@media (max-width: 480px) {
  .gallery-view-new {
    grid-template-columns: 1fr;
  }
 
}


/* tabs */
.tab-wrapper {
  width: 100%;
}
.tab-wrapper-container {
  display: flex; 
  justify-content: space-between; 
  align-items: center;
  margin-bottom: 20px;
}
.tabs {     
  display: inline-flex;;
  gap: 10px; 
  margin-bottom: 25px;
}

.tab {
  flex: 1;
  padding: 8px 20px; 
  color: #2874c2;
  border: 1px solid #2874c2;
  background: #fff;
  border-radius: 6px;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
  font-size: 16px;
  white-space: nowrap; 
}

.tab.active {
  background: #2874c2; 
  color: #eee; 
}

.tab-content {
  background: transparent;
  padding: 20px 0px;
  border-radius: 6px; 
  display: none;
}

.tab-content.active {
  display: block;
} 
@media (max-width: 767px) {
  .tabs {
    flex-direction: column;
    gap: 10px;
  }

  .tab {
    font-size: 16px;
    padding: 10px;
  } 
}
/* tabs */
/* Search input */
.search-wrapper {
  position: relative;
  display: flex; 
  gap: 5px; 
  flex-wrap: wrap; 
  justify-content: flex-end;
  width: 100%;
  /* width: 20%;
  max-width: 300px; */
}

#searchInput {
  width: 100%;
  height: 50px;
  padding: 0 40px 0 20px;
  border-radius: 25px;
  border: 2px solid #ccc;
  font-size: 16px;
  box-sizing: border-box;
  max-width: 300px;
}
#searchInput:focus  { 
  border: 2px solid #e0e0e0;
  outline: none; 
}

#clearSearch,
#searchBtn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  padding: 0 10px;
  z-index: 2;
  color: #ccc;
  right: 10px;
}
 
#clearSearch {
  right: 10px;
  display: none;
}

#clearSearch:hover {
  color: #ec1b21;
}

@media (max-width: 767px) { 
    .search-wrapper {
    text-align: left;
    margin-top: 10px;
    width: 100%;
  }

  #searchInput {
    max-width:100%
  }
  .search-wrapper input,
  .search-wrapper button {
    /* width: 100%; */
    margin-bottom: 5px;
  }

  .custom-select-wrapper {
    margin-bottom: 10px;
  }
}
/* Search input */

/* Custom select */
.custom-select-wrapper {
  position: relative;
  /* width: 275px; */
  font-size: 16px;
}

.custom-select {
  border: 2px solid #ccc;
  border-radius: 0.5rem;
  padding: 8px;
  background-color: #fff;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(146, 161, 176, 0.15);
  position: relative;
  user-select: none;
  font-weight: 600;
}

.custom-select:focus {
  border-color: rgba(0, 0, 0, 0.329);
  outline: none;
}

.custom-select .arrow {
  content: '';
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 0.6rem;
  height: 0.6rem;
  border-right: 2px solid #333;
  border-bottom: 2px solid #333;
  pointer-events: none;
  transition: transform 0.2s;
}

.custom-select.open .arrow {
  transform: translateY(-50%) rotate(-135deg);
}

.select-options {
  position: absolute;
  width: 100%;
  top: calc(100% + 0.5rem);
  left: 0;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 0.5rem;
  max-height: 200px;
  overflow-y: auto;
  display: none;
  z-index: 99;
  padding: 0;
  margin: 0;
}

.custom-select.open .select-options {
  display: block;
}

.select-options li {
  list-style: none;
  padding: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.select-options li:hover {
  background-color: #eaeaea;
}

/* Custom select */


/* / skill education card/ */
.skill-education-card{
  /* width: 15vh; */
  background-color: white;
  box-shadow: 0px 4px 20px rgba(0,0,0,0.2);
  overflow: hidden;
  border-radius: 20px;
  /* height: 35vh; */
  box-sizing: border-box;
}
.skill-education-card-image {
 border-radius: 20px;
}

.skill-education-card-image img {
  /* width: 100%; */
  /* height: 20vh; */
  /* padding: 5px; */
  /* object-fit: contain; */
  /* object-fit: cover; */
  /* object-fit: fill; */
  /* border-radius: 20px 20px 0px 0px;  */
}
.skill-education-card-info {
  padding: 10px;
  color: #333;
  background-color: #efefef;
  padding: 10px;
  height: 100px;
  /* min-height: 12vh;  */
}

.skill-education-card-info h3 {
  margin: 0px;
  /* font-size: 2.2rem !important; */
  /* font-size: 1.6rem !important; */
  font-size: 20px;
  padding-bottom: 5px;
  /* height: 40px; */
}

.module-pop-block {
  position: relative;
  display: inline-block;
  /* margin-right: 15px; */
}

.module-pop-trigger {
  /* font-weight: 600; */
  color: #2874c2;
  cursor: pointer;
  /* padding: 5px 0; */
}

.module-pop-trigger:hover {
  color: #006989;
}

.module-popover {
  position: absolute;
  bottom: 25px;
  left: 0;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  /* padding: 10px; */
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  max-height: 180px;
  width: 220px;
  z-index: 9999;
  display: none;
  overflow: hidden;
  overflow-y: auto;
  
}

.module-popover ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.module-popover li {
  padding: 8px ;
}

.module-popover li a {
  text-decoration: none;
  color: #333;
}

.module-popover li a:hover {
  color: #007daa !important;
  text-decoration: none;
}


.popover-menu li {
  padding: 6px 0;
}

.popover-menu li a {
  color: #337ab7;
  text-decoration: none;
  font-size: 14px;
}

.module-popover li:hover {
  text-decoration: none;
  color: #000 !important;
  background-color: #f9c450 !important;
}

.modules-wrapper {
    position: relative;
    overflow: visible !important;
}
.module-list.flex-row {
    display: flex;
    align-items: center;
    gap: 1px;
    flex-wrap: nowrap;     /* Prevent wrapping */
    /* margin-bottom: 10px; */
}
.icon-img {
  /* height: 4vh; */
  height: 22px;
  margin-right: 5px;
  filter: invert(100%);
}
/* / skill education card/ */

/* Teacher qualification card */

.teacher-qualification-card {
  background: #fff;
  /* box-shadow: 15px 15px 30px #d9d9d9, -15px -15px 30px #ffffff; */
  border-radius: 10px;
  padding: 20px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 15px;
  /* height: 230px; */
   flex-wrap: wrap;
   /* max-height: 170px; */
}

.teacher-qualification-card-image {
  max-width: 100px;
  width: 100%;
  height: auto;
  border: 1px solid #ccc;
  border-radius: 10px;
  object-fit: contain;
}

.teacher-qualification-card-content {
  flex: 1;
  min-width: 0;
}

.teacher-qualification-card-title {
  font-size: 18px; 
  margin-bottom: 8px;
}

@media (max-width: 768px) {
  .teacher-qualification-card {
    flex-direction: column;
    align-items: center;
    text-align: center; 
  }

  .teacher-qualification-card-content {
    margin-left: 0;
    margin-top: 10px;
  }
 
}
/* Teacher qualification card */

/* Question Paper Card */

.question-paper-card {
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.question-paper-card-body {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.question-paper-code-circle {
  width: 50px;
  height: 50px;
  background-color: #2874c2;
  color: #fff;
  font-weight: bold;
  font-size: 16px;
  text-align: center;
  line-height: 50px;
  border-radius: 50%;
  margin-right: 15px;
}

.question-paper-info {
  flex-grow: 1;
}

.question-paper-title {
  margin: 0;
  font-size: 16px !important;
  /* font-size: 14px !important; */
  font-weight: 600;
}

.question-paper-meta {
  margin: 2px 0;
  color: #666;
  font-size: 13px;
}

.question-paper-card-footer {
  border-top: 1px solid #eee;
  padding-top: 10px;
  display: flex;
  justify-content: space-between;
}

.question-paper-card-footer a {
  color: #333;
  font-size: 14px;
  text-decoration: none;
}
.question-paper-card-footer a:hover {
  color: #f15a28;
  font-size: 14px;
  text-decoration: none;
}

.question-paper-card-footer i {
  margin-right: 5px;
}
/* Question Paper Card */

/* Row Table */
/* ------------------------------
   Base Table Styling
------------------------------ */
.rwd-table-card {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  background: #f5f9fc;
  border-radius: 6px;
  overflow: hidden;
}

.rwd-table-card th {
  background: #2874c2;
  color: #fff;
  padding: 12px;
  text-align: left;
}

.rwd-table-card tr:hover {
  background-color: #ebf3f9 !important; /* light red */
}
.rwd-table-card td {
  padding: 12px;
  word-break: break-word;
  overflow-wrap: anywhere;
  border-bottom: 1px solid #d9e3ec;
}

/* Row colors */
.rwd-table-card tr:nth-child(even) {
  background: #ebf3f9;
}

/* ------------------------------
   Skeleton loading state
------------------------------ */
.rwd-table-card tr.skeleton-row:hover {
  background-color: transparent !important;
}
.rwd-table-card tr.skeleton-row td {
  padding-top: 22px;
  padding-bottom: 22px;
}
.skeleton-bar {
  display: block;
  height: 18px;
  width: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, #e2e8f0 25%, #f1f5f9 50%, #e2e8f0 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.2s ease-in-out infinite;
}
@keyframes skeleton-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
 

/* ------------------------------
   Mobile View (Stacked Table)
------------------------------ */
@media (max-width: 768px) {
  .rwd-table-card thead {
    display: none;
  }

  .rwd-table-card tr {
    display: block;
    margin-bottom: 15px;
    border: 1px solid #d0dfea;
    border-radius: 6px;
    background: #f5f9fc;
    padding: 10px;
  }

  .rwd-table-card td {
    display: block;
    /* border: none; */
    padding: 4px 0px;
    position: relative;
    text-align: left !important;
    align-items: center;
  }

  /* Label before text */
  .rwd-table-card td::before {
    content: attr(data-th) ": ";
    font-weight: bold;
    color: #000;
    display: inline-block;   /* IMPORTANT */
    /* min-width: 85px;       */
    margin-right: 4px;
    white-space: normal;     /* allow break only AFTER width */
    /* text-align: right; */
  }
  .rwd-table-card td::before {
    text-align: left;
}

  /* Remove last extra line */
  .rwd-table-card td:last-child {
    border-bottom: none;
  }

  /* Make links wrap */
  .rwd-table-card a {
    word-break: break-all;
    overflow-wrap: anywhere;
  }
 
}
 /* Row Table */
/* ------------------------------
   Base Table Styling
------------------------------ */
.rwd-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  background: #f5f9fc;
  border-radius: 6px;
  overflow: hidden;
}

.rwd-table th {
  background: #2874c2;
  color: #fff;
  padding: 12px;
  text-align: left;
}
.rwd-table tr:hover {
  background-color: #ebf3f9 !important; /* light red */
}
.rwd-table td {
  padding: 12px;
  /* word-break: break-word; */
  /* overflow-wrap: anywhere; */
  border: 1px solid #d9e3ec;
}

/* Row colors */
.rwd-table tr:nth-child(even) {
  background: #ebf3f9;
}
  
 .legend-row {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 18px;
    padding: 10px 12px;
    border: 1px dashed
 color-mix(in srgb, var(--default-color), transparent 80%);
    border-radius: 8px;
    background: 
 color-mix(in srgb, var(--surface-color), var(--default-color) 2%);
}

.breadcrumb {
  display: flex;
  flex-wrap: nowrap;
  overflow: hidden;
  white-space: nowrap;
}
.breadcrumb .breadcrumb-item a {
  text-decoration: none; 
}
.breadcrumb-item {
  flex-shrink: 0;
}

.breadcrumb-item.active {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  /* max-width: 160px;  */
  display: inline-block;
}

/* Mobile view */
@media (max-width: 576px) {
  .breadcrumb {
    font-size: 12px;
  }

  .breadcrumb-item.active {
    max-width: 240px;   /* smaller width for mobile */
  }
}
.clock {
  color: #ffffff;
  font-size: 14px;
  margin-top: 10px;
  font-weight: 600;
}

/* Podcast Cards */
.podcast-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.podcast-card:hover {
  transform: translateY(-5px);
}

.podcast-card .card-img-top {
  transition: opacity 0.3s ease;
}

.podcast-card:hover .card-img-top {
  opacity: 0.8;
}

.podcast-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.podcast-card:hover .podcast-overlay {
  opacity: 1;
}

.listen-btn {
  /* background: var(--accent-color); */
  /* color: white; */
  border: 1px solid #ffffff;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.listen-btn:hover {
  color: white;
  background: transparent;
}

.podcast-type {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: bold;
}

/* Podcast section frame */
.frame {
  position: relative;
}

 .frame:before {
  content: "";
  z-index: -1;
  position: absolute;
  height: 100%;
  background: linear-gradient(30deg, #307fe2, #7d55c7);
  /* border-radius: .25em; */
}
.frame:after {
  content: "";
  z-index: -1;
  position: absolute;
  height: 500%;
  background: linear-gradient(30deg, #307fe2, #7d55c7);
  /* border-radius: .25em; */
  rotate: calc(180deg);
}
.frame:before {
  top: 0;
  left: 0;
  width: 50%;
}

.frame:after {
  bottom: 0;
  right: 0;
  width: 50%;
}
