/* Ensure content is not hidden behind fixed navbar */
body {
  padding-top: 70px;
  font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: #f8f9fa;
}

/* Hero Section Styling */
.hero {
  height: 100vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 15px;
}

/* Hero Title */
.hero h1 {
  font-size: 3.8rem;
  font-weight: 800;
  color: #111;
  /* Deep black for contrast */
  letter-spacing: 1.2px;
  text-transform: uppercase;
  text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.5),
    2px 2px 5px rgba(255, 255, 255, 0.3);
}

/* Hero Subtitle */
.hero p {
  font-size: 1.7rem;
  font-weight: 700;
  color: #111;
  /* Softer black for balance */
  letter-spacing: 0.5px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4),
    1px 1px 4px rgba(255, 255, 255, 0.5);
}

/* Call-to-Action Button */
.hero a.btn {
  font-size: 1.3rem;
  font-weight: bold;
  padding: 14px 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, #0056D2 0%, #0041A8 100%);
  /* Professional blue gradient */
  color: #ffffff;
  text-transform: uppercase;
  border: none;
  transition: all 0.3s ease-in-out;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
  display: inline-block;
}

/* Button Hover Effect */
.hero a.btn:hover {
  background: linear-gradient(135deg, #0041A8 0%, #002F7D 100%);
  transform: translateY(-2px);
  box-shadow: 3px 3px 12px rgba(0, 0, 0, 0.3);
}

/* Button Active Effect */
.hero a.btn:active {
  transform: translateY(1px);
  box-shadow: 1px 1px 6px rgba(0, 0, 0, 0.2);
}


/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.8rem;
  }

  .hero p {
    font-size: 1.3rem;
  }
}


/* Navbar Styling */
.navbar {
  /* padding: 20px 24px; */
  padding: 8px 16px;
  background-color: #f8f9fa !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  font-family: 'Inter', 'Segoe UI', sans-serif;
}

/* Brand */
.navbar-brand {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: #0d6efd !important;
}

.navbar-brand span {
  margin-left: 10px;
}

/* Logo */
.nav-logo {
  max-height: 60px;
  width: auto;
  flex-shrink: 0;
  display: block !important;
  visibility: visible !important;
  position: relative;
  z-index: 10;
}

/* Nav Links */
.navbar-nav .nav-item .nav-link {
  font-size: 1.05rem;
  font-weight: 500;
  padding: 10px 16px;
  color: #333;
  transition: all 0.3s ease-in-out;
  border-radius: 6px;
}

.navbar-nav .nav-item .nav-link:hover,
.navbar-nav .nav-item .nav-link.active {
  color: #0d6efd;
  background-color: rgba(13, 110, 253, 0.08);
}

/* Language Selector */
#languageSwitcher {
  font-size: 0.95rem;
  padding: 6px 12px;
  margin-left: 1rem;
  border-radius: 5px;
  border: 1px solid #ced4da;
}

/* Admin Button (Optional) */
.navbar-nav .nav-item .btn-danger {
  font-weight: 600;
  background-color: #dc3545;
  border: none;
  font-size: 0.95rem;
  padding: 6px 14px;
  border-radius: 5px;
}

.navbar-nav .nav-item .btn-danger:hover {
  background-color: #b02a37;
}





.admin-link {
  border-radius: 50px;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.admin-link:hover {
  background-color: #ffffff;
  color: #000000 !important;
  text-decoration: none;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

/* Footer Styling */
.footer {
  width: 100%;
  margin-top: auto;
  background-color: #1e1e1e;
  color: #f8f9fa;
  padding: 40px 0;
  text-align: center;
}

/* Footer Logo */
.footer-logo {
  max-width: 150px;
  width: auto;
  height: auto;
  display: block;
  margin: 0 auto 5px auto;
  filter: drop-shadow(0px 0px 8px rgba(255, 255, 255, 0.5));
}

/* Footer Tagline */
/* Footer Tagline */
.tagline {
  font-size: 1.05rem;
  font-weight: 500;
  font-style: italic;
  opacity: 0.9;
  text-align: center;
  background: linear-gradient(90deg, #0d6efd, #20c997);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
  letter-spacing: 0.3px;
}


/* Social Media Icons */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 15px;
  flex-wrap: wrap;
}

/* Social Media Links */
.social-link {
  text-decoration: none;
  color: #ffffff;
  font-size: 18px;
  transition: all 0.3s ease-in-out;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.social-link i {
  font-size: 22px;
  visibility: visible;
  opacity: 1;
  margin: 0;
}

/* Hover Effects */
.social-link:hover {
  color: #ffffff;
  background-color: #0d6efd;
  transform: scale(1.1);
  box-shadow: 0 4px 8px rgba(13, 110, 253, 0.3);
}


/* Admin Connexion Link */
.admin-link {
  display: inline-block;
  margin-top: 15px;
  font-size: 16px;
  color: #0056b3;
  /* Deep Blue - Professional & Secure */
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s ease-in-out;
}

.admin-link i {
  margin-right: 5px;
}

.admin-link:hover {
  color: #003d80;
  /* Slightly Darker Blue on Hover */
  text-decoration: underline;
}


/* Connection Page Styling */
.connection-container {
  margin-top: 120px;
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 50px;
  background-color: #f8f9fa;
}

/* Connection Card */
.card {
  border-radius: 10px;
  background: #ffffff;
  border: none;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
}

/* Connection Logo */
.connection-logo {
  max-width: 150px;
  margin-bottom: 10px;
}

/* Form Elements */
.form-label {
  font-weight: 500;
}

.input-group-text {
  background: #f8f9fa;
  border-right: 0;
}

.form-control {
  border-radius: 5px;
  border-left: 0;
  padding: 10px;
  font-size: 14px;
}

/* Red Button for Admin Login */
.btn-danger {
  background-color: #3575dc;
  border: none;
  transition: 0.3s;
  font-weight: bold;
}

.btn-danger:hover {
  background-color: #3575dc;
}

/* Forgot Password */
.text-danger {
  text-decoration: none;
}

.text-danger:hover {
  text-decoration: underline;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

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

  .hero a.btn {
    font-size: 1.2rem;
    padding: 12px 24px;
  }

  .footer-logo {
    max-width: 120px;
  }

  .footer .row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .social-icons {
    justify-content: center;
    flex-direction: column;
    gap: 10px;
  }

  .social-link {
    justify-content: center;
  }

  .admin-link {
    margin-top: 10px;
  }

  /* Connection Logo */
  .connection-logo {
    max-width: 100px;
  }
}