.main-container{
    width: 100%;
    height: 100%;
}
header{
     background: url(../images/background-grid.png), radial-gradient(50% 50% at 50% 50%, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 1.0) 100%);

}
/* navbar styles */

nav{
    background-color:var(--light-grey);
    max-width: 764px;
    width: 80%;
    margin: 50px auto;
    padding: 21px 60px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid var(--sky-blue);

}
nav .logo{
    max-width: 152px;
}
nav ul{
    display: flex;
    align-items: center;
    gap: 32px;
    margin-bottom: 0;
}
nav ul li{
    list-style-type: none;
}
nav ul li a{
    text-decoration: none;
    color: #000;
    font-size: 18px;
    font-weight: 700;
}
.menu{
    display:none;
}

.hero-wrapper{
    width: 80%;
    padding-top: 100px;
    margin: 0 auto;
    text-align: center;
}
.head-txt-wrapper{
    max-width: 1024px ;
    margin: 0 auto;
    display: flex;
    align-items: end;
    justify-content: space-between;
}
.head-txt-wrapper h1{
    font-size: 72px;
}
.head-txt-wrapper img{
    width: 72px;
}
.hero-wrapper>p{
    font-size: 30px;
    padding: 20px 37px;
}

/* hero images styling */
.hero-img-section{
    width: 100%;
    padding: 50px 109px;
    display: flex;
    align-items: stretch;
}
.hero-img-section>div{
    flex: 1;
    width: 33%;
}
.left-emojis, .right-emojis{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.left-emojis .top{
    max-width: 107px;
    height: 107px;
    align-self: flex-start;
}
.right-emojis .top{
    max-width: 127px;
    height: 127px;
    align-self: flex-end;
}
.left-emojis .top img , .right-emojis .top img{
    width: 100%;
    height: 100%;
}
.left-emojis .bottom, .right-emojis .bottom{
    max-width: 169px;
    height: 169px;
    align-self: center;
}

.left-emojis .bottom img , .right-emojis .bottom img{
    width: 100%;
    height: 100%;
}
.center-image img{
    width: 100%;
}

.hero-btn{
    width: 100%;
}

/* marquee styling */
.marquee-slide{
    padding-top: 50px;
}
.marquee {
  width: 100%;
  height: 76px;
  margin: 0 auto;
  overflow: hidden;
  white-space: nowrap;
  background-color: var(--primary-color);
  display: flex;
  align-items: center;
  padding: 0 20px;
}
.yellow{
    background-color: var(--secondary-color);
    margin-top: 40px;
}
.yellow .marquee-content{
   animation: marquee-reverse 30s linear infinite; 
}
.marquee-content {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  animation: marquee 30s linear infinite;
  gap: 100px;
  width: max-content;
}
.item-collection-1 {
  position: relative;
}
.item-collection-3{
    margin-right: 0;
}
.marquee-content span p{
    font-size: 35px;
    color: #fff;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 35px;
}
.yellow .marquee-content span p{
    color: #000;
}
.marquee-content span p span{
    font-size: 60px;
}
@keyframes swap {
  0%, 50% {
    left: 0%;
  }
  50.01%,
  100% {
    left: 100%;
  }
}
.marquee-content:hover {
  animation-play-state: paused
}

/* Transition */

@keyframes marquee {
  0% {
    transform: translateX(100%)
  }
  100% {
    transform: translateX(-100%)
  }
}
@keyframes marquee-reverse {
  0% {
    transform: translateX(-100%)
  }
  100% {
    transform: translateX(100%)
  }
}

/* card styling */
.card-container{
    width: 100%;
    padding: 150px 113px;
    display: flex;
    align-items: stretch;
    gap: 25px;

}
.flex-card{
    border-radius: 30px;
}
.flex-card h2{
    color: var(--text-color);
    font-size: 42px;
    font-weight: 600;
    line-height: normal;
    margin-bottom: 25px;
    max-width: 350px;
}
.flex-card p{
    color: var(--text-color);
    font-size: 20px;
    font-weight: 400;
    line-height: normal;
    max-width: 377px;

}
.right-card{
    flex: 1;
    max-width: 45%;
}
.right-card .flex-card{
    text-align: center;
    background-color: var(--light-purple);
    height: 100%;
    padding: 85px 40px;
}
.right-card .flex-card h2{
    margin: 45px auto 25px;
    max-width: 300px;
}
.right-card .flex-card p{
    margin: 0 auto;
}
.right-card .flex-card .flex-card-image{
    max-width: 272px;
    height: 317px;
    margin: 0 auto;
    
}

.left-cards{
    flex: 2;
    max-width: 55%;
    display: flex;
    flex-direction: column;
    gap: 25px;
}
.left-cards .flex-card .flex-card-image{
    max-width: 255px;
    height: 243px;
}
.left-cards .flex-card{
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 44px;
    padding: 50px 25px;
    height: 50%;

}
.left-cards .flex-card:first-child{
    background-color: var(--light-blue);
}
.left-cards .flex-card:last-child{
    background-color: var(--light-orange);
    flex-direction: row-reverse;
}

.flex-card .flex-card-image img{
    width: 100%;
    height: 100%;
}

/* testimonials styling */
.testimonials{
    width: 100%;
    height: auto;
    padding: 85px 230px;
    display: flex;
    flex-direction: column;
    gap: 100px;
    align-items: center;
    justify-content: center;
    background: url(../images/dotted-lines.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.testimonial-head{
    width: 100%; 
    margin-bottom: 85px;   
}
.testimonial-head h2{
    font-size: 48px;
    font-weight: 600;
    color: #fff;
    text-align: center;
    padding-bottom: 24px;
}
.testimonial-head .plain-btn{
    color: #fff;
    max-width: 405px;
    padding: 17px 33px;
    font-size: 30px;
    font-weight: 400;
    border: 3px solid #fff;
}
.carousel-container {
  width: 100%;
  height: 390px;
  position: relative;

}

.card {
  width: 100%;
  height: 100%;
  background-color: #fff;
  border-radius: 30px;
  margin: 10px auto;
  padding: 45px 60px;
  position: absolute;
  transition: transform 0.5s, opacity 0.5s, z-index 0.5s;
  display: flex;
  align-items: center;
  gap: 50px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}
.card span{
    min-width: 120px;
    height:120px;
    border-radius: 50%;
    border: 3px solid var(--secondary-color);
    overflow: hidden;
}
.card span img{
    width: 100%;
    height: 100%;
    object-fit: cover;

}
.card div{
    color: var(--text-color);
    position: relative;
    height: 100%;
}
.card h3 {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 16px;
}
.card p {
    font-size: 30px;
    font-weight: 400;
    line-height: 40px;
}
.card small {
    font-size: 30px;
    font-weight: 800;
    position:absolute;
    bottom: 0;
    right: 0;
}

.active {
  z-index: 3;
  opacity: 1;
  transform: translateY(-40px); 
  background: #fff;
}

.middle {
  z-index: 2;
  background: #E2E8FB;
  transform: translateY(0) scale(0.9);
}

.inactive {
  z-index: 1;
  opacity: 0.5;
  transform: translateY(40px) scale(0.8);
}
/* cta styling */
.cta-container{   
    background: url(../images/dotted-lines-white.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    padding: 0 100px 150px;
    gap: 100px;
    margin-top: 100px;
}
.cta-illustration{
    flex: 1;
    flex-basis: 50%;
}
.cta-illustration img{
    width: 100%;
    height: 100%;
}
.cta-buttons{
    flex: 1;
    flex-basis: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}
.leaderboard-image{
    max-width: 470px;
}
.leaderboard-image img{
    width: 100%;
}
.btn-wrapper a:first-child{
    margin-bottom: 50px;
    transform: rotate(-6.761deg) translateY(10px);
}
.btn-wrapper a:nth-child(2){
    margin-bottom: 50px;
    transform: rotate(3.628deg);;
}
footer{
    color: #fff;
    background: var(--primary-color); 
}
.footer-top{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 30px;
    padding: 53px 100px 63px;
}
.footer-bottom{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #CBC8C8;
    padding: 40px 100px;
    font-size: 20px;
}
.footer-bottom div a{
    text-decoration: none;
    color: #fff;
    font-size: 20px;
    margin-left: 55px;
}
footer .footer-col{
    display: flex;
    flex-direction: column;
    align-items: start;
}
footer .footer-col small{
    font-size: 20px;
}
footer .footer-col .playstore-btn{
    margin:0;
}
footer .col1>img{
    max-width: 152px;
    margin-bottom: 24px;
}
footer .col2, footer .col4{
    height: 120px;
}
footer .footer-col h3{
    margin-bottom: 24px;
    text-transform: uppercase;
    font-size: 24px;
    font-weight: 600;
}
footer .footer-col .links{
    text-decoration: none;
    color: #fff;
    font-size: 20px;
    margin-bottom: 16px;
}
footer .col3 .contact-info{
    display: flex;
    align-items: flex-start;
    gap: 5px;
}
footer .col3 a img{
    max-width: 24px;
}
.social-links{
    display: flex;
    align-items: center;
    gap: 25px;
}

.social-links a img{
    max-width: 35px;
}


/* privacy policy */


.page-container{
    width: 100%;
    min-height: 100%;
    overflow: hidden;
}

.banner section{
    width: 100%;
    height: 512px;
    background: var(--dark-grey);
    display: flex;
    justify-content: space-between;
    padding: 75px 100px 0;
    position: relative;
}
.banner h1{
    color: var(--text-color);
    font-family: Lato;
    font-size: 74px;
    font-weight: 500;
}
.banner div{
    background-color: #fff;
    height:324px ;
    width: 50%;
    align-self: flex-end;
}
.banner div img{
    width: 100%;
    height: 100%;
}
.policy-content, .terms-content{
    padding: 96px 100px 137px;
    color: var(--text-color);
    background-color: #fff;
}
.policy-content h3, .terms-content h3{
    font-size: 20px;
    text-transform: uppercase;
    margin-bottom: 30px;
}
.policy-content h4, .terms-content h4{
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    letter-spacing: 0.4px;
    padding-bottom:20px;

}
.policy-content p, .terms-content p{
    font-size: 20px;
    font-weight: 400;
    padding-bottom:20px;
}
.policy-content h5{
    font-size: 20px;
    font-weight: 600;
    padding-bottom:5px;
}
.policy-content li ,.terms-content li{
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 5px;
    margin-left: 17px;
    padding-left: 8px;
}
.policy-content ul li{
    list-style-type: none;
    margin-left: -10px;
}
.policy-content ul,ol, .terms-content ul{
    margin-bottom: 25px;
}
.policy-content small{
    font-size: 18px;
}
.policy-content a,.terms-content a{
    text-decoration: none;
    cursor: pointer;
    color: var(--text-color);
}
.policy-content a:hover,.terms-content a:hover{
    color: var(--primary-color);
}
.spaced-list li{
    margin-bottom: 25px;
}
@media only screen and (max-width: 1350px){
    .testimonials{
        padding: 85px 150px;
    }
    .cta-container{
        padding: 0 100px 50px;
        gap: 50px;
    }
}
@media only screen and (max-width: 1200px){
    .card-container{
        padding: 100px 50px;
        gap: 25px;
    }
    .testimonials{
        padding: 80px;
    }
    .card span{
        min-width: 100px;
        height:100px;
    }

    .card h3 {
        font-size: 30px;
    }
    .card p {
        font-size: 28px;
    }
    .card small {
        font-size: 24px;
    }
    .footer-top{
        padding: 50px 50px 60px;
    }
    .footer-bottom{
        padding: 40px 50px;
    }

    .banner section{
        padding: 65px 50px 0;
    }
}

@media only screen and (max-width: 1085px){
    .banner section{
        flex-direction: column;
        gap: 100px;
        height: auto;

    }
    .banner div{
        height:auto;
        width: 70%;
       
    }
}
@media only screen and (max-width: 960px){

    header{
        width: 100%;
        padding: 50px 32px;
    }
    nav{
        margin: 0;
        min-width: 100%;
    }
    .hero-wrapper{
        width: 100%;
        padding-top: 100px;
        margin: 0;
    }
    .head-txt-wrapper{
        max-width: 100%;
    }
    .head-txt-wrapper h1{
        font-size: 64px;
    }
    .head-txt-wrapper img{
        width: 58px;
    }
    .hero-img-section{
        width: 100%;
        min-height: 340px;
        padding: 0;
        margin: 80px 0 50px;
        position: relative;

    }
    .left-emojis .bottom{
        align-self: flex-start;

    }
    .right-emojis .bottom{
        align-self: flex-end;
    }
    .left-emojis .bottom, .right-emojis .bottom{
        max-width: 130px;
        height: 130px;
    }
    .left-emojis .top, .right-emojis .top{
        max-width: 100px;
        height: 100px;
    }
 
    .center-image img{
        width: 100%;
        height: 100%;
    }

    .hero-btn{
        width: 100%;
    }

    .hero-img-section>div:nth-child(2){
        flex: 2;
    }
    .card-container{
        flex-direction: column;
        padding: 80px 37px;
    }

    .right-card{
        flex: 1;
        min-width: 100%;
    }
    .left-cards{
        flex: 1;
        min-width: 100%;
    }
    .right-card .flex-card{
        text-align: left;
        height: 100%;
        min-height: 343px;
        padding: 50px 25px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 44px;

    }
    .right-card .flex-card h2{
        margin: 0 0 25px;
    }

    .flex-card h2{
        font-size: 40px;
    }
    .flex-card p{
        font-size: 18px;
    }
    .testimonials{
        padding: 85px 37px;
    }
    .testimonial-head h2{
        font-size: 40px;
    }
    .testimonial-head .plain-btn{
        width: 400px;
        padding: 17px 33px;
    }
    .card span{
        max-width: 89px;
        min-height: 89px;
    }

    .card p {
        font-size: 26px;
    }
    .cta-container{
        padding: 0 37px 90px;
        gap: 30px;
        margin-top: 73px;
    }

    .footer-top{
        padding: 50px 32px 40px;
        grid-template-columns: repeat(2, 1fr);
        grid-row-gap: 60px;
    }

    .footer-bottom{
        padding: 40px 32px;
    }
    .footer-bottom div a{
        margin-left: 20px;
    }

    .social-links{
        gap: 32px;
    }
    .banner{
        width: 100%;
        height:100%;
        padding-top: 50px;
    }
    .banner section{
        padding: 50px 32px 0;
        margin-top: 50px;
    }
    .banner h1{
        font-size: 64px;
    }
    .policy-content, .terms-content{
        padding: 70px 32px 120px;
    }
    
}

@media only screen and (max-width: 870px){
  
    .head-txt-wrapper h1{
        font-size: 52px;
    }
    .card {
        padding: 30px 40px;
    }   
    .card h3 {
        font-size: 28px;
    }
    .card p {
        font-size: 24px;
    }
    .card small {
        font-size: 22px;
    }
    .btn-wrapper a:first-child{
        transform: rotate(-6deg) translateY(5px);
    }
}
@media only screen and (max-width: 756px){
    header{
        width: 100%;
        padding: 50px  30px;
    }
    .head-txt-wrapper h1{
        font-size: 45px;
    }
    .testimonial-head{
        width: 100%; 
        margin-bottom: 0px;   
    }
    .carousel-container {
        width: 100%;
        height: 500px;
    }
    .card {
        flex-direction: column;
        text-align: center;
    }   
    .testimonials{
        padding-bottom: 200px;
    }
    .card h3 {
        font-size: 26px;
    }
    .card p {
        font-size: 20px;
        line-height: 30px;

    }
    .card small {
        font-size: 18px;
    }
    .cta-container{
        flex-direction: column-reverse;
    }
    .cta-container{
        padding: 0 16px 70px;
        margin-top: 50px;
    }
    .footer-bottom{
        flex-direction: column-reverse;
        align-items: flex-start;
        gap: 25px;
        padding: 20px 16px 40px;
    }

    .footer-bottom div{
        display: flex;
        align-items: center;
        gap: 30px;
    }
    .footer-bottom div a{
        font-size: 18px;
        margin-left: 0;
    }
    .footer-top{
        grid-template-columns: 1fr;
    }
    .menu{
        display:block;
        cursor: pointer;
    }

    nav ul{
        opacity: 0;
        position: absolute;
        top: 130px;
        right: 0;
        flex-direction: column;
        background-color: #fff;
        width: 80%;
        height: 45vh;
        padding: 80px 0 0 100px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
        transition: 0.5s ease-in-out;
    } 
    nav ul li{
        padding-bottom: 25px;
        margin-right: auto;
    }
    nav ul li a{
        text-align: left;
    }

    .mobile-list.active{
        opacity: 1;
        display: block;
        transform: translateX(0px);
        transition: 0.5s ease-in-out;
    }
    
}

@media only screen and (max-width: 590px){
    header{
        padding: 50px 16px;
    }
  
    .head-txt-wrapper h1{
        font-size: 40px;
    }
    
    .hero-wrapper>p{
        font-size: 24px;
    }
    .left-emojis .bottom, .right-emojis .bottom{
        max-width: 60px;
        height: 60px;
        position: absolute;
        bottom: -60px;
    }
    .left-emojis .top, .right-emojis .top{
        max-width: 60px;
        height: 60px;
        position: absolute;
        top: -40px;
    }
    .hero-img-section>div:nth-child(2){
        flex: 2;
    }
    .hero-img-section>div:first-child, .hero-img-section>div:last-child {
        flex: 0;
    }

    .card-container{
        padding: 80px 16px;

    }
    .flex-card h2{
        font-size: 25px;
    }
    .flex-card p{
        font-size: 18px;
    }
    .testimonial-head .plain-btn{
        width:380px;
        font-size: 28px;
    }
    .testimonial-head h2{
        font-size: 35px;
    }
    .testimonials{
        padding: 80px 16px 120px;
    }
    .footer-top{
        padding: 50px 16px 40px;
        grid-template-columns: 1fr;
    }

    .footer-bottom{
        padding: 40px 16px;
    }
    footer .footer-col h3{
        font-size: 20px;
    }
    footer .footer-col .links{
        font-size: 18px;
    }
    footer .footer-col small{
        font-size: 18px;
    }
    nav{
        padding: 21px 30px;
    }
    .banner h1{
        font-size: 40px;
        text-align: center;
    }
    .banner div{
        width: 100%;
    }
    .banner section{
        padding: 30px 16px 0;
    }
    .policy-content, .terms-content{
        padding: 70px 16px 70px;
    }

}
@media only screen and (max-width: 500px){
  
    .head-txt-wrapper h1{
        font-size: 35px;
    }
    .head-txt-wrapper img{
        width: 30px;
        height: 30px;
    }
    .hero-wrapper>p{
        font-size: 16px;
    }
    .right-card .flex-card, .left-cards .flex-card, .left-cards .flex-card:last-child{
        flex-direction: column;
        text-align: center;
    }
    .right-card .flex-card h2, .left-cards .flex-card h2{
        margin: 0 auto 20px;
    }
    .testimonial-head h2{
        font-size: 28px;
    }
    .testimonial-head .plain-btn{
        width:300px;
        font-size: 23px;
    }
    .card h3 {
        font-size: 24px;
    }
    .card p {
        font-size: 18px;
        line-height: 25px;

    }

    .card small {
        font-size: 16px;
    }
    .card {
        padding: 30px;
        gap: 30px;
    }   
    nav .logo{
        width: 120px;
    }
    nav{
        padding: 20px;
    }
    nav ul{
        padding: 80px 0 0 50px;
    }
    .policy-content p, 
    .terms-content p, 
    .policy-content small{
        font-size: 16px;
        padding-bottom:25px;
    }
    
    .policy-content li ,.terms-content li{
        font-size: 16px;
    }


}
@media only screen and (max-width: 380px){
    .testimonial-head h2{
        font-size: 24px;
    }
    .testimonial-head .plain-btn{
        width:250px;
        font-size: 20px;
        padding:17px 0;
    }
    .social-links{
        gap: 20px;
    }
    .footer-bottom div{
        flex-direction: column;
        align-items: flex-start;
    }
        .banner h1{
        font-size: 30px;
    }
  
    .banner section{
        gap: 50px;
    }
    nav ul{
        width: 100%;
        padding: 50px 30px;
    }
}