@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500&display=swap');
*{
  transition: all 0.5s;
}

:root{
    --dark-theme-color:#421037;
    --light-theme-color:#D54650;
    --gray-color:  #575757;
    --white-color:#ffffff;
    --font-family: 'Poppins';
    --section-bg-color: #FEF4EF;

     /* fonts */
  --font-poppins: Poppins;

  /* font sizes */
  --font-size-2xs: 12px;
  --font-size-xs: 14px;
  --font-size-sm: 16px;
  --font-size-base: 18px;
  --font-size-lg: 24px;
  --font-size-xl: 32px;
  --font-size-2xl: 48px;
  --font-size-3xl: 56px;
  --font-size-4xl: 64px;

  /* Colors */
  --color-white: #fff;
  --color-gray-100: #fef4ef;
  --color-gray-200: #575757;
  --color-gray-300: #421037;
  --color-brown: #db4242;

  /* Gaps */
  --gap-3xs: 8px;
  --gap-2xs: 16px;
  --gap-xs: 20px;
  --gap-sm: 35px;
  --gap-md: 36px;
  --gap-lg: 40px;
  --gap-xl: 44px;
  --gap-2xl: 72px;
  --gap-3xl: 100px;

  /* Paddings */
  --padding-6xs: 8px;
  --padding-5xs: 13px;
  --padding-4xs: 15px;
  --padding-3xs: 16px;
  --padding-2xs: 18px;
  --padding-xs: 20px;
  --padding-sm: 27px;
  --padding-md: 30px;
  --padding-lg: 32px;
  --padding-xl: 38px;
  --padding-2xl: 40px;
  --padding-3xl: 60px;
  --padding-4xl: 64px;
  --padding-5xl: 80px;
  --padding-6xl: 100px;

  /* border radiuses */
  --br-sm: 8px;
  --br-md: 32px;
}

.active{
  font-weight: 600 !important;
  color: var(--color-brown) !important;
}

/* Events HightlIght */
.event-hightlight{
  width: 100%;
  height: 100%;
  text-align: center;
  position: fixed;
  background-color: rgba(255, 255, 255, 0.586);
  z-index: 99999;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-30%);
}
.close-icon-event{
  position: absolute;
  right: 5%;
  top: 1;
  cursor: pointer;
}

@media (max-width:420px) {
  .event-hightlight img{
    width: 80%;
  }
  .close-icon-event{
    top:0;
    right: 1%;
  }
}


/* Navigation Bar */
body {
    margin: 0;
    line-height: normal;
    scroll-behavior: smooth !important;
  }
  .section-navbar-div1{
    /* box-shadow: 0px 5px 20px rgba(213, 70, 80, 0.6); */
  }
  .ivs-logo-icon1 {
    position: relative;
    width: 80px;
    height: 93px;
    flex-shrink: 0;
    object-fit: cover;
  }
  .about2,
  .home-a2 {
    position: relative;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    display: inline-block;
  }
  .home-a2 {
    color: var(--color-gray-200);
  }
  .about2:hover,
  .contact2:hover,
  .events-a2:hover,
  .home-a2:hover {
    font-weight: 700;
    font-family: var(--font-poppins);
  }
  .about2 {
    font-weight: 500;
    color: inherit;
    width: 63px;
    flex-shrink: 0;
    cursor: pointer;
  }
  .events-a2 {
    width: 71px;
    flex-shrink: 0;
  }
  .contact2,
  .events-a2 {
    position: relative;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    font-weight: 500;
    color: inherit;
    display: inline-block;
    cursor: pointer;
  }
  .nav-links-div1 {
    width: 492px;
    flex-shrink: 0;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }
  .svg-icon-app1 {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    max-width: 100%;
    overflow: hidden;
    max-height: 100%;
  }
  .btn-app-button1 {
    cursor: pointer;
    border: 0;
    padding: 0;
    background-color: transparent;
    position: relative;
    width: 27px;
    height: 27px;
    flex-shrink: 0;
    display: none;
  }
  .nav-div1 {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    gap: var(--gap-2xl);
  }
  .donate-now-div1 {
    flex: 1;
    position: relative;
    font-size: var(--font-size-xs);
    letter-spacing: 0.25em;
    text-transform: uppercase;
    font-weight: 500;
    font-family: var(--font-poppins);
    color: var(--color-brown);
    text-align: center;
    display: inline-block;
  }
  .btn-donate-now-button1,
  .navbar-div1 {
    display: flex;
    flex-direction: row;
    align-items: center;
  }
  .btn-donate-now-button1 {
    cursor: pointer;
    border: 1px solid var(--color-brown);
    padding: var(--padding-5xs) var(--padding-xs);
    background-color: transparent;
    border-radius: var(--br-sm);
    box-sizing: border-box;
    position: relative;
    width: 174px;
    flex-shrink: 0;
    justify-content: center;
  }
  .btn-donate-now-button1:hover {
    background-color: var(--color-brown);
  }
  .btn-donate-now-button1:hover .donate-now-div1 {
    color: var(--color-white);
  }
  .navbar-div1 {
    align-self: stretch;
    justify-content: space-between;
  }
  .nav-links-div1 a{
    text-decoration: none;
  }
  .section-navbar-div1 {
    position: fixed;
    top: 0;
    z-index: 9999;
    background-color: var(--color-white);
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: var(--padding-sm) var(--padding-6xl);
    box-sizing: border-box;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
    font-size: var(--font-size-xs);
    color: var(--color-gray-200);
    font-family: var(--font-poppins);
  }
  @media screen and (max-width: 1200px) {
    .btn-donate-now-button1:hover .donate-now-div1 {
      color: var(--color-white);
    }
    .section-navbar-div1 {
      padding-left: var(--padding-5xl);
      padding-right: var(--padding-5xl);
      box-sizing: border-box;
    }
  }
  @media screen and (max-width: 820px) {
    .nav-links-div1 {
      display: none;
    }
    .btn-app-button1 {
      display: flex;
    }
    .btn-donate-now-button1 {
      display: none;
    }
    .section-navbar-div1 {
      padding-left: var(--padding-3xl);
      padding-right: var(--padding-3xl);
      box-sizing: border-box;
    }
  }
  @media screen and (max-width: 428px) {
    .btn-donate-now-button1:hover .donate-now-div1 {
      color: var(--color-white);
    }
    .section-navbar-div1 {
      padding-left: var(--padding-2xl);
      padding-right: var(--padding-2xl);
      box-sizing: border-box;
    }
  }





*{
    margin: 0;
    padding: 0;
    font-family: var(--font-family);
}


/* Main Conatiner Parent */
.main{
    width: 100%;
    display: flex;  
    flex-wrap: wrap;
    /* gap: 1rem; */
    padding: 1rem;
    margin: auto;
    text-align: center;
    align-items: center;
    justify-content: center;
}
/* End of Parent */

/* Container Horizontal */
.container_horizontal{
    width: 25%;
    /* height: 114px; */
    display: grid;
    grid-template-columns: 1fr 3fr;
    background: var(--white-color);
    border-radius: 32px;
    margin: 1rem; /*Changed for firefox*/
}
.left-icon{
    background: var(--dark-theme-color);
    border: 1px solid var(--light-theme-color);
    border-radius: 32px 0px 0px 32px;
}

.right-content{
    border: 1px solid var(--light-theme-color);
    padding: 0.5rem 0 0 0.5rem;
    background: var(--white-color);
    border-radius:  0 32px 32px 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
@media (max-width:1400px) {
    .container_horizontal{
        width: 30%;
    }
    
}

@media (max-width:1200px) {
    .container_horizontal{
        width: 45%;
    }
    
}

@media (max-width:768px) {
    .container_horizontal{
        width: 100%;
    }
    
    
}
/* End of horizontal container */


/* Container Vertical */
.container_vertical{
    width: 25%;
    /* height: 307px; */
    display: grid;
    grid-template-rows: 3fr 1fr;
    background: var(--white-color);
    border-radius: 32px;
    transition: all 0.5s;
    margin: 1rem; /*Changed for firefox*/
}
.top-icon{
    background:  var(--white-color);
    border: 1px solid var(--light-theme-color);
    border-radius: 32px 32px 0px 0px;
}

.bottom-content{
    background: var(--dark-theme-color);
    border: 1px solid var(--light-theme-color);
    padding: 1rem 0 1rem 1rem;
    border-radius:  0 0px 32px 32px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

@media (max-width:920px) {
    .container_vertical{
        width: 45%;
    }
}
@media (max-width:768px) {
    .main{
        padding: 0;
    }
    .container_vertical{
        width: 95%;
    }
}
/* End of vertical container */

/* button */
.btn{
    background: var(--dark-theme-color);
    border: 1px solid var(--white-color);
    border-radius: 8px;
    padding: 0.5rem;
    font-family: var(--font-family);
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    color: var(--white-color);
    cursor: pointer;
    margin: 1rem;
}
/* animation */
.smooth_transition{
  animation: smooth-transition 0.5s alternate;
}
@keyframes smooth-transition {
  0%{opacity: 0;}
  100%{opacity: 1;}
}
/* Main Title */
.main-sub-title{
  font-weight: 600;
  font-size: 16px;
  text-align: center;
  text-transform: uppercase;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}
.main-sub-title img{
  width: 24px;
  height: 24px;
}
.main-title{
  font-weight: 700;
  font-size: 28px;
  color: var(--light-theme-color);
  text-align: center;
  text-transform: capitalize;
}
.main-title h1{
  margin: 0 0 2rem 0;
}

/* Footer */
footer{
  width: 100%;
  /* position: absolute;
  bottom: 0; */
  background: #421037;
  color: #fff;
  padding: 50px 0 30px;
  border-top-left-radius: 80px;
  border-top-right-radius: 80px;
  font-size: 16px;
  line-height: 20px;
}
.row{
  width: 85%;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
}
.col{
  flex-basis: 25%;
  padding: 10px;
}
.col:nth-child(3),.col:nth-child(4){
  flex-basis: 15%;
}
footer h3{
  color: #DB4242;
  font-weight: 700;
}
.col h3{
  width: fit-content;
  margin-bottom: 40px;
  position: relative;
}
.email-id{
  width: fit-content;
  border-bottom: 1px solid #ccc;
  margin: 20px 0;
}
footer ul li{
  list-style: none;
  margin-bottom: 12px;
}
footer ul li a{
  text-decoration: none;
  color: #fff;
}
footer form{
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #ccc;
  margin-bottom: 50px;
}
footer form input{
  width: 100%;
  background: transparent;
  color: #ccc;
  border: 0;
  outline: none;
}
footer form button{
  background: transparent;
  border: 0;
  outline: none;
  cursor: pointer;
}
footer form button .fas{
  font-size: 16px;
  color: #ccc;
}
.socail-icons .fab{
  width: 40px;
  height: 40px;
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  font-size: 20px;
  color: #000;
  background: #fff;
  margin-right: 15px;
  cursor: pointer;
}
footer hr{
  width: 90%;
  border: 0;
  border-bottom: 1px solid #ccc;
  margin: 20px auto;

}
.copyright{
  text-align: center;
}
.underline{
  width: 100%;
  height: 5px;
  background: #767676;
  border-radius: 3px;
  position: absolute;
  top: 25px;
  left: 0;
  overflow: hidden;
}
.underline span{
  width: 15px;
  height: 100%;
  background: #fff;
  border-radius: 3px;
  position: absolute;
  top: 0;
  left: 10px;
  animation: moving 2s linear infinite;
}
@keyframes moving{
  0%{
      left: -20px;
  }
  100%{
      left: 100%;
  } 
}
@media (max-width:700px) {
  footer{
      bottom: unset;
  }
  .col{
      flex-basis: 100%;
  }
  .col:nth-child(3),.col:nth-child(4){
      flex-basis: 100%;
  }

}

/* Gallery */
.gallery-section{
  margin-top: 150px;
  text-align: center;
  width: 85%;
  margin: auto;
}
.collage-gallery{
  margin:2rem;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: repeat(12, 5vw);
  grid-gap: 15px;
}
.collage-gallery figure{
  position: relative;
}
.gallery__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.transparency{
  background-color: var(--white-color);
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  opacity: 0.5;
  transition: all 0.5s;
}
.transparency h2{
  color: var(--dark-theme-color);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.transparency:hover{
  opacity: 0;
  cursor: pointer;
}
.img1{
  grid-column-start: 1;
    grid-column-end: 3;
    grid-row-start: 1;
    grid-row-end: 3;
}
.img1 img{
  border-radius: 32px 0 0 0;
}
.img3 img{
  border-radius: 0 32px  0 0;
}
.img7 img{
  border-radius: 0 0 0 32px;
}
.img9 img{
  border-radius: 0  0 32px 0;
}
.img2{
  grid-column-start: 3;
    grid-column-end: 5;
    grid-row-start: 1;
    grid-row-end: 3;
}
.img3{
  grid-column-start: 5;
    grid-column-end: 9;
    grid-row-start: 1;
    grid-row-end: 6;
}
/*  */
.img4{
  grid-column-start: 1;
    grid-column-end: 5;
    grid-row-start: 3;
    grid-row-end: 6;
}
.img5{
  grid-column-start: 1;
    grid-column-end: 5;
    grid-row-start: 6;
    grid-row-end: 9;
}
.img6{
    grid-column-start: 5;
    grid-column-end: 9;
    grid-row-start: 6;
    grid-row-end: 9;
}
/*  */
.img7{
    grid-column-start: 1;
    grid-column-end: 3;
    grid-row-start: 9;
    grid-row-end: 12;
}
.img8{
    grid-column-start: 3;
    grid-column-end: 6;
    grid-row-start: 9;
    grid-row-end: 12;
}
.img9{
    grid-column-start: 6;
    grid-column-end: 9;
    grid-row-start: 9;
    grid-row-end: 12;
}
@media (max-width:600px){
  .transparency h2{
    font-size: 15px;
  }
}
@media (max-width:460px) {
  .transparency{
    display: none;
  }
  
}
@media (max-width:320px) {
  .collage-gallery{
    grid-gap: 5px;
  }
}

/* Discussion Forum */
.discussion-section{
  margin-bottom: 5%;
  text-align: center;
}
.discussion-forum{
  width: 85%;
  box-sizing: border-box;
  margin: auto;
  background-color: var(--section-bg-color);
  padding: 1rem;
  border-radius: 32px;
}
.discussion-forum::-webkit-scrollbar{
  display: none;
}
.user-profile{
  width: fit-content;
  background-color: var(--white-color);
  border-radius: 32px;
  padding: 1rem;
  margin: 1rem;
  box-shadow: 0px 5px 20px rgba(213, 70, 80, 0.6);
}
.profile{
  display: flex;
}
.profile p{
  margin-right: 1rem;
  font-size: 18px;
}
.profile-title{
  color: var(--light-theme-color);
  font-weight: 700;
}
.question p, .answer p{
  color: var(--dark-theme-color);
  margin: 1rem;
}
.answer p{
  text-align: justify;
  max-height: 245px;
  overflow-y: scroll;
  padding: 0.5rem;
}

.user-profile-right{
  width: 70%;
  position: relative;
  left: 60%;
  transform: translateX(-50%);
}
::-webkit-scrollbar{
  width: 5px;
}
::-webkit-scrollbar-thumb {
  background: #421037;
  border-radius: 16px;
}
.answer p::-webkit-scrollbar{
  /* display: none; */
}
@media (max-width:400px) {
  .discussion-forum{
    width: 95%;
    box-sizing: border-box;
  }
  .user-profile-right{
    width: fit-content;
    position: relative;
    left: 0;
    transform: none;
  }
 .answer p{
    font-size: 12px;
  }
}

/* Side navigation Bar */
.side-nav-bar{
  width: 60%;
  height: 100vh;
  box-shadow: 1px 1px 5px black;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  position: fixed;
  top: 0;
  right: -80%;
  background-color: var(--white-color);
  z-index: 9999;
}

.animate-class-toggle-show{
  animation: animate-side-bar-show 0.7s forwards;
}
.animate-class-toggle-close{
  animation: animate-side-bar-close 0.7s forwards;
}

.side-close-icon{
  text-align: right;
  width: 100%;
}
.side-close-icon img{
  cursor: pointer;
}
.side-nav-content{
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  grid-gap: 1rem;
}
.side-nav-content li{
  margin-bottom: 1rem;
}
.side-nav-content li a{
  text-decoration: none;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 500;
  color: inherit;
  cursor: pointer;
  color: var(--color-gray-200);
}
.side-bar-donate{
  display: block;
}
@keyframes animate-side-bar-show {
  0%{
    right: -80%;
    opacity: 0;
  }
  100%{
    right: 0;
    opacity: 1;
  }
}

@keyframes animate-side-bar-close {
  0%{
    right: 0;
    opacity: 1;
  }
  100%{
    right: -80%;
    opacity: 0;
  }
}

/* Whats App Icon */
#whatsapp_icon, #events_icon_cont i{
  width: 100px;
}
#events_icon_cont i{
  font-size: 55px;
}
#whatsapp_icon_cont, #events_icon_cont{
  text-decoration: none;
  font-weight: bold;
  color: var(--color-brown);
  transition: all 0.8s;
  position: fixed;
  top: 80%;
  right: 0.5%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  display: none;
}

#events_icon_cont{
 right: -0.5%;
 top: 68%;
}

@media (max-width:480px) {
  #whatsapp_icon{
    width: 80px;
  }
  #events_icon_cont i{
    font-size: 35px;
  }
  #whatsapp_icon_cont{
    top: 85%;
  }
  #events_icon_cont{
    left:2%;
    top:86%;
  }
  #whatsapp_icon_cont p, #events_icon_cont p{
    display: none;
  }
}
@media (max-width:360px) {
  #whatsapp_icon{
    width: 60px;
  }

}