@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300&display=swap");

html[data-theme="light"] {
  --bg1-color: #DDE1E7;
  --text-color: #6C757D;
  --shadow-col1: #babdc2;
  --shadow-col2:#ffffff;
  --meta-col: #444;
  --head-col: black;
 }
 
 html[data-theme="dark"] {
  --bg1-color: #272727;
  --text-color: #fff;
  --bg-txt-img: linear-gradient(315deg, #d5adc8 0%, #ff8489 74%);
  --txt-fill: transparent;
  --shadow-col1: #191919;
  --shadow-col2:#1d1d1d;
  --meta-col: rgb(155, 149, 149);
  --head-col: #fff;
 }
/*Main section*/

@media (max-width:766px) {
  .dropdown{
    position: absolute;
    padding-right: 3.5rem;
  }
  .godown{
    z-index: 1;
    padding-top: 8rem;
    padding-left: 3.3rem;
  }
}
.head-upper{
  background: var(--bg-txt-img);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: var(--txt-fill);
}

section > div {
  padding-top: 7rem !important;
}

section {height: 95vh;}

@media only screen and (max-width: 991px) {
  section{
    height: 80vh;
  }
}
@media only screen and (max-width: 867px) {
  section{
    height: 70vh;
  }
}
@media only screen and (max-width: 767px) {
  section{
    height: 95vh;
  }
}
@media only screen and (max-width: 550px) {
  section{
    height: 90vh;
  }
}
@media only screen and (max-width: 400px) {
  section{
    height: 85vh;
  }
}

.main, .main1 {
  width: 100%;
  padding-left: 4rem;
  padding-right: 4rem;
  margin: 0 auto;
}
.column {
  padding: 70px;
}
.section {
  padding: 20px;
  padding-left: 0;
}
.heading {
  font-size: 55px;
  color: var(--bg-txt-img);
}

.experience_head{
  font-weight:bold;
}

 /*color of experience page headings*/
.my_experience{          
  color:#0e49b5;
}

.sub-heading {
  font-size: 17px;
  margin-top: 20px;
}
@media (max-width: 550px) {
  .main {
    padding-left: 0;
    padding-right: 0;
  }
  .main1 {
    padding-left: 15px;
    padding-right: 15px;
  }
}

.experience-cards {
  margin: 0 auto;
}
@media only screen and (max-width: 550px){
  .experience-cards {
    overflow: hidden;
    padding-left: 30px;
    padding-right: 30px;
  }
}

.col.gaap {
  padding-left: 0;
  padding-right: 0;
  margin: 0 auto;
}

.card1 {
  background: #ffffff;
  display: flex;
  flex-direction: column;
  max-height: 80%;
  border:none;
  border-radius: 13px;
  contain: content;
  margin: 4em auto 36px;
  box-shadow: 1px 1px 6px rgba(0, 0, 0, 15%),
  2px 2px 7px rgba(0, 0, 0, 14%),
  3px 3px 8px rgba(0, 0, 0, 13%),
  4px 4px 9px rgba(0, 0, 0, 12%);
  z-index: 1;
}

.card1:hover{
  transform: scale(1.06);
  -webkit-transform: scale(1.06);
  -moz-transform: scale(1.06);
  transition: transform 0.4s, 0.4s box-shadow;
  border-radius: 13px;
  z-index: 100;
  -webkit-transition: transform 0.4s, 0.4s box-shadow;
  -moz-transition: transform 0.4s, 0.4s box-shadow;
  cursor:pointer;
}

@media only screen and (min-width: 551px){
  .card1:hover{
    box-shadow: 2px 5px 10px rgba(0, 0, 0, 17%),
  3px 6px 11px rgba(0, 0, 0, 16%),
  4px 7px 13px rgba(0, 0, 0, 15%),
  5px 8px 14px rgba(0, 0, 0, 14%);
  }
}

.card1 .card-body {
  display: flex;
  flex-flow: row wrap;
  padding: 18px;
  color: var(--text);
  background-color: #fff;
  border-radius: 0 13px 13px 0;
}

.card1 header {
  flex: 100%;
}

.card1 .meta {
  margin-bottom: 22px;
  margin:0;
}

ul ol{
  list-style: disc; 
  padding: 3%;
}

.card1 .featured-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-top-left-radius: 13px;
  border-top-right-radius: 13px;
  /* overflow: hidden; */
  width: 100%;
  height: 300px;
}

@media only screen and (min-width: 1280px) {
  .card1 h3 {
    font-size: 32px;
  }
}

@media only screen and (min-width: 768px) {
  .card1 {
    flex-direction: row;
    max-height: 70vh;
  }

  .card1 h3 {
    font-size: calc(100% + 1vw);
  }

  .card1 .featured-image {
    border-top-left-radius: 13px;
    border-bottom-left-radius: 13px;
    border-top-right-radius: 0;
    max-width: 300px;
    height: inherit;
    width: 100%;
  }
}

@media only screen and (max-width: 992px){
  .card1 .featured-image {
    width: 400px;
  }
}

@media only screen and (max-width: 767px) {
  .card1 .featured-image {
    height: 400px;
    width: 100%;
  }
}

@media only screen and (max-width: 401px) {
  .card1 .featured-image {
    height: 300px;
  }
}

.heading1 {
  font-size: 32px;
  line-height: 1.2;
  font-weight: bold;
  color: #222;
  margin: 0.5em 0;
  margin-top: 5rem;
  color:var(--text);
}

@media(min-width: 675px){
  .heading1{
    margin-top: 5em;
  }
}

@media(min-width: 60rem)
{
  .exp-head{
    margin-top: 0rem !important;
  } 
}

.card-body .pre-heading {
  color: var(--meta-col);
  font-size: 1.5rem;
  font-weight: 400;
  text-transform: uppercase;
}

.card-body .meta {
  color: var(--meta-col);
  font-size: 16px;
}

.card-body .author {
  font-size: 12px;
}

.card-body h3{
  font-size: 2rem;
  margin-top: 5px;
  margin-bottom: 5px;
  color: var(--head-col);
}

.main ul, .main1 ul {
  display: block;
  margin: 0 auto;
  min-height: 15rem;
  max-width: 1050px;
  padding: 1rem !important;
}

.main a, .main a {
  text-decoration: none;
}

/*Volunteership card*/

:root {
  --d: 700ms;
  --e: cubic-bezier(0.19, 1, 0.22, 1);
}

* {
  transition: all 0.3s ease-out; 
}

  .volunteerCard {
    display: block;
    position: relative;
    max-width: 262px;
    background-color: #f2f8f9;
    border-radius: 4px;
    padding: 32px 24px;
    margin: 12px;
    text-decoration: none;
    z-index: 0;
    overflow: hidden; }
    .volunteerCard:before {
      content: "";
      position: absolute;
      z-index: -1;
      top: -16px;
      right: -16px;
      background: #4c8bf5;
      height: 32px;
      width: 32px;
      border-radius: 32px;
      transform: scale(0);
      transform-origin: 50% 50%;
      transition: transform 0.25s ease-out; }
    .volunteerCard:hover:before {
      transform: scale(45); }
  
  .volunteerCard:hover p {
    transition: all 0.3s ease-out;
    color: rgba(255, 255, 255, 0.8); }
  .volunteerCard:hover h2 {
    transition: all 0.3s ease-out;
    color: #ffffff; }

@keyframes slideInFromLeft {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(0);
  }
}

.volunteerCard{
  border-radius: 10px;
  box-shadow: 0px 8px #093b8f, 0 6px 20px 0 rgba(0, 0, 0, 0.19), 0 6px 20px 0 rgba(0, 0, 0, 0.19), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  
  /* box-shadow:  4px 4px 7px var(--shadow-col1),
              -2px -2px 4px var(--shadow-col2); */

              animation: 0.5s ease-out 0s 1 slideInFromLeft;
  
              background: #333;
              padding: 10px;
 
              
             

              
}

/* .volunteerCard:before {
  
  transform: scale(1);
  transform-origin: 50% 50%;
  transition: transform 0.25s ease-out; }
.volunteerCard:hover:before {
  transform: scale(21); } */

.volunteerCard:hover{
  
  transform: scale(1.1);
  
}

.page-content {
  display: grid;
  grid-gap: 5rem;
  padding: 2rem;
  max-width: 1124px;
  margin: 0 auto;
  
}


.page-content .card:hover {
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 1rem;
  width: 100%;
  text-align: center;
  color: whitesmoke;
  cursor:pointer;
  /* background-color: #43D1AF; */
  border: none;
  
  
}

@media (min-width: 600px) {
  .page-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 800px) {
  .page-content {
    grid-template-columns: repeat(3, 1fr);
  }
}

.page-content .card {
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 1rem;
  width: 100%;
  text-align: center;
  color: black;
  background-color: whitesmoke;
  border: none;
}

@media (max-width: 600px) {
  .page-content .card {
    height: 580px;
  }
  
  
}

@media (max-width: 390px) {
  .main1 ul {
    padding: 15px;
  }
}

/* .page-content .card:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 110%;
  background-size: cover;
  background-position: 0 0;
  transition: transform calc(var(--d) * 1.5) var(--e);
  pointer-events: none;
}

.page-content .card:after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 200%;
  pointer-events: none;
  transform: translateY(-50%);
  transition: transform calc(var(--d) * 2) var(--e);
}

.page-content .card:hover:after{
  background-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.009) 11.7%,
    rgba(0, 0, 0, 0.034) 22.1%,
    rgba(0, 0, 0, 0.072) 31.2%,
    rgba(0, 0, 0, 0.123) 39.4%,
    rgba(0, 0, 0, 0.182) 46.6%,
    rgba(0, 0, 0, 0.249) 53.1%,
    rgba(0, 0, 0, 0.32) 58.9%,
    rgba(0, 0, 0, 0.394) 64.3%,
    rgba(0, 0, 0, 0.468) 69.3%,
    rgba(0, 0, 0, 0.54) 74.1%,
    rgba(0, 0, 0, 0.607) 78.8%,
    rgba(0, 0, 0, 0.668) 83.6%,
    rgba(0, 0, 0, 0.721) 88.7%,
    rgba(0, 0, 0, 0.762) 94.1%,
    rgba(0, 0, 0, 0.79) 100%
  ) !important;
  transition: ease-out;
} */

.card-body p{
  margin: 0px;
  font-size: 14px;
}

.content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 1px;
  margin-bottom: 5rem;
  margin-top: 0.1rem;
  transition: transform var(--d) var(--e);
  z-index: 1;
}

/* .content:hover{
  background: transparent;
} */

 .content > * + * {
  margin-top: 1rem;
} 

.volunteerTitle {
  font-size: 1.5rem;
  line-height: 1.2;
  margin-top: 0.5em;
  transform: translateY(40px);
  transition: all 0.7s;
  font-weight: 900;
  color: #093b8f;
}

.copy {
  font-size: 1.125rem;
  font-style: italic;
  line-height: 1.35;
}

/* .page-content .cardafter {
  transform: translateY(0);
}

.content {
  transform: translateY(calc(100% - 4.5rem));
}

.content > *:not(.title) {
  opacity: 0;
  transform: translateY(1rem);
  transition: transform var(--d) var(--e), opacity var(--d) var(--e);
}

.page-content .card:hover,
.page-content .card:focus-within {
  align-items: center;
}

.page-content .card:hover:before,
.page-content .card:focus-within:before {
  transform: translateY(-4%);
}

.page-content .card:hover:after,
.page-content .card:focus-within:after {
  transform: translateY(-50%);
}

.page-content .card:hover .content,
.page-content .card:focus-within .content {
  transform: translateY(0);
}

.page-content .card:hover .content > *:not(.title),
.page-content .card:focus-within .content > *:not(.title) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: calc(var(--d) / 8);
}

.page-content .card:focus-within:before,
.page-content .card:focus-within:after,
.page-content .card:focus-within .content,
.page-content .card:focus-within .content > *:not(.title) {
  transition-duration: 0s;
} */

/*Mentorship card*/

.row{
  display: flex;
  row-gap: 3em;
}

.column{
  float: left;
  margin-bottom: 3rem !important;
  padding-left: 0;
  padding-right: 0;
}

.mentorshipCard{
  margin-bottom: 5em;
  border-radius: 13px;
}
.mentorshipCard:hover{
  cursor:pointer;
}

.mentorshipCard:hover{
  transform: scale(1.06);
}

@media(min-width: 60rem){
  .row{
    margin-top: 0em;
  }

  .mentorshipCard{
    width: 44%;
    column-gap: 3rem;
    margin-top: -3em;
    margin-bottom: 1em;
    padding: 2em;
  }

  .column{
    margin-left: 3rem;
  }
}

.mentorshipCardCover {
  box-shadow:  4px 4px 6px var(--shadow-col1),
               -2px -2px 4px var(--shadow-col2);
}

.card2{
  /* background-color: var(--bg1-color); */
  color: var(--text);
}

.card2 .fa{
  color: var(--text-color);
}

/*
----------------------------
       SVG ANIMATIONS 
----------------------------
*/

#tie {
  animation: tie 2s infinite ease-in-out;
  transform-origin: 50% 62%;
}
@keyframes tie {
  0%, 100% {
    transform: rotate(0);
  }
  50% {
    transform: skew(-12deg) rotate(-6deg);
  }
}