/* ================ BASE STYLES ================ */
:root {
  --primary-bg: #121212;
  --secondary-bg: #1c1c1c;
  --tertiary-bg: #181818;
  --card-bg: #232323;
  --accent-color: #ffc107;
  --text-primary: #ffffff;
  --text-secondary: #cccccc;
  --border-radius: 12px;
  --box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ================ GLOBAL STYLES ================ */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background-color: var(--primary-bg);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ================ TYPOGRAPHY ================ */
h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.3;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: clamp(0.95rem, 2vw, 1.05rem);
}

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

/* ================ UTILITY CLASSES ================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--accent-color);
  margin: 1rem auto;
  border-radius: 2px;
}

.text-center {
  text-align: center;
}

.text-lg-start {
  text-align: left;
}

@media (max-width: 992px) {
  .text-lg-start {
    text-align: center;
  }
}

/* ================ BUTTONS ================ */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--accent-color);
  color: var(--primary-bg);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(255, 193, 7, 0.2);
}

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

.btn-outline:hover {
  background-color: var(--accent-color);
  color: var(--primary-bg);
}

.btn-lg {
  padding: 15px 30px;
  font-size: 1.1rem;
}

/* ================ NAVBAR ================ */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(18, 18, 18, 0.95);
  backdrop-filter: blur(10px);
  transition: var(--transition);
  padding: 15px 0;
}

.navbar.scrolled {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  padding: 10px 0;
}

.logo-img {
  height: 20px;
  transition: var(--transition);
}

.logo-img:hover {
  transform: scale(1.05);
}

.nav-link {
  position: relative;
  padding: 0.5rem 1rem;
  font-weight: 500;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: var(--transition);
}

.nav-link:hover::after {
  width: 100%;
}
/* ================ HERO SECTION ENHANCED ================ */
/* ================ ENHANCED HERO SECTION ================ */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
  background: linear-gradient(-45deg, #0d1117, #1a1f29, #0d1117);
  color: white;
  isolation: isolate;
}

/* Animated Gradient Background */
.hero-gradient {
  position: absolute;
  width: 150%;
  height: 150%;
  background: linear-gradient(
    45deg,
    #ff6b6b30,
    #4ecdc430,
    #45b7d130,
    #96c93d30
  );
  animation: gradientFlow 20s ease infinite;
  z-index: -2;
}

@keyframes gradientFlow {
  0% { transform: rotate(0deg) translate(-10%, -10%); }
  50% { transform: rotate(180deg) translate(10%, 10%); }
  100% { transform: rotate(360deg) translate(-10%, -10%); }
}

/* Particle Animation Effect */
.hero-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.particle {
  position: absolute;
  background: radial-gradient(circle, #ffffff40 10%, transparent 70%);
  border-radius: 50%;
  animation: particleFloat linear infinite;
}

@keyframes particleFloat {
  from { transform: translateY(-10vh); }
  to { transform: translateY(110vh); }
}

/* Hover-Activated Neon Border */
.hero-img-container {
  position: relative;
  transition: transform 0.4s ease;
}

.hero-img-container::before {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 1.5rem;
  background: linear-gradient(45deg, #ffc107, #ff6b6b, #45b7d1);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s;
}

.hero-img-container:hover::before {
  opacity: 1;
  animation: neonPulse 1.5s ease-in-out infinite;
}

@keyframes neonPulse {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.3); }
}

/* Dynamic Text Shadow */
.hero-heading {
  text-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
  transition: text-shadow 0.3s ease;
}

.hero-heading:hover {
  text-shadow: 0 6px 25px rgba(255, 107, 107, 0.5);
}

/* Advanced Button Effects */
.btn-primary {
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, #ffffff40, transparent);
  transform: rotate(45deg);
  transition: all 0.6s ease;
}

.btn-primary:hover::before {
  animation: btnShine 1.5s;
}

@keyframes btnShine {
  0% { transform: translateX(-100%) rotate(45deg); }
  100% { transform: translateX(100%) rotate(45deg); }
}

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

.hero-img {
  animation: float 4s ease-in-out infinite;
  transition: transform 0.4s ease;
}

.hero-img:hover {
  animation: none;
  transform: scale(1.05) rotate(-2deg);
}

/* Responsive Text Scaling */
.hero-heading {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

.hero-subheading {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
}

/* 3D Perspective Hover */
.hero-content {
  transform: perspective(1000px);
}

.social-link {
  transform: translateZ(0);
  transition: all 0.3s ease;
}

.social-link:hover {
  transform: translateZ(20px) scale(1.2);
}

/* ================ ABOUT SECTION ================ */
.about-section {
  background-color: var(--secondary-bg);
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}

.about-left {
  flex: 1;
  min-width: 280px;
}

.about-image {
  flex: 1 1 280px; /* flex-grow | flex-shrink | flex-basis */
  min-width: 280px; /* Minimum width before wrapping */
  max-width: 500px; /* Maximum width to prevent over-stretching */
  margin: 1rem auto; /* Vertical spacing + horizontal centering */
  position: relative; /* For any future absolute-positioned children */
}

.about-image img {
  width: 100%;
  height: auto; /* Maintain aspect ratio */
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  object-fit: cover; /* Prevent image distortion (optional) */
  display: block; /* Remove default image spacing */
}

/* Responsive Adjustments */
@media screen and (max-width: 1200px) {
  .about-image {
    max-width: 500px; /* Slightly smaller on medium-large screens */
  }
}

@media screen and (max-width: 992px) {
  .about-image {
    flex-basis: 250px;
    min-width: 250px;
    max-width: 350px;
  }
}

@media screen and (max-width: 768px) {
  .about-image {
    flex-basis: 100%; /* Take full width on smaller screens */
    max-width: 450px; /* Limit expansion but keep responsive */
    min-width: unset; /* Allow shrinking below 280px */
    margin: 1rem auto; /* Maintain centering */
  }
}

@media screen and (max-width: 480px) {
  .about-image {
    max-width: 100%; /* Full width on mobile */
    margin: 0.5rem auto; /* Reduce spacing */
  }
  
  .about-image img {
    box-shadow: var(--box-shadow-sm); /* Optional: smaller shadow on mobile */
  }
}

.education-cards {
  display: grid;
  gap: 20px;
  margin-top: 2rem;
}

.education-card {
  position: relative;
  padding-left: 30px;
  background: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 20px;
  box-shadow: var(--box-shadow);
}

.education-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 3px;
  background: var(--accent-color);
  border-radius: 3px;
}

.education-date {
  color: var(--accent-color);
  font-weight: 600;
  margin-bottom: 5px;
}

.skills-container {
  margin-top: 2rem;
}

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

.skill-category h4 {
  color: var(--accent-color);
  margin-bottom: 0.75rem;
}

.skill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skill-badge {
  background: rgba(255, 193, 7, 0.1);
  color: var(--accent-color);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.skill-badge i {
  font-size: 1rem;
}

/* ================ EXPERIENCE SECTION ================ */
.experience-section {
  background-color: #0d0d0d;
  color: #f1f1f1;
  padding: 4rem 1rem;
}

.section-title h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  color: #FFD700;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.timeline {
  position: relative;
  max-width: 900px;
  margin: auto;
  padding-left: 20px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 30px;
  width: 4px;
  background: #FFD700;
  top: 0;
  bottom: 0;
  z-index: 0;
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  padding-left: 60px;
  animation: fadeInUp 1s ease both;
}

.timeline-icon {
  position: absolute;
  top: 0;
  left: 10px;
  width: 40px;
  height: 40px;
  background: #FFD700;
  color: #000;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  z-index: 1;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
}

.timeline-panel {
  background: #1c1c1c;
  padding: 1.5rem 2rem;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.1);
}

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

.exp-header h4 {
  font-size: 1.2rem;
  color: #FFD700;
}

.exp-date {
  font-size: 0.9rem;
  color: #bbb;
}

.exp-company {
  font-weight: bold;
  color: #FFEE80;
  margin-bottom: 1rem;
}

.exp-details {
  list-style: none;
  padding-left: 0;
}

.exp-details li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.5rem;
  color: #ccc;
}

.exp-details li::before {
  content: "▹";
  position: absolute;
  left: 0;
  color: #FFD700;
  font-size: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
  .timeline::before {
    left: 20px;
  }

  .timeline-item {
    padding-left: 50px;
  }

  .timeline-icon {
    left: 0;
  }
}

/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ================ PROJECTS SECTION ================ */
.projects-section {
  background-color: var(--secondary-bg);
}

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

.project-card {
  position: relative;
  overflow: hidden;
  background: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.project-img-container {
  position: relative;
  overflow: hidden;
  height: 200px;
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.project-card:hover .project-img {
  transform: scale(1.05);
}

.project-tags {
  position: absolute;
  top: 15px;
  right: 15px;
  display: flex;
  gap: 8px;
}

.project-tag {
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
}

.project-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.project-content h3 {
  margin-top: 0;
  font-size: 1.5rem;
}

.project-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.project-links {
  display: flex;
  gap: 10px;
  margin-top: auto;
}

/* ========== CERTIFICATIONS SECTION ========== */
.certification-section {
  background: var(--tertiary-bg);
  padding: 4rem 0;
}

/* Credly Badges Carousel */
.credly-slider {
  max-width: 1000px;
  margin: 2rem auto;
  padding: 2rem 0;
}

.credly-badge {
  max-width: 220px;
  height: auto;
  transition: transform 0.3s ease;
  border-radius: 12px;
}

.credly-badge:hover {
  transform: scale(1.1) rotate(3deg);
}

/* Certification Cards Grid */
.certification-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.cert-card {
  background: var(--card-bg);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.cert-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.cert-header {
  padding: 1.5rem;
  background: linear-gradient(135deg, var(--accent-color), #2c3e50);
  color: white;
}

.cert-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

/* Image Container */
.cert-image-container {
  position: relative;
  height: 250px;
  background: #f8f9fa;
  border-bottom: 3px solid var(--accent-color);
  cursor: pointer;
  overflow: hidden;
}

.cert-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1rem;
  transition: transform 0.3s ease;
}

.cert-img:hover {
  transform: scale(1.05);
}

.cert-info {
  padding: 1.5rem;
  flex-grow: 1;
}

.cert-issuer {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.cert-date {
  color: var(--accent-color);
  font-weight: 600;
  margin-bottom: 1rem;
}

.cert-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cert-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-primary);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  background: rgba(var(--accent-color-rgb), 0.1);
  border: 1px solid rgba(var(--accent-color-rgb), 0.2);
}

.cert-link:hover {
  background: var(--accent-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .certification-grid {
    grid-template-columns: 1fr;
  }

  .cert-image-container {
    height: 200px;
  }
}

/* ========== BADGES GRID ========== */
.badges-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  justify-items: center;
  max-width: 1000px;
  margin: 2rem auto;
  padding: 1rem;
}

.badge-item {
  transition: transform 0.3s ease;
  border-radius: 12px;
  overflow: hidden;
  background: white;
  padding: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.badge-item:hover {
  transform: translateY(-5px) scale(1.05);
}

.badge-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .badges-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
  }
}


@media (max-width: 768px) {
  .certification-grid {
    grid-template-columns: 1fr;
  }

  .credly-badge {
    max-width: 180px;
  }

  .cert-img {
    height: 180px;
  }
}

/* ================ CONTACT SECTION ================ */
.contact-section {
  background-color: var(--secondary-bg);
}

.contact-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}

.contact-info {
  flex: 1;
  min-width: 300px;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.contact-icon {
  font-size: 1.5rem;
  color: var(--accent-color);
  min-width: 30px;
}

.contact-form {
  flex: 1;
  min-width: 300px;
  background: var(--card-bg);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #444;
  border-radius: 8px;
  background: var(--primary-bg);
  color: var(--text-primary);
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 2px rgba(255, 193, 7, 0.2);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

/* ================ FOOTER ================ */
.footer {
  background-color: #0f0f0f;
  padding: 80px 0 40px;
  position: relative;
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--accent-color), transparent);
}

.footer .container {
  position: relative;
  z-index: 2;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 30px;
  transition: var(--transition);
}

.footer-logo:hover {
  transform: translateY(-3px);
}

.footer-logo img {
  height: 40px;
  margin-right: 10px;
}

.footer-logo span {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-color);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.social-icon {
  font-size: 1.2rem;
  color: var(--accent-color);
  transition: var(--transition);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0);
}

.social-icon:hover {
  color: var(--accent-color);
  background: rgba(255, 193, 7, 0.1);
  transform: translateY(-3px);
}

.footer-links-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-column {
  flex: 1;
  min-width: 200px;
}

.footer-column h5 {
  color: var(--accent-color);
  margin-bottom: 20px;
  font-size: 1.1rem;
  position: relative;
  padding-bottom: 10px;
}

.footer-column h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--accent-color);
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-link {
  color: var(--text-secondary);
  transition: var(--transition);
  display: inline-block;
}

.footer-link:hover {
  color: var(--accent-color);
  transform: translateX(5px);
  text-decoration: none;
}

.contact-info p {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  color: var(--text-secondary);
}

.contact-info i {
  margin-right: 10px;
  color: var(--accent-color);
  min-width: 20px;
}

.contact-info a {
  color: var(--text-secondary);
  transition: var(--transition);
}

.contact-info a:hover {
  color: var(--accent-color);
  text-decoration: none;
}

.footer-divider {
  border-color: rgba(255, 255, 255, 0.1);
  margin: 40px 0;
}

.copyright {
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
  padding-top: 20px;
  border-top: 1px solid rgb(255, 255, 255);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .footer-links-container {
    gap: 30px;
  }

  .footer-column {
    min-width: 160px;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 60px 0 30px;
  }

  .footer-links-container {
    flex-direction: column;
    gap: 30px;
  }

  .footer-column {
    text-align: center;
  }

  .footer-column h5::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .social-links {
    margin-bottom: 30px;
  }
}

@media (max-width: 576px) {
  .footer {
    padding: 50px 0 20px;
  }

  .footer-logo {
    margin-bottom: 20px;
  }

  .social-links {
    gap: 15px;
    margin-bottom: 20px;
  }

  .social-icon {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .footer-divider {
    margin: 30px 0;
  }
}

/* ================ BACK TO TOP BUTTON ================ */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--accent-color);
  color: var(--primary-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  cursor: pointer;
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-5px) scale(1.1);
}

/* ================ ANIMATIONS ================ */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeIn {
  animation: fadeIn 0.6s ease-out forwards;
}

.delay-1 {
  animation-delay: 0.2s;
}

.delay-2 {
  animation-delay: 0.4s;
}

.delay-3 {
  animation-delay: 0.6s;
}

/* ================ RESPONSIVE ADJUSTMENTS ================ */
@media (max-width: 992px) {
  .section {
    padding: 80px 0;
  }

  .timeline::before {
    left: 31px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }

  .timeline-item:nth-child(even) {
    left: 0;
  }

  .timeline-dot {
    left: 21px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }

  .hero-section {
    text-align: center;
  }

  .about-content {
    flex-direction: column;
  }

  .contact-wrapper {
    flex-direction: column;
  }

  .project-links {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .section {
    padding: 50px 0;
  }

  .section-title {
    margin-bottom: 2rem;
  }

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

  .social-links {
    gap: 15px;
  }

  .navbar-nav {
    gap: 0;
    margin-bottom: 1rem;
  }

  .nav-link {
    padding: 0.5rem;
  }
}