/* Custom CSS - Minimal overrides, using Bootstrap classes primarily */
:root {
  --bs-info: #2b9eff;
  --bs-info-rgb: 43, 158, 255;
}

body {
  font-family: 'Inter', sans-serif;
  scroll-behavior: smooth;
}

/* Smooth scroll offset for fixed header */
html {
  scroll-padding-top: 80px;
}

/* Card hover effects */
.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
}

/* Progress bar styling */
.progress {
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.1);
}
.progress-bar {
  border-radius: 10px;
  transition: width 1.5s ease;
}

/* Mobile aside menu toggle icon rotation */
.toggle-icon {
  transition: transform 0.3s ease;
}
.collapse.show + .toggle-icon,
[aria-expanded="true"] .toggle-icon {
  transform: rotate(180deg);
}

/* Offcanvas custom styling */
.offcanvas {
  border-right: 2px solid var(--bs-info);
}

/* Navbar link hover effects */
.nav-link {
  transition: color 0.2s ease;
}
.nav-link:hover {
  color: var(--bs-info) !important;
}

/* Dropdown menu styling */
.dropdown-menu {
  margin-top: 0.5rem;
  border: 1px solid rgba(43, 158, 255, 0.3);
}
.dropdown-item:hover {
  background-color: rgba(43, 158, 255, 0.2);
  color: var(--bs-info);
}

/* Button hover animations */
.btn {
  transition: all 0.3s ease;
}
.btn-info:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(43, 158, 255, 0.4);
}
.btn-outline-info:hover {
  transform: translateY(-2px);
}

/* Form input focus */
.form-control:focus, .input-group-text:focus {
  border-color: var(--bs-info);
  box-shadow: 0 0 0 0.2rem rgba(43, 158, 255, 0.25);
  outline: none;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #0a0c12;
}
::-webkit-scrollbar-thumb {
  background: var(--bs-info);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: #1a7acc;
}

/* Section animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

section {
  animation: fadeInUp 0.6s ease-out forwards;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .display-3 {
    font-size: 2.5rem;
  }
  .display-4 {
    font-size: 2rem;
  }
  .btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }
  .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}

/* Smooth scroll to top button */
#scrollToTop {
  transition: all 0.3s ease;
}
#scrollToTop:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(43, 158, 255, 0.4);
}