body {
    background: #f8f9fa;
    font-family: 'Metropolis', sans-serif;
    
}
/* Navbar styles */
.navbar.custom-navbar {
    background-color: rgba(0, 0, 0, 0.1) !important;
    padding: 0.5rem 1rem;
    transition: top 0.3s ease-in-out, background-color 0.3s ease, color 0.3s ease;
}

.navbar.custom-navbar:hover {
    background-color: rgb(235, 230, 230)!important;
}

.navbar-brand img {
    height: 50px;
    max-width: 100%;
}

.navbar-nav {
    margin: 0;
    display: flex;
    justify-content: space-between; /* Distribute nav items evenly */
    align-items: center;
    width: 100%;
    flex-wrap: nowrap;
}

.navbar-nav .nav-item {
    flex-shrink: 0; /* Prevent shrinking */
    margin: 0 0.5rem; /* Adjust spacing between items */
}

.navbar-nav .nav-link {
    padding: 0.5rem 0.25rem;
    font-size: 20px;
    font-family: "metropolis", sans-serif;
    color: white!important;
    transition: color 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    white-space: nowrap; /* Prevent text from wrapping */
}

.navbar.custom-navbar:hover .nav-link,
.navbar.custom-navbar.menu-open .nav-link {
    color: black !important;
}

.navbar-nav .nav-link:hover::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: red;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 0, 0, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    /* Set the color of the hamburger menu lines to black */
}

.navbar-toggler:hover .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 0, 0, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    /* Ensure the hamburger menu stays black on hover */
}

.navbar-toggler:hover {
    border: 2px solid black; /* Optional: Add a border around the hamburger menu on hover */
}

@media (max-width: 1199.98px) {
    .navbar-nav .nav-link {
        font-size: 0.9rem;
        padding: 0.5rem 0.2rem;
    }

    .navbar-nav .nav-item {
        margin: 0 0.2rem; /* Adjust spacing for smaller screens */
    }
}

@media (max-width: 991.98px) {
    .navbar.custom-navbar {
        background-color: transparent !important;
    }

    .navbar.custom-navbar.menu-open {
        background-color: rgb(235, 230, 230)!important;
    }

    .navbar.custom-navbar.menu-open .nav-link {
        color: black !important;
    }
    
    .navbar-nav {
        flex-direction: column;
        align-items: flex-start;
    }

    .navbar-nav .nav-item {
        margin: 0.25rem 0;
    }

    .navbar-brand img {
        height: 40px;
    }

    .navbar-nav .nav-link {
        font-size: 0.9rem;
    }
}

@media (max-width: 575.98px) {
    .navbar-brand img {
        height: 30px;
    }

    .navbar-nav .nav-link {
        font-size: 0.8rem;
    }
}

.login-icon {
    width: 20px;
    margin-right: 5px;
}

.dropdown-menu-custom {
    display: none;
    flex-direction: column;
    padding: 15px;
    width: auto;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    position: absolute; /* Ensures correct positioning */
    z-index: 1000; /* Ensures it appears above other content */
}

.dropdown-item-custom {
    display: flex;
    flex-direction: row; /* Keep image and text stacked vertically */
    align-items: center;
    margin-top: 5px 0; /* Increase margin between items */
}

.dropdown-image {
    width: 200px; /* Increase the image size */
    height: 100px; /* Increase the image size */
    margin-right: 10px; /* Space between image and text */
}

.dropdown-item {
    text-align: left;
    color: black;
    font-size: 1rem; /* Increase the text size */
}

.dropdown-item:hover {
    background-color: #f8f9fa !important;
    color: red;
    border-radius: 5px; /* Optional: add rounding on hover */
    transition: background-color 0.3s ease;
}

.header {
    background: url('../images/wh/forfaqpage.jpg') no-repeat center center fixed; /* Added fixed to create parallax */
    background-size: cover;
    color: white;
    padding: 220px 0;
    text-align: center;
    position: relative;
}

.header-content {
    background-color: rgba(0, 0, 0, 0.5); /* Add background color with transparency */
    padding: 20px;
    max-width: 600px;
    margin-left: auto; /* Center the content horizontally */
    margin-right: auto; /* Center the content horizontally */
}

.header h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.header p {
    font-size: 1.3rem;
    margin-bottom: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}
/* Define the fade-in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px); /* Slight upward translation */
    }
    to {
        opacity: 1;
        transform: translateY(0); /* Original position */
    }
}

/* Apply the fade-in animation to the header text */
.header h1, .header p {
    opacity: 0; /* Start hidden */
    animation: fadeIn 2s ease-out forwards; /* 2-second fade-in animation */
    animation-delay: 0.5s; /* Delay to start the animation */
}


.faq-section {
    padding: 60px 0;
}
.faq-section h4 {
    margin-bottom: 30px;
}


.accordion-button {
    text-align: left;
    font-weight: bold;
    padding-left: 1.5rem;
    background-color: #f8f9fa;
    border: none;
    outline: none;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
    border-radius: 8px; /* Add rounded corners */
}

.accordion-button:hover {
    background-color: #e2e6ea; /* Lighter grey on hover */
    transform: scale(1.02); /* Slightly increase size */
    border-radius: 8px; /* Ensure rounded corners on hover */
}

.accordion-button:not(.collapsed) {
    background-color: #6c757d; /* Dark grey background when expanded */
    color: white;
    border-radius: 8px; /* Keep rounded corners when expanded */
}

.accordion-collapse {
    background-color: #fff; /* Keep answer background white */
    border-radius: 0 0 8px 8px; /* Rounded corners on the bottom part */
}

.card-body {
    background-color: #fff;
    border-radius: 0 0 8px 8px; /* Rounded corners at the bottom of the card */
}

.card {
    border: none; /* Remove any border */
    border-radius: 8px; /* Ensure card has rounded corners */
    margin-bottom: 10px; /* Add some space between cards */
}

/* Feedback Section Styling */
.feedback-section {
    background-color: #f8f9fa; /* Matching the background */
    padding: 40px 20px;
}

.feedback-section h2 {
    color: #36459f; /* Match with the theme color */
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
}

/* Feedback Form Container Styling */
.feedback-form-container {
    background-color: #f0f0f0; /* Light grey background */
    padding: 30px;
    border: 1px solid #d3d3d3; /* Light grey border */
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

.feedback-section .form-label {
    font-weight: 600;
    font-size: 1.1rem;
}

.feedback-section .form-control {
    border-radius: 5px;
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ced4da;
}
.feedback-section .btn-primary {
    font-size: 1rem;  /* Reduced font size */
    padding: 10px 20px; /* Adjust padding */
    background-color: #36459f;
    border: none;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    white-space: nowrap; /* Prevent text wrapping */
    width: auto; /* Auto width */
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    line-height: 1.2;
    transition: transform 0.3s ease, background-color 0.3s ease; /* Add transition */
}

.feedback-section .btn-primary:hover {
    background-color: #2a3a8e; /* Darker shade on hover */
    transform: scale(1.05); /* Slightly increase size on hover */
}

/* Initial state before the sections are visible */
.faq-section, .feedback-section {
    opacity: 0;
    transform: translateY(50px); /* Start slightly below */
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Class to trigger the animations */
.section-visible {
    opacity: 1;
    transform: translateY(0); /* Slide up to original position */
}


