* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


header {
    background-color: #d8859f;
    display: flex;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    margin: 10px;
    height: 98px;
    width: 450px;
    display: inline-block;
    transition: all 0.2s ease;
    /* background-color: beige; 
    border-radius: 10px;
    box-shadow: 0px 0px 5px 3px #ebdadf; */
}

.navbar:hover {
    transform: translateY(-2px);
    text-shadow: 0 5px 8px rgba(0, 0, 0, 0.3);

}

.logo {
    padding-left: -10px;
    display: flex;
    float: left;
}

.logo img {
    margin-top: -25px;
    width: 160px;
    height: 160px;
    object-fit: cover;
}

.Schoolname {
    padding: 8px;

}

.Schoolname h2 {
    color: beige;
    margin-top: 10px;

}

.navli {
    width: 580px;
    margin-left: 280px;
    padding: 15px;
}

.navli nav {
    display: flex;
    gap: 40px;
    font-size: large;
    font-weight: 700;
    padding-top: 25px;
}

.one a {
    color: beige;
    display: inline-block;
    padding: 10px;
    transition: all 0.2s ease;
    align-items: center;
    text-align: center;
    text-decoration: none;
    /* background-color: beige; 
    border-radius: 5px;
    box-shadow: 0px 0px 5px 3px #ebdadf; 
    color:rgb(179, 5, 5); */
}
.one a:hover {
    cursor: pointer;
    transform: translateY(-2px);
    text-shadow: 0 5px 8px rgba(0, 0, 0, 0.3);
    color: rgb(75, 70, 70);
}

/* main start */
.navigations {
    margin: 18px;
    display: flex;
    justify-content: center;
    gap: 40px;
}

.navigations i {
    color: whitesmoke;
    font-size: 20px;
    padding: 13.2px;
}

.icons {
    font-size: 35px;
    padding: 2px;
    /* background-color: #f897b6; */
    background-color: #C60C3D;
    background:linear-gradient(whitesmoke -50%,#C60C3D);
    width: 50px;
    height: 50px;
    border-radius: 50px;
    transition: all 0.2s ease;
}

.icons:hover {
    transform: translateY(-2px);
    background-color:#d8859f;
    box-shadow:0 7px 9px rgb(75, 70, 70);
}

.images {
    width: 1100px;
    height: 500px;
    overflow: hidden;
    border: 10px solid rgb(228, 212, 212);
    border-radius: 10px;
    box-shadow: rgb(216, 215, 215) 0 4px 4px 4px;
    transition: all 0.3s ease-out;
}

.images:hover {
    cursor: pointer;
    transform: translateY(-8px);
    box-shadow: 0 15px 25px rgb(75, 70, 70);
}

.photos img {
    width: 1100px;
    height: 600px;
    flex-shrink: 0;
}

.slider {
    display: flex;
    width: 1100px;
    animation: slides 35s infinite;

}

.photos {
    position: relative;
    z-index: 1;
}

.photos h1 {
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgb(250, 250, 57);
    font-size: 50px;
}

@keyframes slides {

    0%,
    8% {
        transform: translateX(0px);
    }

    10%,
    18% {
        transform: translateX(-1100px);
    }

    20%,
    28% {
        transform: translateX(-2200px);
    }

    30%,
    38% {
        transform: translateX(-3300px);
    }

    40%,
    48% {
        transform: translateX(-4400px);
    }

    50%,
    58% {
        transform: translateX(-5500px);
    }

    60%,
    68% {
        transform: translateX(-6600px);
    }

    70%,
    78% {
        transform: translateX(-7700px);
    }

    80%,
    88% {
        transform: translateX(-8800px);
    }

    90%,
    98% {
        transform: translateX(-9900px);
    }

    100% {
        transform: translateX(0px);
    }
}

.channel {
    width: 450px;
    height: 40px;
    /* background-color: #d8859f; */
    background-color: #C60C3D;
    background:linear-gradient(whitesmoke -50%,#C60C3D);
    border-radius: 3px;
    box-shadow: #d8859f 0px 0px 4px 4px;
     /* box-shadow:0 7px 9px rgb(75, 70, 70); */
    margin-top: 25px;
    margin-left: 450px;
    transition: all 0.2s ease;
}

.channel:hover {
    cursor: pointer;
    transform: translateY(-3.5px);

}

.channelloc {
    display: flex;
    float: left;
    color: beige;
}

.channel a {
    float: right;
    text-align: center;
    font-size: 40px;
}

.channel i {
    color: whitesmoke;
}

.heading {
    padding: 10px;
    text-align: center;
    color: purple;
    text-shadow: 0 5px 8px rgba(0, 0, 0, 0.3);
}

.founder {
    width: 300px;
    height: 340px;
    margin-top: 10px;
    margin-left: 525px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 9px 12px rgb(75, 70, 70);
    transition: all 0.2s ease;
}

.founder:hover {
    cursor: pointer;
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgb(75, 70, 70);
}

.founder h3 {
    color: purple;
    font-size: 700;
}

.founder img {
    width: 300px;
    height: 310px;
}

.officials {
    display: flex;
    gap: 150px;
    margin-top: 50px;
    margin-left: 330px;
    width: 600px;
    height: 400px;
    text-align: center;
    
}

 .mothers {
    margin-top: 25px;
    width: 280px;
    height: 380px;
    border-radius: 20px;
    box-shadow:0 7px 9px rgb(75, 70, 70);
    transition: all 0.2s ease;
}
.mothers:hover{
    cursor: pointer;
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgb(75, 70, 70);
}

.mothers img {
    width: 280px;
    height: 330px;
    border-radius: 10px 10px 0px 0px ;
    
}
.mothers h3{
    font-size:21.5px;
    color: purple;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}
.content{
    margin-top: 100px;
    /* margin-top: 30px; */
    margin-left: 110px;
    background-color: #d8859f;
    width: 85%;
    height: 500px;
    border-radius: 10px;
    transition: all 0.2s ease;
}
.content:hover{
    transform: translateY(-3px);
     box-shadow: 0 15px 25px rgb(75, 70, 70);
     cursor: pointer;
}
.content h1{
    padding: 15px;
    color: beige;
    text-align: center;
    text-shadow: 0 5px 8px rgba(0, 0, 0, 0.3);
    font-family: "Roboto", sans-serif;
}
 .history p{
    color: beige;
    font-size: large;
    width: 85%;
    font-family: 'Times New Roman', Times, serif;
    font-weight: 800;
    margin-left :95px;
    text-shadow: 0 5px 8px rgba(0, 0, 0, 0.3);
}
.history p span{
    font-size: 21px;
}
 .features  {
      margin-top: 60px;
      margin-left: 105px;
      margin-bottom: 165px;
 }
 .fullbox{
    margin-top:80px;
    padding-top:-20px;
    display: flex;
    gap: 50px;
}
.boxchild{
       display: flex;
       gap: 45px;
       height:100px;
}
.boxchild1{
         margin: 3px;
         width:125px;
         height:115px;
         background-color: rgb(209, 208, 208);
         border-radius: 6px;
 }
 .boxchild1:hover{
     background-color: #d8859f; 
       
 }
 .boxchild1 i{
    font-size: 45px;
    color: black;
     padding: 39.5px; 
    justify-content: center;
}
.boxchild2{
    margin-top: 6px;
    width: 373px;
}
.boxchild2 h3{
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}
.boxchild2 p{
    --font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 18.5px;
    font-weight: 200;
}
/* main end */

/* footer start */
.back{ 
    height: 450px;
    background-color: #C60C3D;
    background:linear-gradient(whitesmoke -50%,#C60C3D);
    display: flex;
}
.backlog{
    margin: 35px 50px 40px 50px;
    height: 380px;
    width: 400px;
    background-color: rgb(233, 233, 233);
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 15px 25px rgb(75, 70, 70);
    transition: all 0.2s ease;
}
.backlog:hover{
    transform: translateY(-2px);
    /* box-shadow: 0 15px 25px rgb(75, 70, 70); */
     box-shadow:0 7px 9px rgb(247, 228, 228);
     background-color:#d8859f; 

}
.titl{
    padding-top: 15px;  
}
.packet{
    display: flex;
    gap: 20px;
}
.back1{
    width: 20px;
    height: 20px;
    padding-top: 20px;
    padding-left:20px;
    font-size: 25px;    
}
 .back2{ 
    width: 295px; 
    padding-left:26px;
    padding-top:20px ;
    font-weight: 900;
    font-size: 18.5px;
    text-align: left;
}
.back2 a{
    text-decoration: none;
    color: black;
}
.back2 a:hover{
    text-decoration: underline;
}


.last{
    background-color:#d8859f;
    height: 60px;
    text-align: center;
    padding-top: 20px;
    font-size: larger;
    font-weight: 900;

}
/* footer end */

/* =========================================
   MOBILE VIEW
   ========================================= */

@media screen and (max-width: 768px) {

    /* ---------- HEADER ---------- */

    header {
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        position: sticky;
        top: 0;
        z-index: 1000;
    }

    .navbar {
        width: 100%;
        height: auto;
        margin: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .logo {
        float: none;
        padding: 0;
    }

    .logo img {
        width: 80px;
        height: 80px;
        margin: 0;
    }

    .Schoolname {
        padding: 5px;
    }

    .Schoolname h2 {
        font-size: 16px;
        margin: 0;
        text-align: center;
    }


    /* ---------- NAVIGATION ---------- */

    .navli {
        width: 100%;
        margin: 0;
        padding: 5px;
    }

    .navli nav {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 5px;
        padding: 5px;
        font-size: 13px;
    }

    .one a {
        padding: 7px;
    }


    /* ---------- SOCIAL ICONS ---------- */

    .navigations {
        margin: 15px 0;
        display: flex;
        justify-content: center;
        gap: 15px;
    }

    .icons {
        width: 45px;
        height: 45px;
        font-size: 28px;
    }

    .navigations i {
        font-size: 18px;
        padding: 12px;
    }


    /* ---------- IMAGE SLIDER ---------- */

    .images {
        width: 95%;
        height: 250px;
        border: 5px solid rgb(228, 212, 212);
        border-radius: 8px;
    }

    .slider {
        width: 100%;
        animation: mobileSlides 35s infinite;
    }

    .photos {
        width: 100%;
        flex-shrink: 0;
    }

    .photos img {
        width: 100%;
        height: 240px;
        object-fit: cover;
    }

    .photos h1 {
        top: 70%;
        left: 50%;
        width: 90%;
        font-size: 22px;
        text-align: center;
    }


    /* ---------- MOBILE SLIDER ANIMATION ---------- */

    @keyframes mobileSlides {

        0%, 8% {
            transform: translateX(0);
        }

        10%, 18% {
            transform: translateX(-100%);
        }

        20%, 28% {
            transform: translateX(-200%);
        }

        30%, 38% {
            transform: translateX(-300%);
        }

        40%, 48% {
            transform: translateX(-400%);
        }

        50%, 58% {
            transform: translateX(-500%);
        }

        60%, 68% {
            transform: translateX(-600%);
        }

        70%, 78% {
            transform: translateX(-700%);
        }

        80%, 88% {
            transform: translateX(-800%);
        }

        90%, 98% {
            transform: translateX(-900%);
        }

        100% {
            transform: translateX(0);
        }
    }


    /* ---------- YOUTUBE CHANNEL ---------- */

    .channel {
        width: 90%;
        height: auto;
        min-height: 50px;
        margin: 25px auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 5px 10px;
    }

    .channelloc {
        float: none;
        width: auto;
    }

    .channelloc h1 {
        font-size: 15px;
    }

    .channel a {
        float: none;
        font-size: 30px;
    }


    /* ---------- HEADING ---------- */

    .heading {
        padding: 10px;
    }

    .heading h1 {
        font-size: 25px;
    }


    /* ---------- FOUNDER ---------- */

    .founder {
        width: 90%;
        height: auto;
        margin: 20px auto;
    }

    .founder img {
        width: 100%;
        height: auto;
        max-height: 350px;
        object-fit: cover;
    }

    .founder h3 {
        font-size: 16px;
        padding: 8px;
    }


    /* ---------- OFFICIALS ---------- */

    .officials {
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 25px;
        margin: 30px 0;
    }

    .mothers {
        width: 85%;
        height: auto;
        margin: 0;
    }

    .mothers img {
        width: 100%;
        height: auto;
        max-height: 350px;
        object-fit: cover;
    }

    .mothers h3 {
        font-size: 17px;
        padding: 8px;
    }


    /* ---------- SCHOOL HISTORY ---------- */

    .content {
        width: 90%;
        height: auto;
        margin: 50px auto;
        padding-bottom: 25px;
    }

    .content h1 {
        font-size: 24px;
        padding: 15px 5px;
    }

    .history p {
        width: 90%;
        margin: 0 auto 20px auto;
        font-size: 16px;
        font-weight: 600;
        line-height: 1.5;
    }

    .history p span {
        font-size: 17px;
    }


    /* ---------- SPECIAL FEATURES ---------- */

    .features {
        width: 90%;
        margin: 50px auto;
    }

    .tit h1 {
        font-size: 25px;
        text-align: center;
    }

    .fullbox {
        width: 100%;
        margin-top: 30px;
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: 25px;
    }

    .boxchild {
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .boxchild1 {
        width: 100px;
        height: 100px;
        margin: 0;
    }

    .boxchild1 i {
        font-size: 40px;
        padding: 30px;
    }

    .boxchild2 {
        width: 100%;
        margin: 0;
        text-align: center;
    }

    .boxchild2 h3 {
        font-size: 19px;
    }

    .boxchild2 p {
        font-size: 16px;
        line-height: 1.5;
    }


    /* ---------- FOOTER ---------- */

    .back {
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
    }

    .backlog {
        width: 90%;
        height: auto;
        min-height: 300px;
        margin: 15px 0;
        padding-bottom: 20px;
    }

    .titl {
        padding-top: 15px;
    }

    .titl h2 {
        font-size: 20px;
    }

    .packet {
        display: flex;
        gap: 10px;
        align-items: flex-start;
    }

    .back1 {
        width: 35px;
        height: auto;
        padding: 15px 5px 0 15px;
        font-size: 20px;
        flex-shrink: 0;
    }

    .back2 {
        width: auto;
        flex: 1;
        padding: 15px 10px 0 5px;
        font-size: 15px;
        text-align: left;
        word-break: break-word;
    }


    /* ---------- COPYRIGHT ---------- */

    .last {
        width: 100%;
        height: auto;
        min-height: 60px;
        padding: 15px 10px;
        font-size: 14px;
    }

}