html {
    position: relative;
    font-size: 14px;
    height: 100%;
    margin: 0;
    padding: 0;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.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;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}



header {
    position: sticky;
    top: 0;
    z-index: 1030;
}


.alert-message {
    margin-top: 2px !important;
    margin-bottom: 2px !important;
}



.main-content {
    flex: 1 1 auto;
    overflow-y: auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

footer {
    /*    position: sticky;*/
    /*    bottom: 0;
    z-index: 2030;*/
    /*background-color: #f8f9fa;*/ /* Very light background */
    border-top: 0.1rem solid #e0e0e0; /* Subtle top border */
    padding-bottom: 1rem;
}


/* Make modal content and body fully transparent */
.gallery-modal-body,
.gallery-modal-body .modal-content,
#galleryModal .modal-content {
    background: transparent !important;
    box-shadow: none !important;
    border:none;
}

















/*main {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;  Prevents overflow issues 
}
*/


.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}



/* Optional: smooth bottom padding for sections */
section#about {
    padding-bottom: 3rem;
}

/* Optional: custom height and image handling if needed */
.hero-img {
    height: 60vh;
    object-fit: cover;
    background-color: #f8f9fa; /* Fallback color */
}

#loadingBar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background-color: #007bff; /* or any color you like */
    z-index: 9999;
    transition: width 0.4s ease-out, opacity 0.5s ease;
}

    /* Optional: when hiding the bar */
    #loadingBar.fade-out {
        opacity: 0;
    }



.contact-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.contact-form {
    width: 100%;
    max-width: 400px;
    padding: 2rem;
    margin-top: max(16px, 5vh);
    background: #f9f9f9;
    /*    background: #0d6efd26;*/
    /*    background: linear-gradient(135deg, #ffffff, #f0f0f0);*/
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

    .contact-form label {
        font-weight: 600;
    }

    .contact-form .form-group {
        margin-bottom: 1rem;
    }

    .contact-form button {
        width: 100%;
    }




@media (max-width: 991.98px) {
    h1 {
        font-size: 1.8rem;
    }

    .hero-phone {
        font-size: 1.1rem;
    }

    .hero-section .text-container {
        padding: 1rem;
    }
}



@media (max-width: 400px) {
    .modal-card-fixed {
        width: 98vw;
        max-width: 98vw;
    }
}


@media (max-width: 700px) {
    .session-card {
        flex-direction: column;
        min-height: unset;
        max-height: unset;
    }

    .session-card-left, .session-card-right {
        max-width: 100%;
        min-width: 0;
        width: 100%;
        border-left: none;
        padding: 1rem;
    }

    .session-card-right {
        border-top: 1px solid #eee;
    }
}