/* base */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
    font-weight: 300;
    font-style: italic;
}

body {
    min-height: 100vh;
    position: relative;
}

:root {
    font-family: "Poppins", sans-serif;
    font-weight: 300;
    font-style: italic;

    --sn_display_small: 600 2.25rem/1.33  "Poppins", sans-serif;

    --sn_title_large: 500 1.375rem/1.27  "Poppins", sans-serif;
    --sn_title_medium: 500 1rem/1.5  "Poppins", sans-serif;
    --sn_title_small: 500 0.875rem/1.43  "Poppins", sans-serif;

    --sn_body_large: 400 1rem/1.5  "Poppins", sans-serif;

    --neutral0: rgba(10, 10, 10, 1);
    --neutral30:rgba(102, 102, 102, 1);
    --neutral80:rgba(223, 223, 223, 1);
    --neutral90: rgba(241, 241, 241, 1);


    --orange40: rgba(215, 65, 18, 1);
    --orange90: rgba(255, 241, 230, 1);

    --primary50: rgba(255, 122, 14, 1);
}

/* nav */

nav {
    position: fixed;
    top: 0;
    left: 0;
    height: 80px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 30px;
    padding-right: 30px;
    padding: 10px;
    background: linear-gradient(to top, #e9b960, #fff);
    box-shadow: 0px 5px 8px rgba(0, 0, 0, .3), 0px 15px 88px rgba(0, 0, 0, .2);
}

nav>.logo {
    display: flex;
}

nav>.logo>h2 {
    margin-left: 20px;
    font-weight: 800;
}

nav > .slogan > p {
    font-weight: 800;
    font-style: italic;
}

nav>.logo>img {
    width: 50px;
}

ul>.nav-li {
    list-style-type: none;
    margin-right: 50px;
}

ul>.nav-li>a {
    text-decoration: none;
    font-weight: 600;
    color: #000;
}

/* hero-section */

.hero-section {
    width: 100%;
    height: 300px;
    background: linear-gradient(24deg, #e9b960, #fff);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-section>h2 {
    margin-top: 80px;
    font-weight: 900;
    animation: bounceOut infinite;
    animation-duration: 2s;
}

.hero-section > .hero-img {
    margin-top: 70px;
    margin-right: 200px;
    animation: rotateOut infinite;
    animation-duration: 2s;
}

.hero-section > .hero-img-two {
    margin-top: 70px;
    margin-left: 250px;
    animation: rotateOut infinite;
    animation-duration: 2s;
}

/* cards */

.cards-section {
    margin-top: 80px;
    display: flex;
    justify-content: center;
}

.cards {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    justify-content: center;
    gap: 1.5rem;
}

.card-box {
    width: 250px;
    height: 354px;
    border-radius: 16px;
    overflow: hidden;
    margin: 16px;
    border: solid 1px rgba(223, 223, 223, 1);
    transition: transform 0.3s ease;
}

.card-box:hover {
    transform: scale(1.1);
}

.card-caption {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: -50%;
    padding: 16px;
}

.card-caption > h2 {
    font: var(--sn_title_large);
    color: rgba(10, 10, 10, 1);
}

.card-caption > p {
    font: var(--sn_body_large);
    color: rgba(126, 126, 126, 1);
}

.card-box > img {
    width: 250px;
    height: 250px;
}

/* btn section */
.btn-section {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 20px;
}

.btn-section > .exp-btn > button {
    padding: 20px;
    background: #ff7675;
    color: #fff;
    border: none;
    outline: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
}

.btn-section > .exp-btn > button#tc_btn {
    background: #81ecec;
    color: #000;
}

.btn-section > .un-btn > button {
    padding: 20px;
    background: #a29bfe;
    color: #fff;
    border: none;
    outline: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
}

/* sanatan sadasya */
.none {
    display: none;
}

.sactive{
    display: block;
}

.sanatan-sadasya {
    margin-top: 80px;
    width: 100%;
    height: auto;
    color: #fff;
    background: linear-gradient(to right, #0f2027, #203a43, #2c5364);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px;
}

/* lefthand side */
.sanatan-sadasya > .lefthand-side {
    width: 40%;
    padding: 25px;
}


/* righthand side */
.sanatan-sadasya > .righthand-side {
    width: 100%;
}

.input-box {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-content: center;
}

.right {
    margin-left: 50px;
    /* background: blue; */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    flex-direction: column;
}

.left {
    margin-left: 50px;
    /* background: red; */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    flex-direction: column;
}

.input-field {
    width: 100%;
    padding: 10px;
    border: none;
    outline: none;
    border-radius: 8px;
}

.add-btn {
    padding: 10px;
    border: none;
    border-radius: 8px;
    background: #9b59b6;
    color: #fff;
    margin-left: 550px;
    margin-top: 50px;
}

#dropdown {
    position: relative;
    width: 300px;
    height: 50px;
}

#dropdown::before {
    content: "";
    position: absolute;
    right: -110px;
    top: 15px;
    z-index: 10000;
    width: 8px;
    height: 8px;
    border: 2px solid #333;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(-45deg);
    transition: 0.5s;
    pointer-events: none;
}

#dropdown.active::before {
    top: 22px;
    transform: rotate(-225deg);
}

#dropdown input {
    position: absolute;
    top: 0;
    left: -135px;
    width: 565px;
    height: 100%;
    cursor: pointer;
    background: #fff;
    border: none;
    outline: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    padding: 12px 50px;
    border-radius: 10px;
}

#dropdown .option {
    width: 540px;
    height: 130px;
    background: #fff;
    position: absolute;
    top: 60px;
    left: -130px;
    box-shadow: 0 30px 30px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    overflow: scroll;
    display: none;
}

#dropdown.active .option {
    display: block;
}

#dropdown .option div {
    padding: 12px 20px;
    cursor: pointer;
}

#dropdown .option div:hover {
    background: #62baea;
}

#dropdown .option div{
    color: #000;
}

@media(max-width: 1200px){
    #dropdown input{
        width: 450px;
    }

    #dropdown .option{
        width: 450px;
    }
    #dropdown::before{
    /* content: "";
    position: absolute; */
    right: -130px;
    }
}

@media(max-width: 961px){
    #dropdown input{
      width: 330px;
    }

    #dropdown .option{
      width: 330px;
    }
    
    #dropdown::before{
        right: -10px;
    }
}

.checkbox-field-box {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.checkbox-heading {
    margin-bottom: 30px;
    font-weight: 500;
}

.earning-source {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
}

/* footer */
.footer {
    margin-top: 50px;
}

.container{
	max-width: 1170px;
	margin:auto;
}

.row{
	display: flex;
	flex-wrap: wrap;
}

ul{
	list-style: none;
}

.footer{
	background-color: #24262b;
    padding: 70px 0;
}

.footer-col{
   width: 25%;
   padding: 0 15px;
}

.footer-col h4{
	font-size: 18px;
	color: #ffffff;
	text-transform: capitalize;
	margin-bottom: 35px;
	font-weight: 500;
	position: relative;
}

.footer-col h4::before{
	content: '';
	position: absolute;
	left:0;
	bottom: -10px;
	background-color: #e91e63;
	height: 2px;
	box-sizing: border-box;
	width: 50px;
}

.footer-col ul li:not(:last-child){
	margin-bottom: 10px;
}

.footer-col ul li a{
	font-size: 16px;
	text-transform: capitalize;
	color: #ffffff;
	text-decoration: none;
	font-weight: 300;
	color: #bbbbbb;
	display: block;
	transition: all 0.3s ease;
}

.footer-col ul li a:hover{
	color: #ffffff;
	padding-left: 8px;
}

.footer-col .social-links a {
	display: inline-block;
	height: 40px;
	width: 40px;
	background-color: rgba(255,255,255,0.2);
	margin:0 10px 10px 0;
	text-align: center;
	line-height: 40px;
	border-radius: 50%;
	color: #ffffff;
	transition: all 0.5s ease;
}

.footer-col .social-links a:hover {
	color: #24262b;
	background-color: #ffffff;
}

/* responsive */

@media(max-width: 767px) {
  .footer-col{
        width: 50%;
        margin-bottom: 30px;
    }
}

@media(max-width: 574px) {
    .footer-col{
        width: 100%;
    }
}

@media (max-width: 1640px) {
    #dropdown input {
        width: 500px;
        margin-left: 50px;
    }    
}

@media (max-width: 1528px) {
    .left > #dropdown > .textBox {
        width: 450px;
    }

    .left > #dropdown > .option{
        width: 450px;
        top: 60px;
        left: -80px;
    }

    .left > #dropdown::before {
        position: absolute;
        top: 15px;
        left: 330px;
    }
}

@media (max-width: 1509px) {
    .cards {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        justify-content: center;
        gap: 1.5rem;
    }
}

@media (max-width: 1332px) {
    .left > #dropdown {
        margin-left: 50px;
    }

    .left > #dropdown > .textBox {
        width: 400px;
    }

    .left > #dropdown > .option{
        width: 400px;
        top: 60px;
        left: -80px;
    }

    .left > #dropdown::before {
        position: absolute;
        top: 15px;
        left: 290px;
    }
}

@media (max-width: 1226px) {
    .cards {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        justify-content: center;
        gap: 1.5rem;
    }

    .input-box {
        display: flex;
        justify-content: center;
        flex-direction: column;
    }

    .sanatan-sadasya {
        display: flex;
        justify-content: center;
        flex-direction: column;
    }

    .hero-section > .hero-img{
        margin-right: 150px;
    }
}

@media (max-width: 1042px) {
    .cards {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        justify-content: center;
        gap: 1.5rem;
    }

    .hero-img, .hero-img-two {
        margin: 0;
    }

    .hero-section {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        height: 900px;
    }

    nav {
        display: flex;
        flex-direction: column;
        height: 150px;
    }

    .add-btn {
        margin: 0;
    }
}

@media (max-width: 601px) {
    .cards {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        justify-content: center;
        gap: 1.5rem;
    }

    .left > #dropdown {
        margin-left: 150px;
    }

    .left > #dropdown > .textBox {
        width: 310px;
    }

    .left > #dropdown > .option{
        width: 310px;
        top: 60px;
        left: -80px;
    }

    .left > #dropdown::before {
        position: absolute;
        top: 15px;
        left: 200px;
    }
}

@media (max-width: 503px) {
    .hero-section h2 {
        font-size: 20px;
    }
}

/*=============== MODAL ===============*/
:root {
  /*========== Colors ==========*/
  --hue: 240;
  --first-color: hsl(var(--hue), 16%, 18%);
  --first-color-alt: hsl(var(--hue), 16%, 12%);
  --title-color: hsl(var(--hue), 8%, 15%);
  --text-color: hsl(var(--hue), 8%, 35%);
  --body-color: hsl(var(--hue), 100%, 99%);
  --container-color: #FFF;

  /*========== Font and typography ==========*/
  --body-font: 'Poppins', sans-serif;
  --big-font-size: 1.5rem;
  --normal-font-size: .938rem;

  /*========== z index ==========*/
  --z-modal: 10000;
}

@media screen and (min-width: 968px) {
  :root {
    --big-font-size: 1.75rem;
    --normal-font-size: 1rem;
  }
}

.container{
  margin-left: 1rem;
  margin-right: 1rem;
}

.modal{
  height: 10vh;
  display: grid;
  place-items: center;
}

.modal__button{
  display: inline-block;
  background-color: var(--first-color);
  color: #FFF;
  padding: 1rem 1.25rem;
  border-radius: .5rem;
  transition: .3s;
}

.modal__button:hover{
  background-color: var(--first-color-alt);
}

.modal__container{
  position: absolute;
  top: 0;
  left: 0;
  background-color: hsla(var(--hue), 18%, 75%, .8);
  width: 100%;
  height: 100%;
  display: grid;
  align-items: flex-end;
  overflow: hidden;
  transition: all .3s;
  z-index: var(--z-modal);
  visibility: hidden;
  opacity: 0;

  /*=== Effect 3 ===*/
  /* perspective: 1000px; */
}

.modal__content{
  position: relative;
  background-color: var(--container-color);
  text-align: center;
  padding: 3rem 2rem 2rem;
  border-radius: 1rem 1rem 0 0;
  transition: all .3s;

  /*=== Effect 1 ===*/
  transform: translateY(10%);

  /*=== Effect 2 ===*/
  /* transform: scale(.5) translateY(10%); */

  /*=== Effect 3 ===*/
  /* transform: rotateX(65deg) scale(.75) translateY(10%);
  transform-origin: 50% 100%; */
}

.modal__img{
  width: 150px;
  margin-bottom: .75rem;
}

.modal__close{
  display: inline-flex;
  background-color: var(--first-color);
  border-radius: .25rem;
  color: #FFF;
  font-size: 1.5rem;
  position: absolute;
  top: 2rem;
  right: 2rem;
  cursor: pointer;
}

.modal__title{
  font-size: var(--big-font-size);
  color: var(--title-color);
  font-weight: 500;
}

.modal__description{
  margin-bottom: 1.5rem;
}

.modal__button-width{
  width: 90%;
}

.modal__button-link{
  display: block;
  margin: 1rem auto 0;
  background-color: transparent;
  color: var(--first-color);
  font-weight: 500;
  padding: 10px;
  border-radius: 20px;
}

/* Show modal */
.show-modal{
  visibility: visible;
  opacity: 1;
}

.show-modal .modal__content{
  /*=== Effect 1 ===*/
  transform: translateY(0);

  /*=== Effect 2 ===*/
  /* transform: scale(1) translateY(0); */

  /*=== Effect 3 ===*/
  /* transform: rotateX(0) scale(1) translateY(0); */
}

/*=============== BREAKPOINTS ===============*/
/* For small devices */
@media screen and (min-width: 576px){
  .modal__content{
    margin: auto;
    width: 380px;
    border-radius: 1.25rem;
  }

  .modal__img{
    width: 170px;
  }
}