/* About page specific styles */

/* About hero section */
.about-hero {
  position: relative;
  padding: 4rem 0;
  overflow: hidden;
  min-height: 70vh;
  display: flex;
  align-items: center;
  background: radial-gradient(
    circle at top right,
    hsl(var(--primary) / 0.15),
    transparent 40%
  );
}

.about-hero-layout {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 3rem;
  width: 100%;
}

@media (min-width: 768px) {
  .about-hero-layout {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.about-hero-content {
  position: relative;
  z-index: 10;
  max-width: 100%;
  text-align: center;
}

@media (min-width: 768px) {
  .about-hero-content {
    max-width: 50%;
    text-align: left;
  }
}

.about-hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: hsl(var(--foreground));
  text-align: center;
}

@media (min-width: 768px) {
  .about-hero-title {
    text-align: left;
  }
}

.about-hero-subtitle {
  font-size: 1.1rem;
  color: hsl(var(--foreground));
  max-width: 600px;
  margin: 0 auto 1.5rem;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .about-hero-subtitle {
    margin-left: 0;
    margin-right: auto;
  }
}

/* Profile section styling */
.profile-section {
  position: relative;
  width: 300px;
  height: 300px;
  margin: 0 auto;
  animation: float 6s ease-in-out infinite;
}

.profile-image-container {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid hsl(var(--primary));
  background-color: hsl(var(--card));
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.profile-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Circular border around profile image */
.profile-section::after {
  content: "";
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  border-radius: 50%;
  border: 2px solid hsl(var(--primary) / 0.3);
  animation: pulse 3s ease-in-out infinite;
}

.about-text-container {
  max-width: 600px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .about-text-container {
    margin: 0;
  }
}

.about-bio-details,
.about-personal-info {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: hsl(var(--foreground));
}

.resume-button {
  display: inline-flex;
  align-items: center;
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border: none;
  padding: 0.6rem 1.5rem;
  border-radius: 2rem;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  text-decoration: none;
}

.resume-button:hover {
  background-color: hsl(var(--primary-hover, var(--primary)));
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.resume-button svg {
  margin-right: 0.5rem;
}

/* Animation keyframes */
@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

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

/* About content */
.about-section {
  margin-bottom: 5rem;
}

.about-section-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.about-section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(to right, #a78bfa, #8b5cf6);
  border-radius: 3px;
}

.about-content {
  font-size: 1.1rem;
  line-height: 1.8;
}

.about-content p {
  margin-bottom: 1.5rem;
}

/* About image */
.about-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  margin-bottom: 2rem;
}

.about-image img {
  width: 100%;
  height: auto;
}

/* Skills section */
.skills-section {
  margin-bottom: 4rem;
}

.skills-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

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

.skill-category {
  background-color: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 0.5rem;
  padding: 1.5rem 2rem;
  color: hsl(var(--card-foreground));
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.skill-category h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  color: hsl(var(--foreground));
}

.skill-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skill-pill {
  background-color: hsl(var(--primary) / 0.15);
  color: hsl(var(--primary));
  border-radius: 2rem;
  padding: 0.4rem 0.9rem;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  transition: background-color 0.2s ease;
  border: 1px solid hsl(var(--primary) / 0.2);
}

.skill-pill:hover {
  background-color: hsl(var(--primary) / 0.25);
}

/* Work Experience section */
.work-experience-section {
  margin-bottom: 4rem;
  margin-top: 4rem;
}

.work-experience-container {
  position: relative;
  padding-left: 2.5rem;
  margin-top: 2rem;
}

.work-experience-container::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 12px;
  width: 2px;
  background-color: hsl(var(--primary));
}

.work-experience-item {
  position: relative;
  padding-bottom: 3rem;
  color: hsl(var(--foreground));
}

.work-experience-item:last-child {
  padding-bottom: 0;
}

.experience-timeline-marker {
  position: absolute;
  top: 0;
  left: -2.5rem;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: hsl(var(--primary));
  border: 3px solid hsl(var(--background));
  box-shadow: 0 0 0 4px hsl(var(--primary) / 0.2);
  z-index: 1;
}

.experience-period {
  font-size: 0.85rem;
  color: hsl(var(--primary-foreground));
  margin-bottom: 0.5rem;
  font-weight: 500;
  display: inline-block;
  background-color: hsl(var(--primary));
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.experience-role {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: hsl(var(--foreground));
}

.experience-company {
  font-weight: 500;
  color: hsl(var(--primary));
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.experience-description {
  font-size: 0.95rem;
  line-height: 1.5;
  color: hsl(var(--foreground));
}

.experience-description ul,
.experience-description ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.experience-description li {
  margin-bottom: 0.5rem;
}

.experience-description p {
  margin-bottom: 0.75rem;
}

.experience-description a {
  color: hsl(var(--primary));
  text-decoration: underline;
  text-underline-offset: 2px;
}

.experience-description a:hover {
  color: hsl(var(--primary-hover, var(--primary)));
  text-decoration: none;
}

/* Education section */
.education-section {
  margin-top: 4rem;
  margin-bottom: 4rem;
}

.education-container {
  margin-top: 2rem;
  background-color: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 0.5rem;
  padding: 2rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.education-item {
  color: hsl(var(--card-foreground));
  margin-bottom: 1rem;
}

.education-period {
  font-size: 0.85rem;
  color: hsl(var(--muted-foreground));
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.education-degree {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: hsl(var(--foreground));
}

.education-institution {
  font-weight: 500;
  color: hsl(var(--primary));
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.education-description {
  font-size: 0.95rem;
  line-height: 1.5;
  color: hsl(var(--foreground));
}

.education-description ul,
.education-description ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.education-description li {
  margin-bottom: 0.5rem;
}

.education-description p {
  margin-bottom: 0.75rem;
}

.education-description a {
  color: hsl(var(--primary));
  text-decoration: underline;
  text-underline-offset: 2px;
}

.education-description a:hover {
  color: hsl(var(--primary-hover, var(--primary)));
  text-decoration: none;
}

/* Testimonials section */
.testimonials-slider {
  position: relative;
  padding: 2rem 0;
}

.testimonial {
  background-color: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
}

.testimonial-content {
  font-size: 1.1rem;
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 2rem;
  position: relative;
}

.testimonial-content::before,
.testimonial-content::after {
  content: '"';
  font-size: 2rem;
  color: hsl(var(--primary));
  line-height: 0;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.testimonial-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 1rem;
  border: 2px solid hsl(var(--primary));
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-name {
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.testimonial-position {
  font-size: 0.9rem;
  color: hsl(var(--muted-foreground));
}

/* CTA section */
.about-cta {
  background-color: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 3rem 2rem;
  text-align: center;
  margin-top: 3rem;
}

.about-cta-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.about-cta-text {
  font-size: 1.1rem;
  color: hsl(var(--muted-foreground));
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}
