@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

*{
        font-family: "Roboto", sans-serif;

}

body{
    overflow-x: hidden;
}


/* Loading Screen Styles */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f0f0f0; /* Light background */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Ensure it's on top */
    transition: opacity 0.5s ease-out;
}

/* Hide content while loading */
body.loading #main-content {
    visibility: hidden;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #e0e0e0;
    border-top: 5px solid #3498db; /* Blue color */
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#loading-screen.fade-out {
    opacity: 0;
}


.hero-image {
    background-image: url("/site/images/main.jpg");
    background-size: cover;
    background-position: center;
    height: 1075px;
    position: relative;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-sub {
    background-image: url("/site/images/main.jpg");
    background-size: cover;
    background-position: center;
    height: 350px;
    position: relative;
}

.hero-overlay-sub {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 43, 92, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-link {
    color: #1a367e !important;
    font-weight: 500;
}
.nav-link:hover {
    color: #0066cc !important;
}

.card-hover {
    transition: transform 0.3s ease;
}
.card-hover:hover {
    transform: translateY(-10px);
}
.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #43474d;
}
.stat-label {
    font-size: 0.9rem;
    color: #6c757d;
}
.program-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    min-height: 340px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    a{
        position: absolute;
        bottom: 20px;
    }
}
.program-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.event-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}
.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}
.news-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    a{
        text-decoration-line: none;
    }
}
.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

.mainSection{
    position: relative;
    top: 100px;
    margin-bottom: 100px;
}
.footer {
    background-color: #1a367e;
    color: white;
}
.footer a {
    color: #bdc3c7;
}
.footer a:hover {
    color: #ecf0f1;
}
.partner-logo {
    max-height: 80px;
    padding: 10px;
    transition: transform 0.3s ease;
}
.partner-logo:hover {
    transform: scale(1.1);
}
.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}
.social-icons i {
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.social-icons i:hover {
    background-color: #a60000;
    transform: translateY(-3px);
}

.barsLoader{
    width: 50.4px;
    height: 67.2px;
    --c: linear-gradient(#1a367e  0 0);
    background: var(--c) 0%   100%,
            var(--c) 50%  100%,
            var(--c) 100% 100%;
    background-size: 10.1px 65%;
    background-repeat: no-repeat;
    animation: bars-1hcj36 0.8s infinite linear;
    }

    @keyframes bars-1hcj36 {
    20% {
        background-position: 0% 50% ,50% 100%,100% 100%;
    }

    40% {
        background-position: 0% 0%  ,50% 50% ,100% 100%;
    }

    60% {
        background-position: 0% 100%,50% 0%  ,100% 50%;
    }

    80% {
        background-position: 0% 100%,50% 100%,100% 0%;
    }
}