/* ========== BASE STYLES ========== */
body {
  font-family: "Inter", sans-serif;
  color: #fff;
  margin: 0;
  background: linear-gradient(0deg, #080808, #1f1e28);
  min-height: 100vh;
  overflow-x: hidden;
}

.content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: auto;
  padding: 16px 48px;
}

section {
  padding: 60px 20px;
  text-align: center;
}

/* ========== TYPOGRAPHY ========== */
h1 {
  font-size: 3em;
  margin: 0;
  font-weight: 700;
  color: #f3ec78;
}

h2 {
  font-size: 2.5em;
  margin: 0 0 20px;
  font-weight: 700;
  color: #ff6600;
}

@media (max-width: 480px) {
  h1 {
    font-size: 2.2em;
  }

  h2 {
    font-size: 2em;
  }
}

/* ========== ABOUT ME ========== */
.about-content p {
  font-size: 1em;
  font-weight: 300;
  color: #d3d3d3;
  line-height: 1.7;
  max-width: 800px;
  margin: 20px auto;
  text-align: justify;
}

/* ========== CONTACT ICONS ========== */
.contact-links {
  margin-top: 20px;
}

.contact-icon {
  display: inline-block;
  margin: 10px 20px;
  font-size: 2em;
  color: #fff;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  z-index: 1;
}

.contact-icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  z-index: -1;
  transition: transform 0.3s ease;
}

.contact-icon:hover::before {
  transform: translate(-50%, -50%) scale(1.5);
}

.contact-icon:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(255, 102, 0, 0.5);
}

/* ========== HERO SECTION ========== */
.hero {
  padding-top: 60px;
  display: flex;
  flex-direction: column;
  text-align: center;
}

#avatar-container {
  height: 500px;
  margin: 32px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

#avatar-loading {
  font-size: 3em;
}

/* ========== EXPERIENCE SECTION ========== */
/* ========== EXPERIENCE SECTION - Clean & Modern ========== */
#experience {
  background: #0d1117;
  color: #e5e7eb;
  padding: 4rem 1rem;
  font-family: 'Inter', sans-serif;
}

#experience .experience-box {
  max-width: 860px;
  margin: 0 auto;
  padding: 1rem;
}

#experience h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 2.5rem 0 1.5rem;
  color: #00ffd5;
  text-align: left;
}

/* Accordion Container */
#experience details {
  margin-bottom: 1.8rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
}

#experience summary {
  font-size: 1.05rem;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  list-style: none;
  transition: color 0.2s ease;
}

#experience summary:hover {
  color: #38bdf8;
}

#experience summary::-webkit-details-marker {
  display: none;
}

.exp-title {
  font-weight: 700;
  font-size: 1rem;
}

.exp-sub {
  font-weight: 400;
  color: #94a3b8;
  font-size: 0.85rem;
  margin-left: 0.6rem;
}

/* Paragraph content */
#experience details p {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-top: 0.75rem;
  color: #d1d5db;
}

.experience-link {
  color: #fef9c3; /* soft yellow */
  font-style: italic;
  font-size: 0.88rem;
  font-weight: 500;
  margin-top: 0.6rem;
  display: inline-block;
  transition: all 0.3s ease;
}

.experience-link:hover {
  color: #facc15;
  text-shadow: 0 0 6px #facc15;
  transform: translateY(-1px);
}


/* Gallery (images) */
#experience .travel-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin: 1rem 0;
}

#experience .about-photo.small {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(0, 255, 204, 0.1);
  transition: transform 0.3s ease;
}

#experience .about-photo.small:hover {
  transform: scale(1.03);
}

/* Video cards (clean pill-like) */
#experience .video-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-top: 1rem;
}

#experience .video-card {
  display: block;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.8rem 1rem;
  border-radius: 8px;
  color: #cbd5e1;
  font-size: 0.9rem;
  font-style: italic;
  text-decoration: none;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

#experience .video-card:hover {
  border-left: 3px solid #00ffd5;
  background: rgba(0, 255, 204, 0.08);
  color: #00ffd5;
  transform: translateX(4px);
}

@media (min-width: 600px) {
  #experience .video-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  #experience .video-gallery {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  #experience .experience-box {
    padding: 1rem 0.5rem;
  }

  #experience summary {
    font-size: 1rem;
  }

  #experience details p {
    font-size: 0.88rem;
  }
}

..tech-badges {
  margin-top: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.badge {
  background-color: rgba(255, 255, 255, 0.05);
  color: #cbd5e1;
  font-size: 0.7rem;
  font-weight: 400;
  padding: 0.2rem 0.5rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  font-family: 'Inter', sans-serif;
  transition: all 0.25s ease;
}

.badge:hover {
  background-color: rgba(148, 163, 184, 0.2); /* subtle slate hover */
  color: #ffffff;
  transform: translateY(-1px);
}


/* ========== RESPONSIVE EXPERIENCE ========== */

.return-wrapper {
  text-align: center;
  margin: 60px auto 40px;
}

.return-btn {
  display: inline-block;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  color: #1f1e28;
  background: linear-gradient(135deg, #ffc800, #95e214);
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.return-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(255, 224, 0, 0.4);
}

@media (max-width: 480px) {
  .return-btn {
    font-size: 0.95rem;
    padding: 12px 20px;
  }
}


.top-nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.top-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap; /* ⭐ makes it wrap nicely on small screens */
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  padding: 0;
  margin: 0;
}

.top-nav li {
  margin: 0;
}

.top-nav a {
  text-decoration: none;
  font-weight: 600;
  color: #ffffff;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.top-nav a:hover {
  color: #7f9cf5; /* Nice soft blue highlight on hover */
}

/* Responsive tweaks for very small screens (like iPhone SE) */
@media (max-width: 480px) {
  .top-nav ul {
    gap: 1rem; /* smaller gap between links on small screens */
  }

  .top-nav a {
    font-size: 0.9rem; /* slightly smaller text */
  }
}

/* Home Styling */
.home-section {
  padding: 8rem 2rem 4rem;
  text-align: center;
  position: relative;
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 700;
  margin-top: 1.5rem;
  color: white;
}

.highlight-text {
  background: linear-gradient(to right, #a78bfa, #7dd3fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
  font-size: 3rem;
}

/* About Styling */
.about-section {
  padding: 4rem 2rem;
  background-color: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  color: #f3f4f6;
  border-radius: 1rem;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
}

.about-section h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 2rem;
  color: #ffffff;
}

.about-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: #d1d5db;
  text-align: left;
}

/* Contact Icons */
.contact-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.contact-icon {
  font-size: 1.5rem;
  color: #93c5fd;
  transition: transform 0.3s ease, color 0.3s ease;
}

.contact-icon:hover {
  color: #60a5fa;
  transform: scale(1.2);
}

/* PROJECTS SECTION */
.projects-section {
  padding: 4rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.projects-section h2 {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 3rem;
}

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

.project-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(10px);
}

.project-card:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.5);
}

.project-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.project-info {
  padding: 1.5rem;
  text-align: left;
}

.project-info h3 {
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.project-info p {
  font-size: 1rem;
  color: #ccc;
  line-height: 1.6;
}

.project-info p strong {
  color: #ffd700;
}

.project-card a {
  text-decoration: none;
  color: inherit;
}

.project-card a:hover {
  color: inherit; /* keep text color consistent on hover */
}


/* ========== TIMELINE SECTION ========== */


.about-photo {
  width: 100%;
  max-width: 320px;
  height: auto;
  display: block;
  margin: 0 auto 1.5rem;
  border-radius: 0.5rem; /* just slightly softened corners */
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
  object-fit: cover;
  transition: transform 0.3s ease;
}

.about-photo:hover {
  transform: scale(1.02);
}

.about-photo.small {
  max-width: 260px;
  margin-top: 1rem;
}

.about-content {
  font-family: 'Fira Code', 'Courier New', monospace;
  font-size: 0.875rem; /* smaller for more text */
  color: #d1d5db;
  background-color: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: 8px;
  line-height: 1.8;
  box-shadow: 0 0 10px rgba(0,0,0,0.4);
}

.about-content p {
  font-size: 0.875rem;
  font-family: 'Fira Code', 'Courier New', monospace;
  color: #e0e0e0;
  margin-bottom: 1.25rem;
  text-align: left;
}

@media (max-width: 768px) {
  .about-content {
    padding: 1rem;
    font-size: 0.8rem;
  }

  .about-content p {
    font-size: 0.8rem;
  }
}

.travel-caption {
  font-size: 0.95rem;
  font-style: italic;
  color: #ccc;
  text-align: center;
  margin-top: 0.75rem;
}

.typing-heading {
  font-family: 'Fira Code', 'Courier New', monospace;
  font-size: 0.9rem; /* ⬅ smaller text */
  color: #00ffcc;
  margin-bottom: 1.5rem;
  text-align: left;
  padding-left: 12px;
  border-left: 3px solid #00ffcc;
  line-height: 1.4;
  white-space: nowrap; /* ⬅ prevents wrapping */
  overflow: hidden;
}


