/* Modern About Section Styles */
.about-modern {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(30, 41, 59, 0.9));
  overflow: hidden;
}

.about-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/projectImgs/clouds.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 1 !important;
  z-index: 1;
  pointer-events: none;
}
body:not(.light-mode) .about-bg-image {
  background-image: url('../images/projectImgs/centernightmoon.jpg');
  opacity: 1 !important;
}

.about-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.8), rgba(30, 41, 59, 0.8));
  z-index: 2;
}

.about-modern-content {
  position: relative;
  z-index: 3;
  max-width: 1200px;
  width: 100%;
  padding: 2rem;
}

/* Floating Words Animation */
.about-floating-words {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 220px;
  height: 220px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 3;
}
.floating-word {
  position: absolute;
  font-size: 1.1rem;
  color: #fff;
  font-weight: 600;
  opacity: 1;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
  z-index: 3;
  animation: float 6s ease-in-out infinite;
}
.floating-word:nth-child(1) { top: 0; left: 50%; transform: translate(-50%, -120%); animation-delay: 0s; }
.floating-word:nth-child(2) { top: 15%; left: 15%; transform: translate(-80%, -80%); animation-delay: 0.5s; }
.floating-word:nth-child(3) { top: 15%; right: 15%; transform: translate(80%, -80%); animation-delay: 1s; }
.floating-word:nth-child(4) { top: 35%; left: 0; transform: translate(-100%, -40%); animation-delay: 1.5s; }
.floating-word:nth-child(5) { top: 35%; right: 0; transform: translate(100%, -40%); animation-delay: 2s; }

@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
    opacity: 1;
  }
  25% {
    transform: translateY(20px) rotate(2deg);
    opacity: 3;
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
    opacity: 3;
  }
}

.about-profile-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.about-text-content {
  flex: 1;
}

.about-profile-img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.about-profile-img:hover {
  transform: scale(1.05);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.about-headline {
  font-size: 3rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
  font-family: 'Playfair Display', serif;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  letter-spacing: 1px;
  position: relative;
  z-index: 2;
}

.about-subheadline {
  font-size: 1.5rem;
  font-weight: 400;
  color: #94a3b8;
  margin-bottom: 1.5rem;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 2;
}

.about-bio {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #cbd5e1;
  margin-bottom: 2rem;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 2;
  text-align: center;
}

/* Social Icons - Floating on Hover */
.about-socials {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

.about-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: transparent;
  border: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.about-socials a:hover {
  transform: translateY(-8px) scale(1.1);
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.about-socials img {
  width: 24px;
  height: 24px;
  transition: all 0.3s ease;
  filter: brightness(0.9);
}

.about-socials a:hover img {
  filter: brightness(1.2);
  transform: scale(1.1);
}

/* Action Buttons */
.about-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

/* Experience Highlights */
.about-experience-highlights {
  margin-top: 3rem;
  position: relative;
  z-index: 2;
  overflow: visible;
}

.experience-highlights-title {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  margin-bottom: 2rem;
  font-family: 'Playfair Display', serif;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.experience-highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.highlight-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  border-radius: 15px;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.highlight-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #667eea, #764ba2);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.highlight-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.2);
}

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

.highlight-card.competitive::before {
  background: linear-gradient(90deg, #ff6b6b, #ee5a24);
}

.highlight-card.development::before {
  background: linear-gradient(90deg, #4ecdc4, #44a08d);
}

.highlight-card.research::before {
  background: linear-gradient(90deg, #a8edea, #fed6e3);
}

.highlight-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.highlight-card h4 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 1rem 0;
  font-family: 'Inter', sans-serif;
}

.highlight-content p {
  color: #cbd5e1;
  margin: 0 0 1rem 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.highlight-stats {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.stat {
  background: rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  color: #cbd5e1;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.stat:hover {
  background: rgba(102, 126, 234, 0.2);
  border-color: rgba(102, 126, 234, 0.3);
  transform: translateX(5px);
}

.about-btn {
  padding: 12px 24px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.about-btn.primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.about-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.about-btn.secondary {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
}

.about-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

/* Light Mode Styles */
body.light-mode .about-modern {
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.9), rgba(241, 245, 249, 0.9));
}

body.light-mode .about-overlay {
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.8), rgba(241, 245, 249, 0.8));
}

body.light-mode .about-headline {
  color: #1e293b;
  text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.5);
}

body.light-mode .about-subheadline {
  color: #1e293b !important;
}

body.light-mode .about-bio {
  color: #475569;
}

body.light-mode .about-socials a {
  background: transparent;
  border: none;
}

body.light-mode .about-socials a:hover {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

body.light-mode .about-btn.secondary {
  color: #1e293b;
  border-color: rgba(30, 41, 59, 0.3);
}

body.light-mode .about-btn.secondary:hover {
  background: rgba(30, 41, 59, 0.1);
  border-color: rgba(30, 41, 59, 0.5);
}

body.light-mode .experience-highlights-title {
  color: #1e293b;
  text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.5);
}

body.light-mode .highlight-card {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.05));
  border-color: rgba(0, 0, 0, 0.1);
}

body.light-mode .highlight-card:hover {
  border-color: rgba(0, 0, 0, 0.2);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

body.light-mode .highlight-card h4 {
  color: #1e293b;
}

body.light-mode .highlight-content p {
  color: #475569;
}

body.light-mode .stat {
  background: rgba(0, 0, 0, 0.1);
  color: #475569;
  border-color: rgba(0, 0, 0, 0.1);
}

body.light-mode .stat:hover {
  background: rgba(102, 126, 234, 0.1);
  border-color: rgba(102, 126, 234, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
  .about-modern {
    padding: 1rem;
  }
  
  .about-modern-content {
    padding: 1rem;
  }
  
  .about-profile-section {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }
  
  .about-headline {
    font-size: 2.5rem;
  }
  
  .about-subheadline {
    font-size: 1.3rem;
  }
  
  .about-bio {
    font-size: 1rem;
  }
  
  .about-profile-img {
    width: 150px;
    height: 150px;
  }
  
  .floating-word {
    font-size: 1.2rem;
  }
  
  .about-socials {
    gap: 1rem;
    justify-content: center;
  }
  
  .about-socials a {
    width: 45px;
    height: 45px;
  }
  
  .about-socials img {
    width: 20px;
    height: 20px;
  }
  
  .about-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .about-btn {
    width: 100%;
    max-width: 250px;
    text-align: center;
  }
  
  .experience-highlights-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .experience-highlights-title {
    font-size: 1.8rem;
  }
  
  .highlight-card {
    padding: 1.2rem;
  }
  
  .highlight-icon {
    font-size: 2rem;
  }
  
  .highlight-card h4 {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .about-headline {
    font-size: 2rem;
  }
  
  .about-subheadline {
    font-size: 1.1rem;
  }
  
  .about-bio {
    font-size: 0.95rem;
  }
  
  .about-profile-img {
    width: 120px;
    height: 120px;
  }
  
  .floating-word {
    font-size: 1rem;
  }
  
  .floating-word {
    font-size: 1rem;
  }
  
  .experience-highlights-title {
    font-size: 1.5rem;
  }
  
  .highlight-card {
    padding: 1rem;
  }
  
  .highlight-icon {
    font-size: 1.8rem;
  }
  
  .highlight-card h4 {
    font-size: 1.1rem;
  }
  
  .stat {
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
  }
} 

@media (max-width: 600px) {
  .about-floating-words {
    width: 120px;
    height: 120px;
  }
  .floating-word {
    font-size: 0.8rem;
  }
} 

.modern-experience {
  margin-top: 2.5rem;
}
.experience-highlights-grid-2025 {
  display: flex;
  flex-direction: row;
  gap: 2.5rem;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
}
.highlight-card-2025 {
  background: rgba(30,41,59,0.92);
  border-radius: 1.5rem;
  box-shadow: 0 4px 32px rgba(30,41,59,0.13);
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  min-width: 260px;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
  z-index: 1;
  overflow: hidden;
}
.highlight-card-2025:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 8px 40px rgba(59,130,246,0.18);
}
.highlight-icon-2025 {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fbbf24 60%, #1e40af 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  box-shadow: 0 2px 12px #fbbf2440;
  animation: popIn 0.7s cubic-bezier(.4,0,.2,1) both;
}
.highlight-icon-2025 img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}
.site-stats {
  display: flex;
  flex-direction: row;
  gap: 1.2rem;
  justify-content: center;
  margin-bottom: 0.7rem;
}
.site-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}
.site-icon {
  width: 28px;
  height: 28px;
  margin-bottom: 0.1rem;
  filter: drop-shadow(0 2px 8px #1e40af22);
}
.site-label {
  font-size: 0.85rem;
  color: #fbbf24;
  font-weight: 600;
}
.site-value {
  font-size: 1.1rem;
  color: #fff;
  font-weight: 700;
}
.highlight-desc {
  color: #94a3b8;
  font-size: 1rem;
  margin: 0.5rem 0 0.7rem 0;
  text-align: center;
}
.animate-fade-in {
  opacity: 0;
  animation: fadeInUpCard 0.8s cubic-bezier(.4,0,.2,1) forwards;
}
.highlight-card-2025.development.animate-fade-in { animation-delay: 0.1s; }
.highlight-card-2025.research.animate-fade-in { animation-delay: 0.2s; }
@keyframes fadeInUpCard {
  from { opacity: 0; transform: translateY(40px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes popIn {
  from { opacity: 0; transform: scale(0.7); }
  to { opacity: 1; transform: scale(1); }
}
@media (max-width: 900px) {
  .experience-highlights-grid-2025 {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  .highlight-card-2025 {
    min-width: 220px;
    max-width: 98vw;
    padding: 1.2rem 0.7rem 1.2rem 0.7rem;
  }
} 