/* about me  */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #6366F1;
  --primary-dark: #4F46E5;
  --primary-light: #818CF8;
  --bg-dark: #0F172A;
  --bg-card: #1E293B;
  --text-primary: #F1F5F9;
  --text-secondary: #CBD5E1;
  --text-muted: #94A3B8;
  --border: #334155;
  --accent: #06B6D4;
  --accent-secondary: #EC4899;
  --success: #10B981;
}

.about {
  padding: 2rem 2rem;
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}

.about::before {
  content: '';
  position: absolute;
  top: 10%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.about::after {
  content: '';
  position: absolute;
  bottom: 10%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.about-container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
}

.section-tag {
  display: inline-block;
  padding: 0.5rem 1.2rem;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 50px;
  color: var(--primary-light);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-header h2 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--text-primary), var(--text-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: 'Space Grotesk', sans-serif;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.bento-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.5rem;
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.bento-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.03), rgba(236, 72, 153, 0.03));
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.bento-card:hover::before {
  opacity: 1;
}

.bento-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: 0 20px 50px rgba(139, 92, 246, 0.25);
}

.bento-card h4 {
  font-size: 0.95rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  font-weight: 600;
  font-family: 'Space Grotesk', sans-serif;
}

/* CARD 1: PROFILE (Large - Left Side) */

.card-profile {
  grid-column: 1;
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
  padding: 0;
}

.profile-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 24px 24px 0 0;
  border-bottom: 1px solid var(--border);
}

.profile-content {
  padding: 2.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

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

.profile-header h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  font-family: 'Space Grotesk', sans-serif;
}

.status-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.5rem 0.6rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 20px;
  font-size: 0.75rem;
  color: var(--success);
  font-weight: 500;
}

.pulse {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  50% {
    opacity: 0.6;
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }
}

.profile-role {
  font-size: 1.05rem;
  color: var(--primary-light);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.profile-bio {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 1rem;
  flex-grow: 1;
}


   /* CARD 2: EDUCATION (Top Right) */

.card-education {
  grid-column: 2;
  grid-row: 1;
}

.card-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.card-education h5,
.card-experience h5 {
  font-size: 1.3rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-family: 'Space Grotesk', sans-serif;
}

.card-education p,
.card-experience p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
}

.location,
.duration {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 0.8rem;
}

.badge-pill {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 20px;
  color: var(--primary-light);
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 0.5rem;
}

   /* CARD 3: EXPERIENCE (Middle Right) */

.card-experience {
  grid-column: 3;
  grid-row: 1;
}


   /* CARD 4: TECH STACK (Bottom Left) */

.card-tech {
  grid-column: 2;
  grid-row: 2;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}

.tech-item {
  padding: 0.7rem 1rem;
  background: rgba(139, 92, 246, 0.05);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-align: center;
  font-weight: 500;
  transition: all 0.3s ease;
}

.tech-item:hover {
  background: rgba(139, 92, 246, 0.1);
  border-color: var(--primary);
  color: var(--text-primary);
  transform: translateY(-3px);
}


   /* CARD 5: ACTION BUTTONS (Bottom Right) */

.card-actions {
  grid-column: 3;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-actions p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.action-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.action-btn {
  padding: 0.9rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  transition: all 0.3s ease;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(139, 92, 246, 0.4);
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-secondary:hover {
  background: rgba(139, 92, 246, 0.1);
  transform: translateY(-3px);
}

.action-btn i {
  font-size: 1rem;
}


   /* RESPONSIVE DESIGN 
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
  .bento-container {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
  }

  .card-profile {
    grid-column: 1 / 3;
    grid-row: 1;
    flex-direction: row;
  }

  .profile-image {
    width: 300px;
    height: 100%;
    border-radius: 24px 0 0 24px;
    border-bottom: none;
    border-right: 1px solid var(--border);
  }

  .card-education {
    grid-column: 1;
    grid-row: 2;
  }

  .card-experience {
    grid-column: 2;
    grid-row: 2;
  }

  .card-tech {
    grid-column: 1;
    grid-row: 3;
  }

  .card-actions {
    grid-column: 2;
    grid-row: 3;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .about {
    padding: 4rem 1.5rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  .bento-container {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .card-profile,
  .card-education,
  .card-experience,
  .card-tech,
  .card-actions {
    grid-column: 1 !important;
    grid-row: auto !important;
  }

  .card-profile {
    flex-direction: column;
  }

  .profile-image {
    width: 100%;
    height: 250px;
    border-radius: 24px 24px 0 0;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .profile-content {
    padding: 2rem;
  }

  .profile-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .profile-header h3 {
    font-size: 1.8rem;
  }

  .bento-card {
    padding: 1.5rem;
  }

  .card-icon {
    font-size: 2.5rem;
  }

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

  .action-buttons {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .profile-image {
    height: 200px;
  }

  .profile-header h3 {
    font-size: 1.5rem;
  }

  .profile-role {
    font-size: 0.95rem;
  }

  .profile-bio {
    font-size: 0.9rem;
  }
}