#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 2.5s ease;
}

#loading-screen img {
    width: 200px; 
    height: auto;
    opacity: 1; /* Initial opacity */
    transition: opacity 2.5s ease;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
}

.contact-bar {
    background-color: #cab8b8;
    padding: 5px 0;
    text-align: center;
    font-size: 12px; 
    display: flex;
    justify-content: flex-end;
    
}

.contact-info {
    display: inline-block;
    margin: 0 10px;
    color: #221b1b;
}

.contact-links a {
    text-align: right;
    color: #000000;
    text-decoration: none;
    transition: color 0.3s; 
    gap: 5px; 
    margin-right: 10px
}
.contact-links a:hover {
    color: #ec3838; 
}

.contact-icon {
    font-size: 16px; 
    margin-right: 3px;
    vertical-align: middle;
}

.contact-text {
    display: inline-block;
    vertical-align: middle;
}

@media (max-width: 767px) {
    .contact-bar {
        display: none;
    }
}


.navbar {
    background-color: #d34a4a;
    color: rgb(0, 0, 0);
    display: flex;
    justify-content: space-between;
    font-family: Arial, sans-serif;
    align-items: center;
    padding: 15px 30px;
}

.logo img {
    width: 220px;
    height: 51px;
}

.menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
     
    align-items: center;
    display: flex;
    height: 100%
}

.menu li {
    margin-right: 20px;
}

.menu a {
    color: rgb(0, 0, 0);
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}

.menu a:hover {
    color: #f8f8f8;
}

.search {
    display: flex;
    align-items: center;
    position: relative;
}

#search-icon {
    background-color: transparent;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s;
    z-index: 1;
}

#search-icon img {
    width: 20px;
    height: 20px;
}

#search-input {
    padding: 8px 10px;
    border: none;
    border-radius: 20px;
    margin-right: 10px;
    font-size: 14px;
    background-color: #f2f2f2;
    width: 0;
    overflow: hidden;
    transition: width 0.3s ease-in-out;
    position: absolute;
    right: 0;
    z-index: 0;
}

.hidden {
    width: 0;
    opacity: 0;
    padding: 0;
}

.slideshow-container {
    position: relative;
    max-width: 100%;
    margin: auto;
    overflow: hidden;
}

.slideshow-slide {
    display: none;
}

.slideshow-slide img {
    width: 100%;
    height: auto;
}

/*slideshow animation */
@keyframes fade {
    from {
        opacity: 0.4;
    }
    to {
        opacity: 1;
    }
}

.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

.welcome-section {
    display: flex;
    align-items: center;
    padding: 100px;
}

.welcome-content {
    flex: 1;
    padding-right: 50px;
    color: #000000;
}

.welcome-heading {
    font-size: 28px;
    font-weight: 300;
    margin-bottom: 10px;
}

.school-name {
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: -2px;
}

.welcome-description {
    font-size: 20px;
    font-weight: 300;
    margin-bottom: 20px;
    line-height: 1.5;
}

.learn-more-btn {
    display: inline-block;
    background-color: #ec2828;
    color: #000000;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.learn-more-btn:hover {
    background-color: #e9e4d4;
}

.welcome-image {
    flex: 1;
    text-align: center;
}

.welcome-image img {
    max-width: 100%;
    height: auto;
}







.footer {
    background-image: url('Resources/footer-bg-2 (1).jpg');
    color: rgb(0, 0, 0);
    padding: 50px 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

.footer-logo img {
    max-width: 220px;
    height: auto;
    margin-bottom: 20px;
}

.footer-links a {
    color: rgb(0, 0, 0);
    align-items: center;
    text-align: center;
    text-decoration: none;
    margin-right: 20px;
}

.footer-social {
    margin-top: 10px;
}

.social-icon {
    color: rgb(0, 0, 0);
    font-size: 24px;
    margin-right: 15px;
    transition: color 0.3s;
}

.social-icon:hover {
    color: #e72e2e;
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
}