/* sections.css */

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 5rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(circle at top right, hsl(var(--primary)/0.1), transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 48rem;
  margin: 0 auto;
}

.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.25rem;
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -0.025em;
  margin-bottom: 1.25rem;
}
@media (min-width: 640px) {
  .hero-title { font-size: 3rem; }
}
@media (min-width: 768px) {
  .hero-title { font-size: 3.75rem; }
}
@media (min-width: 1024px) {
  .hero-title { font-size: 3.75rem; }
}
@media (min-width: 1280px) {
  .hero-title { font-size: 3.75rem; }
}

.hero-subtitle {
  color: hsl(var(--muted-foreground));
  margin-bottom: 2rem;
  line-height: 1.625;
}

.hero-btn-primary {
  display: inline-flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 9999px;
  background-color: #6d4aff; /* Bright purple as in image */
  color: #ffffff;
  padding: 0.875rem 2rem;
  font-size: 0.95rem;
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px 0 rgba(109, 74, 255, 0.39);
}
.hero-btn-primary:hover {
  background-color: #5b3ce0;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(109, 74, 255, 0.5);
}

.hero-btn-secondary {
  display: inline-flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 9999px;
  background-color: rgba(25, 25, 25, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
  padding: 0.875rem 2rem;
  font-size: 0.95rem;
  font-weight: 700;
  transition: all 0.3s ease;
}
.hero-btn-secondary:hover {
  background-color: rgba(40, 40, 40, 0.9);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

@media (min-width: 640px) {
  .hero-btn-primary, .hero-btn-secondary {
    width: auto;
  }
}

/* Scroll Down Indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.5;
  transition: opacity 0.3s ease;
  animation: scroll-float 3s ease-in-out infinite;
  z-index: 20;
  text-decoration: none;
}
.hero-scroll-indicator:hover {
  opacity: 1;
}
.hero-scroll-indicator .scroll-text {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  font-weight: 400;
  color: hsl(var(--foreground));
}
.hero-scroll-indicator .scroll-arrow {
  width: 1.25rem;
  height: 1.25rem;
  color: hsl(var(--foreground));
  animation: scroll-bounce 2s infinite;
}

@keyframes scroll-float {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, -10px); }
}
@keyframes scroll-bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(5px); }
  60% { transform: translateY(3px); }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  min-height: 75vh;
}
@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 4fr 4fr 4fr;
    gap: 1rem;
  }
}

.hero-text-content {
  order: 2;
  text-align: center;
  margin: 0 auto;
  max-width: 32rem;
}
@media (min-width: 1024px) {
  .hero-text-content {
    order: 1;
    text-align: left;
    margin: 0;
  }
}

.hero-image-content {
  order: 1;
  display: flex;
  justify-content: center;
  position: relative;
}
@media (min-width: 1024px) {
  .hero-image-content {
    order: 2;
  }
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  justify-content: center;
}
@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}
@media (min-width: 1024px) {
  .hero-buttons {
    justify-content: flex-start;
  }
}

.hero-floating-cards {
  display: none;
}
@media (min-width: 1024px) {
  .hero-floating-cards {
    display: block;
    order: 3;
    position: relative;
    height: 550px;
  }
}

.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: 1rem;
  background: hsl(var(--card) / 0.8);
  backdrop-filter: blur(12px);
  border: 1px solid hsl(var(--border) / 0.6);
  padding: 0.875rem 1.25rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: float-card 4s ease-in-out infinite;
  white-space: nowrap;
}
.floating-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}
@keyframes float-card {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.card-1 { top: 15%; right: 15%; animation-delay: 0s; }
.card-2 { top: 40%; right: 3%; animation-delay: 0.5s; }
.card-3 { top: 65%; right: 7%; animation-delay: 1s; }
.card-4 { top: 85%; right: 17%; animation-delay: 1.5s; }

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: transparent;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0.5rem 0;
}
.navbar.scrolled {
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 2rem);
  max-width: 72rem;
  background: hsl(var(--card) / 0.7);
  backdrop-filter: blur(16px);
  border: 1px solid hsl(var(--border) / 0.5);
  border-radius: 9999px;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.3);
  padding: 0;
}
@media (min-width: 768px) {
  .navbar.scrolled {
    width: 90%;
  }
}
.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  flex-direction: row-reverse; /* Swap logo and hamburger on mobile */
}

@media (min-width: 768px) {
  .navbar-container {
    flex-direction: row; /* Reset to normal on desktop */
  }
}
.desktop-links, .desktop-actions {
  display: none;
}
@media (min-width: 768px) {
  .desktop-links {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
  .desktop-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }
}

.mobile-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-direction: row-reverse; /* Ensure hamburger is on the far edge */
}
@media (min-width: 768px) {
  .mobile-actions {
    display: none;
  }
}

.nav-link {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  transition: color 0.2s ease;
  position: relative;
}
.nav-link:hover, .nav-link.active {
  color: hsl(var(--foreground));
}
.nav-link-underline {
  position: absolute;
  bottom: -0.25rem;
  left: 0;
  width: 0;
  height: 1px;
  background-color: hsl(var(--primary));
  transition: width 0.3s ease;
}
.nav-link:hover .nav-link-underline, .nav-link.active .nav-link-underline {
  width: 100%;
}

.theme-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  background-color: transparent;
  border: 1px solid hsl(var(--border));
  color: hsl(var(--muted-foreground));
  transition: all 0.2s ease;
}
.theme-toggle-btn:hover {
  background-color: hsl(var(--secondary));
  color: hsl(var(--foreground));
}

.lets-talk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 9999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 14px 0 rgba(109, 74, 255, 0.39);
}
.lets-talk-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(109, 74, 255, 0.5);
}

.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  background-color: hsl(var(--primary) / 0.1);
  border: 1px solid hsl(var(--primary) / 0.3);
  color: hsl(var(--primary));
  transition: all 0.2s ease;
}
.mobile-menu-btn:hover {
  background-color: hsl(var(--primary) / 0.2);
}
.mobile-menu-btn:active {
  transform: scale(0.95);
}

/* ===== EXPERIENCE SECTION ===== */
.timeline-container {
  position: relative;
  max-width: 64rem;
  margin: 0 auto;
}
.timeline-line {
  position: absolute;
  left: 0.85rem;
  top: 0;
  bottom: 0;
  width: 1px;
  background: hsl(var(--border) / 0.4);
}
@media (min-width: 640px) {
  .timeline-line { left: 1.1rem; }
}

.exp-entry {
  position: relative;
  padding-left: 3rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 640px) {
  .exp-entry { padding-left: 3.5rem; }
}

.exp-dot {
  position: absolute;
  left: 0.5rem;
  top: 1.75rem;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: hsl(var(--primary));
  box-shadow: 0 0 16px hsl(var(--primary) / 0.55);
  z-index: 2;
}
@media (min-width: 640px) {
  .exp-dot { left: 0.75rem; }
}

.exp-card {
  background: hsl(var(--glass-bg));
  border: 1px solid hsl(var(--glass-border));
  border-radius: 0.75rem;
  padding: 1.5rem 1.75rem;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.35s ease,
              box-shadow 0.35s ease;
  box-shadow: 0 4px 20px -4px hsl(var(--foreground) / 0.1);
}
.exp-card:hover {
  transform: translateY(-4px) scale(1.005);
  border-color: hsl(var(--gradient-start) / 0.3);
  box-shadow:
    0 12px 40px -8px hsl(var(--foreground) / 0.15),
    0 0 20px -4px hsl(var(--gradient-start) / 0.1);
}

.exp-card-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Header row */
.exp-header {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .exp-header {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }
}

.exp-header-left {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  min-width: 0;
}

.exp-initials {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  border-radius: 0.75rem;
  border: 1px solid hsl(var(--foreground) / 0.08);
  background: hsl(var(--foreground) / 0.04);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: hsl(var(--gradient-start));
}

.exp-title-group {
  min-width: 0;
}

.exp-role {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  line-height: 1.3;
  word-wrap: break-word;
}
@media (min-width: 640px) {
  .exp-role { font-size: 1.25rem; }
}

.exp-company {
  font-size: 0.8rem;
  color: hsl(var(--muted-foreground));
  margin-top: 0.15rem;
  font-weight: 500;
}

.exp-header-right {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  flex-shrink: 0;
}

.exp-type-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  border: 1px solid hsl(var(--gradient-start) / 0.25);
  background: hsl(var(--gradient-start) / 0.08);
  padding: 0.3rem 0.75rem;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: hsl(var(--gradient-start));
}

.exp-duration {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  border: 1px solid hsl(var(--foreground) / 0.08);
  background: hsl(var(--foreground) / 0.03);
  padding: 0.3rem 0.75rem;
  font-size: 0.65rem;
  font-weight: 500;
  color: hsl(var(--muted-foreground));
}

/* Location */
.exp-location {
  font-size: 0.85rem;
  font-weight: 600;
  color: hsl(var(--foreground));
}

/* Summary */
.exp-summary {
  font-size: 0.85rem;
  line-height: 1.7;
  color: hsl(var(--muted-foreground));
  font-weight: 400;
}

/* Certificate button */
.exp-cert-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 1px solid hsl(var(--gradient-start) / 0.3);
  background: hsl(var(--gradient-start) / 0.08);
  padding: 0.5rem 1.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: hsl(var(--gradient-start));
  text-decoration: none;
  transition: all 0.25s ease;
}
.exp-cert-btn:hover {
  transform: translateY(-2px);
  border-color: hsl(var(--gradient-start) / 0.5);
  background: hsl(var(--gradient-start) / 0.15);
  box-shadow: 0 4px 12px -2px hsl(var(--gradient-start) / 0.2);
}

/* Technologies */
.exp-tech-section {
  padding-top: 0.25rem;
}

.exp-tech-label {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: hsl(var(--gradient-start));
  margin-bottom: 0.75rem;
}

.exp-tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.exp-tech-tag {
  display: inline-block;
  border-radius: 9999px;
  border: 1px solid hsl(var(--foreground) / 0.08);
  background: hsl(var(--foreground) / 0.03);
  padding: 0.3rem 0.75rem;
  font-size: 0.7rem;
  font-weight: 500;
  color: hsl(var(--foreground));
  transition: all 0.2s ease;
}
.exp-tech-tag:hover {
  transform: translateY(-2px);
  border-color: hsl(var(--gradient-start) / 0.3);
  background: hsl(var(--gradient-start) / 0.08);
  color: hsl(var(--gradient-start));
}

/* Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .projects-grid { grid-template-columns: repeat(3, 1fr); }
}

.project-image-wrapper {
  position: relative;
  height: 12rem;
  overflow: hidden;
}
.project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.glass-card:hover .project-image {
  transform: scale(1.1);
}

/* Floating Blobs */
.blobs-container {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation-duration: 20s;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  animation-timing-function: ease-in-out;
}
.blob-1 {
  top: -10%; left: -10%;
  width: 40vw; height: 40vw;
  background: hsl(var(--primary));
  animation-name: aurora-drift-1;
}
.blob-2 {
  bottom: -10%; right: -10%;
  width: 50vw; height: 50vw;
  background: hsl(var(--accent));
  animation-name: aurora-drift-2;
}
/* ===== SKILLS SECTION ===== */

.skills-subheading {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: hsl(var(--gradient-start));
  display: block;
  margin-bottom: 0.5rem;
}

/* Experience Counters Card */
.skills-exp-card {
  max-width: 900px;
  margin: 0 auto 3rem;
  padding: 1.75rem 2rem;
  background: hsl(var(--glass-bg));
  border: 1px solid hsl(var(--glass-border));
  border-radius: 0.75rem;
  box-shadow: 0 8px 32px -8px hsl(var(--foreground) / 0.1);
  backdrop-filter: blur(12px);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.35s ease,
              box-shadow 0.35s ease;
}
.skills-exp-card:hover {
  transform: translateY(-4px);
  border-color: hsl(var(--gradient-start) / 0.25);
  box-shadow:
    0 16px 48px -12px rgba(0,0,0,0.5),
    0 0 24px -6px hsl(var(--gradient-start) / 0.1);
}
@media (min-width: 640px) {
  .skills-exp-card {
    padding: 2rem 3rem;
  }
}

.skills-exp-title {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: hsl(var(--gradient-start));
  text-align: center;
  margin-bottom: 1.5rem;
}

.skills-exp-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.skills-counter-item {
  text-align: center;
  flex: 1;
}

.skills-counter-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.1;
}
@media (min-width: 640px) {
  .skills-counter-number {
    font-size: 2.5rem;
  }
}
@media (min-width: 1024px) {
  .skills-counter-number {
    font-size: 2.75rem;
  }
}

.skills-counter-plus {
  vertical-align: baseline; /* Align it to the bottom baseline */
  margin-left: 2px;
}

.skills-counter-label {
  font-size: 0.7rem;
  color: hsl(var(--muted-foreground));
  margin-top: 0.4rem;
  font-weight: 500;
}

/* Skills Category Cards */
.skills-category-card {
  background: hsl(var(--glass-bg));
  border: 1px solid hsl(var(--glass-border));
  border-radius: 0.75rem;
  padding: 1rem 1.25rem; /* Reduced padding to lower card height */
  height: 100%;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.35s ease,
              box-shadow 0.35s ease,
              background 0.35s ease;
  box-shadow: 0 4px 20px -4px rgba(0,0,0,0.3);
}
.skills-category-card:hover {
  transform: translateY(-6px) scale(1.015);
  border-color: hsl(var(--gradient-start) / 0.35);
  box-shadow:
    0 12px 40px -8px rgba(0,0,0,0.45),
    0 0 20px -4px hsl(var(--gradient-start) / 0.12);
  background: hsl(var(--card) / 0.8);
}

.skills-category-title {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: hsl(var(--gradient-start));
  margin-bottom: 1.25rem;
  transition: letter-spacing 0.3s ease;
}
.skills-category-card:hover .skills-category-title {
  letter-spacing: 0.35em;
}

.skills-items-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 columns on mobile */
  gap: 0.5rem 0.25rem; /* Tighter gap to reduce height */
}
@media (min-width: 640px) {
  .skills-items-grid {
    grid-template-columns: repeat(3, 1fr); /* 3 columns on tablet/desktop */
  }
}

.skill-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.4rem; /* Reduced padding */
  border-radius: 0.5rem;
  transition: background 0.25s ease,
              transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.25s ease;
  cursor: default;
  overflow: hidden;
  white-space: nowrap; /* Prevent long names from breaking the 3-column layout */
}
.skill-item:hover {
  background: hsl(var(--gradient-start) / 0.1);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 4px 12px -2px hsl(var(--gradient-start) / 0.15);
}

.skill-icon {
  width: 16px;
  height: 16px;
  opacity: 0.75;
  flex-shrink: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.skill-item:hover .skill-icon {
  opacity: 1;
  transform: scale(1.15);
}

.skill-name {
  font-size: 0.75rem; /* Slightly smaller to fit 3 columns */
  font-weight: 600;
  color: hsl(var(--foreground));
  transition: color 0.25s ease;
  text-overflow: ellipsis;
  overflow: hidden;
}
.skill-item:hover .skill-name {
  color: hsl(var(--gradient-start));
}

/* Skills Bento Grid */
.skills-bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  max-width: 1100px;
  margin: 0 auto;
}
@media (min-width: 640px) {
  .skills-bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .skills-bento-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===== PROJECTS SECTION ===== */
.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.proj-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: hsl(var(--glass-bg));
  border: 1px solid hsl(var(--glass-border));
  border-radius: 0.75rem;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.35s ease,
              box-shadow 0.35s ease;
  box-shadow: 0 4px 20px -4px rgba(0,0,0,0.3);
}
.proj-card:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: hsl(var(--gradient-start) / 0.3);
  box-shadow:
    0 16px 48px -12px rgba(0,0,0,0.5),
    0 0 24px -6px hsl(var(--gradient-start) / 0.1);
}

.proj-image-wrap {
  position: relative;
  height: 10rem;
  overflow: hidden;
}
.proj-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.proj-card:hover .proj-image {
  transform: scale(1.08);
}
.proj-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20,20,25,0.85) 0%, transparent 100%);
  pointer-events: none;
}
.proj-image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, hsl(var(--gradient-start) / 0.15), hsl(var(--gradient-end) / 0.1));
}
.proj-placeholder-letter {
  font-size: 3.5rem;
  font-weight: 900;
  color: hsl(var(--gradient-start) / 0.25);
}

.proj-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.proj-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.proj-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  transition: color 0.25s ease;
}
.proj-card:hover .proj-title {
  color: hsl(var(--gradient-start));
}

.proj-tagline {
  font-size: 0.7rem;
  color: hsl(var(--gradient-start));
  margin-top: 0.15rem;
  font-weight: 500;
}

.proj-link-icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  margin-top: 0.25rem;
  color: hsl(var(--muted-foreground));
  transition: color 0.25s ease;
}
.proj-card:hover .proj-link-icon {
  color: hsl(var(--gradient-start));
}

.proj-desc {
  font-size: 0.82rem;
  line-height: 1.65;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1rem;
  flex: 1;
}

.proj-tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
}

.proj-tech-tag {
  font-size: 0.68rem;
  font-weight: 500;
  color: hsl(var(--foreground));
  padding: 0.2rem 0.6rem;
  border-radius: 0.25rem;
  background: hsl(var(--foreground) / 0.04);
  border: 1px solid hsl(var(--foreground) / 0.06);
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.testi-card {
  background: hsl(var(--glass-bg));
  border: 1px solid hsl(var(--glass-border));
  border-radius: 0.75rem;
  padding: 1.75rem 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.35s ease,
              box-shadow 0.35s ease;
  box-shadow: 0 4px 20px -4px rgba(0,0,0,0.3);
}
.testi-card:hover {
  transform: translateY(-4px);
  border-color: hsl(var(--gradient-start) / 0.25);
  box-shadow:
    0 12px 40px -8px rgba(0,0,0,0.45),
    0 0 20px -4px hsl(var(--gradient-start) / 0.1);
}

.testi-quote-icon {
  width: 1.75rem;
  height: 1.75rem;
  color: hsl(var(--gradient-start) / 0.3);
  flex-shrink: 0;
  margin-bottom: 1rem;
}

.testi-text {
  font-size: 0.88rem;
  line-height: 1.7;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1.5rem;
  flex: 1;
}

.testi-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testi-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: hsl(var(--gradient-start) / 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.testi-initials {
  font-size: 0.8rem;
  font-weight: 700;
  color: hsl(var(--gradient-start));
}

.testi-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  line-height: 1.3;
}

.testi-role {
  font-size: 0.68rem;
  color: hsl(var(--muted-foreground));
  margin-top: 0.1rem;
}

.testi-stars {
  display: flex;
  gap: 0.2rem;
}

.testi-star {
  width: 0.85rem;
  height: 0.85rem;
  fill: hsl(var(--gradient-start));
  color: hsl(var(--gradient-start));
}

/* ===== EDUCATION & CERTIFICATIONS SECTION ===== */
.edu-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 1024px) {
  .edu-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
  }
}

.edu-cards-list,
.cert-cards-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.edu-card,
.cert-card {
  background: hsl(var(--glass-bg));
  border: 1px solid hsl(var(--glass-border));
  border-radius: 0.75rem;
  padding: 1.5rem;
  display: flex;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.35s ease,
              box-shadow 0.35s ease;
  box-shadow: 0 4px 20px -4px rgba(0,0,0,0.3);
}

.edu-card:hover,
.cert-card:hover {
  transform: translateY(-4px);
  border-color: hsl(var(--gradient-start) / 0.25);
  box-shadow:
    0 12px 40px -8px rgba(0,0,0,0.45),
    0 0 20px -4px hsl(var(--gradient-start) / 0.1);
}

.edu-card {
  gap: 1.25rem;
  align-items: flex-start;
}

.cert-card {
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}
@media (min-width: 640px) {
  .cert-card {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.cert-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.edu-icon-wrap {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.6rem;
  background: hsl(var(--gradient-start) / 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.edu-icon {
  width: 1.35rem;
  height: 1.35rem;
  color: hsl(var(--gradient-start));
}

.cert-icon-wrap {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.6rem;
  background: hsl(var(--gradient-end) / 0.15); /* Using cyan color */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cert-icon {
  width: 1.35rem;
  height: 1.35rem;
  color: hsl(var(--gradient-end));
}

.edu-degree,
.cert-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  line-height: 1.3;
}

.edu-school,
.cert-issuer {
  font-size: 0.8rem;
  color: hsl(var(--muted-foreground));
  margin-top: 0.2rem;
}

.edu-period {
  font-size: 0.75rem;
  color: hsl(var(--gradient-start));
  margin-top: 0.35rem;
  font-weight: 500;
}

.edu-detail {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  margin-top: 0.15rem;
}

.cert-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  background: hsl(var(--foreground) / 0.05);
  border: 1px solid hsl(var(--foreground) / 0.1);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.25s ease;
  flex-shrink: 0;
}
.cert-view-btn:hover {
  background: hsl(var(--foreground) / 0.1);
  border-color: hsl(var(--foreground) / 0.2);
  transform: translateY(-2px);
  color: hsl(var(--gradient-end));
}
.cert-view-icon {
  width: 0.85rem;
  height: 0.85rem;
}

/* ===== CONTACT SECTION ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1.5fr;
    gap: 2.5rem;
  }
}

.contact-left {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
}

.contact-info-card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 0.75rem;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.contact-info-card:hover {
  transform: translateX(4px);
  border-color: #6e56ff;
  box-shadow: -4px 4px 20px -4px rgba(0,0,0,0.3);
}

.contact-icon-wrap {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.6rem;
  background: rgba(110, 86, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: #6e56ff;
}

.contact-label {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 0.15rem;
}

.contact-value {
  font-size: 0.85rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  text-decoration: none;
  transition: color 0.25s ease;
}
a.contact-value:hover {
  color: #6e56ff;
}

.contact-social-row {
  display: flex;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 0.5rem;
}

.contact-social-btn {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 0.6rem;
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.contact-social-btn:hover {
  transform: translateY(-3px);
  border-color: #6e56ff;
  background: hsl(var(--border));
}
.contact-social-icon {
  width: 1.2rem;
  height: 1.2rem;
  color: hsl(var(--muted-foreground));
  transition: color 0.3s ease;
}
.contact-social-btn:hover .contact-social-icon {
  color: hsl(var(--foreground));
}

.contact-form-card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 0.75rem;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  height: 100%;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  font-weight: 500;
}

.form-input {
  background: hsl(var(--background));
  border: 1px solid hsl(var(--border));
  border-radius: 0.5rem;
  padding: 1rem 1.25rem;
  font-size: 0.85rem;
  color: hsl(var(--foreground));
  transition: all 0.25s ease;
  width: 100%;
}
.form-input:focus {
  outline: none;
  border-color: hsl(var(--gradient-start) / 0.5);
  background: hsl(var(--card));
  box-shadow: 0 0 0 2px rgba(110, 86, 255, 0.15);
}
.form-input::placeholder {
  color: hsl(var(--muted-foreground) / 0.7);
}

.form-textarea {
  resize: none;
  min-height: 140px;
}

.contact-submit-btn {
  background: #6e56ff;
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
  border: none;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 0.5rem;
}
.contact-submit-btn:hover {
  background: #826eff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(110, 86, 255, 0.3);
}
.submit-icon {
  width: 1rem;
  height: 1rem;
}

/* Custom Cursor */
.custom-cursor {
  position: fixed;
  top: 0; left: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background-color 0.2s;
  mix-blend-mode: difference;
  display: none;
}
@media (hover: hover) and (pointer: fine) {
  .custom-cursor { display: block; }
}
.custom-cursor-dot {
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.custom-cursor-ring {
  width: 100%; height: 100%;
  border: 1px solid white;
  border-radius: 50%;
  transition: all 0.1s ease-out;
}
.cursor-hover .custom-cursor-ring {
  transform: scale(1.5);
  background: rgba(255, 255, 255, 0.1);
}

/* Live Animated Background */
.blobs-container {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}
.blob {
  position: absolute;
  filter: blur(100px);
  opacity: 0.2;
  border-radius: 50%;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
  will-change: transform;
}
.blob-1 {
  top: -10%; left: -10%;
  width: 50vw; height: 50vw;
  background: radial-gradient(circle, hsl(270 80% 60%), transparent 70%);
  animation: aurora-drift-1 15s infinite alternate;
}
.blob-2 {
  bottom: -20%; right: -10%;
  width: 60vw; height: 60vw;
  background: radial-gradient(circle, hsl(190 90% 50%), transparent 70%);
  animation: aurora-drift-2 18s infinite alternate;
}
.blob-3 {
  top: 40%; left: 30%;
  width: 40vw; height: 40vw;
  background: radial-gradient(circle, hsl(230 80% 55%), transparent 70%);
  animation: aurora-drift-3 20s infinite alternate;
}

/* About Section */
#about {
  background-image: 
    radial-gradient(1px 1px at 20px 30px, rgba(255,255,255,0.07), transparent),
    radial-gradient(1px 1px at 40px 70px, rgba(255,255,255,0.07), transparent),
    radial-gradient(1px 1px at 90px 40px, rgba(255,255,255,0.07), transparent),
    radial-gradient(1px 1px at 160px 120px, rgba(255,255,255,0.07), transparent);
  background-repeat: repeat;
  background-size: 200px 200px;
}

.about-subheading {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: hsl(var(--gradient-start));
  display: block;
  margin-bottom: 0.75rem;
}

.about-glass-card {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 4rem;
  padding: 2rem;
  background: hsl(var(--glass-bg));
  border-color: hsl(var(--glass-border));
  box-shadow: 0 10px 40px -10px hsl(var(--foreground) / 0.1);
  border-radius: 0.75rem;
}
@media (min-width: 640px) {
  .about-glass-card {
    padding: 3rem;
  }
}
@media (min-width: 1024px) {
  .about-glass-card {
    padding: 3.5rem;
  }
}

.about-description {
  color: hsl(var(--muted-foreground));
  line-height: 1.8;
  font-size: 0.95rem;
  text-align: left;
  font-weight: 400;
}
@media (min-width: 640px) {
  .about-description {
    font-size: 1rem;
  }
}

.about-stats-grid {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  align-items: center;
  justify-content: space-between;
}
@media (min-width: 640px) {
  .about-stats-grid {
    flex-direction: row;
    gap: 1rem;
  }
}

.stat-item {
  text-align: center;
  flex: 1;
}

.stat-number-wrapper {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin-bottom: 0.25rem;
}

.stat-number {
  font-family: 'Inter', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
}
@media (min-width: 640px) {
  .stat-number {
    font-size: 4rem;
  }
}
@media (min-width: 1024px) {
  .stat-number {
    font-size: 4.5rem;
  }
}

.stat-label {
  font-size: 0.8rem;
  color: hsl(var(--muted-foreground));
  font-weight: 500;
  margin-top: 0.5rem;
}

/* Loading Screen */
#loading-screen {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: hsl(var(--background));
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease-in-out;
}
