/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: #000000;
  background-color: #fafafa;
}

body.dark {
  background: #000000;
  color: #f3f3f3;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

/* Page Header - spans full width above everything */
.page-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: #000000;
  padding: 30px;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.header-info {
  display: flex;
  align-items: center;
  gap: 20px;
}

.profile-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #333;
}

.header-text h1 {
  font-size: 1.5rem;
  font-weight: 300;
  color: #ffffff;
  margin-bottom: 0.5rem;
  margin: 0;
}

.header-text h2 {
  font-size: 1.1rem;
  color: #888;
  font-weight: 400;
  margin: 0;
}

.header-about p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #ccc;
  margin-bottom: 1.5rem;
}

/* Header Navigation */
.header-nav {
  position: relative;
  margin-top: 5px;
}

.nav-dropdown {
  position: relative;
}

.nav-trigger {
  background: none;
  border: none;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  padding: 6px 10px;
  font-family: inherit;
}

.nav-dropdown-content {
  position: absolute;
  top: 100%;
  right: 0;
  background: none;
  text-align: right;
  padding: 3px;
}

.nav-item {
  display: block;
  padding: 6px 0;
  margin: 0;
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-align: right;
  white-space: nowrap;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), color 0.025s ease;
}

.nav-item:hover {
  color: #888;
}

/* Staggered animation delays - entrance */
.nav-dropdown:hover .nav-item:nth-child(1) {
  transform: scaleY(1);
  transition-delay: 0.1s;
}

.nav-dropdown:hover .nav-item:nth-child(2) {
  transform: scaleY(1);
  transition-delay: 0.2s;
}

.nav-dropdown:hover .nav-item:nth-child(3) {
  transform: scaleY(1);
  transition-delay: 0.3s;
}

/* Staggered animation delays - exit (reverse order) */
.nav-dropdown:not(:hover) .nav-item:nth-child(1) {
  transition-delay: 0.2s;
}

.nav-dropdown:not(:hover) .nav-item:nth-child(2) {
  transition-delay: 0.1s;
}

.nav-dropdown:not(:hover) .nav-item:nth-child(3) {
  transition-delay: 0s;
}

/* Page Transition Styles */
.main-content {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}

.main-content.page-transitioning {
  opacity: 0;
  transform: translateY(20px);
}

.page-loading {
  position: relative;
}

.page-loading::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.01);
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.page-loading.active::after {
  opacity: 1;
}

/* Smooth page load animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.main-content.page-loaded {
  animation: fadeInUp 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.nav-logo h2 {
  color: #2563eb;
  font-weight: 700;
  font-size: 1.5rem;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: #2563eb;
}

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

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

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background-color: #333;
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding-top: 70px;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.highlight {
  color: #fbbf24;
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.hero-description {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.8;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.btn {
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background: #fbbf24;
  color: #1f2937;
}

.btn-primary:hover {
  background: #f59e0b;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(251, 191, 36, 0.3);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background: white;
  color: #1f2937;
  transform: translateY(-2px);
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.profile-placeholder {
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  color: rgba(255, 255, 255, 0.3);
  border: 3px solid rgba(255, 255, 255, 0.2);
}

/* Section Styles */
.section {
  padding: 0px 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  color: #000000;
  position: relative;
}

/* About Section */
.about-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-text p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #4b5563;
  line-height: 1.8;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.stat {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.stat h3 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2563eb;
  margin-bottom: 0.5rem;
}

.stat p {
  color: #6b7280;
  font-weight: 500;
}

/* Experience Section */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: #e5e7eb;
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
}

.timeline-item:nth-child(odd) {
  flex-direction: row;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-marker {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  background: #2563eb;
  border-radius: 50%;
  border: 4px solid white;
  box-shadow: 0 0 0 4px #e5e7eb;
  z-index: 2;
}

.timeline-content {
  width: 45%;
  padding: 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.timeline-item:nth-child(odd) .timeline-content {
  margin-left: auto;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-right: auto;
}

.timeline-content h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.timeline-content h4 {
  font-size: 1.1rem;
  color: #2563eb;
  margin-bottom: 0.5rem;
}

.timeline-date {
  color: #6b7280;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.timeline-content p {
  color: #4b5563;
  line-height: 1.6;
}

/* Skills Section */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}

.skill-category h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 2rem;
  text-align: center;
}

.skill-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.skill-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.skill-name {
  font-weight: 500;
  color: #374151;
}

.skill-bar {
  height: 8px;
  background: #e5e7eb;
  border-radius: 4px;
  overflow: hidden;
}

.skill-progress {
  height: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 4px;
  width: 0;
  transition: width 1.5s ease;
}

/* Projects Section */
.projects-grid {
  display: flex;
  flex-direction: column;
  max-width: 100%;
  margin: 0;
}

.project-card {
  background: transparent;
  border-radius: 0;
  padding: 2rem 0;
  border: none;
  border-bottom: 1px solid #1a1a1a;
  transition: opacity 0.2s ease;
  position: relative;
}

.project-card:last-child {
  border-bottom: none;
}

.project-card:hover {
  opacity: 0.8;
}

.project-content h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.project-title {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.project-title:hover {
  color: #ccc;
}

.project-title::after {
  display: none !important;
}

.project-content a {
  text-decoration: none;
}

.project-content a::after {
  display: none !important;
}

.project-content p {
  color: #ccc;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.project-tech span {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

.project-links {
  display: flex;
  gap: 1rem;
}

.project-link {
  text-decoration: none;
  color: #2563eb;
  font-weight: 500;
  transition: color 0.3s ease;
}

.project-link:hover {
  color: #1d4ed8;
}

/* Contact Section */
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-info h3 {
  font-size: 1.8rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 1rem;
}

.contact-info p {
  color: #6b7280;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.contact-details {
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  color: #374151;
}

.contact-item i {
  color: #2563eb;
  width: 20px;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 50px;
  height: 50px;
  background: #2563eb;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: #1d4ed8;
  transform: translateY(-3px);
}

.contact-form {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #2563eb;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: #2563eb;
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
}

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

.back-to-top:hover {
  background: #1d4ed8;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: white;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 2rem 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-buttons {
    justify-content: center;
    flex-wrap: wrap;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

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

  .timeline-item {
    flex-direction: row !important;
  }

  .timeline-marker {
    left: 20px;
  }

  .timeline-content {
    width: calc(100% - 60px);
    margin-left: 60px !important;
  }

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

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

  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .profile-placeholder {
    width: 200px;
    height: 200px;
    font-size: 3rem;
  }
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.6s ease;
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.6s ease;
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Loading animation for skill bars */
@keyframes skillProgress {
  from {
    width: 0;
  }
  to {
    width: var(--progress-width);
  }
}

.skill-progress.animate {
  animation: skillProgress 1.5s ease forwards;
}

.resume-container {
  display: flex;
  min-height: 100vh;
  background: #000000;
  position: relative;
  padding-top: 150px;
}

.sidebar {
  position: sticky;
  left: 0;
  top: 15px;
  width: 360px;
  height: calc(100vh - 30px);
  background: #000000;
  padding: 40px 30px;
  overflow: hidden;
  z-index: 5;
  align-self: flex-start;
}

.sidebar-content {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.sidebar-section {
  margin-bottom: 2rem;
  padding: 2rem 0;
}

.sidebar-section.about {
  border-top: 1px solid #1a1a1a;
  padding-top: 2rem;
}

.sidebar-section.about p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #ccc;
}

.sidebar-section.contact {
  margin-top: 100px;
  font-size: 0.3rem;
}

.contact-item:first-child {
  border-top: 1px solid #1a1a1a;
  padding-top: 0.8rem;
}

/* About Content Styling */
.about-content {
  max-width: 100%;
  line-height: 1.7;
}

.about-content p {
  color: #d1d1d1;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.about-content p:last-child {
  margin-bottom: 0;
}

.contact-item {
  margin-bottom: 0.8rem;
  padding-bottom: 0.8rem;
}

.contact-item:not(:last-child) {
  border-bottom: 1px solid #1a1a1a;
}

.contact-item a {
  color: #ccc;
  text-decoration: none;
  font-size: 0.9rem;
}

.contact-item a:hover,
.contact-item a:focus {
  color: #fff;
  text-decoration: underline;
}

.main-content {
  flex: 1;
  padding: 40px 50px;
  background: #000000;
  min-height: calc(100vh - 150px);
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
  position: relative;
}

.main-content::before {
  content: "";
  position: absolute;
  left: 0;
  top: 40px;
  bottom: 40px;
  width: 1px;
  background: #000000;
  z-index: 1;
}

.section-title {
  font-size: 1.2rem;
  font-size: small;
  font-weight: 600;
  color: #b3b3b3;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 40px;
  border-top: 1px solid #1a1a1a;
  padding: 12px 0;
  text-align: left;
}

.exp-list {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.exp-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 32px;
}

.exp-item:not(:last-child) {
  border-bottom: 1px solid #1a1a1a;
  margin-bottom: 40px;
}

.exp-header {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.exp-role {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
}

.exp-company {
  color: #b3b3b3;
  font-size: 1rem;
  font-weight: 400;
}

.exp-link a {
  color: #f3f3f3;
  text-decoration: none;
  margin-left: 2px;
  transition: color 0.2s, text-decoration-color 0.2s;
}

.exp-link a:hover,
.exp-link a:focus {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: #fff;
}

.exp-date,
.exp-location {
  color: #888;
  font-size: 0.95rem;
}

.exp-details {
  margin-top: 8px;
  margin-left: 0;
  padding-left: 20px;
  color: #d1d1d1;
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.skills-columns {
  display: flex;
  gap: 64px;
}

.skills-col {
  flex: 1;
}

.skills-col h4 {
  color: #b3b3b3;
  font-size: 1.05rem;
  font-weight: 600;
  margin: 24px 0 8px 0;
  letter-spacing: 0.03em;
}

.skills-col ul {
  list-style: disc inside;
  color: #d1d1d1;
  margin-bottom: 0;
  padding-left: 1em;
}

.skills-col ul li {
  margin-bottom: 6px;
  font-size: 1rem;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: #232323;
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: opacity 0.3s, background 0.2s, transform 0.2s;
  z-index: 1000;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}
.back-to-top:hover {
  background: #7dd3fc;
  color: #000000;
  transform: translateY(-4px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .resume-container {
    flex-direction: column;
    padding-top: 0;
  }

  .page-header {
    position: static;
    width: 100%;
    padding: 32px 24px;
    flex-direction: column;
    align-items: flex-start;
  }

  .header-nav {
    margin-top: 20px;
    align-self: flex-end;
  }

  .sidebar {
    width: 100%;
    min-height: unset;
    position: static;
    top: unset;
    padding: 32px 24px;
    height: auto;
  }

  .main-content {
    padding: 32px 16px;
  }

  .skills-columns {
    flex-direction: column;
    gap: 32px;
  }
}

@media (max-width: 600px) {
  .page-header {
    padding: 24px 16px;
  }

  .header-info {
    gap: 15px;
  }

  .profile-image {
    width: 50px;
    height: 50px;
  }

  .header-text h1 {
    font-size: 1.3rem;
  }

  .header-text h2 {
    font-size: 0.9rem;
  }

  .sidebar {
    padding: 24px 16px;
  }

  .main-content {
    padding: 16px;
  }

  .section-title {
    font-size: 1rem;
    margin-bottom: 20px;
  }
}

a,
.contact-item a,
.exp-link a {
  color: #f3f3f3;
  text-decoration: none !important;
  position: relative;
  transition: color 0.2s;
}

a:visited,
a:active,
a:focus,
a:hover,
.contact-item a:visited,
.contact-item a:active,
.contact-item a:focus,
.contact-item a:hover,
.exp-link a:visited,
.exp-link a:active,
.exp-link a:focus,
.exp-link a:hover {
  text-decoration: none !important;
}

a:not(.nav-item)::after,
.contact-item a::after,
.exp-link a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: #fff;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 1px;
  pointer-events: none;
}

a:hover,
a:focus,
.contact-item a:hover,
.contact-item a:focus,
.exp-link a:hover,
.exp-link a:focus {
  color: #fff;
}

a:not(.nav-item):hover::after,
a:not(.nav-item):focus::after,
.contact-item a:hover::after,
.contact-item a:focus::after,
.exp-link a:hover::after,
.exp-link a:focus::after {
  width: 100%;
}
