.bg-custom {
    background-image: url('/images/background.jpg');
    background-size: cover;       /* Ensures the image covers the full area */
    background-position: center;  /* Center the image */
    background-repeat: no-repeat; /* Prevents tiling */
    min-height: 100vh;            /* Ensures full viewport height */
}
#background-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -1;
}
.wallpaper-2 {
    background-image: url('/images/about_us.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
}
.wallpaper-3 {
    background-image: url('/images/contact.jpg') !important;
}
@media (max-width: 767px) {
    html, body {
        max-width: 100vw;
        overflow-x: hidden;
    }
    body.bg-custom {
        min-height: 100vh;  /* full viewport height */
        width: 100vw;       /* full viewport width */
        background-image: url('/images/background_mobile.jpg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        margin: 0;
        padding: 0;
        overflow-x: hidden; /* prevent horizontal scroll */
    }
    .wallpaper-2, .wallpaper-3 {
        background-attachment: scroll !important;
    }
    /* Center the Welcome to text horizontally */
    .welcome-container {
        width: 90vw;          /* almost full width, with some padding */
        max-width: 400px;     /* limit max width on larger phones */
        margin: 0 auto;       /* center horizontally */
        text-align: center;
        padding: 1rem;
    }

    /* Center the entire welcome-container content */
    .welcome-container {
        text-align: center !important;
    }
    .welcome-logo {
        width: 80vw;
    }
    .welcome-container h1 {
        font-size: 1.5rem !important;
    }
    .navbar-brand {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
        gap: 0.5rem;
    }
    .navbar-brand {
        width: auto;
        margin: 0;
    }

    .navbar-toggler {
        margin-left: auto;
    }

    .navbar-brand img {
        width: 70px !important;
        height: 70px !important;
    }

    .navbar-brand .brand-text {
        font-size: 1.2rem !important;
        white-space: nowrap;
    }
    .enlarge {
        font-size: 1.2rem !important;
    }

    /* Footer full width and larger text */
    footer.text-center {
        width: 100vw !important;
        box-sizing: border-box;
        background-color: rgba(0, 0, 0, 0.6);
        text-align: center;
    }

    footer.text-center .p-3 {
        font-size: 1rem !important;  /* reasonable size */
        margin: 0 auto;
        max-width: 100vw;
        white-space: nowrap; /* keep footer text on single line */
    }
    .new-size {
        width: 90vw !important;
    }
    .new-size-2 {
        width: 90vw !important;
        height: auto !important;
        min-height: unset;
    }
    main {
        flex: 1;
        position: relative;
        z-index: 1 !important;
    }
    nav.navbar {
        position: relative;  /* usually already is */
        z-index: 10 !important;         /* higher than video */
    }
    .partnership-below-nav {
        flex-direction: column;
        align-items: flex-start;
    }
    .ad-box {
        display: none;
    }
}
.justify-this {
    text-align: justify !important;
}
.new-size-2 {
    width: 45rem;
    height: auto !important;
    min-height: unset;
    display: flex;
    flex-direction: column;
}
.welcome-container {
    text-align: center;
}
.welcome-container h1 {
    margin-bottom: -15px;
}
.welcome-logo {
    max-width: 600px;
    height: auto;
    margin-top: 20px;
}
.brand-text, .enlarge {
    font-size: 2rem;
    text-transform: uppercase;
}

.welcome-logo {
    max-width: 600px;
}
.navbar-nav .nav-link,
.navbar-brand .brand-text {
    transition: color 0.2s ease-in-out 0.05s; /* duration: 0.3s, delay: 0.1s */
}
.navbar-nav .nav-link:hover,
.navbar-brand:hover .brand-text {
    color: indianred !important;
}
.navbar-nav a {
    font-size: 1.2rem;
}
.overlay {
    background-color: rgba(0, 0, 0, 0.6); /* semi-transparent black */
    min-height: 100vh; /* full viewport height */
    width: 100%;
}
.overlay-red {
    background-color: rgba(255, 0, 0, 0.5);
}
.content {
    margin: 0 auto; /* center horizontally */
}
.brand-text-contact {
    color: white;
    transition: color 0.3s ease-in-out;
}

.navbar-brand:hover .brand-text-contact {
    color: indianred; /* A bright sky blue from Bootstrap's color palette */
}

.link {
    color: white !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.link:hover {
    color: indianred !important; /* Replace with your desired hover color */
}
.spacer {
    height: 20rem;
}
.spacer-2 {
    height: 5rem;
}
html {
    scroll-behavior: smooth;
}
html, body {
    height: 100%;
    margin: 0;
}
.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
    position: relative;
    z-index: 1 !important;
}
nav.navbar {
    position: relative;  /* usually already is */
    z-index: 10 !important;         /* higher than video */
}
.ad-box {
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 20; /* above everything else */
    padding: 1rem;
    max-width: 300px;
}

.ad-box .card {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    border-radius: 1rem;
    border: none;
}

.ad-box img {
    max-width: 100%;
    height: auto;
    margin-top: 0.5rem;
}

/* Blinking animation */
@keyframes subtleBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}
.blink-box {
    animation: subtleBlink 2s infinite;
}

/* Optional: modal customization */
.modal-content {
    background: transparent;
    box-shadow: none;
}

.modal .btn-close {
    filter: invert(1);
}
.partnership-below-nav {
    font-size: 1.5rem;
}



