/* About page specific styles */
/* Import shared variables and styles from main.css */
@import url('./main.css');

/* Research Team Styles */
.research-team {
  padding: 80px 0;
}

.research-team .researchers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
  padding: 80px;
}

@media (max-width: 768px) {
  .research-team .researchers-grid {
    padding: 40px 20px;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .research-team .researchers-grid {
    padding: 20px 15px;
  }
}

/* Researcher Card Styles */
.researcher-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(246, 217, 225, 0.3);
  box-shadow: 0 12px 40px rgba(88, 89, 91, 0.08);
  padding: 0;
  border-radius: 20px;
  position: relative;
  transition: all 0.4s ease;
  overflow: hidden;
}

.researcher-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(88, 89, 91, 0.15);
  background: rgba(246, 217, 225, 0.2);
  border-color: rgba(246, 217, 225, 0.4);
}

.researcher-card .researcher-header {
  background: linear-gradient(135deg, var(--secondary-color), rgba(246, 217, 225, 0.8));
  padding: 2rem;
  text-align: center;
  border-radius: 20px 20px 0 0;
}

.researcher-card .researcher-header .researcher-avatar {
  width: 120px;
  height: 120px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(88, 89, 91, 0.2);
  position: relative;
}

.researcher-card .researcher-header .researcher-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.researcher-card .researcher-header .researcher-avatar img[alt*="Chich"] {
  object-fit: contain;
}

.researcher-card .researcher-header .researcher-avatar .avatar-fallback {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--primary-color);
}

.researcher-card .researcher-header .researcher-avatar .avatar-fallback.show {
  display: flex;
}

.researcher-card .researcher-header h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.researcher-card .researcher-header p {
  color: var(--text-dark);
  font-weight: 500;
}

.researcher-card .researcher-content {
  padding: 2rem;
}

.researcher-card .researcher-content .researcher-specialty {
  background: rgba(246, 217, 225, 0.2);
  padding: 1rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
}

.researcher-card .researcher-content .researcher-specialty h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.researcher-card .researcher-content .researcher-specialty p {
  color: var(--text-dark);
  font-size: 0.95rem;
}

.researcher-card .researcher-content .researcher-achievements {
  margin-bottom: 1.5rem;
}

.researcher-card .researcher-content .researcher-achievements h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.researcher-card .researcher-content .researcher-achievements ul {
  list-style: none;
  padding: 0;
}

.researcher-card .researcher-content .researcher-achievements ul li {
  background: rgba(246, 217, 225, 0.1);
  padding: 0.8rem;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  border-left: 3px solid var(--secondary-color);
  font-size: 0.9rem;
  color: var(--text-dark);
}

.researcher-card .researcher-content .researcher-achievements ul li i {
  color: var(--secondary-color);
  margin-right: 0.5rem;
}

/* Content Cards for About page */
.about-content {
  margin-bottom: 4rem;
}

.about-content .content-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(246, 217, 225, 0.3);
  box-shadow: 0 12px 40px rgba(88, 89, 91, 0.08);
  padding: 3rem;
  border-radius: 20px;
  margin-bottom: 3rem;
}

.about-content .content-card h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 2rem;
  text-align: center;
}

@media (max-width: 768px) {
  .about-content .content-card h2 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .about-content .content-card h2 {
    font-size: 1.8rem;
  }
}

.about-content .content-card p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.about-content .content-card p strong {
  color: var(--primary-color);
}

.about-content .content-card p.center {
  text-align: center;
  font-style: italic;
}

.about-content .content-card .focus-areas {
  margin-top: 2rem;
}

.about-content .content-card .focus-areas h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.about-content .content-card .focus-areas ul {
  list-style: none;
  padding: 0;
}

.about-content .content-card .focus-areas ul li {
  background: rgba(246, 217, 225, 0.15);
  padding: 1.5rem;
  border-radius: 12px;
  margin-bottom: 1rem;
  border-left: 4px solid var(--secondary-color);
}

.about-content .content-card .focus-areas ul li strong {
  color: var(--primary-color);
}

.about-content .content-card .key-projects {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
}

.about-content .content-card .key-projects .project-highlight {
  background: rgba(246, 217, 225, 0.1);
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid rgba(246, 217, 225, 0.3);
}

.about-content .content-card .key-projects .project-highlight h4 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.about-content .content-card .key-projects .project-highlight p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-dark);
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .about-content .content-card {
    padding: 2rem;
  }
}

@media (max-width: 480px) {
  .about-content .content-card {
    padding: 1.5rem;
  }
}

/* Special styling for the about section featured projects */
.about-page .featured-projects {
  padding: 80px 0;
}

@media (max-width: 768px) {
  .about-page .featured-projects {
    padding: 60px 0;
  }
}