body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
}

header {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #0c1b50;
    padding: 15px 20px;
    color: white;
}

.nav-links1 a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
}

.nav-links a.active {
    background-color: #002f6c;
    color: white;
    border-radius: 4px;
}

.login-section {
    display: flex;
    align-items: center;
}

.login-section input {
    margin: 0 5px;
    padding: 5px;
    border: none;
    border-radius: 3px;
}

.login-section button {
    background-color: #007BFF;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 3px;
}

.login-section button:hover {
    background-color: #0056b3;
}

.forgot-link {
    color: #bbb;
    text-decoration: none;
    margin-right: 10px;
}

.forgot-link:hover {
    text-decoration: underline;
}

/* Navbar Styles */
.navbar {
    display: flex;
    align-items: baseline;
    justify-content: center;
    background-color: white;
    padding: 15px 30px;
    color: white;
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.15);
    position: relative; /* ✅ Add this */
    z-index: 10;         /* Optional: boost its level just in case */
}


/* Logo */
.navbar img{
    width: 150px;
}

/* Nav Links */
.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    color: #0c1b50;
    margin: 0 20px;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    color: #0c1b50;
    text-decoration: none;
    padding: 10px;
    font-size: 16px;
    display: block;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
    z-index: 1000;
}

.dropdown-menu {
    position: absolute;
    background-color: white;
    top: 100%;
    left: 0;
    min-width: 200px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.15);
    padding: 10px 0;
    display: none;
    z-index: 9999;
}

.dropdown-menu li {
    width: 200px;
    text-decoration: none;
}

.dropdown-menu a {
    color: #0c1b50;
    padding: 12px;
    display: block;
}

.dropdown-menu a:hover {
    background-color: #f0f0f0;
}

/* Show Dropdown on Hover */
.dropdown:hover .dropdown-menu {
    display: block;
}

/* Open Account Button */
.open-account {
    background-color: #0c1b50;
    color: white;
    padding: 10px 15px;
    text-decoration: none;
    font-weight: bold;
}

.open-account:hover {
    background-color: #1b418e;
}

/* Default hide hamburger on desktop */
.hamburger {
display: none;
font-size: 28px;
cursor: pointer;
color: #0c1b50;
padding: 10px;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    margin: auto;
    overflow: hidden;
  }
  
  .slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
  }
  
  .slide {
    min-width: 100%;
    transition: opacity 0.5s ease-in-out;
  }
  
  .slide img {
    width: 100%;
    height: auto;
    display: block;
  }
  
  .slider-buttons {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 10;
  }
  
  .slider-buttons button {
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    padding: 12px;
    cursor: pointer;
    font-size: 18px;
  }
  

.header h1{
    margin: 10px 350px;
    font-size: 1.3rem;
    color: #0c1b50;
    font-weight: bold;
}

.help-cards{
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-bottom: 20px;
}

.help-card{
    text-align: center;
    width: 100%;
    max-width: 320px;
    flex: 1 1 300px;
    padding: 30px;
    transition: box-shadow 0.3s ease-in-out;
}

.help-card:hover{
    box-shadow: 0px 4px 6px rgba(0, 0, 0.4, 0.5);
}

.help-card img{
    width: 80px;
    margin: 20px auto;
}

.help-card h1{
    font-weight: bold;
    font-size: large;
    margin: 20px;
    color: #1b418e;
}

.help-card p{
    margin: 10px;
}

.help-card a{
    margin: 20px;
    color: #1b418e;
    position: relative;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.help-card a::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    left: 0;
    bottom: -4px;
    background-color: #1b418e;
    transition: width 0.3s ease-in-out;
}

.help-card a:hover::after {
    width: 100%;
}

.help-card a:hover {
    color: #0c1b50;
}

.financial-container {
    background-color: white;
    padding: 40px;
    text-align: center;
    margin: 40px auto;
    max-width: 1300px;
}

.financial-header {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

.financial-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.financial-card {
    padding: 30px;
    text-align: center;
    transition: background-color 0.3s ease-in-out;
}

.financial-card:hover{
    background-color: #f9f9f9;
}

.financial-card img {
    width: 80px;
    margin: 40px auto;
}

.financial-card h1 {
    font-size: 20px;
    margin-bottom: 30px;
}

.financial-card p {
    font-size: 14px;
    color: #555;
    margin-bottom: 30px;
}

.financial-card a {
    color: #007bff;
    text-decoration: none;
    font-size: 14px;
    position: relative;
    font-weight: 600;
    transition: color 0.3s ease;
}

.financial-card hr {
    margin-top: 10px;
    border: none;
    height: 2px;
    background-color: #ddd;
    width: 50px;
    margin-left: auto;
    margin-right: auto;
}

.financial-card a::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    background-color: #007bff;
    bottom: -4px;
    left: 0;
    transition: width 0.3s ease-in-out;
}

.financial-card a:hover::after {
    width: 100%;
}

.financial-card a:hover {
    color: #0056b3;
}

.footer {
    background-color: #0c1b50;
    color: white;
    padding: 30px 20px;
}

.footer-top{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto 20px;
}

.footer-nav,
.footer-links{
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    font-weight: bold;
    margin-bottom: 10px;
}

.footer-nav a,
.footer-links a{
    color: white;
    text-decoration: none;
}

.footer-text {
    font-size: 14px;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.6;
    padding: 0 10px;
}
.footer-icons {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 15px;
}
.footer-icons i {
    font-size: 24px;
    cursor: pointer;
}

/* Hide .nav-links1 on small screens */
@media (max-width: 768px) {
    .nav-links1 {
      display: none !important;
    }
  
    .navbar {
      flex-direction: column;
      align-items: flex-start;
    }
  
    .hamburger {
      display: block;
      font-size: 28px;
      cursor: pointer;
      color: #0c1b50;
      padding: 10px;
    }
    
    .help-cards{
      flex-direction: column;
      align-items: center;
    }
    
    .help-card{
        width: 90%;
    }
    
    .financial-container {
        padding: 20px;
    }
    
    .financial-header {
        font-size: 20px;
    }
    
    .financial-card{
        padding: 20px;
    }
    
    .financial-card h1{
        font-size: 18px;
    }
  
    .nav-links {
      display: none;
      flex-direction: column;
      width: 100%;
      background-color: white;
      padding: 10px 0;
      margin: 0;
      box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }
  
    .nav-links.active {
      display: flex;
    }
  
    .nav-links li {
      padding: 10px 20px;
    }
  
    .open-account {
      margin-top: 10px;
    }
    
    .footer-top{
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-links,
    .footer-nav{
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-icons{
        justify-content: center;
        margin-top: 15px;
    }
    
    .footer-text{
        padding: 0 15px;
        font-size: 13px;
    }
  }
 
 