/* Modern About Page Styles with Interactive Effects */
.about-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes countUp {
  from {
    opacity: 0;
    transform: scale(0.5);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Hero Section */
.about-hero {
  padding: 60px 0;
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.9) 0%, rgba(0, 234, 255, 0.05) 100%);
  border-radius: 20px;
  margin-bottom: 40px;
}

.profile-section {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.about-profile-img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(0, 234, 255, 0.3);
  box-shadow: 0 8px 32px rgba(0, 234, 255, 0.2);
  animation: slideInLeft 1s ease-out 0.3s both;
  transition: all 0.3s ease;
  cursor: pointer;
}

.about-profile-img:hover {
  transform: scale(1.1) rotate(5deg);
  border-color: rgba(0, 234, 255, 0.6);
  box-shadow: 0 12px 40px rgba(0, 234, 255, 0.4);
}

.hero-content {
  flex: 1;
  animation: slideInRight 1s ease-out 0.5s both;
}

.about-title {
  font-size: 3rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
  line-height: 1.2;
  animation: fadeInUp 1s ease-out 0.7s both;
}

.highlight {
  background: linear-gradient(135deg, #00eaff 0%, #0090ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: pulse 2s ease-in-out infinite;
}

.about-subtitle {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 30px;
  font-weight: 500;
  text-align: center;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 1s ease-out 0.9s both;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.stat-item {
  text-align: center;
  padding: 15px;
  background: rgba(0, 234, 255, 0.1);
  border-radius: 12px;
  border: 1px solid rgba(0, 234, 255, 0.2);
  transition: all 0.3s ease;
  cursor: pointer;
  animation: countUp 0.6s ease-out both;
}

.stat-item:nth-child(1) { animation-delay: 1.1s; }
.stat-item:nth-child(2) { animation-delay: 1.3s; }
.stat-item:nth-child(3) { animation-delay: 1.5s; }

.stat-item:hover {
  transform: translateY(-10px) scale(1.05);
  background: rgba(0, 234, 255, 0.2);
  border-color: rgba(0, 234, 255, 0.5);
  box-shadow: 0 10px 30px rgba(0, 234, 255, 0.3);
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: #00eaff;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 5px;
}

/* Content Sections */
.about-content {
  margin-bottom: 50px;
}

.content-card {
  background: rgba(26, 26, 46, 0.6);
  padding: 40px;
  border-radius: 16px;
  border: 1px solid rgba(0, 234, 255, 0.2);
  margin-bottom: 40px;
  transition: all 0.3s ease;
  animation: fadeInUp 1s ease-out 1.7s both;
}

.content-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 234, 255, 0.2);
  border-color: rgba(0, 234, 255, 0.4);
}

.section-title {
  font-size: 2.2rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
  animation: fadeInUp 0.8s ease-out both;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #00eaff 0%, #0090ff 100%);
  border-radius: 2px;
  animation: expandLine 1s ease-out 0.5s both;
}

@keyframes expandLine {
  from {
    width: 0;
  }
  to {
    width: 60px;
  }
}

.about-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
  text-align: justify;
}

/* Education Section */
.education-section {
  margin: 50px 0;
  padding: 40px;
  background: rgba(26, 26, 46, 0.3);
  border-radius: 16px;
  border: 1px solid rgba(0, 234, 255, 0.15);
}

.education-timeline {
  margin-top: 30px;
  position: relative;
}

.education-timeline::before {
  content: '';
  position: absolute;
  left: 25px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, #00eaff 0%, rgba(0, 234, 255, 0.3) 100%);
}

.education-item {
  display: flex;
  margin-bottom: 40px;
  position: relative;
  animation: slideInLeft 0.8s ease-out both;
  transition: all 0.3s ease;
}

.education-item:nth-child(1) { animation-delay: 2s; }
.education-item:nth-child(2) { animation-delay: 2.2s; }
.education-item:nth-child(3) { animation-delay: 2.4s; }

.education-item:hover {
  transform: translateX(10px);
}

.education-item:hover .education-content {
  background: rgba(0, 234, 255, 0.08);
  border-color: rgba(0, 234, 255, 0.4);
}

.education-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #00eaff 0%, #0090ff 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 25px;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(0, 234, 255, 0.3);
  transition: all 0.3s ease;
  cursor: pointer;
}

.education-icon:hover {
  transform: scale(1.2) rotate(360deg);
  box-shadow: 0 6px 20px rgba(0, 234, 255, 0.5);
}

.education-icon i {
  color: #1a1a2e;
  font-size: 1.2rem;
}

.education-content {
  flex: 1;
  background: rgba(0, 234, 255, 0.05);
  padding: 25px;
  border-radius: 12px;
  border: 1px solid rgba(0, 234, 255, 0.2);
  transition: all 0.3s ease;
}

.degree-title {
  color: #ffffff;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.institution {
  color: #00eaff;
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 12px;
}

.education-details {
  display: flex;
  gap: 30px;
  margin-bottom: 15px;
}

.duration, .gpa {
  background: rgba(0, 234, 255, 0.15);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 234, 255, 0.3);
}

.education-desc {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  font-size: 1rem;
}

/* Experience Section */
.experience-section {
  margin: 50px 0;
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.experience-card {
  background: rgba(26, 26, 46, 0.6);
  padding: 30px;
  border-radius: 12px;
  border: 1px solid rgba(0, 234, 255, 0.2);
  transition: all 0.3s ease;
  cursor: pointer;
  animation: fadeInUp 0.8s ease-out both;
}

.experience-card:nth-child(1) { animation-delay: 2.6s; }
.experience-card:nth-child(2) { animation-delay: 2.8s; }
.experience-card:nth-child(3) { animation-delay: 3s; }

.experience-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 35px rgba(0, 234, 255, 0.3);
  border-color: rgba(0, 234, 255, 0.5);
  background: rgba(26, 26, 46, 0.8);
}

.experience-card h3 {
  color: #00eaff;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.experience-card p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  font-size: 1rem;
}

/* Vision Section */
.vision-section {
  margin: 50px 0;
}

.vision-card {
  background: linear-gradient(135deg, rgba(0, 234, 255, 0.1) 0%, rgba(26, 26, 46, 0.8) 100%);
  padding: 40px;
  border-radius: 16px;
  border: 1px solid rgba(0, 234, 255, 0.3);
  text-align: center;
  animation: fadeInUp 1s ease-out 3.2s both;
  transition: all 0.3s ease;
}

.vision-card:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 50px rgba(0, 234, 255, 0.2);
  border-color: rgba(0, 234, 255, 0.5);
}

.vision-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
  text-align: justify;
}

/* Responsive Design */
@media (max-width: 768px) {
  .profile-section {
    flex-direction: column;
    text-align: center;
    gap: 25px;
  }
  
  .about-profile-img {
    width: 150px;
    height: 150px;
  }
  
  .about-title {
    font-size: 2.2rem;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .education-timeline::before {
    display: none;
  }
  
  .education-item {
    flex-direction: column;
    text-align: center;
  }
  
  .education-icon {
    margin: 0 auto 15px;
  }
  
  .experience-grid {
    grid-template-columns: 1fr;
  }
  
  .education-details {
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .about-container {
    padding: 0 15px;
  }
  
  .about-hero,
  .content-card,
  .education-section,
  .vision-card {
    padding: 25px 20px;
  }
  
  .about-title {
    font-size: 1.8rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .about-profile-img {
    width: 120px;
    height: 120px;
  }
}
