/* assets/css/style.css */
body {
    font-family: 'Roboto', sans-serif;
}

.navbar-brand {
    font-weight: bold;
}

.carousel-item {
    position: relative;
}

.carousel-caption {
    background: rgba(0, 31, 77, 0.7);
    padding: 30px;
    border-radius: 10px;
}

.btn-warning {
    background-color: #FFD700;
    border-color: #FFD700;
    color: #001f4d;
}

.btn-warning:hover {
    background-color: #e6c200;
    border-color: #e6c200;
}

.accordion-button:not(.collapsed) {
    background-color: #001f4d;
    color: white;
}

.accordion-button:focus {
    box-shadow: none;
}

.card {
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

footer a {
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Mobile Responsive Fix for Carousel Captions */
@media (max-width: 767.98px) {

    /* 1. Force the caption to be visible */
    .carousel-caption {
        display: block !important;
        /* Overrides d-none */

        /* 2. Position it below the image instead of over it */
        position: static;

        /* 3. Style the container */
        width: 100%;
        left: 0;
        right: 0;
        padding: 20px 15px;
        background-color: #001f4d;
        /* Matches your navbar color */
        color: white;
        text-align: center;
        border-radius: 0;
        /* Remove border radius for full width look */
    }

    /* 4. Adjust the image height so it doesn't take up the whole screen */
    .carousel-item img {
        height: 250px !important;
        /* Smaller height for mobile */
    }

    /* 5. Make the text smaller so it fits better */
    .carousel-caption h1 {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }

    .carousel-caption p {
        font-size: 1rem;
        margin-bottom: 15px;
    }

    .carousel-caption .btn {
        font-size: 0.9rem;
        padding: 8px 20px;
    }
}