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

/* 
 * TABLE OF CONTENTS:
 * 1. Variables
 * 2. Base Styles
 * 3. Layout & Containers
 * 4. Navigation
 * 5. Header Section
 * 6. About Content
 * 7. Experience Section
 * 8. Tech Stack Section
 * 9. Education Section
 * 10. Contact CTA
 * 11. Footer
 * 12. Dark Mode Styles
 * 13. Animations
 * 14. Custom Cursor
 * 15. Media Queries
 */

/* ===== 1. VARIABLES ===== */
:root {
  /* Color Variables */
  --primary-color: #2563eb;
  --secondary-color: #7c3aed;
  --accent-color: #f59e0b;
  
  /* Light Mode */
  --text-color: #111827;
  --text-muted: #6b7280;
  --light-bg: #f9fafb;
  --light-card: #ffffff;
  
  /* Dark Mode */
  --dark-text: #f3f4f6;
  --dark-text-muted: #9ca3af;
  --dark-bg: #111827;
  --dark-card: #1f2937;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  
  /* Fonts */
  --font-sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Border Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-full: 9999px;
}

/* ===== 2. BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--text-color);
  background-color: var(--light-bg);
  line-height: 1.5;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color var(--transition-normal);
}

a:hover {
  color: var(--secondary-color);
}

img {
  max-width: 100%;
  height: auto;
}

/* ===== 3. LAYOUT & CONTAINERS ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4rem 0;
  position: relative;
}



/* ===== 5. HEADER SECTION ===== */
.about-header {
  padding-top: 8rem;
  padding-bottom: 2rem;
  position: relative;
}

.about-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  position: relative;
  z-index: 2;
}

.bg-text {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  font-size: 10rem;
  font-weight: 900;
  color: rgba(0, 0, 0, 0.03);
  z-index: 1;
  white-space: nowrap;
  pointer-events: none;
}

body.dark-mode .bg-text {
  color: rgba(255, 255, 255, 0.03);
}

/* ===== 6. ABOUT CONTENT ===== */
.about-content {
  padding: 2rem 0 4rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
}

/* Profile Section */
.about-profile {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.profile-image-container {
  width: 100%;
  max-width: 350px;
  margin: 0 auto;
}

.profile-image {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition-normal);
}

.profile-image:hover {
  transform: scale(1.02);
}

.profile-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.profile-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-full);
  background-color: rgba(37, 99, 235, 0.1);
  color: var(--primary-color);
  font-size: 1.25rem;
  transition: all var(--transition-normal);
}

body.dark-mode .social-link {
  background-color: rgba(59, 130, 246, 0.2);
  color: #fff;
}

.social-link:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-5px);
}

/* Skills Section */
.about-skills {
  padding: 2rem;
  background-color: var(--light-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  height: fit-content;
  align-self: start;
}

body.dark-mode .about-skills {
  background-color: var(--dark-card);
}

.about-skills h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--primary-color);
}

.skill-item {
  margin-bottom: 1.5rem;
}

.skill-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.skill-header h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
}

.skill-header span {
  font-weight: 600;
  color: var(--primary-color);
}

.skill-bar {
  height: 8px;
  background-color: rgba(37, 99, 235, 0.1);
  border-radius: 4px;
  overflow: hidden;
}

body.dark-mode .skill-bar {
  background-color: rgba(59, 130, 246, 0.1);
}

.skill-progress {
  height: 100%;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  border-radius: 4px;
  transition: width 1.5s ease;
}

/* Experience Section */
.experience-section {
  padding: 4rem 0;
  background-color: var(--light-bg);
  position: relative;
}

body.dark-mode .experience-section {
  background-color: var(--dark-bg);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 3rem;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  position: relative;
  z-index: 2;
}

.experience-card {
  background-color: var(--light-card);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

body.dark-mode .experience-card {
  background-color: var(--dark-card);
}

.experience-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
  border-radius: 4px 0 0 4px;
}

.experience-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.experience-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.experience-header h4 {
  font-size: 1.1rem;
  color: var(--primary-color);
  margin: 0;
}

.experience-date {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
  padding: 0.5rem 1rem;
  background-color: rgba(37, 99, 235, 0.1);
  border-radius: 2rem;
}

body.dark-mode .experience-date {
  background-color: rgba(59, 130, 246, 0.2);
  color: rgba(255, 255, 255, 0.7);
}

.experience-content p {
  line-height: 1.7;
}

/* Achievements Section */
.achievements-section {
  background: var(--light-bg);
  padding: 4rem 0;
}

body.dark-mode .achievements-section {
  background: var(--dark-bg);
}

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

.achievement-card {
  background: var(--light-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  position: relative;
  overflow: hidden;
}

body.dark-mode .achievement-card {
  background: var(--dark-card);
}

.achievement-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.achievement-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.achievement-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 1.5rem;
}

.achievement-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.achievement-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 1rem;
}

body.dark-mode .achievement-title {
  color: var(--dark-text);
}

.achievement-description {
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 0.95rem;
}

body.dark-mode .achievement-description {
  color: var(--dark-text-muted);
}

/* Tech Stack Section */
.tech-stack-section {
  padding: 4rem 0;
  position: relative;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.tech-card {
  background-color: var(--light-card);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body.dark-mode .tech-card {
  background-color: var(--dark-card);
}

.tech-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.tech-icon-container {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tech-icon {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.tech-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
}

/* Education Section */
.education-section {
  padding: 4rem 0;
  background-color: var(--light-bg);
  position: relative;
}

body.dark-mode .education-section {
  background-color: var(--dark-bg);
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
}

.timeline-item {
  position: relative;
  padding-left: 3rem;
  margin-bottom: 3rem;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -8px;
  top: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: var(--primary-color);
  border: 3px solid var(--light-bg);
}

body.dark-mode .timeline-dot {
  border-color: var(--dark-bg);
}

.timeline-content {
  background-color: var(--light-card);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
}

body.dark-mode .timeline-content {
  background-color: var(--dark-card);
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.timeline-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
}

.timeline-date {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
  padding: 0.25rem 0.75rem;
  background-color: rgba(37, 99, 235, 0.1);
  border-radius: 2rem;
}

body.dark-mode .timeline-date {
  background-color: rgba(59, 130, 246, 0.2);
  color: rgba(255, 255, 255, 0.7);
}

.timeline-content h4 {
  font-size: 1rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

/* Contact CTA */
.contact-cta {
  padding: 5rem 0;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  color: white;
  text-align: center;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-content p {
  margin-bottom: 2rem;
  opacity: 0.9;
  font-size: 1.1rem;
}

.cta-content .submit-button {
  background-color: white;
  color: var(--primary-color);
  padding: 0.75rem 2rem;
  border-radius: 2rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.cta-content .submit-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Footer Styles */
.footer {
  padding: 3rem 0;
  background-color: var(--light-card);
  text-align: center;
}

.footer-simple {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-simple p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.copyright {
  margin-top: 1.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

body.dark-mode .footer {
  background-color: var(--dark-card);
}

body.dark-mode .footer-simple p,
body.dark-mode .copyright {
  color: var(--dark-text-muted);
}

/* Responsive Styles */
@media (max-width: 991px) {
  .about-title {
    font-size: 3rem;
  }
  
  .bg-text {
    font-size: 8rem;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .timeline-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .timeline-date {
    margin-top: 0.5rem;
  }
}

@media (max-width: 767px) {
  .about-title {
    font-size: 2.5rem;
  }
  
  .bg-text {
    font-size: 6rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .experience-header {
    flex-direction: column;
  }
  
  .experience-date {
    margin-top: 0.5rem;
  }
  
  .achievements-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .achievement-card {
    padding: 1.5rem;
  }

  .achievement-number {
    font-size: 2.5rem;
  }
  
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .cta-content h2 {
    font-size: 2rem;
  }
  
 

}

@media (max-width: 479px) {
  .about-title {
    font-size: 2rem;
  }
  
  .bg-text {
    font-size: 4rem;
  }
  
  .profile-content h2 {
    font-size: 2rem;
  }
  
  .tech-grid {
    grid-template-columns: 1fr;
  }
  
  .timeline {
    padding-left: 1rem;
  }
  
  .timeline-item {
    padding-left: 2rem;
  }
}

/* Animation Styles */
.animate__animated {
  animation-duration: 0.8s;
}

/* Custom Cursor Styles */
.cursor {
  position: fixed;
  left: 0;
  top: 0;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
}

.cursor-big-circle {
  position: fixed;
  width: 40px;
  height: 40px;
  border: 1px solid white;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease, opacity 0.3s ease;
}

.cursor-small-circle {
  position: fixed;
  width: 8px;
  height: 8px;
  background-color: white;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease, opacity 0.3s ease;
}

.cursor-arrow {
  position: fixed;
  width: 20px;
  height: 20px;
  transform: translate(-50%, -50%) rotate(-45deg);
  opacity: 0;
  transition: opacity 0.3s ease;
}

a:hover ~ .cursor .cursor-big-circle {
  width: 60px;
  height: 60px;
  opacity: 0.5;
}

a:hover ~ .cursor .cursor-small-circle {
  opacity: 0;
}

a:hover ~ .cursor .cursor-arrow {
  opacity: 1;
}