* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

body {
  background: #f7f9ff;
  color: #222;
  overflow-x: hidden;
}


.blob {
  position: absolute;
  width: 420px;
  height: 420px;
  background: linear-gradient(135deg, #4f8cff, #6ee7b7);
  border-radius: 50%;
  top: -120px;
  left: -120px;
  filter: blur(130px);
}

.blob.two {
  top: 300px;
  right: -150px;
  left: auto;
}


.hero {
  min-height: 100vh;
  padding: 30px 8%;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 20px;
}

nav ul li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.hero-content {
  margin-top: 120px;
  max-width: 600px;
}

.hero-content h1 {
  font-size: 52px;
}

.hero-content p {
  margin: 15px 0 30px;
  color: #555;
}

/* BUTTONS */
.btn {
  padding: 12px 28px;
  background: #4f8cff;
  color: white;
  text-decoration: none;
  border-radius: 30px;
  margin-right: 15px;
  display: inline-block;
}

.btn.outline {
  background: transparent;
  color: #4f8cff;
  border: 2px solid #4f8cff;
}


section {
  padding: 80px 8%;
}

h2 {
  font-size: 36px;
  margin-bottom: 30px;
}

/* ================= SKILLS SECTION ================= */

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-top: 40px;
}


.skill-card {
  position: relative;
  background: rgba(255, 255, 255, 0.95);
  padding: 28px 25px;
  border-radius: 20px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.1);
  transition: all 0.35s ease;
  overflow: hidden;
  animation: floatCard 6s ease-in-out infinite;
}


.skill-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #4f8cff, #6ee7b7);
}


.skill-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 55px rgba(79, 140, 255, 0.25);
  animation-play-state: paused;
}


.skill-card h4 {
  font-size: 18px;
  margin-bottom: 12px;
  color: #4f8cff;
  font-weight: 600;
  letter-spacing: 0.5px;
}


.skill-card p {
  font-size: 14.5px;
  color: #444;
  line-height: 1.6;
}


@keyframes floatCard {
  0% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}


@media (max-width: 768px) {
  .skills-grid {
    gap: 20px;
  }

  .skill-card {
    padding: 22px;
  }
}



.timeline .card,
.project-card {
  position: relative;
  background: rgba(255, 255, 255, 0.92);
  padding: 28px 28px 28px 32px;
  border-radius: 22px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.1);
  transition: all 0.35s ease;
  overflow: hidden;
  margin-bottom: 25px;
}


.timeline .card::before,
.project-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(180deg, #4f8cff, #6ee7b7);
  border-radius: 6px 0 0 6px;
}


.timeline .card:hover,
.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 28px 65px rgba(79, 140, 255, 0.25);
}


.timeline .card h3,
.project-card h3 {
  font-size: 20px;
  margin-bottom: 6px;
  color: #1f2937;
  font-weight: 600;
}


.timeline .card span {
  display: inline-block;
  font-size: 13px;
  margin-bottom: 14px;
  color: #6b7280;
}


.timeline ul,
.project-card ul {
  padding-left: 18px;
  margin-top: 8px;
}

.timeline ul li,
.project-card ul li {
  margin-bottom: 10px;
  font-size: 14.5px;
  color: #374151;
  line-height: 1.6;
  position: relative;
}


.timeline ul li::marker,
.project-card ul li::marker {
  color: #4f8cff;
}


.projects-grid {
  margin-top: 35px;
  gap: 30px;
}


.timeline {
  margin-top: 35px;
}


.timeline .card,
.project-card {
  opacity: 0;
  transform: translateY(30px);
  animation: revealUp 0.8s ease forwards;
}

.timeline .card { animation-delay: 0.2s; }
.project-card { animation-delay: 0.3s; }

@keyframes revealUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


@media (max-width: 768px) {
  .timeline .card,
  .project-card {
    padding: 24px;
  }

  .timeline .card h3,
  .project-card h3 {
    font-size: 18px;
  }
}



footer {
  text-align: center;
  padding: 30px;
  background: #eef2ff;
}
.social-links {
  margin-top: 25px;
  display: flex;
  gap: 15px;
  margin-bottom: 25px  ;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-links a img {
  width: 22px;
  height: 22px;
}

.social-links a:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}
.hero-wrapper {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-top: 120px;
  flex-wrap: wrap;
}


.profile-pic {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: white;
  padding: 8px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.profile-pic img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}


@media (max-width: 768px) {
  .hero-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .profile-pic {
    width: 150px;
    height: 150px;
  }

  .social-links {
    justify-content: center;
  }
}
#contact {
  text-align: center;
}

#contact p {
  font-size: 15px;
  color: #374151;
  margin-bottom: 12px;
}

#contact a {
  color: #4f8cff;
  text-decoration: none;
  font-weight: 500;
}

.contact-phone {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.call-icon img {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  transition: transform 0.3s ease;
}

.call-icon img:hover {
  transform: scale(1.15);
}

.contact-socials {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  gap: 18px;
}

.contact-socials img {
  width: 30px;
  height: 30px;
  transition: transform 0.3s ease;
}

.contact-socials img:hover {
  transform: translateY(-4px);
}


.floating-resume {
  position: fixed;
  right: 24px;
  bottom: 24px;
  background: #4f8cff;
  color: #fff;
  padding: 12px 18px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(79, 140, 255, 0.35);
  z-index: 1000;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-resume:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(79, 140, 255, 0.45);
}


@media (max-width: 768px) {
  .floating-resume {
    font-size: 13px;
    padding: 10px 16px;
    right: 16px;
    bottom: 16px;
  }
}

@media (max-width: 768px) {
  .profile-pic img {
    filter: brightness(0.85) contrast(1.05);
    transition: filter 0.3s ease;
  }
}

nav {
  display: flex; /* IMPORTANT */
  animation: navFloat 6s ease-in-out infinite;
}


@media (max-width: 768px) {
  .blob,
  .blob.two {
    z-index: -1;
    opacity: 0.6;
  }
}


@media (max-width: 768px) {

  
  .blob,
  .blob.two {
    z-index: -1;
    opacity: 0.55;
    filter: blur(140px);
  }

  
  header,
  section,
  nav {
    position: relative;
    z-index: 2;
  }

  
  section {
    scroll-margin-top: 110px;
  }

  
  .blob {
    width: 280px;
    height: 280px;
  }

  .blob.two {
    width: 300px;
    height: 300px;
  }
}



@media (max-width: 768px) {

  
  nav {
    flex-direction: column;
    align-items: center;
    padding: 14px 6%;
    gap: 12px;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  nav ul li {
    margin: 0;
  }

  nav ul li a {
    font-size: 15px;
    padding: 6px 0;
  }

  .logo {
    font-size: 20px;
    margin-bottom: 6px;
  }

  
  section {
    scroll-margin-top: 150px;
  }

  
  .floating-resume {
    right: 14px;
    bottom: 50%;
    transform: translateY(50%) rotate(-90deg);
    transform-origin: right center;
    padding: 10px 14px;
    font-size: 13px;
  }

  .floating-resume:hover {
    transform: translateY(50%) rotate(-90deg) scale(1.05);
  }

  
  header,
  section,
  nav {
    position: relative;
    z-index: 2;
  }

  .blob,
  .blob.two {
    z-index: -1;
    opacity: 0.55;
    filter: blur(140px);
  }
}

