/* HERO SECTION */
.hero {
  background: url('https://images.unsplash.com/photo-1563013544-824ae1b704d3?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
  height: 70vh;
  display: flex;
  align-items: center;
  position: relative;
  color: white;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(10, 61, 145, 0.55);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.login-card {
  background: #fff;
  color: #000;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  padding: 1.5rem;
  width: 340px;
}

.login-card h5 {
  font-weight: 600;
  margin-bottom: 1rem;
  color: #0a3d91;
}

.login-card .nav-tabs .nav-link {
  border: none;
  color: #0a3d91;
  font-weight: 600;
}

.login-card .nav-tabs .nav-link.active {
  background-color: #0a3d91;
  color: #fff;
  border-radius: 4px;
}

.login-card a {
  color: #0a3d91;
  text-decoration: none;
  display: block;
  margin-top: 0.4rem;
  font-size: 0.9rem;
}

.login-card a:hover {
  text-decoration: underline;
}

.hero-content {
  color: #fff;
  padding-left: 2rem;
}

.hero-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

.hero-content p {
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.btn-primary {
  background-color: #0062ff;
  border: none;
  font-weight: 600;
  padding: 0.7rem 1.5rem;
}

.btn-primary:hover {
  background-color: #004fcc;
}

/* RESPONSIVE DESIGN */
@media (max-width: 992px) {
  .menu-toggle {
    display: block;
  }

  .brand-links {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    background-color: #214ce2;
    width: 100%;
    padding: 1rem 2rem;
    position: absolute;
    top: 100%;
    left: 0;
  }

  .brand-links.active {
    display: flex;
    animation: slideDown 0.4s ease forwards;
  }

  @keyframes slideDown {
    from {opacity: 0; transform: translateY(-10px);}
    to {opacity: 1; transform: translateY(0);}
  }

  /* --- HERO MOBILE FIXES --- */
  .hero {
    height: auto;
    padding: 3.5rem 1.5rem 3rem;
    text-align: center;
    justify-content: center;
  }

  .hero-content {
    text-align: center;
    padding: 0 1rem;
    max-width: 90%;
    margin: 0 auto;
  }

  .hero-content h1 {
    font-size: 1.85rem;
    line-height: 1.3;
    margin-bottom: 0.8rem;
  }

  .hero-content p {
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
  }

  .btn-primary {
    font-size: 0.9rem;
    padding: 0.6rem 1.3rem;
  }

  .login-card {
    display: none;
  }
}

@media (max-width: 576px) {
  .hero {
    padding: 3rem 1rem 2.5rem;
  }

  .hero-content h1 {
    font-size: 1.7rem;
  }

  .hero-content p {
    font-size: 0.9rem;
  }
}



    /* ....................................................................................... */


    /* --- GENERAL SECTION STYLING --- */
.info-section {
  background-color: #f5f7fb;
  padding: 2.5rem 0;
}

.info-card {
  background-color: #fff;
  display: flex;
  align-items: center;
  padding: 2rem;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  margin-bottom: 2rem;
}

.info-icon {
  flex-shrink: 0;
  background-color: #214ce2;
  color: #fff;
  border-radius: 50%;
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-right: 1.5rem;
}

.info-content h3 {
  font-weight: 700;
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  color: #1d1d1d;
}

.info-content p {
  font-size: 0.97rem;
  color: #333;
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* --- BUTTONS --- */
.info-content .btn-primary {
  background-color: #214ce2;
  border: none;
  padding: 0.6rem 1.4rem;
  font-weight: 600;
  border-radius: 4px;
  transition: background 0.3s;
}

.info-content .btn-primary:hover {
  background-color: #0a3d91;
}

.logon-link {
  color: #214ce2;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid #ddd;
  display: inline-block;
  padding: 0.6rem 1.2rem;
  margin-top: 0.4rem;
  border-radius: 4px;
}

.logon-link:hover {
  background-color: #f0f3ff;
  text-decoration: underline;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 768px) {
  .info-card {
    flex-direction: column;
    text-align: center;
  }

  .info-icon {
    margin-bottom: 1rem;
    margin-right: 0;
  }
}


/* ....................................................................................... */


/* --- BENEFITS SECTION --- */
.benefits-section {
  background-color: #f5f7fb;
  padding: 3rem 0;
}

.benefit-card {
  background: #fff;
  border-radius: 6px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  height: 100%;
}

.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.1);
}

.benefit-icon {
  background-color: #214ce2;
  color: #fff;
  font-size: 1.8rem;
  border-radius: 8px;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem auto;
}

.benefit-card h4 {
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  color: #1d1d1d;
}

.benefit-card p {
  color: #333;
  font-size: 0.95rem;
  margin-bottom: 1.4rem;
}

.btn-outline {
  border: 1px solid #214ce2;
  color: #214ce2;
  text-decoration: none;
  font-weight: 600;
  padding: 0.6rem 1.4rem;
  border-radius: 4px;
  display: inline-block;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background-color: #214ce2;
  color: #fff;
}

/* --- LEGAL SECTION --- */
.legal-section {
  background-color: #f5f7fb;
  padding: 2.5rem 0;
}

.legal-section .container {
  background: #fff;
  padding: 2rem 2.5rem;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.legal-section h3 {
  font-weight: 700;
  color: #1d1d1d;
  margin-bottom: 1rem;
}

.legal-section p {
  color: #333;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
  .benefit-card {
    margin-bottom: 1.5rem;
  }
}

/* ....................................................................................... */


/* --- FOOTER --- */
.site-footer {
  background-color: #214ce2;
  color: #fff;
  font-family: "Segoe UI", sans-serif;
  margin-top: 2rem;
}

/* Upper text section */
.footer-top {
  padding: 2rem 2.5rem;
}

.footer-top h5 {
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.footer-top p {
 
  margin: 0 auto;
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0.95;
}



/* Bottom contact + social strip */
.footer-bottom {
  background-color: #0f2e91;
  color: #fff;
  padding: 0.9rem 2rem;
  font-size: 0.95rem;
}

.footer-bottom .contact-info span {
  display: inline-block;
}

.footer-bottom i {
  color: #fff;
}

.social-links a {
  color: #fff;
  font-size: 1.1rem;
  margin-left: 1rem;
  transition: color 0.3s;
}

.social-links a:hover {
  color: #dce4ff;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.8rem;
  }
  .footer-bottom .contact-info span {
    display: block;
    margin-bottom: 0.4rem;
  }
  .site-footer p{
    text-align: left;
  }
  .site-footer h5{
    text-align: left;
  }
}


/* ....................................................................................... */



/* --- LEGAL SECTION (used on Help Page) --- */
.legal-section {
  background-color: #f5f7fb;
  padding: 2.5rem 0;
}

.legal-section .container {
  background: #fff;
  padding: 2rem 2.5rem;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.legal-section h3 {
  font-weight: 700;
  color: #333;
  margin-bottom: 1rem;
}

.legal-section p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* ensures it's visually separate from Help section */
.help-section {
  margin-bottom: 2rem;
}
