* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border-radius: 5px;
   
}
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background: #d1d4eb;
    color: #060101;
}


.top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
      background: #AFEEEE;
    color: #ae0808;
    padding: 20px;
}
.logo-area {
    display: flex;
    align-items: center;
}
.logo-area img {
    height: 180px;
    width: 160px;
    margin-right: 0px;
}
.school-name {
    font-size: 40px;

    font-weight: bold;
    margin-left : 2px;
    margin-right: 18rem;
}
.contact-area {
    
    text-align: left;
    color: rgb(11, 16, 68);
    font-size: 19px;
    text-decoration: underline;
}


.contact-sticker { 
    background: #f3960a;
     padding: 1rem; 
     
     
     border-radius: 20px;
      font-size: 15px;
      color: #1500b4;
      
      
     }
     .contact-top {
    display: inline-block;
    margin-left: 2px;
    width: 220px;
    border-radius: 0px;
    
}

.contact-top img {
    width: 40px;
    height: 40px;
    vertical-align: middle;
    margin-right: 1px;

}


.news-marquee {
    background: #040738;
    padding: 3px 0;
    font-weight: bold;
    color: #ffffff;
    border-radius: 1px;
}


.slider {
    position: relative;
    width: 100%;
    max-height: 650px;
    overflow: hidden;
}
.slides {
    position: relative;
}
.slide {
    display: none;
}
.slide.active {
    display: block;
}
.slide img {
    width: 100%;
    height: 600px;
    display: block;
}
.slider-controls {
    position: absolute;
    top: 90%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: matrix();
}
.slider-controls span {
    cursor: pointer;
    padding: 10px;
    background: rgba(0,0,0,0.5);
    color: #fff;
}


.navbar {
    background: #491b02;
    font-size: 20px;
    font-weight: bold;
  
}
.nav-menu {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    
}
.nav-menu > li {
    position: relative;
}
.nav-menu a {
    display: block;
    padding: 9px;
    color: #fff;
    text-decoration: none;
}
.nav-menu a:hover {
    background: #001a33;
}


.dropdown-content {
    display: none;
    position: absolute;
    background: rgb(66, 35, 7);
    min-width: 200px;
    z-index: 999;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.dropdown-content a {
    color: white;
    padding: 10px 14px;
    display: block;
}
.dropdown-content a:hover {
    background: #1a03ab;
}
.dropdown:hover .dropdown-content {
    display: block;
}


.dropdown-grid {
    
    grid-template-columns: repeat(2, minmax(150px, 1fr));
}


.section {
    padding:  px;
    background: #dffffd;
    margin: px;
    max-width: 100%;
    
}
.section h1, .section h2 {
    padding-left: 40px;
    text-align: left;
    margin-bottom: 15px;
    
    color: #4b1203;
}


.about-box {
    background: #ecfffe;
    padding: 60px 0;
    text-align: center;
}

.about-title {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #2c3e50;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 20px;
    text-align: justify;
}

/* === PRINCIPAL Section === */
.principal-wrapper {
    padding:  15px;
    background: rgba(4, 7, 82, 0.95);
    border-radius: 24px;
    margin: 40px auto;
    max-width: 1000px;
    height: auto;
    position: relative;
    box-shadow: 0 20px 40px rgb(49, 52, 52);
    border: 4px solid #f7f2f2;
    overflow: visible;
}

.principal-container {
    position: relative;
    min-height: 350px;
}

.principal-image-corner {
    position: absolute;
    top: -50px;
    right: 20px;
    z-index: 15;
}

.principal-image-box {
        text-align: center;
    background: #390404;
    padding: 8px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.477);
    border: 4px solid #f5ce1e;
}

.principal-photo {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 10%;
    display: block;
    margin: 0 auto 8px;
    border: 4px solid #fba95d;
    box-shadow: 0 8px 20px rgba(248, 168, 10, 0.3);
    transition: all 0.2s ease;
}

.principal-photo:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 30px rgba(248, 168, 10, 0.5);
}

.principal-name-under {
    background: rgb(2, 94, 88);
    padding: 6px 12px;
    border-radius: 12px;
    margin-top: 5px;
    box-shadow: 0 4px 12px rgba(248, 168, 10, 0.4);
}

.principal-name-under h4 {
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    letter-spacing: 0.5px;
}

.principal-message {
    padding: 40px 35px 35px 35px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    border-left: 8px solid #f9e934;
    position: relative;
    margin-top: 60px;
    text-align: justify;
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.05);
}

.principal-message blockquote {
    font-style: italic;
    font-size: 1.25rem;
    color: #2c3e50;
    line-height: 1.85;
    margin: 0 0 30px 0;
    position: relative;
    padding: 0 25px;
}

.principal-message blockquote::before {
    content: '“';
    font-size: 5rem;
    color: #f8a80a;
    position: absolute;
    left: -5px;
    top: -20px;
    font-family: Georgia, serif;
    line-height: 1;
    font-weight: bold;
}

.principal-message blockquote::after {
    content: '”';
    font-size: 5rem;
    color: #f8a80a;
    position: absolute;
    right: -10px;
    bottom: -30px;
    font-family: Georgia, serif;
    line-height: 1;
    font-weight: bold;
}

.principal-signature {
    text-align: right;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 3px dashed #f8a80a;
}

.principal-signature h3 {
    color: #9c0404;
    font-size: 1.6rem;
    margin: 0 0 8px 0;
    font-weight: bold;
    letter-spacing: 1px;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .principal-wrapper {
        padding: 35px 20px;
        margin: 25px 15px;
    }
    
    .principal-image-corner {
        position: static;
        display: flex;
        justify-content: center;
        margin: 0 auto 25px;
    }
    
    .principal-photo {
        width: 110px;
        height: 110px;
    }
    
    .principal-name-under h4 {
        font-size: 13px;
    }
    
    .principal-message {
        padding: 30px 25px;
        margin-top: 0;
    }
}

@media (max-width: 480px) {
    .principal-photo {
        width: 95px;
        height: 95px;
    }
    
    .principal-name-under h4 {
        font-size: 12px;
        padding: 5px 10px;
    }
    
    .principal-message blockquote {
        font-size: 1.1rem;
        padding: 0 20px;
    }
}


.staff-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr ;
    gap: 30px ;
}

.staff-column {
    background: rgb(206, 244, 247);
    border-radius: 15px ;
    padding: 40px ;
    border-left: 8px solid #1d28f9;
    transition: all 0.0s ease ;
}

.staff-column:hover {
    transform: translateY(-10px) ;
    box-shadow: 0 20px 50px rgba(40,167,69,0.2) ;
}

.staff-column h3 {
    color: #0f0737 ;
    font-size: 26px ;
    margin-bottom: 15px;
    display: flex ;
    align-items: center ;
    gap: 45px ;
}

.staff-photos {
    display: flex ;          
    flex-wrap: wrap;
    gap: 15px ;
    margin-top: 20px ;
}

.staff-photos img {width:100%;
    max-width: 400px;
    height: auto;
    object-fit: cover ;
    border-radius: 8px;
    border: 3px solid #fff;
    transition: all 0.3s ease ;
}

.staff-photos img:hover {
    transform: scale(1.05);
    border-color: #f7d12a ;
}


.gallery-grid { 
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap:70px;
    
    padding: 19px;
    margin-left: 25px;
    
    
}
.gallery-grid img {
     max-width:280px;
    height: auto;
    object-fit: cover;
}
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    padding-bottom: 12px;
    margin-left: 15px;
}
.video-grid video {
    width: 100%;
}
@media (minmax-width: 220px) {
.staff-row {
        grid-template-columns: 1fr ;
    }

    .staff-photos {
        width: 100% ;
    }
}

/* Responsive */
@media (max-width: 480px) {
    .success-notification {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }

    
}
.footer {
    background: #020213;
    color: rgb(249, 248, 244);
    padding: 20px 20px;
    margin-top: 30px;
}

.footer-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: space-between;
}

.footer-col {
    flex: 1;
    min-width: 250px;
}

.footer-col h2, .footer-col h4 {
    margin-bottom: 20px;
    color: #fff;
}

.contact-details p {
    margin: 8px 0;
    line-height: 1.5;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col li {
    margin: 10px 0;
}

.footer-col a {
    color: #f9d41a;
    text-decoration: none;
}

.footer-col a:hover {
    color: #eeefe9;
}

.map-wrapper {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
   
    
}
.map-wrapper iframe {
    width: 100%;
    height: 230px;
    border: 0;}

@media (max-width: 768px) {
    .footer-columns {
        flex-direction: column;
    }
    
    .footer-col {
    min-width:auto ;
}

@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
    }
    .dropdown-content {
        position: static;
        box-shadow: none;
     ;
    }
    .dropdown-grid {
        grid-template-columns: 1fr;
    }
    .top-header {
        flex-direction: column;
        text-align: left;
    }
}
/* Basic reset */

/* Marquee-style scroll using CSS animation */
@keyframes ticker-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}
/* Footer */
.site-footer {
    text-align: center;
    padding: 12px;
    background: #00052a;
    color: #fff;
    font-size: 0.85rem;
}
@media (max-width: 480px) {
    .section-title {
        font-size: 2rem;
    }
    
    .achievement-card {
        padding: 2rem 1.5rem;
    }
}


