/* ================= 
ESTIMONIALS OVERRIDE ================= */
.testimonials {
  padding: 60px 0;
  background: var(--accent-bg);
}

#customers-testimonials {
  max-width: 100%;
  margin: 0 auto;
}

#customers-testimonials .owl-stage-outer {
  overflow: hidden !important;
}

/*#customers-testimonials .owl-stage {
  display: flex;
  align-items: center;
}
*/
/* Use this instead to center items vertically if needed */
#customers-testimonials .owl-item {
    display: block;
    float: left; /* Essential for Owl's internal math */
}


#customers-testimonials .item {
  box-sizing: border-box;
  text-align: center;
  opacity: 0.7; /* Lower opacity for non-active items */
  transform: scale(0.9); /* Smaller scale difference for mobile stability */
  transition: transform 0.3s ease, opacity 0.3s ease;
  /* REMOVE width: 100% !important; */
}

#customers-testimonials .owl-item.active.center .item {
  opacity: 1;
  transform: scale(1);
}

/* Card */
#customers-testimonials .shadow-effect {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /* push footer down */
  height: 100%;
  /* full height of parent */
  min-height: 320px;
  /* adjust as needed */
  padding: 20px;
  text-align: center;
  border-radius: 6px;
  border: 1px solid var(--card-border);
  box-shadow: var(--light-cyan-color) 0px 4px 12px;
  margin: 0 auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Image */
#customers-testimonials .shadow-effect img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  margin: 15px auto;
  display: block;
  background-color: #f0f0f0;
  /* fallback */
}

/* Review text */
#customers-testimonials .shadow-effect p {
  flex-grow: 1;
  /* this makes all cards equal height */
  margin-bottom: 15px;
  font-size: var(--paragraph-size);
  line-height: 1.5;
  font-weight: var(--fw-400);
}

/* Name inside card */
#customers-testimonials .testimonial-name {
  display: inline-block;
  margin-top: 0;
  color: var(--text-color);
  padding: 8px 25px;
  border-radius: 12px;
  font-weight: var(--fw-600);
  font-size: var(--fs-18);
}

/* Designation */
#customers-testimonials .testimonial-designation {
  font-weight: var(--fw-400);
  font-size: var(--fs-14);
  color: var(--muted-text);
  margin-top: 2px;
  display: block;
}

@media (max-width: 767px) {
  #customers-testimonials .item {
    transform: scale(1); /* Disable scaling on mobile for better visibility */
    padding: 0 10px;    /* Give items some breathing room */
  }
  
  #customers-testimonials .shadow-effect {
    min-height: auto;   /* Allow height to be fluid on mobile */
  }
}

/* =========================== BANNER SWIPER ============================ */
.bannerSwiper {
  width: 100%;
  position: relative;
  overflow: hidden;
  min-height: 400px;
  box-shadow: var(--box-shadow);
}

.bannerSwiper .swiper-wrapper {
  height: 100%;
}

.bannerSwiper .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  transition: var(--transition-duration) var(--transition-easing);
}

.banner-item {
  width: 100%;
  min-height: 550px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 40px 60px;
  gap: 40px;
  box-sizing: border-box;
  background: linear-gradient(to right, rgba(var(--cyan-color-rgb), 0.3), rgba(0, 0, 0, 0.1));
  overflow: hidden;
  position: relative;
}

/* Slight fade overlay */
.banner-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(120deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0));
  z-index: 1;
}

/* Content */
.banner-content {
  flex: 1;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  color: var(--white-color);
}

.banner-content h1 {
  font-size: var(--fs-32) !important;
  font-weight: var(--fw-600);
  margin: 0;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.4);
}

.banner-content p {
  font-size: var(--fs-20) !important;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.banner-content .btn {
  padding: 12px 28px;
  background: var(--cyan-color);
  color: var(--white-color);
  text-decoration: none;
  border-radius: 30px;
  font-weight: var(--fw-500);
  transition: all 0.3s ease;
}

.banner-content .btn:hover {
  transform: translateY(-3px);
  background: var(--dark-cyan-color);
}

/* Image */
.banner-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

.banner-image img {
  max-width: 100%;
  max-height: 350px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: var(--box-shadow);
  transition: transform 0.5s ease;
}

.banner-image img:hover {
  transform: scale(1.05);
}

/* Swiper navigation buttons */
.swiper-button-next,
.swiper-button-prev {
  color: var(--white-color) !important;
  background: rgba(0, 0, 0, 0.4);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: var(--fs-16);
  z-index: 3;
  transition: all 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: rgba(0, 0, 0, 0.7);
  transform: scale(1.1);
}

/* Pagination */
.swiper-pagination {
  bottom: 15px !important;
}

.swiper-pagination-bullet {
  width: 14px;
  height: 14px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 0.8;
  border: 2px solid var(--white-color);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
  background: var(--cyan-color) !important;
  transform: scale(1.3);
  opacity: 1;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: var(--fs-28);
}

/* ======================= PROJECTS & PUBLICATIONS ======================= */
/* Section Titles */
.projects-section,
.publications-section {
  padding: 60px 0;
  background: var(--white-color);
}

.projects-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 200px;
  background-color: var(--grey-color);
  z-index: 0;
  margin: 0 !important;
}

.section-title {
  text-align: center;
  font-size: var(--fs-40);
  color: var(--grey-color);
  font-weight: var(--fw-700);
  margin-bottom: 35px;
}

/* Projects Grid */
.projects-grid,
.publications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Project Card */
.project-card,
.publication-card {
  position: relative;
  height: 300px;
  overflow: hidden;
  display: block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover .project-info h3 {
  transform: scale(1.12);
}

.publication-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--box-shadow-hover);
}

/* Images */
.project-img,
.publication-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.publication-card:hover .publication-img {
  transform: scale(1.05);
}

/* Overlays */
.project-overlay,
.publication-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.project-overlay {
  background: rgba(0, 0, 0, 0.45);
}

.publication-overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0));
  transition: background 0.3s ease;
}

.publication-card:hover .publication-overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
}

/* Text Info */
.project-info {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  text-align: center;
  padding: 0 20px;
}

.project-info h3 {
  color: var(--white-color);
  font-size: var(--fs-18);
  font-weight: var(--fw-600);
  margin: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

/* Article */
.card article {
  padding: 15px;
}

/* ======================= PROJECTS & PUBLICATIONS ======================= */

/* Common section styling */
.projects-section,
.publications-section {
  position: relative;
  /* needed for pseudo-element background */
  padding: 60px 0 0 0;
  /* top padding, bottom optional */
  background: var(--white-color);
  /* fallback background */
  overflow: hidden;
}

.projects-section .section-title,
.publications-section .section-title {
  color: var(--white-color);
}

/* Grey top band for both sections */
.projects-section::before,
.publications-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 200px;
  /* adjust height as needed */
  background-color: var(--grey-color, #f0f0f0);
  /* fallback grey */
  z-index: 0;
  /* behind content */
}

/* Section title styling */
.section-title {
  position: relative;
  z-index: 1;
  /* above pseudo-element */
  text-align: center;
  font-size: var(--fs-40);
  color: var(--grey-color);
  font-weight: var(--fw-700);
  margin-bottom: 35px;
}

/* Projects grid & Publications grid */
.projects-grid,
.publications-grid {
  position: relative;
  z-index: 1;
  /* above pseudo-element */
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Project & Publication cards */
.project-card,
.publication-card {
  position: relative;
  height: 300px;
  overflow: hidden;
  display: block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Card hover effect */
.project-card:hover .project-info h3,
.publication-card:hover .publication-img {
  transform: scale(1.05);
}

/* Images */
.project-img,
.publication-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

/* Overlay */
.project-overlay,
.publication-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.project-overlay {
  background: rgba(0, 0, 0, 0.45);
}

.publication-overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0));
  transition: background 0.3s ease;
}

.publication-card:hover .publication-overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
}

/* Card text info */
.project-info,
.publication-info {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  text-align: center;
  padding: 0 20px;
}

.project-info h3,
.publication-info h3 {
  color: var(--white-color);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
  margin: 0;
  font-weight: var(--fw-600);
}

.project-info h3 {
  font-size: var(--fs-18);
}

.publication-info h3 {
  font-size: var(--fs-18);
}

/* Optional hover effects */
.project-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-hover);
}

.publication-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--box-shadow-hover);
}


/* ===================== LIGHTBOX ===================== */
#lightbox-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
  z-index: 9999;
  flex-direction: column;
}

#lightbox-content {
  max-width: 90%;
  max-height: 80%;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: transform 0.3s ease;
}

#lightbox-content:hover {
  transform: scale(1.02);
}

#lightbox-caption {
  color: var(--white-color);
  margin-top: 15px;
  text-align: center;
  font-size: var(--fs-16);
}

#lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: var(--fs-40);
  color: var(--white-color);
  cursor: pointer;
  z-index: 10000;
}

#lightbox-prev,
#lightbox-next {
  position: absolute;
  top: 50%;
  font-size: var(--fs-50);
  color: var(--white-color);
  cursor: pointer;
  user-select: none;
  transform: translateY(-50%);
  z-index: 10000;
}

#lightbox-prev {
  left: 30px;
}

#lightbox-next {
  right: 30px;
}

/* ============================ SEARCH RESULTS ============================ */
/* Page container */
.search-results-container {
  max-width: 900px;
  padding: 0 20px;
  margin: 50px auto;
}

/* Page title */
.search-title {
  font-size: var(--fs-28);
  font-weight: var(--fw-600);
  color: var(--grey-color);
  margin-bottom: 30px;
  text-align: left;
}

/* Result group title */
.result-group-title {
  font-size: var(--fs-20);
  font-weight: var(--fw-600);
  color: var(--text-color);
  margin-bottom: 12px;
  margin-top: 35px;
}

/* List group */
.result-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.result-item {
  background: var(--white-color);
  border: 1px solid var(--card-border);
  box-shadow: var(--box-shadow);
  padding: 15px 20px;
  border-radius: var(--border-radius);
  margin-bottom: 12px;

  display: flex;
  justify-content: space-between;
  align-items: center;

  transition: all 0.3s ease;
}

.result-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--box-shadow-hover);
}

/* Item label (name/title) */
.result-text {
  font-size: var(--fs-16);
  font-weight: var(--fw-500);
  color: var(--text-color);
}

/* Button */
.result-btn {
  background: var(--cyan-color);
  color: var(--white-color);
  padding: 8px 18px;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: var(--fw-500);
  transition: background 0.3s ease, transform 0.3s ease;
}

.result-btn:hover {
  background: var(--dark-primary-color);
  transform: translateY(-2px);
}

.grid-item h3 {
  font-size: var(--fs-20);
  font-weight: var(--fw-500);
}

/* Empty state (when section has no items) */
.no-results {
  color: var(--muted-text);
  font-size: var(--fs-14);
  padding-left: 5px;
}

/* ===================== GALLERY SLIDER ===================== */
#gallery-slider {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

#gallery-slider .owl-stage-outer {
  overflow: hidden;
}

#gallery-slider .owl-stage {
  display: flex;
  align-items: center;
}

#gallery-slider .owl-item {
  display: flex;
  justify-content: center;
}

#gallery-slider .item {
  text-align: center;
  width: 100%;
}

/* Card */
#gallery-slider .shadow-effect {
  width: 100%;
  max-width: 360px;
  background: var(--white-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--light-cyan-color) 0px 4px 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

/* Hover */
#gallery-slider .shadow-effect:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-hover);
}

/* Image */
#gallery-slider .shadow-effect img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

/* Zoom center */
#gallery-slider .owl-item.active.center img {
  transform: scale(1.05);
}

/* Title overlay */
#gallery-slider .publication-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
  text-align: center;
  z-index: 2;
}

#gallery-slider .publication-info h3 {
  color: var(--white-color);
  font-size: 1rem;
  font-weight: var(--fw-600);
  margin: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

/* Dots */
#gallery-slider .owl-dots {
  margin-top: 25px;
  text-align: center;
}

#gallery-slider .owl-dot span {
  width: 12px;
  height: 12px;
  background: var(--cyan-color);
  border-radius: 50%;
  opacity: 0.4;
  transition: all 0.3s ease;
}

#gallery-slider .owl-dot.active span {
  opacity: 1;
  transform: scale(1.2);
}

/* ==============================
   CAREER COUNCIL PAGE
================================ */

/* GENERAL SECTION */
.career-council{
  margin-top: 10px;
      background-color: var(--accent-bg);

}
.career-council,
.career-members {
    padding: 60px 20px;
}

.career-title {
    font-size: var(--fs-32);
    font-weight: var(--fw-700);
    color: var(--cyan-color);
    text-align: center;
    margin-bottom: 20px;
}

.career-description {
    text-align: center;
    max-width: 750px;
    margin: 50px auto;
    font-size: var(--fs-16);
    font-weight: var(--fw-400);
    color: var(--text-color);
    line-height: 1.6;
}

.section-header h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 40px;
    color: var(--grey-color);
}
.download-btn:hover {
    background-color: var(--dark-cyan-color);
}

/* HOVER EFFECT */
.member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px var(--shadow-hover);
}
/* Files container */
.career-files {
    margin-top: 30px;
    text-align: left;
}

.career-files h5 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--cyan-color);
    margin-bottom: 15px;
}

/* File list */
.career-files ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.career-files ul li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: var(--text-color);
    transition: color 0.3s;
}

/* File icons */
.career-files ul li i {
    margin-right: 10px;
}

/* File link */
.career-files ul li a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
}

.career-files ul li a:hover {
    color: var(--cyan-color);
    text-decoration: underline;
}

/* PDF specific icon color */
.career-files ul li i.bi-file-earmark-pdf {
    color: #e63946; /* red for PDF */
}

/* Other file icon color */
.career-files ul li i.bi-file-earmark-text {
    color: #457b9d; /* blue for docs */
}
