/* style.css */

/* General Styles */
.bg-primary {
    background-color: #007bff;
    padding: 0.25rem 0;
}

.navbar {
    padding: 1rem 0;
    display: flex; /* Ensure navbar uses flexbox for stability */
    align-items: center; /* Vertically center items */
    justify-content: space-between; /* Distribute items evenly */
    width: 100%; /* Ensure it spans full width */
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

.card {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border: none;
}

.floating-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #007bff;
    padding: 0.25rem 0;
}

/* Hide the top bar text */
.hidden-text {
    display: none;
}

/* Top Bar */
.fs-6 {
    font-size: 1rem;
}

.text-uppercase {
    text-transform: uppercase;
}

.text-white {
    color: #fff;
}

.fw-semi-bold {
    font-weight: 600;
}

/* Navbar */
.navbar-brand {
    flex-shrink: 0; /* Prevent the logo container from shrinking */
}

.navbar-brand img {
    width: 150px; /* Set explicit width instead of max-width */
    height: 50px; /* Set explicit height (adjust to your logo's actual height) */
    object-fit: contain; /* Ensure the logo fits without distortion */
    display: block; /* Ensure it behaves as a block element */
}

.navbar-toggler .icon-bar {
    display: block;
    width: 22px;
    height: 2px;
    background-color: #333;
    margin: 4px 0;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link {
    padding: 0.5rem 1rem;
}

.dropdown-menu {
    border-radius: 0.25rem;
}

.dropdown-header {
    font-size: 0.875rem;
}

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
}

.btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

/* Hero Section */
.pt-18 {
    padding-top: 18rem;
}

.pb-18 {
    padding-bottom: 18rem;
}

/* Content Section */
.mt-n6 {
    margin-top: -6rem;
}

.mb-10 {
    margin-bottom: 10rem;
}

.rounded-3 {
    border-radius: 0.3rem;
}

.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,0.075);
}

.p-5 {
    padding: 3rem;
}

.text-center {
    text-align: center;
}

.mb-3 {
    margin-bottom: 1rem;
}

.text-muted {
    color: #6c757d;
}

.card-header {
    padding: 1rem 1.25rem;
}

.card-body {
    padding: 1.25rem;
}

.display-4 {
    font-size: 3.5rem;
}

.fw-bold {
    font-weight: 700;
}

.text-primary {
    color: #007bff;
}

.list-unstyled {
    list-style: none;
    padding-left: 0;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.d-flex {
    display: flex;
}

.text-success {
    color: #28a745;
}

.me-2 {
    margin-right: 0.5rem;
}

.btn-link {
    color: #007bff;
    text-decoration: none;
}

.btn-link:hover {
    text-decoration: underline;
}

.border-bottom {
    border-bottom: 1px solid;
}

.border-primary {
    border-color: #007bff;
}

.border-2 {
    border-width: 2px;
}

.fs-5 {
    font-size: 1.25rem;
}

/* FAQ Section */
.py-6 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.accordion .card {
    margin-bottom: 0.5rem;
}

.p-3 {
    padding: 1rem;
}

.card-body.border-top {
    border-top: 1px solid rgba(0,0,0,0.125);
}

/* Footer */
.footer {
    padding-top: 8rem;
    color: #212529;
}

.text-white-50 {
    color: rgba(33, 37, 41, 0.5);
}

.text-muted {
    color: #6c757d;
}

.text-inherit {
    color: inherit;
}

.text-md-end {
    text-align: right;
}

/* Custom Modal Styles */
.custom-modal {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    background: #ffffff;
}

.custom-modal .modal-header {
    background-color: #007bff;
    color: #fff;
    border-bottom: none;
    padding: 1.5rem;
}

.custom-modal .modal-title {
    font-size: 1.5rem;
    font-weight: 600;
}

.custom-modal .modal-body {
    padding: 2rem;
}

.custom-modal .form-control {
    color: #000 !important; /* Ensure text is black */
    border: 1px solid #ced4da;
    border-radius: 5px;
    padding: 0.75rem;
}

.custom-modal .form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

.custom-modal .form-label {
    font-weight: 500;
    color: #333;
}

.custom-modal .btn-primary {
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.custom-modal .btn-primary:hover {
    background-color: #0056b3;
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
    .text-md-end {
        text-align: center;
    }
    .navbar-nav .nav-link {
        padding: 0.5rem 0;
    }
    .d-grid {
        display: block;
    }
    .ms-lg-3 {
        margin-left: 0;
    }
    .mt-lg-0 {
        margin-top: 1rem;
    }
    .navbar {
        flex-direction: column; /* Stack items vertically on small screens */
        align-items: flex-start; /* Align items to the left */
    }
    .navbar-brand img {
        width: 120px; /* Slightly smaller logo on mobile */
        height: 40px; /* Adjust height proportionally */
    }
}