*{
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style-type: none;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal; 
}

/* Navigation bar */
header{
    position: sticky;
    top: 0;
}
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 24px;
    background-color: #fff;
    z-index: 100;

}

nav img {
    width: 120px;
}

.nav-items {
    @media (max-width: 768px) {
        display: none;

    }
}
.nav-items ul {
    display: flex;
    gap: 16px; 
}
.nav-items ul li a {
    color: #000;
    font-size: 20px;
    transition: 0.4s;
}

.nav-items ul li a:hover {
    color: rgb(0, 123, 255);
}
.nav-items.show {
  display: flex !important;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #063970;
  color: #fff;
  text-align: right;
  width: 100%;
  padding: 18px 10px;
}
.nav-items.show ul{
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.nav-items.show ul li a {
  color: #fff !important;
}

.ham-icon {
    display: none;

    @media (max-width:768px) {
        display: flex;

    }
}

.ham-icon img {
    @media (max-width:768px) {
        max-width: 50px;
        max-height: 40px;

    }
}
.close-icon {
  display: flex;
  justify-content: flex-end;
  /* font-size: 2rem; */
  font-size: 32px;
  /* color: #fff; */
  color: red;
  cursor: pointer;
  padding: 5px 20px 20px 0;
}
main{
    display: flex;
    flex-direction: column;
    gap: 60px;

    @media(max-width: 768px){
        gap: 35px;

    }
}





/* Rotary Animation */
.rotary-animation-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
  margin-bottom: 20px;

  @media(max-width: 768px){
    margin-bottom: 2px;
  }
}

.rotary-animated {
  font-family: 'Brush Script MT', cursive, 'Poppins', sans-serif;
  font-size: 64px;
  font-weight: bold;
  color: #063970;
  opacity: 0;
  letter-spacing: 0.1em;
  animation: rotaryFadeIn 3s ease-in-out infinite alternate;
  text-shadow: 2px 2px 8px #bcbec4;

  @media(max-width: 768px) {
    font-size: 40px;
  }
}

@keyframes rotaryFadeIn {
  0% {
    opacity: 0;
    letter-spacing: 0.1em;
    transform: scale(0.95);
    filter: blur(4px);
  }
  40% {
    opacity: 1;
    letter-spacing: 0.15em;
    transform: scale(1.05);
    filter: blur(0);
  }
  100% {
    opacity: 1;
    letter-spacing: 0.2em;
    transform: scale(1.1);
    filter: blur(0);
  }
}

/* History Section */
.history,.motto{
    /* background-color: #F5F5F5; */
    background-color: aliceblue;
    padding : 20px 30px;
    border-radius: 10px;
    margin: 25px 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
}
.history h1{
    color: #063970;
    margin-bottom: 12px;
}
.history p{
    color: #5e717d;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 20px;
}
.h-p-special{
    text-indent: 50px;
}

/* Motto Section */
.motto-heading{
    display: flex;
    justify-content: center;
    align-items: center;
    color: #063970;
    font-size: 25px;
    margin-bottom: 2%;
}
.motto{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
     

    @media(max-width:768px){
        flex-direction: column;
        gap: 10px;
    }
}
.motto-h2{
    color:#c10042 ;
    padding: 15px 25px;
    margin: 25px 30px;
    border-radius: 5px;
}
.motto-child{
    color: #063970;
    background-color: #fff;
    font-size: 22px;
    padding: 30px 40px;
    border-radius: 5px;
    transition: 0.5s;

    @media(max-width:768px){
        font-size: 16px;
        padding: 10px 20px;
        background-color: #F5F5F5;
    }
}
.motto-child:hover{
    box-shadow: 2px 2px 8px #000;
    scale: 1.05;
}
.motto-quote{
    color: orange;
    font-size: 25px;
    margin-bottom: 2%;
}

/* History Question */
.his-ques{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #39424a;
    font-size: 20px;

    @media(max-width:768px){
        font-size: 18px;
    }

}
.his-ques h2{
     line-height: 4rem;
}
.his-ques a{
    color: #063970;
    padding: 15px 20px;
    border: 2px solid #063970;
    border-radius: 30px;
    margin-bottom: 4%;
    transition: 0.5s;
    cursor: pointer;

    @media(max-width:768px){
        padding: 12px 18px;
    }
}
.his-ques a:hover{
    color: #fff;
    background-color: #063970
}






/* Footer  */

.footer {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #063970;
    max-height: 300px;
    padding: 60px 0;
    gap: 90px;
    transition: 0.5s;

    @media (max-width:768px) {
        flex-direction: column;
        gap: 30px;
        padding: 30px 0;
    }
}
.footer li a{
    color: #fff;
    font-size: 18px;
}
.footer li a:hover{
    text-decoration: underline;
}
.footer ul{
    line-height: 2.0;
    @media(max-width:768px){
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 60px;
    }
    
}
.ft-icon{
    font-size: 25px;
    color: #fff;
}
.footer-icons{
    background-color: #063970;
}
.footer-icons ul{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
}
.footer-bottom {
    width: 100%;
    text-align: center;
    background: #063970;
    color: #fff;
    padding: 10px 0;
    line-height: 1.5;
}
.footer-bottom a {
    color: #fff;
    text-decoration: underline;
}