/* About Us Page Styles */

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  background: linear-gradient(to bottom, #0C0B10, #080709);
  color: #FFFFFF;
  line-height: 1.6;
  min-height: 100vh;
}

/* Typography */
h1 {
  font-size: 4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  background: linear-gradient(to right, #FFFFFF, #8B7AB8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
}

.subtitle {
  color: #94929E;
  font-size: 1.25rem;
  max-width: 42rem;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  margin-bottom: 4rem;
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6rem 0;
}

.section-alt {
  background-color: #0A090D;
}

.text-center {
  text-align: center;
}

/* Card Styles */
.card {
  background-color: #14121A;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.card:hover::before {
  transform: scaleX(1);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(to right, #4A3B78, #6B5A9A);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

/* Grid Layouts */
.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Hero Section Specific */
.hero {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.2;
}

.hero-bg-circle-1 {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24rem;
  height: 24rem;
  background-color: #4A3B78;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.2;
  transform: translate(-50%, -50%);
}

.hero-bg-circle-2 {
  position: absolute;
  top: 25%;
  right: 25%;
  width: 16rem;
  height: 16rem;
  background-color: #6B5A9A;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.1;
}

.hero-content {
  position: relative;
  z-index: 10;
}

/* Overview Section */
.overview-text {
  font-size: 1.125rem;
  color: #94929E;
  margin-bottom: 2rem;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Mission & Vision Section */
.mission-vision {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .mission-vision {
    grid-template-columns: repeat(2, 1fr);
  }
}

.mission-vision-card {
  background-color: #14121A;
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.mission-vision-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(74, 59, 120, 0.15) 0%, rgba(54, 43, 87, 0.15) 100%);
  border: 1px solid rgba(74, 59, 120, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.mission-vision-icon svg {
  width: 30px;
  height: 30px;
  color: #8B7AB8;
}

.mission-vision-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.mission-vision-text {
  color: #94929E;
  flex-grow: 1;
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: linear-gradient(to bottom, rgba(74, 59, 120, 0.3), rgba(74, 59, 120, 0.7), rgba(74, 59, 120, 0.3));
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
  display: flex;
}

.timeline-item:nth-child(odd) {
  justify-content: flex-end;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-content {
  width: calc(50% - 2rem);
  padding: 1.5rem;
  background-color: #14121A;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
}

.timeline-item:nth-child(odd) .timeline-content::before {
  content: '';
  position: absolute;
  top: 1.5rem;
  right: -10px;
  width: 20px;
  height: 20px;
  background-color: #14121A;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  transform: rotate(45deg);
}

.timeline-item:nth-child(even) .timeline-content::before {
  content: '';
  position: absolute;
  top: 1.5rem;
  left: -10px;
  width: 20px;
  height: 20px;
  background-color: #14121A;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-left: 1px solid rgba(255, 255, 255, 0.06);
  transform: rotate(-45deg);
}

.timeline-dot {
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4A3B78, #6B5A9A);
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.timeline-date {
  font-size: 0.875rem;
  font-weight: 600;
  color: #8B7AB8;
  margin-bottom: 0.5rem;
}

.timeline-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.timeline-text {
  font-size: 0.9375rem;
  color: #94929E;
}

@media (max-width: 768px) {
  .timeline::before {
    left: 1rem;
  }
  
  .timeline-item {
    justify-content: flex-start !important;
  }
  
  .timeline-content {
    width: calc(100% - 3rem);
    margin-left: 3rem;
  }
  
  .timeline-dot {
    left: 1rem;
  }
  
  .timeline-item:nth-child(odd) .timeline-content::before,
  .timeline-item:nth-child(even) .timeline-content::before {
    left: -10px;
    right: auto;
    transform: rotate(-45deg);
  }
}

/* Team Section */
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  /* Make the last row centered when there are 5 items */
  .team-grid:has(.team-member:nth-child(5)) {
    grid-template-rows: auto auto;
  }
  
  .team-grid:has(.team-member:nth-child(5)) .team-member:nth-child(4),
  .team-grid:has(.team-member:nth-child(5)) .team-member:nth-child(5) {
    grid-column: span 1;
  }
  
  /* Position the 4th and 5th items to be centered */
  .team-grid:has(.team-member:nth-child(5))::after {
    content: "";
    grid-column: span 1;
  }
}

.team-member {
  background-color: #14121A;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
}

.team-member:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.team-member::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(to right, #4A3B78, #6B5A9A);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.team-member:hover::after {
  transform: scaleX(1);
}

.featured-member {
  box-shadow: 0 8px 24px rgba(74, 59, 120, 0.3);
  border: 1px solid rgba(107, 90, 154, 0.3);
}

.featured-member::after {
  background: linear-gradient(to right, #6B5A9A, #8B7AB8);
  height: 5px;
}

.team-member-image {
  width: 100%;
  height: 190px;
  background-color: #1A1721;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Team Section - Social link styles commented out since they are not currently in use */
/*
.team-member-social {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(10, 9, 13, 0.9), rgba(10, 9, 13, 0));
  padding: 1rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.team-member:hover .team-member-social {
  transform: translateY(0);
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.social-link:hover {
  background-color: #4A3B78;
  transform: translateY(-3px);
}
*/

.team-member-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background-color: #4A3B78;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2.5rem;
  font-weight: 700;
  transition: transform 0.3s ease;
  z-index: 1;
}

.featured-member .team-member-avatar {
  background: linear-gradient(135deg, #4A3B78, #6B5A9A);
  border: 3px solid rgba(255, 255, 255, 0.1);
}

.team-member:hover .team-member-avatar {
  transform: scale(1.05);
}

.team-member-info {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.team-member-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.team-member-role {
  font-size: 0.875rem;
  color: #8B7AB8;
  font-weight: 600;
  margin-bottom: 1rem;
}

.team-member-bio {
  font-size: 0.9375rem;
  color: #94929E;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.team-member-expertise {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
}

.expertise-tag {
  background-color: rgba(74, 59, 120, 0.15);
  color: #8B7AB8;
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  white-space: nowrap;
}

/* Team CTA removed since there's no team page */
/*
.team-cta {
  margin-top: 3rem;
  text-align: center;
}

.team-btn {
  font-size: 1rem;
  padding: 0.75rem 2rem;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
}
*/

/* Values Section */
.values-section-title {
  margin-top: 5rem;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .values-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.value-card {
  background-color: #14121A;
  border-radius: 16px;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.value-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(74, 59, 120, 0.15) 0%, rgba(54, 43, 87, 0.15) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.value-icon svg {
  width: 28px;
  height: 28px;
  color: #8B7AB8;
}

.value-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.value-text {
  font-size: 0.9375rem;
  color: #94929E;
}

/* Stats Section */
.stats-section {
  margin: 3rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-card {
  background-color: #14121A;
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  background: linear-gradient(to right, #FFFFFF, #8B7AB8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-label {
  font-size: 0.9375rem;
  color: #94929E;
}

/* Founder Section */
.founder-section {
  margin: 5rem 0;
}

.founder-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  background-color: #14121A;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

@media (min-width: 768px) {
  .founder-card {
    grid-template-columns: 300px 1fr;
  }
}

.founder-image {
  height: 300px;
  background-color: #1A1721;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.founder-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.founder-card:hover .founder-photo {
  transform: scale(1.05);
}

.founder-avatar {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4A3B78, #6B5A9A);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 4rem;
  font-weight: 700;
}

.founder-info {
  padding: 2rem;
}

.founder-name {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.founder-role {
  font-size: 1rem;
  color: #8B7AB8;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.founder-bio {
  color: #94929E;
}

.founder-journey {
  margin-top: 2rem;
}

.founder-journey-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.founder-journey-title svg {
  margin-right: 0.75rem;
  color: #8B7AB8;
}

.journey-timeline {
  color: #94929E;
}

.journey-paragraph {
  margin-bottom: 1rem;
}

.journey-paragraph:last-child {
  margin-bottom: 0;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(to right, #362B57, #4A3B78);
  padding: 4rem 0;
}

.cta-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-subtitle {
  font-size: 1.25rem;
  max-width: 42rem;
  margin: 0 auto 2rem;
  opacity: 0.9;
}

.button-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .button-container {
    flex-direction: row;
    justify-content: center;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.btn:hover {
  transform: translateY(-4px);
}

.btn-primary {
  background-color: white;
  color: #362B57;
}

.btn-secondary {
  background-color: transparent;
  border: 1px solid white;
  color: white;
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.chevron {
  margin-left: 0.5rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .section {
    padding: 4rem 0;
  }
}

/* Animation Classes */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.5s ease-out forwards;
}

.delay-100 {
  animation-delay: 0.1s;
}

.delay-200 {
  animation-delay: 0.2s;
}

.delay-300 {
  animation-delay: 0.3s;
}

.delay-400 {
  animation-delay: 0.4s;
}

.delay-500 {
  animation-delay: 0.5s;
}
