html {
  font-size: 14px;
}

.pb-3 {
    margin-bottom: 100px !important;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }

  .pb-3 {
      margin-bottom: 300px !important;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 0;
  padding-bottom: 200px; /* Ensure space for footer */
}

.navbar {
    min-height: 100px;
    background-color: #33477d !important;
}

.navbar-toggler {
    margin: 0 auto;
}

.navbar-toggler-icon {
    color: red !important;
}

.navbar-collapse {
    text-align: center;
}

.nav-item {
    margin: 0 20px;
    color: black !important;
}

.dropdown-item {
    color: black !important;
}

.nav-item a {
    font-size: 20px;
    font-family: "Nunito", sans-serif;
    font-weight: 800;
    color: white !important;
    
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-height: 120px;
    background-color: white !important;
    flex-wrap: wrap;
}

.top-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-top: 30px;
}

.top-bar img {
    width: auto;
    height: 80px;
}

.button-group {
    padding-right: 30px;
    display: flex;
    gap: 10px;
}

.button-text {
    margin-top: 5px;
    font-size: 14px;
    color: white;
    padding-right: 30px;
}

.top-bar button {
    height: 50px;
    background: #008080;
    color: white;
    font-size: 22px;
    font-family: "Nunito", sans-serif;
    border-radius: 10px;
    white-space: nowrap;
    padding: 0 15px;
}

.top-bar p {
    font-size: 22px;
    font-family: "Nunito", sans-serif;
}

/* Main Content Container */
.no-container {
    width: 100%;
    height: auto !important;
    margin-bottom: 200px;
}

.navbar-toggler-icon {
    filter: brightness(0) invert(1);
}

.navbar-toggler {
    border-color: white;
}

.nlcf-logo {
    margin-top: 50px;
}

.nlcf-logo img {
    width: 250px;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    body {
        padding-bottom: 250px; /* More space for mobile footer */
    }

    .top-bar {
        padding: 15px;
        flex-direction: column;
        align-items: center;
        text-align: center;
        max-height: none;
    }

    .top-right {
        align-items: center;
        margin-top: 20px;
    }

    .top-bar img {
        width: 100% !important;
    }

    .button-group {
        flex-direction: column;
        gap: 10px;
        width: 100%;
        max-width: 300px;
    }

    .top-bar button {
        width: 100%;
        font-size: 18px;
        height: 45px;
    }

    .button-text {
        font-size: 16px;
        margin-top: 10px;
    }

    .navbar-collapse {
        padding: 1rem 0;
    }

    .navbar-nav {
        align-items: center;
    }

    .nav-item {
        margin: 10px 0;
    }

    .no-container {
        min-height: calc(100vh - 500px);
        padding-bottom: 350px !important;
    }

    .top-right {
        display: none;
    }

    .dropdown-menu li {
        text-align: center;
    }

    .no-container {
        margin-bottom: 400px;
    }

    nlcf-logo {
        text-align: center;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    body {
        padding-bottom: 300px; /* Even more space for small mobile */
    }

    .top-bar {
        padding: 10px;
    }

    .top-bar img {
        width: 100px;
    }

    .top-bar button {
        font-size: 16px;
        height: 40px;
    }

    .button-text {
        font-size: 14px;
    }

    .no-container {
        min-height: calc(100vh - 550px);
        padding-bottom: 80px;
    }

    nlcf-logo {
        text-align: center;
    }
}

/* Footer Styles */
.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: #33477d !important;
    padding: 2rem 0;
}

.footer i, .footer span, .footer p, .footer a {
    color: white;
}

.footer-sections {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-section {
    flex: 1;
    min-width: 200px;
}

.footer-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
    font-family: "Nunito", sans-serif;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-link {
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-family: "Nunito", sans-serif;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #80c8d1;
    text-decoration: none;
}

.footer-contact-items {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 16px;
    font-family: "Nunito", sans-serif;
}

.footer-item i {
    width: 20px;
    text-align: center;
}

.footer-socials {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: #80c8d1;
    color: white;
    transform: translateY(-2px);
}

/* Mobile Footer Responsive */
@media (max-width: 768px) {
    .footer-sections {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-section {
        min-width: 100%;
    }

    .footer-title {
        font-size: 20px;
    }

    .footer-socials {
        justify-content: center;
    }

    .footer-contact-items {
        align-items: center;
    }

    .footer-item {
        justify-content: center;
    }
}
