
*{
    padding: 0;
    margin: 0;
    border: 0;
    outline: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
}

body{
    overflow-x: hidden;
     font-family: "Montserrat", sans-serif;
}

:root {
    /* colors to be used */
    --color-primary: #6c63ff;
    --color-success: #00bf8e;
    --color-warning: #f7c94b;
    --color-danger: #f75842;
    --color-danger-variant: rgba(247, 88, 66, 0.4);
    --color-white: #fff;
    --color-light: rgba(255, 255, 255, 0.7);
    --color-black : #000;
    --color-bg: hsl(252, 30%, 100%);
    --color-bg1: hsl(252, 30%, 95%);
    --color-bg2: #424890;


    --container-width-lg: 80%;
    --container-width-md: 90%;
    --container-width-sm: 94%;

    --transition: all 400ms ease;
}

body{

      line-height: 1.7;
      color: var(--color-black);
      background: var(--color-bg);
}

/* ======================== GENERAL STYLING ============= */

.container {
    width: var(--container-width-lg);
    margin: 0 auto;
}
section{
    padding: 4rem 0 ;
}

section h2{
    text-align: center;
    margin-bottom: 4rem;
}
h1,h2,h3,h4,h5 {
    line-height: 1.2;
}
h1{
    font-size: 2.4rem;
}
h2{
    font-size: 2rem;
}
h3{
    font-size: 1.6rem;
}
h4{
    font-size: 1.1rem;
}
a{
    color: var(--color-black);
}
img{
    width: 100%;
    display: block;
    object-fit: cover;
}
video{
    width: 100%;
    display: block;
    object-fit: cover;
}

.btn{
    display: inline-block;
    background: var(--color-white);
    color: var(--color-black);
    padding: 1rem 2rem;
    border: 1px solid transparent;
    font-weight: 500;
    transition: var(--transition);
}

.btn:hover{
    background: var(--color-warning) ;
    color: var(--color-white);
    border-radius: 40%;
    border-color: var(--color-warning);
}
.Active a{
  color: var(--color-warning);
}
.btn-primary {
    background: var(--color-warning);
    color: var(--color-white);
}
/* ============================= NAV SECTION ============================ */

nav {
    background: transparent;
    width: 100vw;
    height: 5rem;
    position: fixed;
    top: 0;
    z-index: 11;
}
/* change navbar style on scroll using javascript */
.window-scroll{
    background: var(--color-bg);
    box-shadow: 0 1rem 2rem rgba(0,0,0,.3);
}

.window-scroll .nav__menu a{
    color: #000;
}

.logo__con img{
    width: 3rem;
    padding: 2rem 0;
}
.nav__container{
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav button {
    display: none;
}
.nav__menu{
    display: flex;
    align-items: center;
    gap: 4rem;
}
.nav__menu a {
    font-size: 0.9rem;
    color: var(--color-white);
    transition: var(--transition);
}
.nav__menu a:hover{
    color: var(--color-warning);
}
/* =========================== HEADER SECTION =================== */
header{
    position: relative;
    height: 100vh;
    width: 100vw;
    background-image: url(../Assest/image/IMG-20250924-WA0013.jpg);
    background-size: cover;
    background-position: center center;
    top: 0rem;
    overflow: hidden;
    height: 90vh;
    margin-bottom: 5rem;
}
.header__blur{
    position: absolute;
    height: 100%;
    width: 100%;
    background: #000;
    opacity: .6;
    z-index: -1px;
}
.header__container{
    display: flex;
    position: absolute;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100%;
    width: 100%;
    padding: 0 15% ;
    color: var(--color-white);
    z-index: 11px;
}
.header__left h1{
    line-height: 50px;
}
.header__left h3{
  font-size: 1rem;
}
.auto-type{
  color: var(--color-warning);
}
.header__left p{
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

/*  =================== WHO WE ARE SECTION ================= */

.who-we-are{
    background: var(--color-bg);
    /* box-shadow:  0 0 3rem rgba(0, 0, 0, 0.5); */

}
.who-we-are__container{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.who-we-are__left img{
    border-radius: 10px;
}
.who-we-are__right{
    margin-right: 4rem;

}
.who-we-are__right p{
    margin: 1rem 0 3rem;

}
.achievement__card{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 1.5rem;
    margin: 1rem 0;
}
.achievement{
    background: var(--color-bg1);
    padding: 1.6rem ;
    border-radius: 1rem;
    text-align: center;
    transition: var(--transition);
}


.achievement__icon{
    background: var(--color-danger);
    padding: 0.6rem;
    border-radius: 1rem;
    display: inline-block;
    margin-bottom: 2rem;
    font-size: 1.3rem;
}
.achievement:nth-child(2) .achievement__icon{
    background: var(--color-success);
}

.achievement:nth-child(3) .achievement__icon{
    background: var(--color-primary);
}
.achievement h5{
    font-size: 1.1rem;
}
.achievement p{
    margin-top: 1rem;
}

/* ========================== OUR PROGRAM ================== */
.program{
    background: var(--color-bg1);
    height: fit-content;
    padding-bottom:7rem ;
}
.program h2{
    line-height: 1;
    margin-bottom: 3rem;
}
.program__container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) ;
    gap: 2rem;
}
.programe{
    background: var(--color-bg);
    padding: 2rem;
    border-radius: 2rem;
    transition: var(--transition);
}

.programe:hover {
    box-shadow: 0 3rem 3rem rgba(0,0,0,.3);
    z-index: 1;
}
.programe:nth-child(1) .program__icon{
    background: var(--color-danger) ;
}
.programe:nth-child(2) .program__icon{
    background: var(--color-success) ;
}
.programe:nth-child(3) .program__icon{
    background: var(--color-warning) ;
}
.programe:nth-child(2) .program__icon{
    background: var(--color-success) ;
}

.program__icon{
    background: var(--color-primary);
    padding: 0.7rem;
    border-radius: 0.9rem;
}
.programe p, h5{
    font-size: 0.85rem;
    margin-top: 11px;
}

/* =========================== RECENT EVENT ==================== */
.event__container{
  min-height: 20vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.timeline{
  width: 80%;
  height: auto;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}
.timeline ul{
  list-style: none;
}
.timeline ul li{
  padding: 20px;
  background-color: #1e1f22;
  color: #fff;
  border-radius: 10px;
  margin-bottom: 20px;
}
.timeline ul li:last-child{
  margin-bottom: 0;
}
.timeline-content h3{
  font-weight: 500;
  line-height: 30px;
  margin-bottom: 10px;
}
.timeline-content p{
  line-height: 30px;
  font-weight: 300;
}
.timeline-content .date{
  font-size: 13px;
  font-weight: 300;
  margin-bottom: 10px;
  letter-spacing: 2px;
  

}

@media screen and (min-width: 765px){
  .timeline::before{
    content: '';
    position: absolute;
    height: 100%;
    width: 2px;
    left: 50%;
    transform: translateX(-50%);
    background-color: gray;
  }
  .timeline ul li{
    width: 50%;
    margin-bottom: 50px;
    position: relative;
  }
  .timeline ul li::after{
    content: '';
    position: absolute;
    height: 20px;
    width: 20px;
    background: gray;
    border-radius: 50%;
    top: 0;
  }
  .timeline ul li:nth-child(odd)::after{
    transform: translate(50%, -50%);
    right: -30px;
  }

   .timeline ul li:nth-child(even)::after{
    transform: translate(-50%, -50%);
    left: -30px;
  }
.timeline ul li:nth-child(odd){
  float: left;
  clear: right;
  transform: translateX(-30px);
  border-radius: 20px 0px 20px 20px;
}

.timeline ul li:nth-child(even){
  float: right;
  border-radius: 0px 20px 20px 20px;
  transform:translateX(30px) ;
  clear: left;
}
.timeline ul li:hover::after{
  background-color: var(--color-warning);
}
.timeline-content .date{
  position: absolute;
  color: #444;
  top: -30px;
}
}
/* ========================== PHOTOS SECTION ============== */

.photos__container{
  display: grid;
  grid-template-columns: 60% 40%;
  gap: 1rem;
}
.swiper {
      width: 70%;
      height: 70%;
    }

    .swiper-slide {
      text-align: center;
      font-size: 18px;
      background: #444;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .swiper-slide img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .autoplay-progress {
      position: absolute;
      right: 16px;
      bottom: 16px;
      z-index: 10;
      width: 48px;
      height: 48px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: bold;
      color: var(--color-warning);
    }

    .autoplay-progress svg {
      --progress: 0;
      position: absolute;
      left: 0;
      top: 0px;
      z-index: 10;
      width: 100%;
      height: 100%;
      stroke-width: 4px;
      stroke: var(--color-warning);
      fill: none;
      stroke-dashoffset: calc(125.6px * (1 - var(--progress)));
      stroke-dasharray: 125.6;
      transform: rotate(-90deg);
    }

    .corel_focus h3{
      color: var(--color-warning);
      margin-bottom: 1rem;
    }
    .corel_focus p{
      margin-bottom: .9rem;
    }
    .area{
      margin-bottom: .9rem;
    }

    .area h4 ion-icon{
      padding: .5em;
      color: var(--color-warning);
      background-color: #000;
      border-radius: 7px;
    }


    /* ====================== MEMBERSHIP SECTION ============== */
    .membership{
        background: var(--color-bg1);
    }
    .membership__container{
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    .membership h2{
        color: var(--color-warning);
    }
    .membership__left h4{
      margin-bottom: 1rem;
      font-weight: 700;
    }

    .membership__left p{
        margin-right: 11px;
        margin-bottom: 2rem;
    }
    .membership-detials h4{
      margin-bottom: 1rem;
      font-weight: 700;
    }
    .membership-detials p{
      margin-right: 11px;
      margin-bottom: 2rem;
    }
    .info-detial{
      display: flex;
      gap: .8rem;
      text-align: center;
      color: var(--color-warning);
    }
    .info-detial h4{
      font-weight: normal;
    }
    .info-social {
      margin-top: 1rem;
      display: flex;
      gap: 2rem;
    }
    .info-social ion-icon{
      font-size: 1.8rem;
      cursor: pointer;
    }


/* ==================== membership ============== */
.team{
    background: var(--color-bg1);
    box-shadow: inset 0 0 3rem rgba(0, 0, 0, 0.5);
}

.member__container{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}
.team__member{
    background: var(--color-white);
    padding: 2rem;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}
.team__member:hover{
    background: transparent;
    border-color: var(--color-warning);
}

.team__member-image img{
    filter: saturate(0);
}
.team__member:hover img{
    filter: saturate(1);
}
.team__member-info{
    text-align: center;
    margin-top: 1.4rem;
}
.team__member-info h4{
  font-size: .9rem;
}
.team__member-info em{
  font-size: .7rem;
}
.team__member-info p{
    color: var(--color-black);
    font-size: .8rem;
}
.team__member-socials{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: -100%;
    display: flex;
    flex-direction: column;
    background: var(--color-warning);
    border-radius: 1rem 0 0 1rem;
    box-shadow: -2rem 0 2rem rgba(0,0,0,0.3);
    transition: var(--transition);

}

.team__member:hover .team__member-socials{
    right: 0;
}

.team__member-socials a{
    padding: 1rem;
    font-size: 20px;
}

/* ========================= gallery ===================== */
.gallery{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.bnt{
  margin-top: 1rem;
}
.gallery__container{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  
}
.card-box{
  /* width: 320px; */
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 3px solid var(--color-bg1)  ;
}
.card-text{
  width: 100%;
  height: 100%;
  top: 0;
  right: -100%;
  position: absolute;
  background: #1f3d4741;
  backdrop-filter: blur(5px);
  border-radius: 15px;
  color: var(--color-white);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: 2s;
}
.card-box:hover .card-text{
  right: 0;
}
.card-sub-title{
  text-transform: capitalize;
  font-size: 10px;
  font-weight: 500;
}
.card-sub-text{
  /* font-size: 16px; */
  line-height: 25px;
  margin: 20px 0;
  font-weight: 400;
}
/* ============================= FAQS ======================= */
.faqs{
    background: var(--color-bg1);
    box-shadow: inset 0 0 3rem rgba(0, 0, 0, 0.5);
  }
  .faqs__container{
    display: grid ;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  .faq{
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.4rem;
    height: fit-content;
    background: var(--color-warning);
    cursor: pointer;
  }
  .faq h4{
    font-size: .8rem;
    color: var(--color-white);
    line-height: 2.2;
  }

  .faq__icon{
    align-self: flex-start;
    font-size: 1.2rem;
    color: var(--color-white);
  }
  .faq p{
    margin-top: 0.8rem;
    color: var(--color-white);
    display: none;
  }
  .faq.open p{
    display: block;
  }

  /* ############################## FOOTER ######################## */

footer{
  background: var(--color-bg1);
  padding-top: 5rem;
  font-size: 0.9rem;
}
.footer__container{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5rem;
}
.footer__container > div h4{
    color: var(--color-warning);
  margin-bottom: 1.2rem;
}
.footer__logo img{
    width:  4.5rem;
    padding: 2rem 0;
}
.footer__1{
  margin: 0 0 1rem;
  /* padding: 9rem ; */
}

footer ul li{
  margin-bottom: 0.7rem;
}
.footer ul li a:hover {
  text-decoration: underline;
} 
.footer__socials{
  display: flex;
  gap: 1rem;
  font-size: 1.2rem;
  margin-top: 1.2rem;
}

.footer__copyright{
  text-align: center;
  margin-top: 4rem;
  padding: 1.2rem 0;
  border-top: 1px solid var(--color-black);
}



/*  ==================== MEDIA QUERIES (TABLETS) ============================ */
@media screen and (max-width: 1024px)  {
  .container{
    width: var(--container-width-md);
  }
  body{
    overflow-x: hidden;
  }

  

  h1{
    font-size: 2rem;
  }
  h2{
    font-size: 1.7rem;
  }
  h3{
    font-size: 1.4rem;
  }
  h4{
    font-size: 1.2rem;
  }
  /* =============== NAVBAR============ */

  nav button{
    display: inline-block;
    background: transparent;
    font-size: 1.8rem;
    color: var(--color-white);
    cursor: pointer;
  }
  #open-menu-btn{
    color: black;
  }
  nav button#close-menu-btn{
    display: none;
    color: black;
  }
  .nav__menu{
    position: fixed;
    top: 5rem;
    right: 5%;
    height: fit-content;
    width: 18rem;
    flex-direction: column;
    gap: 0;
    display: none;
  }

  .nav__menu li{
    width: 100%;
    height: 5.8rem;
    animation: animateNavItem 400ms linear forwards;
    transform-origin: top right;
    opacity: 0;
  }

  .nav__menu li:nth-child(2){
    animation-delay: 200ms;
  }

  
  .nav__menu li:nth-child(3){
    animation-delay: 400ms;
  }
  
  .nav__menu li:nth-child(4){
    animation-delay: 600ms;
  }
  @keyframes animateNavItem {
    0% {
      transform: rotateZ(-90deg) rotateX(90deg) scale(0.1);
    }
    100% {
      transform: rotateZ(0) rotateX(0) scale(1);
      opacity: 1;

    }
  }
  .nav__menu li a{
    background: var(--color-warning);
    box-sizing: -4rem 6rem 10rem rgba(0,0,0,0.6);
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
  }
  .nav__menu li a:hover{
    background: var(--color-bg2);
    color: var(--color-white);
  }

  /* ============ HEADER=========== */
  header{
    height: 82vh;
    margin-bottom: 5rem;
  }
  .header__container{
    padding: 4rem 0  3rem .9rem;
    /* padding-bottom: 3rem; */
  }
/* ================== WHO WE ARE ====== */
  .who-we-are__container{
    grid-template-columns: 1fr ;
    gap: 1rem;
  }

  /* ============== PROGRAM =========== */
  .program{
    height: fit-content;
  }

  .program__container{
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .program__left{
    margin-right: 0;
  }
  /* =================== EVENTS =================== */
  .event{
    /* height: fit-content; */
    margin-top: 6rem;
  }

  /* ===================== GALLERY========== */
  .photos__container{
    grid-template-columns: 1fr;
  }
   .gallery{
    /* max-width: 1200px; */
    width: 100%;
    margin-top: -11rem;
  }

   .swiper {
      width: 100%;
      height: 100%;
      margin-bottom: rem;
    }

    .swiper-slide {
      width: 300px;
      height: 300px;
    }

    .swiper-slide img {
      width: 100%;
      height: 100%;
    }
/* ===================== membership =============== */
    .membership__container{
        grid-template-columns: 1fr;
        gap: 5rem;
    }

    /* ================== executive Member ======== */
    .member__container{
      grid-template-columns: repeat(2,1fr);
      margin-bottom: 8rem;
    }
  /* ===================== FAQS =================== */
  .faqs__container{
    grid-template-columns: 1fr;
  }
  .faq{
    padding: 1.5rem;
  }

  /* ========================= FOOTER =================== */
  .footer__container{
    grid-template-columns: 1fr 1fr;
  }
}

/*  ==================== MEDIA QUERIES (PHONE) ============================ */
@media screen and (max-width: 600px) {
  .container{
    width: var(--container-width-sm);
  }
  /* =============== NAVBAR ===================== */
  .nav__menu{
    right: 3%;
  }
  /* =============== HEADER ===================== */
  header{
    height: 90vh;
  }
  .header__container{
    grid-template-columns: 1fr;
    text-align: center;
    margin-top: 4rem;
  }
  .header__container p{
    margin-bottom: 1.3rem;
  }

  /* =============== PROGRAM ===================== */
  .program__right{
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }
  .programe{
    padding: 1rem;
    border-radius: 1rem;
  }
  .program__icon{
    margin-top: 4px;
    display: in;
  }
  .achievement__card{
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  /* ========================== EVENT ================== */
  .event{
    margin-top: 4rem;
  }
  /* ============= executive Member ======== */
  .member__container{
      grid-template-columns: 1fr;
    }
  /* ===================== GALLERY =================== */
     .gallery{
    /* max-width: 1200px; */
    width: 100%;
    margin-top: -11rem;
  }

   .swiper {
      width: 100%;
      height: 100%;
    }

    .swiper-slide {
      width: 300px;
      height: 300px;
    }

    .swiper-slide img {
      width: 100%;
      height: 100%;
    }
  /* =================== FOOTER =========================== */
  .footer__container{
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  .footer__1 p{
    margin: 1rem auto;
  }
  .footer__socials{
    justify-content: center;
  }

}
