body,
html {
  overflow-x: hidden;
  width: 100%;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
header {
  position: sticky;
  top: 0;
  z-index: 1020;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background-color: rgba(var(--bs-body-bg-rgb), 0.8) !important;
}
.experience-box {
  border: 1px solid rgba(13, 110, 253, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.container {
  padding-left: 1rem;
  padding-right: 1rem;
}

.btn {
  border-radius: 20px !important;
  font-weight: 500;
  transition: all 0.25s ease !important;
  position: relative;
  overflow: hidden;
}

.btn:hover {
  transform: scale(1.04);
  letter-spacing: 0.3px;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  box-shadow: 0 4px 15px rgba(13, 110, 253, 0.2);
}

.btn-primary:hover {
  box-shadow: 0 8px 25px rgba(13, 110, 253, 0.5);
  background-color: #0d6efd;
}

.btn-outline-primary {
  border: 2px solid var(--bs-primary, #0d6efd);
  color: var(--bs-primary, #0d6efd);
  box-shadow: 0 2px 8px rgba(13, 110, 253, 0.1);
}

.btn-outline-primary:hover {
  color: white;
  background-color: var(--bs-primary, #0d6efd);
  box-shadow: 0 8px 25px rgba(13, 110, 253, 0.5);
  border-color: var(--bs-primary, #0d6efd);
}

.btn-outline-secondary {
  border-radius: 12px !important;
  border: 2px solid var(--bs-secondary, #6c757d);
  transition: all 0.25s ease !important;
}

.btn-outline-secondary:hover {
  box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3);
  transform: scale(1.03);
}

.skill-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background-color: var(--bs-body-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.25s ease;
  padding: 10px;
  cursor: pointer;
  border: none;
  background: var(--bs-body-bg);
}

.skill-circle img {
  width: 50px;
  height: 50px;
  margin-bottom: 8px;
  transition: filter 0.25s ease;
}

.skill-circle span {
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 0.25s ease;
}

.skill-circle:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(13, 110, 253, 0.3);
  border-color: rgba(13, 110, 253, 0.2);
}

.skill-circle:hover img {
  filter: drop-shadow(0 0 12px rgba(13, 110, 253, 0.8)) brightness(1.15);
}

.nav-link {
  position: relative;
  color: var(--bs-body-color) !important;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--bs-primary, #0d6efd),
    transparent
  );
  transform: translateX(-50%);
  transition: width 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-link:hover {
  color: var(--bs-primary, #0d6efd) !important;
}

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

.timeline {
  position: relative;
  padding-left: 30px;
  border-left: 3px solid var(--bs-primary, #0d6efd);
}

.timeline-item {
  position: relative;
  margin-bottom: 25px;
}

.timeline-dot {
  display: none;
}
.form-control,
.form-select {
  border-radius: 12px;
  border: 2px solid rgba(13, 110, 253, 0.2);
  transition: all 0.25s ease;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--bs-primary, #0d6efd);
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.form-control:hover,
.form-select:hover {
  border-color: rgba(13, 110, 253, 0.4);
}
.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-content {
  border-radius: 20px;
  border: none;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.modal-header {
  border-bottom: 2px solid rgba(13, 110, 253, 0.1);
  border-radius: 20px 20px 0 0;
}

.modal-body {
  border-radius: 0 0 20px 20px;
}

section {
  transition: background-color 0.3s ease;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

header {
  background: linear-gradient(
    135deg,
    var(--bs-body-bg) 0%,
    rgba(13, 110, 253, 0.02) 100%
  );
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

header:hover {
  box-shadow: 0 4px 20px rgba(13, 110, 253, 0.1);
}

a[href]:not(.nav-link):not(.btn) {
  transition: all 0.2s ease;
  position: relative;
}

a[href]:not(.nav-link):not(.btn):hover {
  color: var(--bs-primary, #0d6efd);
}
.timeline-content {
  transition: all 0.3s ease;
  cursor: pointer;
}

.timeline-content:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(13, 110, 253, 0.3) !important;
}

.experience-box {
  box-shadow: 0 4px 12px rgba(0, 191, 255, 0.2);
  transition: all 0.3s ease;
  cursor: pointer;
}

.experience-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(13, 110, 253, 0.3) !important;
}
[data-bs-theme="dark"] .btn {
  transition: all 0.25s ease;
}
@media (hover: none) and (pointer: coarse) {
  .btn:hover,
  .skill-circle:hover,
  .nav-link:hover,
  a:hover {
    transform: none;
  }

  .btn:active {
    transform: scale(0.98);
  }
}
.btn-sm {
  padding: 0.4rem 1rem !important;
  font-size: 0.875rem;
}

@media (min-width: 768px) {
  .btn-md-lg {
    padding: 0.65rem 1.5rem !important;
    font-size: 1rem;
  }
}

@media (max-width: 767.98px) {
  .btn-md-lg {
    padding: 0.5rem 1rem !important;
    font-size: 0.875rem;
  }
}
@media (max-width: 575.98px) {
  .skill-circle {
    width: 90px;
    height: 90px;
  }

  .skill-circle img {
    width: 40px;
    height: 40px;
  }

  .skill-circle span {
    font-size: 0.75rem;
  }
}
@media (hover: none) {
  .skill-circle:hover {
    transform: none;
  }
}

.project-actions .btn {
  padding: 10px 25px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
