/* Performance optimizations */
* {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
}

/* --- HERO SECTION --- */
.about-hero {
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  will-change: transform;
}

.about-hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.1) 0%, rgba(236, 72, 153, 0.05) 50%, transparent 70%);
  border-radius: 50%;
  animation: pulse-glow 4s ease-in-out infinite;
  z-index: -1;
  will-change: transform, opacity;
}

.about-hero::after {
  content: '';
  position: absolute;
  top: 20%;
  left: 10%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: float-glow 6s ease-in-out infinite;
  z-index: -1;
  will-change: transform, opacity;
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
  position: relative;
  animation: title-glow 3s ease-in-out infinite;
  will-change: filter;
}

.hero-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: var(--gradient);
  border-radius: 2px;
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.5);
}

.hero-subtitle {
  font-size: 1.3rem;
  color: #d8b4fe;
  max-width: 700px;
  margin: 0 auto 3rem;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin-top: 3rem;
  position: relative;
  z-index: 1;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.5rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  width: 200px;
  height: 150px;
  justify-content: center;
  will-change: transform;
  transform: translateZ(0);
}

.stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s ease;
  will-change: left;
}

.stat-item:hover::before {
  left: 100%;
}

.stat-item:hover {
  transform: translate3d(0, -4px, 0) scale(1.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.2);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
  animation: number-glow 2s ease-in-out infinite;
  will-change: text-shadow, transform;
}

.stat-label {
  font-size: 0.9rem;
  color: #c4b5fd;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

/* Animations */
@keyframes pulse-glow {
  0%, 100% {
    opacity: 0.3;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(1.1);
  }
}

@keyframes float-glow {
  0%, 100% {
    transform: translateY(0px);
    opacity: 0.3;
  }
  50% {
    transform: translateY(-20px);
    opacity: 0.6;
  }
}

@keyframes title-glow {
  0%, 100% {
    filter: drop-shadow(0 0 10px rgba(124, 58, 237, 0.3));
  }
  50% {
    filter: drop-shadow(0 0 20px rgba(124, 58, 237, 0.6));
  }
}

@keyframes number-glow {
  0%, 100% {
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
  }
  50% {
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.6);
  }
}

/* Remove old hero styles */
.about-hero-section,
.about-hero-bg,
.about-hero-content,
.about-hero-logo,
.about-hero-title,
.about-hero-tagline {
  display: none;
}

/* Remove old counter styles */
.about-counters,
.about-counter,
.about-counter-number,
.about-counter-label {
  display: none;
}

/* --- ABOUT US SECTION --- */
.about-main-section {
  width: 100%;
  margin-bottom: 3.5rem;
}
.about-main-container {
  display: flex;
  align-items: center;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}
.about-main-image-col {
  flex: 0 0 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-main-image {
  width: 180px;
  height: 180px;
  object-fit: contain;
  border-radius: 1.5rem;
  background: #fff;
  box-shadow: 0 4px 32px #7c3aed22;
  will-change: transform;
}
.about-main-text-col {
  flex: 1 1 0%;
}
.about-main-title {
  font-size: 2.1rem;
  font-weight: 800;
  margin-bottom: 0.7rem;
  background: linear-gradient(90deg, #7c3aed, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.about-main-desc {
  color: #d8b4fe;
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.about-counters {
  display: flex;
  gap: 2.5rem;
  margin-top: 1.2rem;
}
.about-counter {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #232046;
  border-radius: 1.5rem;
  box-shadow: 0 8px 32px 0 rgba(31,38,135,0.10);
  border: 1.5px solid rgba(255,255,255,0.10);
  padding: 1.5rem 1rem;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  min-width: 120px;
  will-change: transform;
}
.about-counter:hover {
  transform: translate3d(0, -4px, 0) scale(1.02);
  box-shadow: 0 16px 48px 0 #a78bfa33;
  background: #312e81;
}
.about-counter-number {
  font-size: 2.1rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 0.2rem;
  transition: color 0.2s;
}
.about-counter-label {
  color: #a5b4fc;
  font-size: 1.05rem;
  font-weight: 500;
}

/* --- MISSION SECTION --- */
.about-mission-section {
  width: 100%;
  margin-bottom: 3.5rem;
  text-align: center;
}
.about-mission-title {
  font-size: 3.2rem;
  font-weight: 900;
  margin-bottom: 2.5rem;
  background: linear-gradient(90deg, #7c3aed, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -1px;
  position: relative;
}
.about-mission-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: linear-gradient(90deg, #7c3aed, #ec4899);
  border-radius: 2px;
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.5);
}
.about-mission-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}
.about-mission-card {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.08) 0%, rgba(236, 72, 153, 0.04) 100%);
  border-radius: 1.5rem;
  box-shadow: 0 8px 32px 0 rgba(31,38,135,0.12);
  border: 1.5px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 2.5rem 1.5rem 1.5rem 1.5rem;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  will-change: transform;
  transform: translateZ(0);
}
.about-mission-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #7c3aed, #ec4899);
  transform: scaleX(0);
  transition: transform 0.25s ease;
  will-change: transform;
}
.about-mission-card:hover {
  transform: translate3d(0, -8px, 0) scale(1.02);
  box-shadow: 0 16px 40px 0 rgba(124, 58, 237, 0.2);
  border-color: rgba(124, 58, 237, 0.25);
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.12) 0%, rgba(236, 72, 153, 0.06) 100%);
}
.about-mission-card:hover::before {
  transform: scaleX(1);
}
.about-mission-card h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.8rem;
  letter-spacing: -0.5px;
  position: relative;
  z-index: 1;
}
.about-mission-card p {
  color: #d8b4fe;
  font-size: 1.1rem;
  margin-bottom: 0;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

/* --- TEAM SECTION --- */
.about-team-section {
  width: 100%;
  margin-bottom: 3.5rem;
  text-align: center;
}
.about-team-title {
  font-size: 3.2rem;
  font-weight: 900;
  margin-bottom: 2.5rem;
  background: linear-gradient(90deg, #7c3aed, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -1px;
  position: relative;
}
.about-team-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: linear-gradient(90deg, #7c3aed, #ec4899);
  border-radius: 2px;
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.5);
}
.team-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}
.team-box {
  width: 100%;
  max-width: 280px;
  height: 350px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  box-shadow: 0 8px 32px 0 rgba(31,38,135,0.15);
  transition: 0.3s ease-in-out;
  cursor: pointer;
  will-change: transform;
}
.team-box:hover {
  box-shadow: 0 16px 48px 0 rgba(124, 58, 237, 0.25);
}
.team-box:hover .team-card-footer {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.team-box:hover .team-imgBx {
  transform: scale(1.1);
}
.team-imgBx {
  transition: 0.3s ease-in-out;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  will-change: transform;
}
.team-imgBx img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.team-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.2) 0%, rgba(236, 72, 153, 0.1) 100%);
  color: #c4b5fd;
  font-size: 3rem;
}
.team-card-footer {
  position: absolute;
  bottom: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 70%, transparent 100%);
  opacity: 0;
  visibility: hidden;
  transform: translateY(100%);
  transition: 0.3s ease-in-out;
  width: 100%;
  color: #fff;
  text-align: center;
  padding: 1.5rem 1rem 1rem 1rem;
  border-bottom-left-radius: 1.5rem;
  border-bottom-right-radius: 1.5rem;
  will-change: transform, opacity;
}
.team-name {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  color: #fff;
}
.team-position {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: #d8b4fe;
}
.team-university {
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
  color: #a5b4fc;
  font-style: italic;
}
.team-links {
  margin-bottom: 0.8rem;
}
.team-linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0077b5 0%, #0a66c2 50%, #0077b5 100%);
  color: #fff;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 1.3rem;
  box-shadow: 0 4px 15px rgba(10, 102, 194, 0.4), 0 2px 8px rgba(0, 119, 181, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  position: relative;
  overflow: hidden;
}

.team-linkedin::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.team-linkedin:hover::before {
  left: 100%;
}

.team-linkedin:hover, .team-linkedin:focus {
  background: linear-gradient(135deg, #fff 0%, #f8fafc 50%, #fff 100%);
  color: #0077b5;
  border: 2px solid #0077b5;
  outline: none;
  transform: scale(1.15) translateY(-2px);
  box-shadow: 0 8px 25px rgba(10, 102, 194, 0.5), 0 4px 15px rgba(0, 119, 181, 0.4);
}

.team-linkedin:active {
  transform: scale(1.1) translateY(-1px);
  box-shadow: 0 4px 15px rgba(10, 102, 194, 0.4);
}
.team-company-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}
.team-company-logo {
  height: 32px;
  width: auto;
  max-width: 80px;
  object-fit: contain;
  filter: brightness(1.2) contrast(1.1);
  border-radius: 0.4rem;
  padding: 3px 8px;
  box-shadow: 0 2px 8px rgba(124, 58, 237, 0.2);
  transition: all 0.3s ease;
  will-change: transform, filter;
  background: transparent;
}
.team-box:hover .team-company-logo {
  filter: brightness(1.4) contrast(1.2);
  transform: scale(1.08);
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

/* --- PARTNERS SECTION --- */
.about-partners-section {
  width: 100%;
  margin-bottom: 3.5rem;
  text-align: center;
}

/* Trusted By Section Styles - Same as home page */
.trusted-logos-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
  justify-items: center;
}

.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 200px;
  height: 100px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  transition: all 0.3s ease;
  text-decoration: none;
  will-change: transform;
}

.logo-item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.company-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  transition: all 0.3s ease;
  opacity: 0.7;
  will-change: transform, filter, opacity;
}

.logo-item:hover .company-logo {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

/* --- FADE-IN/SLIDE-IN ANIMATIONS --- */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(.23,1.01,.32,1), transform 0.7s cubic-bezier(.23,1.01,.32,1);
  will-change: opacity, transform;
}
.fade-in.animated {
  opacity: 1;
  transform: none;
}

/* Responsive Trusted Logos */
@media (max-width: 1200px) {
  .trusted-logos-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
  }
  
  .logo-item {
    max-width: 180px;
    height: 90px;
  }
}

@media (max-width: 991px) {
  .trusted-logos-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
  
  .logo-item {
    max-width: 160px;
    height: 80px;
  }
}

@media (max-width: 768px) {
  .trusted-logos-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
  
  .logo-item {
    max-width: 140px;
    height: 70px;
    padding: 0.75rem;
  }
}

@media (max-width: 576px) {
  .trusted-logos-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }
  
  .logo-item {
    max-width: 120px;
    height: 60px;
    padding: 0.5rem;
  }
}

@media (max-width: 991px) {
  .hero-title {
    font-size: 3rem;
  }
  .hero-stats {
    gap: 2rem;
  }
  .stat-item {
    width: 150px;
    height: 120px;
    padding: 1.5rem 1rem;
  }
  .stat-number {
    font-size: 2rem;
  }
  .about-mission-title, .about-team-title {
    font-size: 2.8rem;
  }
  .team-container {
    gap: 1.5rem;
  }
  .team-box {
    max-width: 260px;
    height: 320px;
  }
  .about-main-container, .about-mission-cards, .about-team-cards, .about-partners-logos {
    max-width: 98vw;
    gap: 1.2rem;
  }
  .about-main-image {
    width: 120px;
    height: 120px;
  }
  .team-company-logo {
    height: 28px;
    max-width: 70px;
  }
  .about-partner-logo {
    width: 70px;
    height: 70px;
  }
}
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-subtitle {
    font-size: 1.1rem;
  }
  .hero-stats {
    flex-direction: row;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  .stat-item {
    width: 140px;
    height: 110px;
    padding: 1.2rem 0.8rem;
    min-width: 120px;
  }
  .stat-number {
    font-size: 2rem;
  }
  .stat-label {
    font-size: 0.85rem;
    line-height: 1.2;
  }
  .about-mission-title, .about-team-title {
    font-size: 2.4rem;
  }
  .about-mission-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
  }
  .about-mission-card {
    padding: 2rem 1.2rem 1.2rem 1.2rem;
  }
  .about-mission-card h3 {
    font-size: 1.2rem;
  }
  .about-mission-card p {
    font-size: 1rem;
  }
  .team-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
  }
  .team-box {
    max-width: none;
    height: 320px;
  }
  .about-main-container {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }
  .about-main-image {
    width: 150px;
    height: 150px;
  }
  .about-main-title {
    font-size: 2.5rem;
  }
  .team-company-logo {
    height: 26px;
    max-width: 65px;
  }
}
@media (max-width: 576px) {
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .hero-stats {
    gap: 1rem;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .stat-item {
    width: 120px;
    height: 100px;
    padding: 1rem 0.6rem;
    min-width: 110px;
  }
  .stat-number {
    font-size: 1.8rem;
  }
  .stat-label {
    font-size: 0.8rem;
    line-height: 1.1;
    word-wrap: break-word;
  }
  .about-mission-title, .about-team-title {
    font-size: 2rem;
  }
  .about-mission-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .about-mission-card {
    padding: 1.5rem 1rem 1rem 1rem;
  }
  .about-mission-card h3 {
    font-size: 1.1rem;
  }
  .about-mission-card p {
    font-size: 0.9rem;
  }
  .team-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .team-box {
    height: 280px;
  }
  .team-name {
    font-size: 1rem;
  }
  .team-position {
    font-size: 0.9rem;
  }
  .team-university {
    font-size: 0.8rem;
  }
  .team-linkedin {
    width: 30px;
    height: 30px;
    font-size: 1rem;
  }
  .team-company-logo {
    height: 22px;
    max-width: 55px;
    padding: 2px 5px;
  }
  .about-main-image {
    width: 120px;
    height: 120px;
  }
  .about-main-title {
    font-size: 2rem;
  }
}
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }
  .hero-stats {
    gap: 0.8rem;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .stat-item {
    width: 110px;
    height: 90px;
    padding: 0.8rem 0.5rem;
    min-width: 100px;
  }
  .stat-number {
    font-size: 1.6rem;
  }
  .stat-label {
    font-size: 0.75rem;
    line-height: 1.1;
    word-wrap: break-word;
    hyphens: auto;
  }
  .about-mission-title, .about-team-title {
    font-size: 1.8rem;
  }
  .about-mission-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
  }
  .about-mission-card {
    padding: 1.2rem 0.8rem 0.8rem 0.8rem;
  }
  .about-mission-card h3 {
    font-size: 1rem;
  }
  .about-mission-card p {
    font-size: 0.85rem;
  }
  .team-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
  }
  .team-box {
    height: 260px;
  }
  .team-name {
    font-size: 0.9rem;
  }
  .team-position {
    font-size: 0.8rem;
  }
  .team-linkedin {
    width: 28px;
    height: 28px;
    font-size: 0.9rem;
  }
  .team-company-logo {
    height: 20px;
    max-width: 50px;
    padding: 1px 4px;
  }
  .about-main-image {
    width: 100px;
    height: 100px;
  }
  .about-main-title {
    font-size: 1.8rem;
  }
} 