/* ============================================
   ABOUT PAGE - COMPLETE STYLESHEET
   ============================================ */

/* ---------- HERO ---------- */
.hero.page-inner {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero.page-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

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

.hero.page-inner .heading {
  font-family: 'Work Sans', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--white);
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  margin-bottom: 1rem;
}

/* ---------- BREADCRUMB ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  padding: 0.75rem 1rem;
  list-style: none;
  background: transparent;
  border-radius: 0.375rem;
  justify-content: center;
  gap: 8px;
}

.breadcrumb-item {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumb-item a {
  color: var(--secondary);
  transition: var(--transition);
}

.breadcrumb-item a:hover {
  color: var(--white);
}

.breadcrumb-item+.breadcrumb-item::before {
  content: "/";
  padding-right: 8px;
  color: rgba(255, 255, 255, 0.3);
}

.breadcrumb-item.active {
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- ABOUT CONTENT ---------- */
.section {
  padding: 80px 0;
}

.section.pt-0 {
  padding-top: 0;
}

.section.bg-light {
  background: #f8f9fa;
}

.section.bg-dark-light {
  background: #f5f6f8;
}

.text-black-50 {
  color: rgba(0, 0, 0, 0.5) !important;
}

.text-primary {
  color: var(--primary-light) !important;
}

.heading {
  font-weight: 700;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--dark);
}

.heading.text-primary {
  color: var(--primary-light);
}

.font-weight-bold {
  font-weight: 700;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* ---------- ABOUT TEXT ---------- */
.about-text p {
  font-size: 1rem;
  line-height: 1.9;
  color: rgba(0, 0, 0, 0.6);
  margin-bottom: 1.25rem;
}

/* ---------- FEATURE ITEMS ---------- */
.feature-h {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-h:last-child {
  border-bottom: none;
}

.wrap-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(42, 95, 122, 0.08);
  color: var(--primary-light);
  font-size: 1.4rem;
  flex-shrink: 0;
  transition: var(--transition);
}

.feature-h:hover .wrap-icon {
  background: var(--primary-light);
  color: var(--white);
  transform: scale(1.05);
}

.feature-text .heading {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.feature-text p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(0, 0, 0, 0.6);
}

.feature-text ul {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
}

.feature-text ul li {
  padding: 5px 0;
  font-size: 0.95rem;
  color: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.feature-text ul li:last-child {
  border-bottom: none;
}

.feature-text ul li::before {
  content: "✓";
  color: var(--secondary);
  font-weight: 700;
  font-size: 1.1rem;
}

/* ---------- ABOUT IMAGE (SHARP) ---------- */
.about-image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: #f0f0f0;
}

.about-image-wrapper img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.about-image-wrapper:hover img {
  transform: scale(1.03) translateZ(0);
}

/* ---------- GALLERY (SHARP) ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease;
  background: #f0f0f0;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.gallery-item:hover {
  transform: translateY(-8px) translateZ(0);
  box-shadow: var(--shadow-hover);
}

.gallery-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  will-change: transform;
}

.gallery-item:hover img {
  transform: scale(1.05) translateZ(0);
}

.gallery-item .gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: var(--white);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-item .gallery-overlay h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.gallery-item .gallery-overlay p {
  font-size: 0.85rem;
  opacity: 0.8;
  margin-bottom: 0;
}

.gallery-item:nth-child(2) {
  margin-top: 30px;
}

/* ---------- COUNTERS ---------- */
.section-counter {
  padding-top: 50px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.counter-wrap {
  text-align: center;
  padding: 25px 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.counter-wrap:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.counter-wrap .number {
  display: block;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  font-family: 'Work Sans', sans-serif;
}

.counter-wrap .number .text-primary {
  color: var(--primary-light);
}

.counter-wrap .caption {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-light);
  margin-top: 4px;
}

/* ---------- TEAM SECTION (SHARP) ---------- */
.team-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-top: 40px;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease;
  text-align: center;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.team-card:hover {
  transform: translateY(-8px) translateZ(0);
  box-shadow: var(--shadow-hover);
}

.team-card .team-image {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  will-change: transform;
  background: #f0f0f0;
}

.team-card:hover .team-image {
  transform: scale(1.02) translateZ(0);
}

.team-card .team-info {
  padding: 20px 18px 24px;
}

.team-card .team-info h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 2px;
}

.team-card .team-info .role {
  font-size: 0.85rem;
  color: var(--secondary);
  font-weight: 500;
  display: block;
  margin-bottom: 8px;
}

.team-card .team-info p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 0;
}

/* ---------- MENTOR CARDS (SHARP) ---------- */
.mentor-section {
  padding: 80px 0;
}

.mentor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 40px;
}

.mentor-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease;
  text-align: center;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.mentor-card:hover {
  transform: translateY(-8px) translateZ(0);
  box-shadow: var(--shadow-hover);
}

.mentor-card .mentor-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  will-change: transform;
  background: #f0f0f0;
}

.mentor-card:hover .mentor-image {
  transform: scale(1.02) translateZ(0);
}

.mentor-card .mentor-info {
  padding: 20px 18px 24px;
}

.mentor-card .mentor-info h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 2px;
}

.mentor-card .mentor-info h3 a {
  color: var(--dark);
  transition: var(--transition);
}

.mentor-card .mentor-info h3 a:hover {
  color: var(--primary-light);
}

.mentor-card .mentor-info .role {
  font-size: 0.85rem;
  color: var(--secondary);
  font-weight: 500;
  display: block;
  margin-bottom: 8px;
}

.mentor-card .mentor-info p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 0;
}

/* ---------- GALLERY GRID 4 (SHARP) ---------- */
.gallery-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 25px;
}

.gallery-grid-4 .gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease;
  background: #f0f0f0;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.gallery-grid-4 .gallery-item:hover {
  transform: translateY(-6px) translateZ(0);
  box-shadow: var(--shadow-hover);
}

.gallery-grid-4 .gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  will-change: transform;
}

.gallery-grid-4 .gallery-item:hover img {
  transform: scale(1.05) translateZ(0);
}

.gallery-grid-4 .gallery-item .gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 15px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: var(--white);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-grid-4 .gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-grid-4 .gallery-item .gallery-overlay h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.gallery-grid-4 .gallery-item .gallery-overlay p {
  font-size: 0.8rem;
  opacity: 0.8;
  margin-bottom: 0;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .mentor-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-image-wrapper img {
    height: 320px;
  }
  .gallery-item:nth-child(2) {
    margin-top: 0;
  }
}

@media (max-width: 991.98px) {
  .section {
    padding: 60px 0;
  }
  .team-section {
    padding: 60px 0;
  }
  .mentor-section {
    padding: 60px 0;
  }
  .col-lg-4,
  .col-lg-6,
  .col-lg-7 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .order-lg-2 {
    order: 0;
  }
  .feature-h {
    padding: 14px 0;
  }
  .about-image-wrapper {
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 50px 0;
  }
  .team-section {
    padding: 50px 0;
  }
  .mentor-section {
    padding: 50px 0;
  }
  .hero.page-inner {
    min-height: 40vh;
  }
  .hero.page-inner .heading {
    font-size: 2rem;
  }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .gallery-item img {
    height: 200px;
  }
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .team-card .team-image {
    height: 200px;
  }
  .mentor-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .mentor-card .mentor-image {
    height: 200px;
  }
  .gallery-grid-4 {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .gallery-grid-4 .gallery-item img {
    height: 160px;
  }
  .counter-wrap {
    padding: 16px;
  }
  .counter-wrap .number {
    font-size: 2rem;
  }
  .feature-h {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .wrap-icon {
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
  }
  .feature-text ul li {
    justify-content: center;
  }
  .about-image-wrapper img {
    height: 250px;
  }
  .breadcrumb-item {
    font-size: 0.9rem;
  }
  .gallery-item .gallery-overlay {
    transform: translateY(0);
    padding: 12px 16px;
  }
  .gallery-item .gallery-overlay h4 {
    font-size: 0.9rem;
  }
  .gallery-item .gallery-overlay p {
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .hero.page-inner .heading {
    font-size: 1.6rem;
  }
  .section {
    padding: 40px 0;
  }
  .team-section {
    padding: 40px 0;
  }
  .mentor-section {
    padding: 40px 0;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .gallery-item img {
    height: 220px;
  }
  .team-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .team-card .team-image {
    height: 220px;
  }
  .mentor-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .mentor-card .mentor-image {
    height: 220px;
  }
  .gallery-grid-4 {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .gallery-grid-4 .gallery-item img {
    height: 200px;
  }
  .gallery-grid-4 .gallery-item .gallery-overlay {
    transform: translateY(0);
    padding: 12px;
  }
  .gallery-grid-4 .gallery-item .gallery-overlay h4 {
    font-size: 0.85rem;
  }
  .team-card .team-info {
    padding: 16px 14px 20px;
  }
  .team-card .team-info h3 {
    font-size: 1rem;
  }
  .mentor-card .mentor-info {
    padding: 16px 14px 20px;
  }
  .mentor-card .mentor-info h3 {
    font-size: 1rem;
  }
  .counter-wrap .number {
    font-size: 1.6rem;
  }
  .counter-wrap .caption {
    font-size: 0.8rem;
  }
  .wrap-icon {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }
  .feature-text .heading {
    font-size: 1rem;
  }
  .feature-text p {
    font-size: 0.85rem;
  }
  .feature-text ul li {
    font-size: 0.85rem;
  }
  .about-image-wrapper img {
    height: 200px;
  }
  .breadcrumb-item {
    font-size: 0.8rem;
  }
  .about-text p {
    font-size: 0.9rem;
  }
}

@media (max-width: 360px) {
  .hero.page-inner .heading {
    font-size: 1.3rem;
  }
  .container {
    padding: 0 16px;
  }
  .gallery-item img {
    height: 180px;
  }
  .team-card .team-image {
    height: 180px;
  }
  .mentor-card .mentor-image {
    height: 180px;
  }
  .counter-wrap .number {
    font-size: 1.4rem;
  }
  .counter-wrap .caption {
    font-size: 0.75rem;
  }
}