﻿body {
    font-family: 'Segoe UI', sans-serif;
    scroll-behavior: smooth;
}

.navbar-brand strong {
    color: #0d6efd;
}

footer h5 {
    color: #ffffff;
    margin-bottom: 1rem;
}

footer a:hover {
    text-decoration: underline;
}

.card-img-top {
    width: 50px;
    height: 50px;
}

#heroBanner img {
    filter: brightness(60%);
}

#heroBanner h1, #heroBanner p {
    text-shadow: 0 2px 4px rgba(0,0,0,0.6);
}

.my-gradient-div {
    height: 40vh;
    width: 100%;
    background-image: linear-gradient(to right, #000000, #808080);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* pushes image to the left */
    padding: 20px 40px 20px 0px; /* top right bottom left */
}


/* Apply width only to picture, not both */
.banner-picture {
    flex: 0 0 35%; /* fixed 35% width, no shrinking */
}

    .banner-picture img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 0px;
    }


/* Tablet */
@media (max-width: 992px) {
    .my-gradient-div {
        text-align: left;
        height: auto;
        padding: 20px 40px 20px 10px; /* top right bottom left */
    }
}

/* Mobile */
@media (max-width: 576px) {
    .banner-picture,
    .banner-img {
        width: 90%;
        height: auto;
        object-fit: cover;
    }
}


/* 📱 Mobile view: reduce banner height */
@media (max-width: 768px) {
    .my-gradient-div {
        padding: 10px 5px 10px 5px; /* top right bottom left */
    }

    .BannerText p.lead {
        font-size: clamp(.7rem, 1.5vw, 1rem);
        margin-bottom: 10px;
    }


    .my-gradient-div .BannerText {
        margin-left: 0px !important;
    }


    h3 {
        font-size: calc(1.2rem + .6vw);
    }

    .mt-3 {
        margin-top: .5rem !important;
    }

    .lined-paragraph {
        font-size: calc(.7rem + .6vw);
    }

    .py-5 {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }

    .mb-5 {
        margin-bottom: 1rem !important;
    }

    .my-5 {
        margin-top: 1rem !important;
        margin-bottom: 1rem !important;
    }
}

@media (max-width: 768px) {
    .fw-bold {
        font-weight: 500 !important;
    }
}



/* Reduce spacing between main link and dropdown arrow */
.navbar-nav .dropdown-toggle-split::after {
    margin-left: 0rem !important; /* remove left margin completely */
    vertical-align: middle;
    transform: translateY(-1px); /* subtle vertical centering tweak */
}

/* Make sure the main link and arrow sit tightly together */
.navbar-nav .nav-item.dropdown {
    display: flex;
    align-items: center;
}

.navbar-nav .nav-link.pe-1 {
    padding-right: 0 !important;
    margin-right: -0.15rem; /* bring text slightly closer to arrow */
}

.modal-content img {
    transition: transform 0.3s ease;
}

    .modal-content img:hover {
        transform: scale(1.02);
    }

/* Desktop logo size */
.logo-img {
    max-width: 125px; /* max width on desktop */
    height: auto; /* preserves aspect ratio */
}

/* Desktop brand text */
.brand-text {
    font-size: clamp(1rem, 3vw, 2rem); /* normal desktop size */
    font-weight: 600; /* optional */
}

/* Mobile adjustments */

@media (max-width: 576px) {
    .logo-img {
        max-width: 90px; /* smaller on mobile */
    }

    .brand-text {
        font-size: 1rem; /* smaller on mobile */
        text-align: center;
    }

    .brand-text {
        margin-left: 10px;
        text-align: center;
    }
}



.BannerText {
    color: white;
    font-size: 16px;
    padding-left: 20px; /* Adjust this value as needed */
    margin-left: 20px;
    font-family: sans-serif;
}

    /* Heading responsive */
    .BannerText h2 {
        font-size: clamp(1rem, 2vw, 1.5rem); /* min 1.5rem, scales with viewport, max 3rem */
        font-weight: 550;
        margin-bottom: 10px;
    }

    /* Paragraph responsive */
    .BannerText p.lead {
        font-size: clamp(.7rem, 1.5vw, 1rem);
        margin-bottom: 25px;
    }

    /* Button responsive */
    .BannerText .btn {
        font-size: clamp(0.9rem, 2vw, 1.25rem);
        padding: 0.5rem 1rem;
    }

.logocontainer {
    width: 100%;
    padding-right: 0.75rem;
    padding-left: 0.75rem;
    margin-right: auto;
    margin-left: -12px;
    /* Add these lines to enable horizontal alignment: */
    display: flex; /* Activates flexbox layout */
    flex-wrap: nowrap; /* Prevents items from wrapping to the next line prematurely */
    align-items: center; /* Vertically centers items within the container height */
    justify-content: space-between; /* Pushes the left and right sides away from each other */
}

.lined-paragraph {
    border-left: 4px solid #007bff; /* Creates the vertical line: width, style, color */
    padding-left: 15px; /* Space between the line and the text */
    margin-left: 0 !important; /* Ensures it aligns fully left within its container */
    text-align: left !important; /* Forces text alignment to the left */
}

.card-img-top-custom {
    width: 100%;
    /* Required because the card is often a flexbox container, and this ensures the image fills the width */
    border-top-left-radius: var(--bs-card-inner-border-radius);
    border-top-right-radius: var(--bs-card-inner-border-radius);
    /* The radii create rounded top corners that match the card's overall border radius */
    height: 200px; /* Set a fixed height */
    object-fit: cover; /* Ensures images cover the area without stretching or distorting */
}

/* Define a width for the image container */
.w-30 {
    width: 30%;
    /* Adjust this percentage as needed to control the image size relative to the text */
}

    /* Ensure the image within that container doesn't overflow */
    .w-30 img {
        height: 100%; /* Optional: ensures image fills height if needed */
        object-fit: cover; /* Optional: crops image nicely if it has set dimensions */
    }

.card-img-top {
    width: 60%; /* make image larger but not full width */
    height: auto;
    margin: 0 auto; /* center the image horizontally */
    border-radius: 50%; /* optional: circular look for profile photos */
    padding-top: 1rem;
}



.navbar-nav .dropdown-menu {
    position: absolute;
}
 

@media (max-width: 767.98px) {
    .banner-picture {
        flex: 1 1 100%;
    }
}
