
*{
    .poppins-regular {
        font-family: "Poppins", sans-serif;
        font-weight: 400;
        font-style: normal;
        
      }
}
/**navbar**/ 
.navbar{
    margin: 10px;
    background-color: rgb(227, 234, 241);
    height: 50px;
    border-radius: 10px;
    box-shadow: #000;
}
.navbar-brand{
    font-weight: bold;
    color: #332adf;
    font-size: 24px;
    transition: 0.3s color;
}
.navbar-toggler{
    border: none;
    font-size: 1.25rem;
}

.navbar-toggler:focus, .btn-close:focus{
    box-shadow: none;
    outline: none;
}

.nav-link{
    color: #666777;
    font-weight: bold;
    position: relative;
}

.nav-link:hover, .nav-link.active{
    color: #000;
}
.nav-link:hover::before, .nav-link.active::before{
    width: 100%;
    visibility: visible;
  }

.nav-items{
  margin-top: 7px;
}
.nav-links{
  background: #000399;
  padding: 10px;
  border-radius: 10px;
  color: #fff;
    text-decoration: none;
  margin-top: 20px;
  font-weight: bold;
  transition: 0.3s;
}
.nav-links:hover{
  background: #3075ff;
}
/**banner**/
section#banner {
  margin: 10px 100px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 40px;
  background-color: #f4f7fc;
  border-radius: 20px;
}
.banner-text {
  flex: 1 1 45%;
  padding: 20px;
}

.banner-text h1 {
  font-size: 60px;
  color: #0388c1;
  font-weight: bold;
  font-style: initial;
}

.banner-text p {
  font-size: 25px;
  color: #222;
  margin-top: 10px;
  line-height: 1.8;
  text-align: left;
}

/* ===== Button ===== */
.btn {
  display: inline-block;
  background-color: #a0003a;
  color: #fff;
  padding: 14px 30px;
  border-radius: 40px;
  text-decoration: none;
  margin-top: 20px;
  font-weight: bold;
  transition: 0.3s;
}

.btn:hover {
  background-color: #ff3b83;
  color: #000;
}

/* ===== Brand Info ===== */
.brand-title {
  margin-top: 30px;
  color: #a0003a;
  font-weight: bold;
}

.brand-name {
  font-size: 20px;
}

.banner-images {
  flex: 1 1 45%;
  display: grid;
}

.banner-images img {
  width: 100%;
  border-radius: 8px;
  height: 100%;
  object-fit: cover;
}
.h1 h1{
  text-align: center;
  font-size: 45px;
  font-weight: bold;
  padding: 0px 0px 50px 0px;
}

.h4{
  color: #000;
  font-size: 40px;
  
}
.subject{
 
  width: 200px;
  padding: 25px;
}
.border
{
  padding: 25px;
  font-size: 20px
}
.grade6
{
  padding: 10px;
  font-size: 25px;
  background-color: rgb(13, 100, 100);
}
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'open sans' , sans-serif;
}

/* HEADER*/
header {
  background-color: #fff;
  position: relative;
  padding: 0 2rem;

}

/* HERO */
section#hero{
  height: calc(100vh - 60px);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;

}
.logo{
  font-size: 25px;
  font-weight: bold;
  color: #0b2ca1;
}
.intro{
  margin: 50px;
  background-image: url(../image/360_F_430029841_hCPkljypGWekhCBw6tv54t9U9Rl8eC9C.jpg);
    background-repeat: no-repeat;
  background-size: cover;
  background-position: center;

}

button {
  margin: 5px;
  padding: 10px 85px;
  background-color: #ffffff;
  border-radius: 10px;
  
}
button:hover{
   background-color: #1a5790;
   transition: 0.5s;
   cursor: pointer;
}
.grade{
  color: #000000;
}
.grade:hover{
  color: #dbf0fc;
}
.leval{
  margin: 0px 100px 50px 100px;
}
.leval .h3{
  margin: 0px 0px 30px 0px;
  background-color: #1a5790;
  color: #fff;
  padding: 7px;
  border-radius: 7px;
  font-size: 25px;
  font-weight: bold;
  display: inline-block;
  
}
#abi {
  margin: 10px;
  background-color: #fff;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;

  
}
h5{
  height: 10px;
}
.news{
  margin: 20px 100px;
  padding: 40px;
  background-color: #dbf0fc;
  border-radius: 20px;
}
.news h1{
  text-align: center;
  font-weight: bold;
  color: #009dff;
  font-size: 70px;
}
.news p {
  text-align: center;
}

h2{ 
  margin: 20px 150px;
}
.choice {
  margin: 20px 140px;
}
.abi3{
  margin: 20px 140px;
}
h3{
  font-weight: bold;
}
#sub{
  margin: 100px;
}
#about{
  margin: 50px 150px;
}
p{
  font-size: 20px;
}
.line{
  text-align: center;
  background: #52b9ed;
  padding: 30px;
  border-radius: 10px;
}

.media{
  display: grid;
  gap: var(--size-3);
  grid-auto-flow: column;
  grid-auto-columns: 28%;

  overflow-x: auto;
}
.ourteam{
  font-size: 50px;
  font-weight: bold;
  text-align: center;
}
.cards{
  align-items: center;
width: 280px;
height: 360px;
margin: 15px;
border-radius: 10px;
 background: #fff;
 position: relative;
 display: flex;
 align-items: flex-end;
 box-shadow: 0px 7px 10px rgba(0, 0, 0, 0.5);
 transition: 0.5s ease-in-out;
}
.cards:hover{
  transform: translateY(20px);
}
.cards:before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,176,155,0.5), rgba(150,201,61,1));
  z-index: 2;
  transition: 0.5s all;
  opacity: 0;
}
.cards:hover:before{
  opacity: 1;
}
.cards img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  border-radius: 10px;
}
.cards .info{
  margin: 10px;
  position: relative;
  z-index: 3;
  color: #fff;
  opacity: 0;
  transform: translateY(30px);
  transition: 0.5s all;


}
.cards:hover .info{
  opacity: 1;
  transform: translateY(0px);
}
.cards .info h1{
  margin: 0;

}
.cards .info p{
  letter-spacing: 1px;
  font-size: 15px;
  margin-top: 8px;
  margin-bottom: 20px;
}
/* DROPDOWN MENU */
.dropdown_menu {
  display: none;
  position: absolute;
  right: 2rem;
  top: 60px;
  height: 0;
  width: 300px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  border-radius: 10px;
  overflow: hidden;
  transition: height 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.dropdown_menu.open {
  height: 240px;

}

.dropdown_menu li {
  padding: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;

}
.dropdown_menu .action_btn{
  width: 100%;
  display: flex;
  justify-content: center;
}
.footer{
      background:linear-gradient(180deg,var(--accent),var(--accent-2));
      color:#fff;
}
#team {
  background-color: #000;
}

svg {
  color: #002bff;
}
#subject
{
  padding: 150px;
  background-color: #000;
  background-image: url(../image/painting-mountain-lake-with-mountain-background.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
#pdf
{
  background-color: #000;
  padding: 20px 0px 50px 0px;
  background-image: url(../image/painting-mountain-lake-with-mountain-background.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
#pdf a p{
  font-size: 15px;
}
footer {
   background: #05113e; 
}
.footercontainer{
  width: -100%;
  padding: 20px 30px;
}
.socialicons{
  display: flex;
  justify-content: center;
}
.socialicons a{
  text-decoration: none;
  padding: 5px;
  background-color: #fff;
  margin: 10px;
  border-radius: 50px;
}
.socialicons a i{
  font-size: 2em;
  color: #0015ff;
  opacity: 0.9;
}
.socialicons a:hover{
  background-color: #05113e;
  transition: 0.5s;

}
.socialicons a:hover i{
  color: #fff;
  transition: 0.5s;
}
.footernav{
  margin: 20px 0;
}
.footernav ul{
  display: flex;
  justify-content: center;
}
.footernav ul li a{
  color: #fff;
  margin: 10px;
  text-decoration: none;
  font-size: 1.3em;
  opacity: 0.7;
  transition: 0.5s;
}
.footernav ul li a:hover{
  color: #ff0000;
  transition: 0.5;
  opacity: 1;
}
.container p{
  color: #fff;
}

/* Page basics */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  background: #f8f9fa;
}

/* Popup overlay */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.4s ease, visibility 0.4s;
}

/* Popup visible state */
.popup.show {
  visibility: visible;
  opacity: 1;
}

/* Popup box */
.popup-content {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  position: relative;
  width: 90%;
  max-width: 450px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

/* Close button */
.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 25px;
  color: #333;
  cursor: pointer;
  transition: color 0.3s;
}
.close-btn:hover {
  color: #e63946;
}

/* Image */
.popup-content img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 15px;
}

/* Join button */
.join-btn {
  display: inline-block;
  background-color: #25D366;
  color: white;
  text-decoration: none;
  font-weight: bold;
  padding: 12px 20px;
  border-radius: 5px;
  transition: background-color 0.3s;
}
.join-btn:hover {
  background-color: #1ebe5c;
}
/* Initial state: invisible and slightly moved down */
.card-animate {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.6s ease-out;
}

/* When the element is visible */
.card-animate.visible {
  opacity: 1;
  transform: translateY(0);
}
.media > div:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}
/* Responsive Section */
.responsive-section {
  padding: 80px 20px;
  background: #f9f9f9;
}

.responsive-section .section-header {
  text-align: center;
  margin-bottom: 50px;
}

.responsive-section .section-header h2 {
  font-size: 2.5rem;
  color: #0d6efd;
  margin-bottom: 10px;
}

.responsive-section .section-header p {
  font-size: 1.1rem;
  color: #555;
}

.responsive-section .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.responsive-section .col {
  flex: 1 1 300px;
  max-width: 350px;
}

.feature-card {
  background: #fff;
  padding: 30px 20px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.feature-card img {
  max-width: 80px;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #0d6efd;
}

.feature-card p {
  font-size: 1rem;
  color: #666;
}




/* BUTTON */
/* RESPONSIVE DESIGN */
@media (min-width: 991px){
.nav-link::before{
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: #000399;
    visibility: hidden;
    transition: 0.3s ease-in-out;


}
}
  @media (max-width: 797px){
    .navbar .links a{
      font-size: 15px;
      justify-content: center;
      align-items: center;
      padding-left: 50px;
    }

  }
  /* Responsive adjustments */
@media (max-width: 768px) {

  .grade-btn {
    padding: 15px 5px;
  }

  .grade-btn h3 {
    font-size: 1.2rem;
  }
}
  @media (max-width: 592px){
.h1 h1{
  font-size: 40px;
}
.news h1{
    text-align: center;
  font-size: 25px;
  padding: 0px;
}
  }

  @media (max-width: 578px) {
  .navbar .logo{
      font-size: 15px;
    }

  h2 {
    margin: 10px 25px;
    font-weight: bold;
  }
  a {
    font-weight: bold;
  }
  .choice{
    margin: 0px;
  }
  .abi3{
    margin: 0px;
    padding: 0px;
  }
  #sub{
    margin: 60px;
  }
  #about{
    margin: 10px;
  }
  h1{
    font-size: 30px;
    font-weight: bold;
  }
  p{
    font-size: 15px;
  }
  #abi{
    margin: 25px 0px;
  }
  button{
     font-size: 15px;
     margin: 2px ;
     padding:10px 33px;
  }
  .news{
  margin: 0px 10px;
}  
.leval{
  margin: 0px 10px;
}
a{
  font-size: 10px;
}
.abi3{
  margin: 0px;
}
h5{
  font-size: 15px;
}
.media{
    display: grid;
  gap: var(--size-3);
  grid-auto-flow: column;
  grid-auto-columns: 68%;
}
.h1 h1{
  font-size: 40px;
}
.news h1{
    text-align: center;
  font-size: 25px;
  padding: 0px;
}
}

@media (max-width: 456px) {
      .navbar .logo{
      font-size: 10px;
    }
  h2 {
    margin: 10px 25px;
    font-weight: bold;
  }
  a {
    font-weight: bold;
  }
  .choice{
    margin: 0px;
  }
  .abi3{
    margin: 0px;
    padding: 0px;
  }
  #sub{
    margin: 60px;
  }
  #about{
    margin: 10px;
  }
  h1{
    font-size: 30px;
    font-weight: bold;
  }
  p{
    font-size: 15px;
  }
  #abi{
    margin: 25px 0px;
  }
  button{
     font-size: 15px;
     margin: 2px ;
     padding:10px 33px;
  }
  .news{
  margin: 0px 10px;
}  
.leval{
  margin: 30px 10px;
}
a{
  font-size: 10px;
}
.abi3{
  margin: 0px;
}
h5{
  font-size: 15px;
}
.media{
    display: grid;
  gap: var(--size-3);
  grid-auto-flow: column;
  grid-auto-columns: 85%;
}
.footernav ul li a{
  font-size: 15px;
}
.h1 h1{
  font-size: 40px;
}
.news h1{
    text-align: center;
  font-size: 25px;
  padding: 0px;
}


}

@media (max-width: 442px) {
      .navbar .logo{
      font-size: 15px;
    }

  h2 {
    margin: 10px 25px;
    font-weight: bold;
  }
  a {
    font-weight: bold;
  }
  .choice{
    margin: 0px;
  }
  .abi3{
    margin: 0px;
    padding: 0px;
  }
  #sub{
    margin: 60px;
  }
  #about{
    margin: 10px;
  }
  h1{
    font-size: 30px;
    font-weight: bold;
  }
  p{
    font-size: 15px;
  }
  #abi{
    margin: 25px 0px;
  }
  button{
     font-size: 15px;
     margin: 2px ;
     padding:10px 47px;
  }
  .news{
  margin: 0px 10px;
}  
.leval{
  margin: 30px 10px;
}
a{
  font-size: 10px;
}
.abi3{
  margin: 0px;
}
h5{
  font-size: 15px;
}
.media{
    display: grid;
  gap: var(--size-3);
  grid-auto-flow: column;
  grid-auto-columns: 90%;

}
.footernav{
  margin: 10px 0;
}
.news h1{
    text-align: center;
  font-size: 25px;
  padding: 0px;
}

}
@media (max-width: 439px){
  button{
     font-size: 15px;
     margin: 2px ;
     padding:10px 42px;
  }
  .footernav{
  margin: 0px;
}
.footernav ul li a{
  font-size: 14px;
}
.h1 h1{
  font-size: 40px;
}
.news h1{
    text-align: center;
  font-size: 25px;
  padding: 0px;
}
.card {
  margin: 20px 70px 10px;
}
}
@media (max-width: 423px){
  .footernav{
  margin: 0px 0;
}
.footernav ul li a{
  font-size: 13px;
}
.news h1{
    text-align: center;
  font-size: 25px;
  padding: 0px;
}
.card {
  margin: 20px 50px 10px;
}
}

@media (max-width: 402px) {
      .navbar .logo{
      font-size: 15px;
    }
  section#banner{
    margin: 25px 0px;
    padding: 0px;
  }
  .banner-text h1{
    font-size: 30px;
  }
  .banner-text p{
    font-size: 15px;
  }
  .banner-images img{
    padding: 10px;
  }

  h2 {
    margin: 10px 25px;
    font-weight: bold;
  }
  a {
    font-weight: bold;
  }
  .choice{
    margin: 0px;
  }
  .abi3{
    margin: 0px;
    padding: 0px;
  }
  #sub{
    margin: 60px;
  }
  #about{
    margin: 10px;
  }
  h1{
    font-size: 30px;
    font-weight: bold;
  }
  p{
    font-size: 15px;
  }
  #abi{
    margin: 25px 0px;
  }
  button{
     font-size: 15px;
     margin: 2px ;
     padding:10px 37px;
  }
  .news{
  margin: 0px 10px;
}  
.leval{
  margin: 30px 10px;
}
a{
  font-size: 10px;
}
.abi3{
  margin: 0px;
}
h5{
  font-size: 15px;
}
.media{
    display: grid;
  gap: var(--size-3);
  grid-auto-flow: column;
  grid-auto-columns: 98%;
}
.footernav ul li a{
  font-size: 12px;
}
.news h1{
    text-align: center;
  font-size: 25px;
  padding: 0px;
}
.cards {
  margin: 20px 50px 10px;
}


}
@media (max-width: 398px){
  button {
         font-size: 15px;
     margin: 2px ;
     padding:10px 33px;
  }
.news h1{
    text-align: center;
  font-size: 25px;
  padding: 0px;
}
.card {
  margin: 20px 50px 10px;
}
}
@media(max-width: 387px){
  .footernav ul li a{
  font-size: 11px;
}
.news h1{
    text-align: center;
  font-size: 25px;
  padding: 0px;
}
.card {
  margin: 20px 40px 10px;
}
}
@media (max-width: 371px) {
      .navbar .logo{
      font-size: 15px;
    }

  h2 {
    margin: 10px 25px;
    font-weight: bold;
  }
  a {
    font-weight: bold;
  }
  .choice{
    margin: 0px;
  }
  .abi3{
    margin: 0px;
    padding: 0px;
  }
  #sub{
    margin: 60px;
  }
  #about{
    margin: 10px;
  }
  h1{
    font-size: 30px;
    font-weight: bold;
  }
  p{
    font-size: 15px;
  }
  #abi{
    margin: 25px 0px;
  }
  button {
         font-size: 15px;
     margin: 2px ;
     padding:10px 31px;
  }
  .news{
  margin: 0px 10px;
}  
.leval{
  margin: 0px 10px;
}
a{
  font-size: 10px;
}
.abi3{
  margin: 0px;
}
h5{
  font-size: 15px;
}
.footernav ul li a{
  font-size: 10px;
}
.news h1{
    text-align: center;
  font-size: 25px;
  padding: 0px;
}
.card {
  margin: 20px 35px 10px;
}

}
@media (max-width: 350px){
    button {
         font-size: 15px;
     margin: 1px ;
     padding:10px 34px;
  }
  .footernav ul li a{
  font-size: 10px;
}
.card {
  margin: 20px 20px 10px;
}
}
@media (max-width: 325px){
    button {
         font-size: 15px;
     margin: 2px ;
     padding:10px 29px;
  }
  .card {
  margin: 20px 10px 10px;
}
}
@media (max-width: 257px) {
      .navbar .logo{
      font-size: 15px;
    }

  h2 {
    margin: 10px 25px;
    font-weight: bold;
  }
  a {
    font-weight: bold;
  }
  .choice{
    margin: 0px;
  }
  .abi3{
    margin: 0px;
    padding: 0px;
  }
  #sub{
    margin: 60px;
  }
  #about{
    margin: 10px;
  }
  h1{
    font-size: 30px;
    font-weight: bold;
  }
  p{
    font-size: 15px;
  }
  #abi{
    margin: 25px 0px;
  }
  button{
     font-size: 10px;
     margin: 1px ;
     padding:8px 28px;
  }
  #banner{
      margin: 5px;
      padding: 70px 80px;
    }
  .news{
  margin: 0px 10px;
}  
.leval{
  margin: 0px 10px;
}
a{
  font-size: 10px;
}
.abi3{
  margin: 0px;
}
h5{
  font-size: 15px;
}

}
@media (max-width: 362px)
{
.choice{
  margin: 0px 5px;
}
.abi3{
  margin: 0px;
}
}