@font-face {
  font-family: "Poppins";
  src: url("./font/Poppins-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

html {
  overflow-x: hidden;
}

body {
  font-family: "Poppins", sans-serif;
  background: #f8f9fa;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

/* NAVBAR */

/* NAVBAR BASE */

.custom-navbar {
  /* background: rgba(0, 0, 0, 0.65); */
  backdrop-filter: blur(10px);
  transition: 0.3s;
}

/* NAV LINKS */

.nav-link {
  font-weight: 500;
  position: relative;
  transition: 0.3s;
  color: #ffffff;
}

.nav-link:hover {
  color: #0d6efd !important;
}

/* UNDERLINE EFFECT */

.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  left: 0;
  bottom: 0;
  background: #0d6efd;
  transition: 0.3s;
}

.nav-link:hover::after {
  width: 100%;
}

/* TOGGLER */

.navbar-toggler {
  border: none;
  outline: none;
}

/* HAMBURGER → X */

.navbar-toggler.open .navbar-toggler-icon {
  background-image: none;
  position: relative;
}

.navbar-toggler.open .navbar-toggler-icon::before {
  content: "✖";
  color: white;
  font-size: 22px;
  position: absolute;
  top: -3px;
  left: 0;
}

/* FIXED MOBILE MENU */

@media (max-width: 991px) {
  .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: #000;
    padding: 15px;
    margin: 0;
    border-radius: 0;
  }

  .navbar .container {
    padding-left: 12px;
    padding-right: 12px;
  }
}

/* HERO */

.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, #0f172a, #2563eb);
  color: white;
}

.hero h1 {
  font-size: 60px;
  font-weight: 700;
}

.hero p {
  font-size: 20px;
  opacity: 0.9;
}

.hero-buttons .btn {
  margin: 10px;
  padding: 12px 28px;
  border-radius: 30px;
}

/* SOCIAL */

.hero-social a {
  color: white;
  font-size: 22px;
  margin: 0 10px;
}

/* STATS */

.stats {
  background: white;
  padding: 80px 0;
}

.stats h3 {
  font-size: 40px;
  color: #2563eb;
}

/* ABOUT */
/* SECTION */

.about-premium {
  padding: 100px 0;
  background: linear-gradient(135deg, #f8f9fa, #eef2ff);
}

/* TITLE */

.about-title {
  font-size: 40px;
  font-weight: 700;
}

.about-title span {
  color: #2563eb;
}

/* TEXT */

.about-highlight {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 15px;
  color: #2563eb;
}

.about-text {
  color: #555;
  margin-bottom: 15px;
}

/* BUTTON */

.about-btn {
  margin-top: 15px;
  padding: 10px 25px;
  border-radius: 30px;
  background: #2563eb;
  color: white;
  transition: 0.3s;
}

.about-btn:hover {
  background: #0d6efd;
  color: white;
}

/* GLASS CARD */

.about-glass {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ITEMS */

.about-item {
  display: flex;
  align-items: center;
  margin-bottom: 22px;
}

.about-item i {
  font-size: 22px;
  color: #2563eb;
  margin-right: 15px;
}

.about-item h6 {
  margin: 0;
  font-weight: 600;
}

.about-item p {
  margin: 0;
  font-size: 14px;
  color: gray;
}

/* MOBILE */

@media (max-width: 768px) {
  .about-title {
    font-size: 30px;
    text-align: center;
  }

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

  .about-glass {
    margin-top: 30px;
    text-align: left;
  }
}

/* PROJECT */

.project-card {
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
  height: 100%;
}

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

.experience-item,
.education-item {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.project-tech span {
  background: #eef2ff;
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 12px;
  margin-right: 5px;
}

.exp-card {
  background: white;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
  height: 100%;
  position: relative;
}

.exp-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

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

.exp-header h5 {
  margin: 0;
  font-weight: 600;
}

.exp-badge {
  background: #2563eb;
  color: white;
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 20px;
}

.company {
  margin: 10px 0 5px;
  font-weight: 500;
}

.duration {
  font-size: 14px;
  color: gray;
}

.exp-card ul {
  padding-left: 18px;
}

.exp-card ul li {
  margin-bottom: 8px;
  font-size: 14px;
}

/* Education  */

/* TIMELINE BASE */

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

.timeline::after {
  content: "";
  position: absolute;
  width: 3px;
  background: #2563eb;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -1px;
  z-index: -1;
}

/* ITEM */

.timeline-item {
  padding: 20px 40px;
  position: relative;
  width: 50%;
}

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

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

/* ICON */

.timeline-icon {
  position: absolute;
  top: 20px;
  right: -20px;
  background: #2563eb;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}


.timeline-item:nth-child(even) .timeline-icon {
  left: -20px;
}

/* CONTENT */

.timeline-content {
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.timeline-content h5 {
  margin-bottom: 5px;
}

.college {
  font-size: 14px;
  color: gray;
}

/* RESPONSIVE */

@media (max-width: 768px) {
  /* Move line to left */
  .timeline::after {
    left: 20px;
  }

  /* Make all items full width */
  .timeline-item {
    width: 100%;
    left: 0 !important;
    padding-left: 60px;
    padding-right: 15px;
    margin-bottom: 30px;
  }

  /* Fix icon position */
  .timeline-icon {
    left: 0 !important;
    right: auto;
  }

  /* Fix card alignment */
  .timeline-content {
    text-align: left;
  }
}

/* SKILLS */

/* .skills {
  padding: 80px 0;
}

.skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.skill {
  padding: 10px 18px;
  background: #eef2ff;
  border-radius: 20px;
  font-size: 14px;
} */

/* SECTION */

.skills {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f9fa, #eef2ff);
  overflow: hidden;
}

/* WRAPPER */

.skills-wrapper {
  position: relative;
  overflow: hidden;
}

/* TRACK (ANIMATION HERE) */

.skills-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: scrollSkills 25s linear infinite;
}

/* PAUSE ON HOVER */

.skills-wrapper:hover .skills-track {
  animation-play-state: paused;
}

/* KEYFRAMES */

@keyframes scrollSkills {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* CARD */

.skill-card {
  min-width: 140px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
}

/* ICON */

.skill-card i {
  font-size: 28px;
  margin-bottom: 10px;
  /* color: #2563eb; */
}

/* HOVER */

.skill-card:hover {
  transform: translateY(-6px) scale(0.95);
  background: #2563eb;
  color: white;
}

.skill-card:hover i {
  color: white;
}

/* EXPERIENCE */

.section-padding {
  padding: 80px 0;
}

.resume-btn{
  border: none;
}

.resume-btn:hover{
  background: #2563eb;
  border: none;
}



/* CONTACT */
.contact-section {
  background: #f8f9fa;
  padding: 80px 0;
}

/* CARD */

.contact-card {
  display: block;
  background: white;
  padding: 30px 20px;
  border-radius: 15px;
  text-decoration: none;
  color: #000;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
  height: 100%;
}

.contact-card i {
  font-size: 35px;
  margin-bottom: 15px;
}

.contact-card h5 {
  margin-bottom: 5px;
  font-weight: 600;
}

.contact-card p {
  font-size: 14px;
  color: gray;
}

/* HOVER EFFECT */

.contact-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  color: #2563eb;
}

/* ICON COLOR CHANGE */

.contact-card:hover i {
  color: #0d6efd;
}

/* MOBILE */

@media (max-width: 768px) {
  .contact-card {
    padding: 25px;
  }
}

/* FOOTER */
/* FOOTER */

.footer {
  background: #0f172a;
  color: #fff;
  padding: 40px 0 20px;
}

.footer h5 {
  font-weight: 600;
}

.footer-tagline {
  font-size: 14px;
  color: #ccc;
  margin-bottom: 20px;
}

/* SOCIAL ICONS */

.footer-social a {
  display: inline-block;
  margin: 0 10px;
  color: #fff;
  font-size: 20px;
  transition: 0.3s;
}

.footer-social a:hover {
  color: #0d6efd;
  transform: translateY(-3px);
}

/* LINE */

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

/* COPYRIGHT */

.footer-copy {
  font-size: 13px;
  color: #aaa;
}
