@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;300;400;500;600&display=swap');

:root{
    --green:#2fda20;
    --purple:#5a1668;
    --black: #1d1c1c;
    --white: #fff;
    --light-color:rgb(83, 121, 85);
    --box-shadow:0 .5rem 1.5rem rgba(0,0,0,.1);
}

*{
  font-family: 'Poppins', sans-serif;
  margin: 0; padding: 0;
  box-sizing: border-box;
  outline: none; border: none;
  text-decoration: none;
  text-transform: capitalize;
  transition: all .2s linear;
}

html{
  font-size: 62.5%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

section{
  padding: 3rem 7%;
}

#nav-heading{
  font-weight: bold;
  font-size: 1.7vw;
  margin-left:10px;
}

.heading{
  font-size: 4rem;
  color: var(--black);
  text-align: center;
  text-transform: uppercase;
  font-weight: bolder;
  margin-bottom: 6rem;
}

.heading span{
  color: var(--green);
  text-transform: uppercase;
}

.btn{
  font-size: 1.7rem;
  margin-top: 1rem;
  display: inline-block;
  padding: .8rem 3rem;
  border-radius: .5rem;
  border: .2rem solid var(--green);
  color: var(--green);
  background: none;
  cursor: pointer;
}

.btn:hover{
  background: var(--green);
  color: var(--white);
}

/* header */

.header{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 9%;
  background: var(--white);
  box-shadow: var(--box-shadow);
}

.header .logo{
  font-size: 2rem;
  font-weight: bolder;
  color: var(--black);
  text-align: justify;
  margin-right: 1rem; 
}

.header .logo img{
  vertical-align:auto;
  align-items: auto;
  margin-right: .5rem;
  height: 40px;
  width: 40px;
  
}

.header .navbar a{
  font-size: 1.6rem;
  margin: 0 1rem;
  color: var(--black);
}

/*.header .navbar a img{
  width: 50px;
  height: 50px;
}*/

.header .navbar a:hover,
.header .icons div:hover{
  color: var(--green);
}

.header .icons div{
  font-size: 2rem;
  margin-left: 1.7rem;
  color: var(--black);
  cursor: pointer;
}

#menu-btn{
  display: none;
}

.header .login-form{
  position: absolute;
  top: 110%; right: -110%;
  width: 35rem;
  box-shadow: var(--box-shadow);
  padding: 2rem;
  border-radius: .5rem;
  background: var(--white);
  text-align: center;
}

.header .login-form.active{
  right: 2rem;
  transition: .4s linear;
}

.header .login-form h3{
  font-size: 2rem;
  text-transform: uppercase;
  color: var(--black);
}

.header .login-form .box{
  width: 100%;
  margin: .7rem 0;
  background: #eee;
  border-radius: .5rem;
  padding: 1rem;
  font-size: 1.4rem;
  color: var(--black);
  text-transform: capitalize;
}

.header .login-form p{
  font-size: 1.2rem;
  padding: .5rem 0;
  color: var(--light-color);
}

.header .login-form p a{
  color: var(--green);
  text-decoration: underline;
}

/* header ends */

/* home */

.home{
  min-height: 100vh;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  position: relative;
}

.home .content{
  flex: 1 1 40rem;
  padding-top: 6.5rem;
}

.home .content h3{
  font-size: 6rem;
  color: var(--black);
}

.home .content h3 span{
  color: var(--green);
}

.home .content p{
  font-size: 1.7rem;
  color: var(--light-color);
  line-height: 1.8;
  padding: 1rem 0;
}

.home .content p a:focus{
  border: 0.1rem solid var(--green);
}

.home .image{
  flex: 1 1 38rem;
}

.home .image img{
  width: 100%;
  padding: 4rem;
}

.custom-shape-divider-bottom-1684324473 {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.custom-shape-divider-bottom-1684324473 svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 107px;
  transform: rotateY(180deg);
}

.custom-shape-divider-bottom-1684324473 .shape-fill {
  fill: var(--purple);
}

/* end */

/* about us */

.about{
  background: var(--purple);
}

/* .about .row{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.about .row .image{
  flex: 1 1 50rem;
}

.about .row .image img{
  width: 100%;
  height: 100%;
}

.about .row .content{
  flex: 1 1 40rem;
}

.more-text {
  display: none;
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  text-align: justify;
}
 */
 .about .row {
  display: flex;
  align-items: flex-start;
  flex-wrap: nowrap; /* Ensures image and text stay side by side */
  gap: 2rem;
}

.about .row .image {
  flex: 1 1 50%; /* Adjust size of the image */
  position: static; /* Removes fixed positioning */
}

.about .row .image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.about .row .content {
  flex: 1 1 60%;
  max-width: 60%;
  position: relative;
}

/* Hidden text that will expand fully below the image and text */
.more-text {
  display: none;
  width: 100%;
  padding: 20px;
  border-radius: 8px;
  text-align: justify;
}

/* .about .row .image .extra-images {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 15px;
}

.about .row .image .extra-images img {
  width: 30%; 
  height: auto;
  border-radius: 10px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}

 */
 
.about .row .content h3{
  font-size: 3.5rem;
  color: var(--white);
  line-height: 1.5;
}

.more-text {
  display: none;
  transition: all 0.5s ease-in-out;
}
.read-more-btn {
  background-color: var(--green);
  color: white;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  font-size: 1.4rem;
  margin-top: 10px;
}
.read-more-btn:hover {
  background-color: var(--purple);
}


.about .row .content p{
  font-size: 1.4rem;
  color: var(--white);
  padding: 1rem 0;
  line-height: 2;
}

/* end */

/* education */

.education .box-container{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  gap: 1.2rem;
}

.education .box-container .box{
  background: var(--white);
  border-radius: 2rem;
  box-shadow: var(--box-shadow);
  outline: .1rem solid rgba(0,0,0,.1);
  outline-offset: -1rem;
  overflow: hidden;
}

.education .box-container .box b{
    text-decoration: underline;
}

.education .box-container .box:hover img{
  transform: scale(1.5);
  width: 100%;
  height: auto;
}

.education .box-container .box:nth-child(odd){
  background: var(--purple);
}

.education .box-container .box:nth-child(even){
  background: var(--green);
}

.education .box-container .box h3{
  font-size: 2rem;
  color: var(--white);
  line-height: 1.5;
  padding-top: 2rem;
  padding-left: 1.5em;
}

.education .box-container .box p{
  font-size: 1.4rem;
  line-height: 1.5;
  color: var(--white);
  padding: 1rem 2rem;
}

.education .box-container .box img{
  width: 100%;
  height: auto;
  
}

/* end */

/* teacher */

.teacher{
  background: url(images/teacher-bg.png) no-repeat;
  background-position: center;
  background-size: cover;
}

.teacher .box-container{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
  gap: 1.5rem;
}

.teacher .box-container .box{
  background: var(--white);
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: var(--box-shadow);
  border-radius: 2rem;
}

.teacher .box-container .box img{
  height: 30rem;
}

.teacher .box-container .box h3{
  font-size: 2.5rem;
  color: var(--black);
}

.teacher .box-container .box p{
  font-size: 1.7rem;
  color: var(--light-color);
  margin-bottom: 1rem;
}

.teacher .box-container .box .share a{
  height: 4.5rem;
  width: 4.5rem;
  line-height: 4.5rem;
  font-size: 2rem;
  border-radius: .5rem;
  background: none;
  color: var(--purple);
  border: .1rem solid var(--purple);
  margin-left: .5rem;
  box-shadow: var(--box-shadow);
  cursor: pointer;
}

.teacher .box-container .box .share a:hover{
  color: var(--white);
  border: .1rem solid var(--green);
  background: var(--green);
}

/* end */

/* activities */

.activities .box-container{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
  gap: 1.5rem;
}

.activities .box-container .box{
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: var(--box-shadow);
  border-radius: 2rem;
  outline: .1rem solid rgba(0,0,0,.1);
  outline-offset: -1rem;
}

.activities .box-container .box img{
  height: 8rem;
}

.activities .box-container .box:hover img{
  transform: scale(1.1);
}

.activities .box-container .box h3{
  font-size: 2.2rem;
  padding: 2rem 0;
  color: var(--black);
}

/* end */

/* gallery */

.gallery{
  background: url(images/gallery-bg.png) no-repeat;
  background-size: cover; 
}

.gallery .gallery-container{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
  gap: 2rem;
}

.gallery .gallery-container .box{
  height: 100%;
  position: relative;
  overflow: hidden;
}

.gallery .gallery-container .box img{
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.gallery .gallery-container .box:hover img{
  transform: scale(1.2);
}

.gallery .gallery-container .box .icon{
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0; left: 0;
  z-index: 10;
  height: 100%;
  width: 100%;
  background: rgba(0,0,0,.4);
  display: none;
}

.gallery .gallery-container .box .icon i{
  font-size: 6rem;
  color: var(--white);
}

.gallery .gallery-container .box:hover .icon{
  display: flex;
}


.contact .icons-container {
  display: flex;
  flex-wrap: wrap;
  gap: 4rem;
}

.contact .icons-container .icons {
  padding: 2rem;
  box-shadow: var(--box-shadow);
  border-radius: 2rem;
  text-align: center;
  outline: .1rem solid rgba(0, 0, 0, .1);
  outline-offset: -1rem;
  flex: 1 1 calc(30% - 2 * 4rem); /* Adjust the width as needed */
}

.contact .icons-container .icons .size {
  font-size: 2rem; /* Adjust the font size as needed */
  padding: 1rem 0;
  color: var(--black);
}

.contact .icons-container .icons i {
  font-size: 3rem; /* Adjust the font size as needed */
  height: 6rem;
  width: 6rem;
  color: var(--white);
  line-height: 6rem;
  border-radius: 50%;
  background: var(--green);
}

.contact .icons-container .icons .text-container {
  display: flex;
  flex-direction: column;
  margin-top: 1rem;
}

.contact .row{
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 4rem;
}

.contact .row .image{
  flex: 1 1 20rem;
}

.contact .row .image img{
  width: 100%;
}

.contact .row form{
  flex: 1 1 50rem;
  padding: 2rem;
  border: 0.1rem solid rgba(0,0,0,.4);
  box-shadow: var(--box-shadow);
  border-radius: .5rem;
}

.contact .row form h3{
  font-size: 3rem;
  padding-bottom: 1rem;
  color: var(--black);
}

.contact .row form .inputBox{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.contact .row form .inputBox input{
  width: 49%;
}

.contact .row form .inputBox input,
.contact .row form textarea{
  font-size: 1.6rem;
  border: 0.1rem solid rgba(0,0,0,.3);
  border-radius: 0.5rem;
  padding: 1rem 1.2rem;
  color: var(--black);
  margin: .7rem 0;
}

.contact .row form .inputBox input:focus,
.contact .row form textarea:focus{
  border: 0.1rem solid var(--green);
}

.contact .row form textarea{
  height: 15rem;
  width: 100%;
  resize: none;
}

/* end */

/* footer */

.footer{
  background: var(--purple);
}

.footer .box-container{
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(25rem,.5fr));
  gap: 1.5rem;
}

.footer .box-container .box h4{
  font-weight: bold;
  white-space: nowrap;
  margin-top: auto;
  text-align: center;
  padding-top: .25rem;
  font-size: 1.5rem;
  color: var(--green);
  padding: 1rem 0;

}

.footer .box-container .box h3 img{
  vertical-align:auto;
  align-items: flex-start;
  margin-right: 0rem;
  height: 100px;
  width: 100px;
  

}

.footer .box-container .box p{
  font-size: 1.5rem;
  color: var(--white);
  padding: .5rem 0;
  line-height: 1;
  text-align: center;
}

.footer .box-container .box a{
  display: block;
  font-size: 1.4rem;
  color: var(--white);
  padding: 1rem 0;
}

.footer .box-container .box a:hover{
  color: var(--green);
}

.footer .box-container .box a i{
  padding-right: .5rem;
  color: var(--green);
}


.footer .credit{
  margin-top: 2.5rem;
  padding: 1rem;
  padding-top: 2rem;
  border-top: .1rem solid rgba(0,0,0,.3);
  text-align: center;
  color: var(--white);
  font-size: 2rem;
}

.footer .credit span{
  color: var(--green);
}

.map-container {
  width: 300px; /* Adjust width as needed */
  height: 200px; /* Adjust height as needed */
  border: 4px solid rgb(19, 11, 11); /* Optional: Add a border for styling */
  border-radius: 4px; /* Optional: Rounded corners */
  overflow: hidden; /* Ensures no overflow from iframe */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional: Add shadow for better appearance */
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none; /* Removes iframe border */
}
/* end */

/* media query */

@media (max-width:991px){

  html{
    font-size: 55%;
  }

  .header{
    padding: 2rem 3rem;
  }

  section{
    padding: 3rem;
  }

}

@media (max-width:768px){

  #menu-btn{
    display: inline-block;
  }

  .header .navbar{
    position: absolute;
    top: 110%; right: -110%;
    width: 30rem;
    box-shadow: var(--box-shadow);
    border-radius: .5rem;
    background: var(--white);
  }

  .header .navbar.active{
    right: 2rem;
    transition: .4s linear;
  }

  .header .navbar a{
    font-size: 2rem;
    margin: 2rem 2.5rem;
    display: block;
  }

  .home .content h3{
    font-size: 4.5rem;
  }

}

@media (max-width:450px){
  html{
    font-size: 50%;
  }
  .home .content h3{
    font-size: 3.5rem;
  }
}


