/* General Styles */
body {
  font-family: 'Inter', sans-serif;
  scroll-behavior: smooth;
}

/* Navbar */
.navbar-nav .nav-link {
  font-weight: 500;
  color: #111;
  transition: color 0.3s ease;
}
.navbar-nav .nav-link:hover {
  color: #0d6efd;
}
.dropdown-menu {
  border-radius: 0.5rem;
  min-width: 220px;
  padding: 0.5rem 0;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}
.dropdown-item:hover {
  background-color: #f2f6ff;
  color: #0d6efd;
}
.auth-buttons .btn {
  font-weight: 600;
  border-radius: 0.5rem;
  padding: 0.5rem 1.5rem;
  transition: all 0.3s ease;
}
.auth-buttons .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.btn-gradient {
  background: linear-gradient(90deg,#0d6efd,#6610f2);
  color: #fff;
  border: none;
}
.btn-gradient:hover {
  background: linear-gradient(90deg,#6610f2,#0d6efd);
}

/* Hero Section */
.hero {
  padding: 100px 0;
  overflow: hidden;
  background: linear-gradient(135deg, #7494c3 0%, #6610f2 100%);
  position: relative;
}
.hero-title {
  font-size: 3rem;
  line-height: 1.2;
}
.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 30px;
}
.hero-btn {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease 0.3s;
}
.hero-btn.visible {
  opacity: 1;
  transform: translateY(0);
}
.hero-img {
  max-width: 80%;
  transition: transform 2s ease-in-out;
}
.floating {
  animation: floatCloud 6s ease-in-out infinite alternate;
}
@keyframes floatCloud {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-20px); }
}

/* Footer */
/* Footer */
.footer-link {
  text-decoration: none;   /* remove underline */
  font-weight: 500;
  transition: color 0.2s ease;
}
.footer-link:hover {
  color: #0d6efd;          /* highlight color */
  text-decoration: none;   /* keep underline off on hover */
}

footer .text-muted {
  color: #adb5bd !important; /* softer gray instead of dull muted */
}

/* Show loader immediately */
#loader {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: #007bff url('/front/images/favicon.png') no-repeat center center;
    background-size: 80px 80px;
    transition: opacity 1s ease;
}


/* Hide body until loader fade */
body {
    opacity: 0;
    transition: opacity 1s ease;
}
body.loaded {
    opacity: 1;
}

/* Go to top button */
#goTopBtn {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 100;
    font-size: 18px;
    background-color: #ffffff;
    color: #007bff;
    border: none;
    padding: 12px 16px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}
#goTopBtn:hover {
    background-color: #e6e6e6;
}

/* Sticky navbar */
.navbar.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    transition: all 0.3s;
}