/* ==================== ABOUT PAGE STYLES ==================== */

.about-section {
  padding: 120px 0 80px;
  background: transparent;
  position: relative;
  overflow: hidden;
}

#particles-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.about-section .container {
  position: relative;
  z-index: 2;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4rem;
}

/* About Image */
.about-image-container {
  position: relative;
  animation: slideInLeft 1s ease;
}

.about-image {
  position: relative;
  width: 350px;
  height: 350px;
  margin: 0 auto;
}

.image-border {
  position: absolute;
  top: -20px;
  left: -20px;
  right: 20px;
  bottom: 20px;
  border: 3px solid var(--primary-color);
  border-radius: 30px;
  z-index: 1;
  box-shadow: 0 0 20px rgba(0, 217, 255, 0.4);
}

.profile-img {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10rem;
  color: white;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  z-index: 2;
  object-position: center;
  object-fit: cover;
}

.profile-img .profile-pic {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  border-radius: 30px;
}

.profile-img::before {
.profile-img .profile-pic {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  border-radius: 30px;
  transform: translateZ(0);
}
  animation: shimmer 3s infinite;
}

.floating-badge {
  position: absolute;
  background: var(--card-bg);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  box-shadow: var(--glow-md);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--primary-color);
  animation: float 3s ease-in-out infinite;
  z-index: 3;
  border: 1px solid rgba(0, 217, 255, 0.3);
  backdrop-filter: blur(10px);
}

.floating-badge i {
  font-size: 1.25rem;
}

.badge-1 {
  top: 10%;
  right: -10%;
  animation-delay: 0s;
}

.badge-2 {
  bottom: 15%;
  left: -15%;
  animation-delay: 1s;
}

/* About Text */
.about-text {
  animation: slideInRight 1s ease;
}

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.highlight {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.intro-text {
  font-size: 1.25rem;
  color: var(--text-dark);
  font-weight: 500;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.8;
  text-align: justify;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

.info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem;
  background: var(--card-bg);
  border-radius: 15px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-speed) ease;
  border: 1px solid rgba(0, 217, 255, 0.1);
  backdrop-filter: blur(10px);
}

.info-item:hover {
  transform: translateX(10px);
  box-shadow: var(--glow-sm);
  border-color: var(--primary-color);
}

.info-item i {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-top: 0.25rem;
}

.info-item h4 {
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.info-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

.about-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

/* Timeline Section */
.timeline-section {
  padding: 80px 0;
  background: transparent;
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(0, 217, 255, 0.1);
  border-bottom: 1px solid rgba(0, 217, 255, 0.1);
}

.timeline-container {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.timeline-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 100%;
  background: var(--gradient-primary);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 20px 40px;
  animation: fadeInUp 0.8s ease;
}

.timeline-item.left {
  left: 0;
  padding-right: 60px;
}

.timeline-item.right {
  left: 50%;
  padding-left: 60px;
}

.timeline-content {
  position: relative;
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-speed) ease;
  border: 1px solid rgba(0, 217, 255, 0.2);
  backdrop-filter: blur(10px);
}

.timeline-content:hover {
  transform: scale(1.05);
  box-shadow: var(--glow-lg);
  border-color: var(--primary-color);
}

.timeline-content::before {
  content: '';
  position: absolute;
  top: 30px;
  width: 20px;
  height: 20px;
  background: var(--card-bg);
  border: 3px solid var(--primary-color);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0, 217, 255, 0.5);
}

.timeline-item.left .timeline-content::before {
  right: -50px;
}

.timeline-item.right .timeline-content::before {
  left: -50px;
}

.timeline-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.timeline-content h3 {
  font-size: 1.5rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.timeline-date {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--gradient-primary);
  color: white;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.timeline-content p {
  color: var(--text-muted);
  line-height: 1.8;
}

/* Expertise Section */
.expertise-section {
  padding: 80px 0;
  background: transparent;
}

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

.expertise-card {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: all var(--transition-speed) ease;
  border: 2px solid rgba(0, 217, 255, 0.1);
  animation: fadeInUp 0.8s ease;
  backdrop-filter: blur(10px);
}

.expertise-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-color);
  box-shadow: var(--glow-lg);
  background: rgba(26, 31, 58, 0.5);
}

.card-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: var(--gradient-primary);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  transition: all var(--transition-speed) ease;
}

.expertise-card:hover .card-icon {
  transform: rotateY(360deg);
}

.expertise-card h3 {
  font-size: 1.5rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.expertise-card p {
  color: var(--text-muted);
  line-height: 1.8;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .about-image-container {
    display: flex;
    justify-content: center;
  }

  .about-buttons {
    justify-content: center;
  }

  .info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 968px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-image {
    width: 300px;
    height: 300px;
  }

  .profile-img {
    font-size: 8rem;
  }

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

  .about-buttons {
    justify-content: center;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .timeline-container::before {
    left: 30px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 80px;
    padding-right: 20px;
  }

  .timeline-item.left,
  .timeline-item.right {
    left: 0;
  }

  .timeline-item.left .timeline-content::before,
  .timeline-item.right .timeline-content::before {
    left: -50px;
    right: auto;
  }

  .expertise-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .about-section {
    padding: 100px 0 60px;
  }

  .about-image {
    width: 250px;
    height: 250px;
  }

  .profile-img {
    font-size: 6rem;
  }

  .about-text h2 {
    font-size: 2rem;
  }

  .intro-text {
    font-size: 1.125rem;
  }

  .about-buttons {
    flex-direction: column;
    width: 100%;
  }

  .about-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .floating-badge {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }

  .badge-1,
  .badge-2 {
    position: static;
    margin: 1rem auto;
  }

  .expertise-grid {
    grid-template-columns: 1fr;
  }
}
