@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@300;400;500;600&display=swap');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    overflow-x: hidden; /* Prevent horizontal scrollbar */
}

body, header {
    margin: 0;
    padding: 0;
    user-select: none;
    cursor: default;
}


*, *::before, *::after {
    box-sizing: border-box;
}




a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: var(--cf-light-color);
    background-color: var(--cf-theme-600);
    border-color: var(--cf-theme-700);
    transition: all 0.3s ease;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background-color: var(--cf-theme-700);
    border-color: var(--cf-theme-800);
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.15);
}

.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;
}

.content {
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdG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c4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.banner {
    position: relative;
    text-align: center;
    overflow: hidden; /* This ensures the image does not bleed outside the banner */
}

.banner-image {
    width: 100%;
    height: auto;
    filter: opacity(0.5); /* Set the opacity to 50% */
    position: absolute;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.5); /* Set the background color to white with 50% opacity */
    background-position: center 22%;
    background-repeat: no-repeat;
    background-size: cover;
}

.additional-logo {
    position: absolute;
    top: 0; /* Adjust the value to align as you want */
    left: 80%; /* Adjust the value to align as you want */
    max-width: 100px; /* Adjust as needed */
    height: auto;
    z-index: 3; /* Ensure it is above other elements */
}

/* Home Page*/
.service-section, .vision-section, .about-section {
    position: relative;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    padding: 10px;
    color: black;
    display: flex;
    align-items: flex-end; /* Align items to the bottom of the container */
}

.contact-section {
    padding: 20px;
    background-color: rgba(255, 255, 255, 1);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
}

.service-section {
    background: var(--cf-theme-100);
    margin-top: 10px;
}

.about-section {
    margin-top: 0;
}

.desc-header {
    margin: 10px;
    font-size: 3rem;
    font-family: 'Merriweather', serif;
    font-weight: bold;
    text-align: left;
    letter-spacing: -1.5px;
    padding: 5px;
    text-align: justify;
}

.about-text {
    font-family: 'Source Sans Pro', sans-serif;
    background-color: rgba(255, 255, 255, 0.84);
    padding: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    flex-grow: 1; /* Text container takes up remaining space */
}

.desc-text {
    font-family: 'Source Sans Pro', sans-serif;
    text-align: left;
    line-height: 34px;
    font-size: 1.8rem;
    font-weight: 300;
}

.content-container {
    justify-content: center; /* Aligns children to the center */
    display: flex;
    align-items: flex-end; /* Aligns children to the bottom */
}

.button-container, .button-container-left {
    margin-bottom: 10px; /* Adds space to the bottom of the button if necessary */
}

.button-container {
    padding-right: 10px; /* Adds space to the right of the button if necessary */

    text-align: right; /* Aligns the button to the right */
}

.button-container-left {
    padding-left: 10px; /* Adds space to the right of the button if necessary */
    text-align: left; /* Aligns the button to the right */
}


.section-button {
    font-size: 1.5rem; /* Larger font size */
    padding: 10px 20px; /* Larger padding */
}
/*end*/



.banner-image-container {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    overflow: hidden;
}


.banner-content {
    position: relative; /* This positions your content above the background */
    z-index: 2; /* This ensures the content is above the blurred image */
    /* Rest of your styling for content */
    margin-bottom: 20px;
}

.logo {
    max-width: 400px; /* Adjust as needed */
    margin-top: 5px; /* Adjust as needed */
    z-index: 3; /* Ensures logo is above the blur */
    position: relative; /* Ensures logo is positioned correctly */
}


.buttons button {
    margin: 10px;
    padding: 10px 20px;
    /* Add more button styling here */
}

:root {
    --header-font: 'Merriweather', serif;
    --desc-font: 'Open Sans', sans-serif;
    --cf-theme-core: #1A2A33;  /* Darker, richer main color */
    --cf-theme-accent: #30859E; /* Complementary blue-teal accent */
    --cf-theme-100: hsl(205, 35%, 96%);
    --cf-theme-150: hsl(205, 35%, 92%);
    --cf-theme-200: hsl(205, 35%, 88%);
    --cf-theme-250: hsl(205, 35%, 80%);
    --cf-theme-300: hsl(205, 35%, 70%);
    --cf-theme-400: hsl(205, 35%, 60%);
    --cf-theme-500: hsl(205, 35%, 50%);
    --cf-theme-600: hsl(205, 35%, 40%);
    --cf-theme-700: hsl(205, 35%, 30%);
    --cf-theme-800: hsl(205, 35%, 20%);
    --cf-theme-900: hsl(205, 35%, 15%);
    --cf-dark-color: #0F1A20;
    --cf-light-color: #F4F9FD;
    --cf-success-color: #348064; /* Richer green */
    --cf-accent-color: #D98829; /* Warm accent color */
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: var(--cf-theme-core);
}

    .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;
    }



.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgN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LjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }




/* #region Sticky Footer */
html,
body {
    font-family: 'Roboto', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--cf-theme-100);
    color: var(--cf-dark-color);
}

main {
    flex-grow: 1;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Barlow Condensed', sans-serif;
}

footer {
    flex-shrink: 0;
}

/* #endregion Sticky Footer */

.btn-primary {
    --bs-btn-bg: var(--cf-theme-600);
    --bs-btn-border-color: var(--cf-theme-700);
    --bs-btn-hover-bg: var(--cf-theme-700);
    --bs-btn-hover-border-color: var(--cf-theme-800);
    --bs-btn-active-bg: var(--cf-theme-800);
    --bs-btn-active-border-color: var(--cf-theme-900);
}

.btn-success {
    --bs-btn-bg: var(--cf-success-color);
    --bs-btn-border-color: var(--cf-success-color);
    --bs-btn-hover-bg: #266a4d; /* Darker shade */
    --bs-btn-hover-border-color: #1d5a3f;
    --bs-btn-active-bg: #1d5a3f;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.15);
}

/* Shimmer effect for buttons */
.btn-success::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.7s ease;
}

.btn-success:hover::before {
    left: 100%;
}



.navbar {
    background: #102027;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Ensure navbar-toggler only appears at correct breakpoint */
@media (min-width: 768px) {
    .navbar-toggler {
        display: none !important;
    }
}

@media (max-width: 767.98px) {
    .navbar-toggler {
        display: flex !important;
        justify-content: center;
        align-items: center;
    }
    
    /* Ensure content has proper spacing when navbar is fixed */
    body {
        padding-top: 60px;
    }
}

.footer {
    background: linear-gradient(to right, var(--cf-theme-core), var(--cf-theme-800));
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.footer {
    color: var(--cf-theme-200);
}

.socialicons {
    font-size: 2rem;
    padding-left: .5rem;
    color: var(--cf-theme-300);
    transition: color 0.2s;
}

    .socialicons:hover {
        color: var(--cf-orange-color);
    }

.productionImage {
    max-width: 300px;
    padding: .5rem;
    max-height: 100px;
}

.imagePosterPlaceHolder {
    aspect-ratio: 2/3;
}

.fade-in {
    animation: fade-in 0.8s ease-in;
}

@keyframes fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.image-content img {
    max-width: 50%; /* Adjust this as necessary */
    height: auto; /* Keep aspect ratio */
    vertical-align: baseline;
}

.image-content {
    position: relative; /* Allows you to use top/left/right/bottom for positioning */
    left: -80px; /* Align to the left edge */
    align-items: baseline; /* This aligns the flex items inside the column to the baseline */
}

.image-content-left img {
    max-width: 50%; /* Adjust this as necessary */
    height: auto; /* Keep aspect ratio */
    vertical-align: baseline;
}

.image-content-left {
    position: relative; /* Allows you to use top/left/right/bottom for positioning */
    right: -80px; /* Align to the left edge */
    align-items: baseline; /* This aligns the flex items inside the column to the baseline */
}

@media(max-width: 1280px) {
    .image-content img {
        max-width: 70%; /* Adjust this as necessary */
        height: auto; /* Keep aspect ratio */
        vertical-align: baseline;
    }

    .image-content {
        position: relative; /* Allows you to use top/left/right/bottom for positioning */
        left: 0; /* Align to the left edge */
        align-items: baseline; /* This aligns the flex items inside the column to the baseline */
    }

    .image-content-left img {
        max-width: 70%; /* Adjust this as necessary */
        height: auto; /* Keep aspect ratio */
        vertical-align: baseline;
    }

    .image-content-left {
        position: relative; /* Allows you to use top/left/right/bottom for positioning */
        right: 0; /* Align to the left edge */
        align-items: baseline; /* This aligns the flex items inside the column to the baseline */
    }
}

.custom-banner {
    margin-top: -18px;
}



/* Make sure your navbar has a higher z-index than your banner */
.navbar {
    z-index: 5; /* Higher than the z-index of .banner and its children */
}

.page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: var(--cf-theme-100);
    background-image: linear-gradient(135deg, var(--cf-theme-100) 0%, var(--cf-theme-150) 100%);
}

main {
    flex: 1;
}

/* Social media icons styling */
.navbar-social {
    display: flex;
    align-items: center;
    gap: 15px;
}

    .navbar-social a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: clamp(40px, 4vw, 50px);
        height: clamp(40px, 4vw, 50px);
        border-radius: 50%;
        transition: all 0.3s ease;
        text-decoration: none;
        font-size: 1.5rem;
    }


.facebook-link {
    background: #1877f2;
    color: white;
}

.facebook-link:hover {
    background: #166fe5;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(24, 119, 242, 0.4);
    color: white;
}

@media (max-width: 767.98px) {
    .navbar-social {
        margin-top: 10px;
        justify-content: center;
    }
}
