*{
    
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}
body {
    margin: 0;
    line-height:1.6;
    background-color: #f9f9f9;
}
.school-header {
    background-image: linear-gradient(rgba(13, 74, 136, 0.526), rgba(0, 51, 102, 0.858)), url('./Images/School\ Header-2.png');
    background-repeat: no-repeat;
    background-size:cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 100px 20px;
    width: 100%;
    height: 50vh;
}
.header-overlay {
    z-index: 1;
}

.school-header h2 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    animation: fadeInDown 1s ease;
}

.school-header h6 {
    font-size: 1.4rem;
    font-weight: 400;
    opacity: 0.95;
    animation: fadeInUp 1s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.about {
    text-align: center;
    padding: 40px 20px;
    width:90%;
    margin: 20px auto;
}
.about h2{
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-weight: 700;
}
.programs h2, .facilities h2{
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-weight: 700;
    text-align: center;
}
.programs h4, .facilities h4{
    color: rgb(1, 63, 249);
}
.programs{
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 40px;
    width: 90%;
    margin: 40px auto;
    padding: 20px;
}
.programs h4, .facilities h4{
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
} 
.values {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}
.value-box{
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(15, 103, 255, 0.277);
    max-width: 350px;
    text-align: center;
    padding: 10px 5px;
    border-radius: 10px;
    transition: transform 0.3s ease;
}
.value-box:hover{
    transform: scale(0.9);
}
ul li::marker {
    color: rgb(1, 63, 249);
    font-size: 1.5em; 
} 
.value-box ul{
    text-align: left;
    list-style-type:disc;
}
ul li::marker {
    color: rgb(1, 63, 249);
    font-size: 1.5em; 
}   
.value-box h4{
    margin: 10px 0;
}
.value-box p{
    margin-bottom: 0;
}
.value-box img{
    width: 100%;
    height: 55%;
    border-radius: 10px;
    object-fit: cover;
    margin-bottom: 10px;
}
.value-box img{
    width: 100%;
    height: 55%;
    border-radius: 10px;
    object-fit: cover;
    margin-bottom: 10px;
}

.facilities h4{
    font-weight: bold;
}

.quote{
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-weight: 700;
    color: blue;
}
.credits p{
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-weight: 500;
    text-align: right;
}
.credits {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    gap: 40px;
    width: 90%;
    margin: auto;
    gap: 50px;
    background-color:aliceblue;
    margin-top: 4%;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(15, 103, 255, 0.277);
}

.credits img {
    max-width: 150px;
    height: auto;
    border-radius: 10px;
}
/* Custom Scrollbar for WebKit browsers */
::-webkit-scrollbar {
  width: 3px; /* vertical scrollbar width */
  height: 8px; /* horizontal scrollbar height */
}

::-webkit-scrollbar-track {
  background: white; /* track color */
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: #007bff; /* thumb color */
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #0056b3; /* thumb hover color */
}

/* Slide-up Animation */
.slide-up {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.slide-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation for value boxes */
.values .slide-up:nth-child(1) { transition-delay: 0s; }
.values .slide-up:nth-child(2) { transition-delay: 0.1s; }
.values .slide-up:nth-child(3) { transition-delay: 0.2s; }
.values .slide-up:nth-child(4) { transition-delay: 0.3s; }
.values .slide-up:nth-child(5) { transition-delay: 0.4s; }
.values .slide-up:nth-child(6) { transition-delay: 0.5s; }
.values .slide-up:nth-child(7) { transition-delay: 0.6s; }
