/* BODY */
body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #eef2f3, #dfe9f3);
  color: #2c3e50;
  margin: 0;
  padding: 0;
}

/* HEADER (FINAL CLEAN VERSION) */
.header {
  background: linear-gradient(135deg, #0d6efd, #6610f2);
  color: white;
  padding: 15px 0; /* reduced from 60px */
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* NAV LINKS */
.nav-link-custom {
  margin: 0 8px;
  text-decoration: none;
  font-size: 25px;
  font-weight: 900; /* Bold */
  color: white;
  position: relative;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

/* Hover Effect */
.nav-link-custom:hover {
  color: #ffd700; /* Gold highlight */
}

/* Underline Animation */
.nav-link-custom::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  left: 0;
  bottom: -4px;
  background: #ffd700;
  transition: 0.3s;
}


.nav-link-custom:hover {
  color: #ffd700;
}

/* underline animation */
.nav-link-custom::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  left: 0;
  bottom: -4px;
  background-color: #ffd700;
  transition: 0.3s;
}

.nav-link-custom:hover::after {
  width: 100%;
}

/* NAME */
.name {
  font-weight: 700;
  font-size: 1.8rem;
}

/* PROFILE IMAGE */
.profile-img {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 50%;
    margin-left: -125px;
    border: 3px solid rgba(255, 255, 255, 0.5);
}

/* SECTIONS */
.section {
  padding: 70px 0;
}

.section h2 {
  font-weight: 600;
  margin-bottom: 40px;
  position: relative;
}

.section h2::after {
  content: "";
  width: 60px;
  height: 4px;
  background: #0d6efd;
  display: block;
  margin-top: 10px;
  border-radius: 10px;
}

/* GLASS CARD */
.card-glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  border-radius: 15px;
  padding: 25px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.card-glass:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* PROJECT CARD */
.project-card {
  padding: 15px;
  text-align: left;
  height: 100%;
}

.project-card:hover {
  transform: translateY(-5px);
}

.project-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 10px;
}

/* SKILLS */
.skills span {
  display: inline-block;
  background: linear-gradient(135deg, #0d6efd, #6610f2);
  color: white;
  padding: 8px 16px;
  border-radius: 25px;
  margin: 6px;
  font-size: 14px;
  transition: 0.3s;
}

.skills span:hover {
  transform: scale(1.1);
}

/* CONTACT */
.contact-box {
  padding: 15px 20px;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
}

.contact-box p {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
}

.contact-box a {
  text-decoration: none;
  color: #0d6efd;
  margin-left: 5px;
  transition: 0.3s;
}

.contact-box a:hover {
  color: #0a58ca;
  text-decoration: underline;
}

/* FOOTER */
.footer {
  background: #1a1a1a;
  color: #aaa;
  text-align: center;
  padding: 20px;
}

/* MOBILE */
@media (max-width: 768px) {
  .contact-box {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .header .container {
    flex-direction: column;
    gap: 10px;
  }

  .nav-link-custom {
    margin: 5px;
    display: inline-block;
  }
}

/* NAV CONTAINER */
.header nav {
  display: flex;
  align-items: center;
  gap: 25px; /* FIXED (was 80px) */
}

/* NAV LINKS (kept, no removal) */
.nav-link-custom {
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  color: white;
  position: relative;
  transition: 0.3s;
}

.footer {
  background: #0d6efd; /* your color */
  color: #ffffff;
  padding: 50px 0 20px;
  font-family: 'Poppins', sans-serif;
}

/* Headings */
.footer h5 {
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 15px;
  position: relative;
}

/* underline */
.footer h5::after {
  content: "";
  width: 40px;
  height: 3px;
  background: #ffffff;
  display: block;
  margin-top: 6px;
  border-radius: 5px;
}

/* text */
.footer p {
  font-size: 14px;
  line-height: 1.7;
  margin: 5px 0;
}

/* links */
.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* hover effect */
.footer-links a:hover {
  color: #000; /* black contrast */
  padding-left: 6px;
}

/* general links */
.footer a {
  color: #ffffff;
  transition: 0.3s;
}

.footer a:hover {
  color: #000;
}

/* divider */
.footer hr {
  border-color: rgba(255,255,255,0.3);
  margin: 25px 0;
}

/* bottom text */
.footer .text-center p {
  font-size: 13px;
  color: #e0e0e0;
}

/* responsive */
@media (max-width: 768px) {
  .footer {
    text-align: center;
  }

  .footer .row > div {
    margin-bottom: 20px;
  }
}
/* Instagram */
.footer-links a[href*="instagram"]:hover {
  background: linear-gradient(45deg, #f09433, #dc2743, #bc1888);
  color: #fff;
}

/* Twitter */
.footer-links a[href*="twitter"]:hover {
  background: #1da1f2;
  color: #fff;
}

/* Telegram */
.footer-links a[href*="t.me"]:hover {
  background: #0088cc;
  color: #fff;
}

/* LinkedIn */
.footer-links a[href*="linkedin"]:hover {
  background: #0077b5;
  color: #fff;
}
/* SECTION TITLE */
.section-title {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 30px;
    text-align: center;
    color: #2c3e50;
}

/* LINK RESET */
.experience-link {
    text-decoration: none;
    color: inherit;
}

/* CARD BASE */
.project-card {
    padding: 25px;
    margin-bottom: 25px;
    border-radius: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
}

/* GLASS EFFECT */
.card-glass {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* HOVER EFFECT */
.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* COMPANY NAME */
.company-name {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #0d6efd;
}

/* ROLE */
.role {
    font-size: 16px;
    color: #555;
}

/* DESCRIPTION */
.experience-desc {
    margin-top: 15px;
    font-size: 14px;
    color: #444;
    line-height: 1.6;
}

/* BULLET POINTS */
.experience-points {
    margin-top: 10px;
    padding-left: 18px;
}

.experience-points li {
    font-size: 14px;
    color: #333;
    margin-bottom: 6px;
}

/* BADGE */
.badge {
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 8px;
}

/* MORE BUTTON */
.more-btn {
    position: absolute;
    bottom: 15px;
    right: 20px;
    font-size: 14px;
    font-weight: 500;
    color: #0d6efd;
    transition: 0.3s;
    text-decoration: none;
}

.project-card:hover .more-btn {
    color: #6610f2;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .section-title {
        font-size: 26px;
    }

    .project-card {
        padding: 20px;
    }
}

.fixed-back-btn {
    position: fixed;
    top: 150px;
    left: 3px;
    z-index: 1000;
}
.contact-card {
    padding: 20px;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.contact-icon {
    font-size: 30px;
    display: block;
    margin-bottom: 10px;
}

.contact-link {
    text-decoration: none;
    color: #0d6efd;
    word-break: break-all;
}


/* ================= JOB PAGE PREMIUM UI ================= */

.job-card {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    padding: 25px;
    transition: all 0.4s ease;
}

/* gradient border */
.job-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 18px;
    padding: 1.5px;
    background: linear-gradient(135deg, #0d6efd, #6610f2);
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    opacity: 0;
    transition: 0.4s;
}

.job-card:hover::before {
    opacity: 1;
}

/* hover */
.job-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 35px rgba(13,110,253,0.2);
}

/* present badge */
.present-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #0d6efd, #6610f2);
    color: #fff;
    font-size: 11px;
    padding: 5px 12px;
    border-radius: 50px;
    font-weight: 600;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(13,110,253,0.6); }
    70% { box-shadow: 0 0 0 10px rgba(13,110,253,0); }
    100% { box-shadow: 0 0 0 0 rgba(13,110,253,0); }
}

/* title */
.job-card h4 {
    font-weight: 700;
    color: #0d6efd;
}

/* current job highlight */
.job-card.current {
    border: 1px solid rgba(13,110,253,0.4);
    background: linear-gradient(
        135deg,
        rgba(13,110,253,0.08),
        rgba(102,16,242,0.08)
    );
}

/* animation */
.fade-in {
    animation: fadeUp 0.7s ease;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* hr */
.job-card hr {
    border-color: rgba(0,0,0,0.1);
}

/* mobile */
@media (max-width: 768px) {
    .job-card {
        padding: 18px;
    }
}


/* ================= SECTION ================= */
.section {
    padding: 80px 0;
    position: relative;
}

/* smooth fade on load */
.section {
    animation: sectionFade 0.8s ease;
}

/* ================= SECTION TITLE ================= */
.section-title {
    font-size: 34px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: #2c3e50;
    position: relative;
}

/* animated underline */
.section-title::after {
    content: "";
    width: 0%;
    height: 4px;
    background: linear-gradient(135deg, #0d6efd, #6610f2);
    display: block;
    margin: 12px auto 0;
    border-radius: 10px;
    animation: lineGrow 1s ease forwards;
}

/* ================= CARD BASE ================= */
.card-glass {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(14px);
    border-radius: 18px;
    padding: 25px;
    margin-bottom: 25px;
    border: 1px solid rgba(255,255,255,0.4);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

/* gradient border effect */
.card-glass::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 18px;
    padding: 1.5px;
    background: linear-gradient(135deg, #0d6efd, #6610f2);
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: 0.4s;
}

/* hover effect */
.card-glass:hover::before {
    opacity: 1;
}

.card-glass:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: 0 20px 40px rgba(13,110,253,0.15);
}

/* ================= COMPANY NAME ================= */
.company-name {
    font-size: 20px;
    font-weight: 700;
    color: #0d6efd;
    transition: 0.3s;
}

.card-glass:hover .company-name {
    color: #6610f2;
}

/* ================= ROLE ================= */
.role {
    font-size: 15px;
    color: #555;
}

/* ================= DESCRIPTION ================= */
.experience-desc {
    margin-top: 15px;
    font-size: 14px;
    color: #444;
    line-height: 1.7;
}

/* ================= LIST ================= */
.experience-points {
    margin-top: 12px;
    padding-left: 18px;
}

.experience-points li {
    font-size: 14px;
    color: #333;
    margin-bottom: 6px;
    transition: 0.3s;
}

/* hover bullet animation */
.experience-points li:hover {
    transform: translateX(6px);
    color: #0d6efd;
}

/* ================= BADGE ================= */
.badge {
    font-size: 11px;
    padding: 6px 12px;
    border-radius: 50px;
    font-weight: 600;
    animation: pulseBadge 1.5s infinite;
}

/* ================= MORE BUTTON ================= */
.more-btn {
    position: absolute;
    bottom: 15px;
    right: 20px;
    font-size: 14px;
    font-weight: 600;
    color: #0d6efd;
    transition: 0.3s;
}

.card-glass:hover .more-btn {
    color: #6610f2;
    transform: translateX(5px);
}

/* ================= SKILLS ================= */
.skills span {
    display: inline-block;
    background: linear-gradient(135deg, #0d6efd, #6610f2);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    margin: 6px;
    font-size: 13px;
    transition: all 0.3s ease;
}

/* hover effect */
.skills span:hover {
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 8px 20px rgba(13,110,253,0.25);
}

/* ================= CARD ENTRY ANIMATION ================= */
.card-glass {
    opacity: 0;
    transform: translateY(40px);
    animation: cardFadeUp 0.7s forwards;
}

/* stagger */
.card-glass:nth-child(1) { animation-delay: 0.2s; }
.card-glass:nth-child(2) { animation-delay: 0.4s; }
.card-glass:nth-child(3) { animation-delay: 0.6s; }
.card-glass:nth-child(4) { animation-delay: 0.8s; }

/* ================= KEYFRAMES ================= */
@keyframes sectionFade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes lineGrow {
    to {
        width: 80px;
    }
}

@keyframes cardFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulseBadge {
    0% { box-shadow: 0 0 0 0 rgba(13,110,253,0.5); }
    70% { box-shadow: 0 0 0 10px rgba(13,110,253,0); }
    100% { box-shadow: 0 0 0 0 rgba(13,110,253,0); }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
    .section-title {
        font-size: 26px;
    }

    .card-glass {
        padding: 20px;
    }
}