/* ============================================
   ABOUT.CSS - IAEM About Page Styles
   Fully Responsive for All Devices
   Custom Mentors Carousel - 1 Card at a Time Navigation
   ============================================ */

/* Hero Banner 80vh */
.hero-80 {
  height: 80vh;
  min-height: 580px;
  background: linear-gradient(105deg, rgba(13, 47, 91, 0.92) 0%, rgba(28, 63, 115, 0.88) 100%), url('../img/gallery/1.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-80 .container {
  position: relative;
  z-index: 2;
}


/* Buttons */
.btn-gold {
  background: linear-gradient(135deg, #c9a03d, #e0b45c, #c9a03d);
  border: none;
  color: #0a2540;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 40px;
  transition: all 0.3s ease;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.5px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

.btn-gold:hover {
  transform: translateY(-3px);
  background: linear-gradient(90deg, #e0b45c, #f3cd7a, #e0b45c);
  color: #0a2540;
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.2);
}

.btn-outline-gold {
  border: 2px solid #0a2540;
  background: transparent;
  color: #0a2540;
  font-weight: 600;
  border-radius: 40px;
  padding: 8px 20px;
  transition: 0.3s;
  text-decoration: none;
  display: inline-block;
}

.btn-outline-gold:hover {
  background: #c9a03d;
  color: #0a2540;
}

.btn-outline-gold.text-navy {
  color: #0a2540;
  border-color: #0a2540;
}

.btn-outline-gold.text-navy:hover {
  background: #0a2540;
  color: #c9a03d;
}

/* Section Eyebrow */
.section-eyebrow {
  color: #c9a03d;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* Gold Line */
.gold-line {
  width: 80px;
  height: 3px;
  background: #c9a03d;
  margin: 20px auto;
}

.gold-line-left {
  width: 80px;
  height: 3px;
  background: #c9a03d;
}

/* Text Colors */
.text-gold {
  color: #c9a03d !important;
}

.text-navy {
  color: #0a2540 !important;
}

/* Font Classes */
.font-playfair {
  font-family: 'Playfair Display', serif;
}

.font-cinzel {
  font-family: 'Cinzel', serif;
}

/* ============================================
   MENTORS CAROUSEL - CUSTOM CAROUSEL STYLES
   Shows 1 card at a time - One by One Navigation
   ============================================ */

.mentors-carousel-container {
  position: relative;
  padding: 0 40px;
}

.mentors-carousel-wrapper {
  overflow: hidden;
  border-radius: 16px;
}

.mentors-carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  gap: 24px;
}

.mentor-card-item {
  flex-shrink: 0;
  padding: 8px;
}

/* Card Styles */
.card-mentor {
  background: #ffffff;
  border-radius: 24px;
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
  height: 100%;
  padding: 0.5rem !important;
}

.card-mentor:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.15);
}

.mentor-img-small {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto;
  border: 3px solid #c9a03d;
  padding: 3px;
}

.fs-7 {
  font-size: 0.75rem;
}

/* Navigation Buttons */
.mentor-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #0a2540;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.mentor-carousel-btn i {
  color: #c9a03d;
  font-size: 1.2rem;
}

.mentor-carousel-btn:hover {
  background: #c9a03d;
  transform: translateY(-50%) scale(1.1);
}

.mentor-carousel-btn:hover i {
  color: #0a2540;
}

.prev-btn {
  left: -1px;
}

.next-btn {
  right: -1px;
}

/* Dots Indicator */
.mentor-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.mentor-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  padding: 0;
}

.mentor-dot.active {
  background: #c9a03d;
  width: 25px;
  border-radius: 10px;
}

.mentor-dot:hover {
  background: #c9a03d;
  transform: scale(1.2);
}

/* Pillar / Why cards */
.pillar-card {
  background: #f8f5f0;
  padding: 1.8rem;
  border-radius: 28px;
  transition: 0.25s;
  height: 100%;
  border-bottom: 3px solid transparent;
  cursor: pointer;
}

.pillar-card:hover {
  border-bottom-color: #c9a03d;
  background: white;
  box-shadow: 0 12px 22px -10px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.pillar-card h4 {
  color: #0a2540;
  font-weight: 700;
  margin-bottom: 1rem;
}

.pillar-card p {
  color: #2c3e50;
  margin-bottom: 0;
}

/* Academic Cards */
.academic-card {
  background: white;
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(13, 47, 91, 0.08);
  transition: all 0.3s ease;
  cursor: pointer;
}

.academic-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 30px -12px rgba(13, 47, 91, 0.15);
  border-color: #c9a03d;
}

.academic-card h4 {
  color: #0a2540;
  font-weight: 700;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.academic-card p {
  color: #2c3e50;
  margin-bottom: 0;
  font-size: 0.9rem;
}

/* Nav Tabs */
.nav-tabs .nav-link {
  font-family: 'Cinzel', serif;
  font-weight: 600;
  color: #0a2540;
  background: #f0f2f5;
  border: none;
  border-radius: 40px;
  margin-right: 1rem;
  padding: 0.6rem 1.6rem;
}

.nav-tabs .nav-link.active {
  background: #0a2540;
  color: #c9a03d;
}

/* Marquee / Auto-scrolling Styles */
.marquee-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.marquee-content {
  display: flex;
  animation: scrollLeftToRight 10s linear infinite;
}

.marquee-content-reverse {
  display: flex;
  animation: scrollRightToLeft 10s linear infinite;
}

.image-container {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.partner-image {
  height: 60px;
  width: auto;
  margin: 0 25px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

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

@keyframes scrollLeftToRight {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@keyframes scrollRightToLeft {
  0% {
    transform: translateX(-50%);
  }

  100% {
    transform: translateX(0);
  }
}

/* Pause animation on hover */
.marquee-wrapper:hover .marquee-content,
.marquee-wrapper:hover .marquee-content-reverse {
  animation-play-state: paused;
}

/* Section Scroll Margin */
section {
  scroll-margin-top: 60px;
}

/* ============================================
   RESPONSIVE MEDIA QUERIES
   ============================================ */

/* Desktop (992px and above) - Shows 3 cards visible */
@media (min-width: 992px) {
  .mentor-card-item {
    width: calc(33.333% - 26px);
  }

  .mentors-carousel-track {
    gap: 26px;
  }

  .container {
    max-width: 1140px;
  }

  .display-5 {
    font-size: 3rem;
  }

  .hero-80 h1 {
    font-size: 3.5rem;
  }

  .mentor-img-small {
    width: 120px;
    height: 120px;
  }
}

/* Tablet (768px - 991px) - Shows 2 cards visible */
@media (min-width: 768px) and (max-width: 991px) {
  .mentors-carousel-container {
    padding: 0 30px;
  }

  .mentor-card-item {
    width: calc(50% - 12px);
  }

  .mentors-carousel-track {
    gap: 20px;
  }

  .mentor-img-small {
    width: 100px;
    height: 100px;
  }

  .mentor-carousel-btn {
    width: 38px;
    height: 38px;
  }

  .mentor-carousel-btn i {
    font-size: 1rem;
  }

  .hero-80 h1 {
    font-size: 2.5rem;
  }

  .hero-80 .lead {
    font-size: 1rem;
  }

  .partner-image {
    height: 50px;
    margin: 0 15px;
  }

  .display-5 {
    font-size: 2rem;
  }

  .pillar-card {
    padding: 1.5rem;
  }

  .academic-card {
    padding: 1.25rem;
  }
}

/* Mobile (up to 767px) - Shows 1 card visible */
@media (max-width: 767px) {
  .mentors-carousel-container {
    padding: 0 25px;
  }

  .mentor-card-item {
    width: calc(100% - 0px);
  }

  .mentors-carousel-track {
    gap: 16px;
  }

  .mentor-img-small {
    width: 90px;
    height: 90px;
  }

  .card-mentor h4 {
    font-size: 1rem;
  }

  .card-mentor p {
    font-size: 0.75rem;
  }

  .mentor-carousel-btn {
    width: 32px;
    height: 32px;
  }

  .mentor-carousel-btn i {
    font-size: 0.9rem;
  }

  .prev-btn {
    left: -5px;
  }

  .next-btn {
    right: -5px;
  }

  .mentor-dots {
    margin-top: 20px;
    gap: 8px;
  }

  .mentor-dot {
    width: 8px;
    height: 8px;
  }

  .mentor-dot.active {
    width: 20px;
  }

  .hero-80 {
    height: auto;
    min-height: 500px;
    padding: 60px 0;
  }

  .hero-80 h1 {
    font-size: 1.8rem;
  }

  .hero-80 .lead {
    font-size: 0.9rem;
  }

  .display-5 {
    font-size: 1.75rem;
  }

  .lead {
    font-size: 1rem;
    width: 100% !important;
  }

  .section-eyebrow {
    font-size: 0.75rem;
  }

  .partner-image {
    height: 40px;
    margin: 0 10px;
  }

  .nav-tabs .nav-link {
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
    margin-right: 0.5rem;
  }

  .pillar-card {
    padding: 1.25rem;
  }

  .pillar-card h4 {
    font-size: 1.1rem;
  }

  .pillar-card p {
    font-size: 0.85rem;
  }

  .academic-card h4 {
    font-size: 1rem;
  }

  .academic-card p {
    font-size: 0.8rem;
  }

  .btn-gold {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .gold-line {
    width: 60px;
    margin: 15px auto;
  }

  section {
    padding: 40px 0 !important;
  }

  .bg-white.p-4 {
    padding: 1rem !important;
  }

  .g-3 {
    --bs-gutter-x: 0.5rem;
    --bs-gutter-y: 0.5rem;
  }

  .text-center .w-75 {
    width: 100% !important;
  }

  .row.g-4 {
    --bs-gutter-y: 1rem;
  }
}

/* Small Mobile (up to 480px) */
@media (max-width: 480px) {
  .mentors-carousel-container {
    padding: 0 20px;
  }

  .mentor-img-small {
    width: 80px;
    height: 80px;
  }

  .mentor-carousel-btn {
    width: 28px;
    height: 28px;
  }

  .prev-btn {
    left: -8px;
  }

  .next-btn {
    right: -8px;
  }

  .hero-80 h1 {
    font-size: 1.5rem;
  }

  .display-5 {
    font-size: 1.5rem;
  }

  .partner-image {
    height: 35px;
    margin: 0 8px;
  }

  .nav-tabs {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .nav-tabs .nav-link {
    width: auto;
    text-align: center;
  }
}

/* Extra Small Mobile (up to 360px) */
@media (max-width: 360px) {
  .mentor-img-small {
    width: 70px;
    height: 70px;
  }

  .hero-80 h1 {
    font-size: 1.3rem;
  }

  .display-5 {
    font-size: 1.3rem;
  }

  .partner-image {
    height: 30px;
    margin: 0 6px;
  }

  .btn-gold {
    padding: 6px 14px;
    font-size: 0.75rem;
  }

  .pillar-card h4 {
    font-size: 0.95rem;
  }

  .academic-card h4 {
    font-size: 0.9rem;
  }

  .card-mentor p {
    font-size: 0.65rem;
  }
}

/* Large Desktop (1200px and above) */
@media (min-width: 1200px) {
  .carousel-control-prev {
    left: -30px;
  }

  .carousel-control-next {
    right: -30px;
  }

  .carousel-control-prev,
  .carousel-control-next {
    width: 45px;
    height: 45px;
  }
}

/* Fix for carousel buttons positioning */
@media (min-width: 992px) and (max-width: 1199px) {
  .carousel-control-prev {
    left: -15px;
  }

  .carousel-control-next {
    right: -15px;
  }
}

/* Ensure images are responsive */
img {
  max-width: 100%;
  height: auto;
}

/* Bootstrap Override for better mobile spacing */
.row {
  --bs-gutter-x: 1.5rem;
}

@media (max-width: 767px) {
  .row {
    --bs-gutter-x: 1rem;
  }
}

/* Section Backgrounds */
.bg-light {
  background-color: #f8f5f0 !important;
}

/* Shadow utilities */
.shadow-sm {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05) !important;
}

.rounded-4 {
  border-radius: 1rem !important;
}

/* Border utilities */
.border-top.border-4 {
  border-top-width: 4px !important;
}

.border-start.border-4 {
  border-left-width: 4px !important;
}






/* Smaller mentor images */
.mentor-img-small {
  width: 132px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto;
  border: 3px solid var(--gold-light);
  padding: 3px;
}

.fs-7 {
  font-size: 0.75rem;
}

/* Custom carousel controls positioned on sides */
.custom-carousel-control {
  width: 5%;
  opacity: 1;
}

.custom-carousel-icon {
  background-color: var(--navy-deep);
  border-radius: 50%;
  padding: 1rem;
  background-size: 60%;
  width: 45px;
  height: 45px;
  background-position: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.custom-carousel-icon:hover {
  background-color: var(--gold-mid);
  transform: scale(1.1);
}

.carousel-control-prev {
  left: -60px;
}

.carousel-control-next {
  right: -60px;
}

@media (max-width: 1200px) {
  .carousel-control-prev {
    left: -30px;
  }

  .carousel-control-next {
    right: -30px;
  }
}

@media (max-width: 992px) {
  .carousel-control-prev {
    left: -20px;
  }

  .carousel-control-next {
    right: -20px;
  }

  .custom-carousel-icon {
    width: 35px;
    height: 35px;
    padding: 0.7rem;
  }
}

@media (max-width: 768px) {
  .carousel-control-prev {
    left: -10px;
  }

  .carousel-control-next {
    right: -10px;
  }

  .custom-carousel-icon {
    width: 30px;
    height: 30px;
  }

  .mentor-img-small {
    width: 90px;
    height: 90px;
  }
}

/* Card mentor adjustments */
.card-mentor {
  padding: 0.5rem !important;
}

.card-mentor .p-3 {
  padding: 0.5rem !important;
}








/* CSS for Recognition Section - Images Only */
 

.marquee-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
  white-space: nowrap;
}

.marquee-content {
  display: inline-block;
  animation: scrollLeft 60s linear infinite;
}

.marquee-content-reverse {
  display: inline-block;
  animation: scrollRight 60s linear infinite;
}

@keyframes scrollLeft {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@keyframes scrollRight {
  0% {
    transform: translateX(-50%);
  }

  100% {
    transform: translateX(0);
  }
}

.image-container {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 2rem;
}

.partner-image {
  height: 50px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  transition: all 0.3s ease;
  filter: grayscale(0%);
  opacity: 0.85;
}

.partner-image:hover {
  transform: translateY(-3px);
  opacity: 1;
  filter: grayscale(0%);
}


@media (max-width: 768px) {
  .partner-image {
    height: 35px;
    max-width: 80px;
  }

  .image-container {
    gap: 1rem;
  }
}

@media (max-width: 576px) {
  .partner-image {
    height: 30px;
    max-width: 70px;
  }

  .image-container {
    gap: 0.75rem;
  }
} 